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 */
8 #define IDFSIZE 128 /* maximum significant length of an identifier */
12 #define NUMSIZE 256 /* maximum length of a numeric constant */
16 #define ISTRSIZE 32 /* minimum number of bytes allocated for
18 #define RSTRSIZE 8 /* step size in enlarging the memory for
19 the storage of a string */
23 #define MAXSIZE 8 /* the maximum of the SZ_* constants */
25 /* target machine sizes */
26 #define SZ_CHAR ((arith)1)
27 #define SZ_SHORT ((arith)2)
28 #define SZ_WORD ((arith)4)
29 #define SZ_INT ((arith)4)
30 #define SZ_LONG ((arith)4)
31 #define SZ_FLOAT ((arith)4)
32 #define SZ_DOUBLE ((arith)8)
33 #define SZ_POINTER ((arith)4)
35 /* target machine alignment requirements */
37 #define AL_SHORT ((int)SZ_SHORT)
38 #define AL_WORD ((int)SZ_WORD)
39 #define AL_INT ((int)SZ_WORD)
40 #define AL_LONG ((int)SZ_WORD)
41 #define AL_FLOAT ((int)SZ_WORD)
42 #define AL_DOUBLE ((int)SZ_WORD)
43 #define AL_POINTER ((int)SZ_WORD)
44 #define AL_STRUCT ((int)SZ_WORD)
48 /*#define DEBUG 1 /* perform various self-tests */
49 #define NDEBUG 1 /* disable assertions */
52 #define INP_READ_IN_ONE 1 /* read input file in one */
56 #define DENSITY 3 /* see casestat.C for an explanation */
60 /*#define SQUEEZE 1 /* define on "small" machines */
64 /*#define STRICT_3RD_ED 1 /* define on "small" machines, and if you want
65 a compiler that only implements "3rd edition"
71 /*#define NOCROSS 1 /* define when cross-compiler not needed */
75 /*#define NOSTRICT 1 /* define when STRICT warnings disabled
76 (yet another squeezing method)
81 #define BIG_RESULT_ON_STACK 1 /* define when function results must be
82 put on the stack; in this case, caller
83 reserves space for it. When not defined,
84 callee puts result in global data area and
85 returns a pointer to it
90 #define DBSYMTAB 1 /* ability to produce symbol table for debugger */
94 #define USE_INSERT 1 /* use C_insertpart mechanism */
98 /*#define UNSIGNED_ARITH unsigned arith /* when it is supported */