2 #define LINT 1 /* if defined, 'lint' is produced */
3 #define ANSI 1 /* tell l_* files it's ANSI */
7 #define PATHLENGTH 1024 /* max. length of path to file */
11 #define ERROUT STDERR /* file pointer for writing messages */
12 #define ERR_SHADOW 0 /* a syntax error overshadows error messages
13 until ERR_SHADOW symbols have been
14 accepted without syntax error */
18 #define IDFSIZE 64 /* maximum significant length of an identifier */
22 #define NUMSIZE 256 /* maximum length of a numeric constant */
26 #define NPARAMS 32 /* maximum number of parameters */
27 #define STDC_NPARAMS 31 /* ANSI limit on number of parameters */
31 #define IFDEPTH 256 /* maximum number of nested if-constructions */
35 #define DENSITY 2 /* see switch.[ch] for an explanation */
39 #define LAPBUF 128 /* initial size of macro replacement buffer */
40 #define ARGBUF 128 /* initial size of macro parameter buffer(s) */
44 #define ISTRSIZE 32 /* minimum number of bytes allocated for
46 #define RSTRSIZE 16 /* step size in enlarging the memory for
47 the storage of a string */
51 #define MAXSIZE 8 /* the maximum of the SZ_* constants */
53 /* target machine sizes */
62 #define SZ_LNGDBL 8 /* for now */
64 /* target machine alignment requirements */
66 #define AL_SHORT SZ_SHORT
67 #define AL_WORD SZ_WORD
68 #define AL_INT SZ_WORD
69 #define AL_LONG SZ_WORD
70 #define AL_FLOAT SZ_WORD
71 #define AL_DOUBLE SZ_WORD
72 #define AL_LNGDBL SZ_WORD
73 #define AL_POINTER SZ_WORD
79 /*#define BOTCH_FREE 1 /* when defined, botch freed memory, as a check */
83 /*#define DATAFLOW 1 /* produce some compile-time xref */
87 /*#define DEBUG 1 /* perform various self-tests */
88 #define NDEBUG 1 /* disable assertions */
92 /*#define PREPEND_SCOPES 1 /* collect exa, exp, ina and inp commands
93 and if USE_TMP is defined let them
94 precede the rest of the generated
96 /*#define USE_TMP 1 /* use C_insertpart, C_endpart mechanism
97 to generate EM-code in the order needed
98 for the code-generators. If not defined,
99 the old-style peephole optimizer is
104 #define PARBUFSIZE 1024
108 #define ITEXTSIZE 32 /* 1st piece of memory for repl. text */
112 #define INP_READ_IN_ONE 1 /* read input file in one */
116 /*#define NOPP 1 /* if NOT defined, use built-int preprocessor */
120 /*#define NOBITFIELD 1 /* if NOT defined, implement bitfields */
124 /* describes internal compiler arithmetics */
125 /*#define SPECIAL_ARITHMETICS /* something different from native long */
126 /*#define UNSIGNED_ARITH unsigned arith /* when it is supported */
130 #define GSTATIC /* for large global "static" arrays */
134 /*#define NOCROSS 1 /* if NOT defined, cross compiler */
138 /*#define REGCOUNT 1 /* count occurrences for register messages */
142 /*#define DBSYMTAB 1 /* ability to produce symbol table for debugger */