xref: /original-bsd/old/pcc/mip/config.h (revision a73fa19e)
1 /*	config.h	4.5	90/11/16	*/
2 
3 #ifndef _CONFIG_
4 #define	_CONFIG_
5 /*
6  * Compiler configuration definitions.
7  */
8 
9 /*
10  * These flags control global compiler operation.
11  */
12 #define	BUFSTDERR	1		/* buffer output to stderr */
13 #define STDPRTREE	1		/* means include prtree */
14 #define NESTCALLS	1		/* disallow two concurrent store()'s */
15 #define	FLEXNAMES	1		/* arbitrary length identifiers */
16 #ifdef FORT
17 #define	NOMAIN		1		/* use f1 main routine */
18 #endif
19 
20 /*
21  * Table sizes.
22  */
23 #define TREESZ		2000		/* parse tree table size */
24 #define BCSZ		200		/* break/continue table size */
25 #define SYMTSZ		8000		/* symbol table size */
26 #define DIMTABSZ 	10000		/* dimension/size table size */
27 #define PARAMSZ		600		/* parameter stack size */
28 #define SWITSZ		1000		/* switch table size */
29 #define	DELAYS		20		/* delayed evaluation table size */
30 #define NRECUR		(10*TREESZ)	/* maximum eval recursion depth */
31 #define	MAXSCOPES	200		/* maximum active scopes ('{' depth) */
32 
33 /* in case anyone still uses fixed length names */
34 #ifndef FLEXNAMES
35 #define	NCHNAM		8		/* significant chars of identifier */
36 #endif
37 #endif
38