2 /*#define LINT 1 /* if defined, 'lint' is produced */
6 #define PATHLENGTH 1024 /* max. length of path to file */
10 #define ERROUT STDERR /* file pointer for writing messages */
11 #define ERR_SHADOW 5 /* a syntax error overshadows error messages
12 until ERR_SHADOW symbols have been
13 accepted without syntax error */
17 #define IDFSIZE 64 /* maximum significant length of an identifier */
21 #define NUMSIZE 256 /* maximum length of a numeric constant */
25 #define NPARAMS 32 /* maximum number of parameters of macros */
29 #define IFDEPTH 256 /* maximum number of nested if-constructions */
33 #define DENSITY 3 /* see switch.[ch] for an explanation */
37 #define LAPBUF 4096 /* size of macro actual parameter buffer */
41 #define ISTRSIZE 32 /* minimum number of bytes allocated for
43 #define RSTRSIZE 16 /* step size in enlarging the memory for
44 the storage of a string */
48 #define MAXSIZE 8 /* the maximum of the SZ_* constants */
50 /* target machine sizes */
51 #define SZ_CHAR (arith)1
52 #define SZ_SHORT (arith)2
53 #define SZ_WORD (arith)4
54 #define SZ_INT (arith)4
55 #define SZ_LONG (arith)4
57 #define SZ_FLOAT (arith)4
58 #define SZ_DOUBLE (arith)8
60 #define SZ_POINTER (arith)4
62 /* target machine alignment requirements */
64 #define AL_SHORT SZ_SHORT
65 #define AL_WORD SZ_WORD
66 #define AL_INT SZ_WORD
67 #define AL_LONG SZ_WORD
69 #define AL_FLOAT SZ_WORD
70 #define AL_DOUBLE SZ_WORD
72 #define AL_POINTER SZ_WORD
78 /*#define BOTCH_FREE 1 /* when defined, botch freed memory, as a check */
82 #define DATAFLOW 1 /* produce some compile-time xref */
86 /*#define DEBUG 1 /* perform various self-tests */
87 #define NDEBUG 1 /* disable assertions */
91 #define PREPEND_SCOPES 1 /* collect exa, exp, ina and inp commands
92 and if USE_TMP is defined let them
93 precede the rest of the generated
95 #define USE_TMP 1 /* use C_insertpart, C_endpart mechanism
96 to generate EM-code in the order needed
97 for the code-generators. If not defined,
98 the old-style peephole optimizer is
103 #define PARBUFSIZE 1024
107 #define ITEXTSIZE 32 /* 1st piece of memory for repl. text */
108 #define RTEXTSIZE 16 /* stepsize for enlarging 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 */
129 #define GSTATIC /* for large global "static" arrays */
133 /*#define NOFLOAT 1 /* if NOT defined, floats are implemented */
137 /*#define NOROPTION 1 /* if NOT defined, R option is implemented */
141 /*#define NOCROSS 1 /* if NOT defined, cross compiler */
145 /*#define REGCOUNT 1 /* count occurrences for register messages */
148 #define DBSYMTAB 1 /* ability to produce symbol table for debugger