home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
icon
/
dos
/
src
/
icont
/
sizes.h
< prev
next >
Wrap
Text File
|
1992-02-10
|
2KB
|
60 lines
/*
* Definitions of sizes changeable by command option.
* The size macro is defined as needed by the caller.
* Parameters are: command option, variable name, default size.
*/
Size("c", csize, 100) /* constant table */
Size("f", fsize, 100) /* field table headers */
Size("g", gsize, 200) /* global table */
Size("i", isize, 500) /* identifier table */
Size("l", lsize, 100) /* local table */
#ifdef EventMon
Size("n", nsize, 2000) /* ipc/line num. assoc. table */
#else /* EventMon */
Size("n", nsize, 1000) /* ipc/line num. assoc. table */
#endif /* EventMon */
Size("r", rsize, 100) /* field table record list */
Size("s", stsize, 20000) /* string space */
Size("t", tsize, 15000) /* parse tree space */
#ifdef CRAY
Size("C", maxcode, 30000) /* code space */
#else /* CRAY */
Size("C", maxcode, 15000) /* code space */
#endif /* CRAY */
Size("F", fnmsize, 10) /* ipc/file name assoc. table */
Size("L", maxlabels, 500) /* maximum number of labels/proc */
Size("hc", chsize, 128) /* constant hash table */
Size("hf", fhsize, 32) /* field hash table */
Size("hg", ghsize, 128) /* global hash table */
Size("hi", ihsize, 128) /* identifier hash table */
Size("hl", lhsize, 128) /* local hash table */
/*
* Minimum regions sizes.
*/
MinSize("c", csize, 10) /* constant table */
MinSize("f", fsize, 10) /* field table headers */
MinSize("g", gsize, 20) /* global table */
MinSize("i", isize, 50) /* identifier table */
MinSize("l", lsize, 10) /* local table */
MinSize("n", nsize, 100) /* ipc/line num. assoc. table */
MinSize("r", rsize, 10) /* field table record list */
MinSize("s", stsize, 2000) /* string space */
MinSize("t", tsize, 5000) /* parse tree space */
MinSize("C", maxcode, 5000) /* code space */
MinSize("F", fnmsize, 5) /* ipc/file name assoc. table */
MinSize("L", maxlabels, 100) /* maximum number of labels/proc */
MinSize("hc", chsize, 128) /* constant hash table */
MinSize("hf", fhsize, 32) /* field hash table */
MinSize("hg", ghsize, 128) /* global hash table */
MinSize("hi", ihsize, 128) /* identifier hash table */
MinSize("hl", lhsize, 128) /* local hash table */