2 #define ERROUT STDERR /* file pointer for writing messages */
3 #define ERR_SHADOW 5 /* a syntax error overshadows error messages
4 until ERR_SHADOW symbols have been
5 accepted without syntax error */
9 #define IDFSIZE 128 /* maximum significant length of an identifier */
13 #define NUMSIZE 256 /* maximum length of a numeric constant */
17 #define ISTRSIZE 32 /* minimum number of bytes allocated for
19 #define RSTRSIZE 8 /* step size in enlarging the memory for
20 the storage of a string */
24 #define MAXSIZE 8 /* the maximum of the SZ_* constants */
26 /* target machine sizes */
27 #define SZ_CHAR ((arith)1)
28 #define SZ_SHORT ((arith)2)
29 #define SZ_WORD ((arith)4)
30 #define SZ_INT ((arith)4)
31 #define SZ_LONG ((arith)4)
32 #define SZ_FLOAT ((arith)4)
33 #define SZ_DOUBLE ((arith)8)
34 #define SZ_POINTER ((arith)4)
36 /* target machine alignment requirements */
38 #define AL_SHORT ((int)SZ_SHORT)
39 #define AL_WORD ((int)SZ_WORD)
40 #define AL_INT ((int)SZ_WORD)
41 #define AL_LONG ((int)SZ_WORD)
42 #define AL_FLOAT ((int)SZ_WORD)
43 #define AL_DOUBLE ((int)SZ_WORD)
44 #define AL_POINTER ((int)SZ_WORD)
45 #define AL_STRUCT ((int)SZ_WORD)
49 /*#define DEBUG 1 /* perform various self-tests */
50 #define NDEBUG 1 /* disable assertions */
53 #define INP_READ_IN_ONE 1 /* read input file in one */
57 #define DENSITY 3 /* see casestat.C for an explanation */
61 /*#define SQUEEZE 1 /* define on "small" machines */
65 /*#define STRICT_3RD_ED 1 /* define on "small" machines, and if you want
66 a compiler that only implements "3rd edition"
72 #define NOCROSS 1 /* define when cross-compiler not needed */
76 /*#define NOSTRICT 1 /* define when STRICT warnings disabled
77 (yet another squeezing method)
82 #define BIG_RESULT_ON_STACK 1 /* define when function results must be
83 put on the stack; in this case, caller
84 reserves space for it. When not defined,
85 callee puts result in global data area and
86 returns a pointer to it
91 #define DBSYMTAB 1 /* ability to produce symbol table for debugger */
95 /*#define USE_INSERT 1 /* use C_insertpart mechanism */
99 #define UNSIGNED_ARITH unsigned arith