89 |
# endif |
# endif |
90 |
#endif |
#endif |
91 |
|
|
92 |
|
/* FIXME: Autoconfiscate. */ |
93 |
|
#include <limits.h> |
94 |
|
|
95 |
# include "xalloc.h" |
# include "xalloc.h" |
96 |
|
|
97 |
/* From xstrndup.c. */ |
/* From xstrndup.c. */ |
222 |
} while (0) |
} while (0) |
223 |
|
|
224 |
|
|
|
/*---------------------------------. |
|
|
| Machine-dependencies for Bison. | |
|
|
`---------------------------------*/ |
|
|
|
|
|
#ifdef eta10 |
|
|
# define MAXSHORT 2147483647 |
|
|
# define MINSHORT -2147483648 |
|
|
#else |
|
|
# define MAXSHORT 32767 |
|
|
# define MINSHORT -32768 |
|
|
#endif |
|
|
|
|
|
#if defined (MSDOS) && !defined (__GO32__) |
|
|
# define MAXTABLE 16383 |
|
|
#else |
|
|
# define MAXTABLE 32767 |
|
|
#endif |
|
225 |
|
|
226 |
/*-----------------------------------------. |
/*-----------------------------------------. |
227 |
| Extensions to use for the output files. | |
| Extensions to use for the output files. | |
255 |
|
|
256 |
|
|
257 |
|
|
|
/*----------------------------. |
|
|
| As memcpy, but for shorts. | |
|
|
`----------------------------*/ |
|
|
|
|
|
#define shortcpy(Dest, Src, Num) \ |
|
|
memcpy (Dest, Src, Num * sizeof (short)) |
|
|
|
|
258 |
/*---------------------. |
/*---------------------. |
259 |
| Free a linked list. | |
| Free a linked list. | |
260 |
`---------------------*/ |
`---------------------*/ |