2 Include File for the Lexical Analyser and Parser.
12 Important Literal Constants.
15 #define MODNAME_SIZE 512 /* Size of Module Name buffers */
16 #define FILENAME_SIZE 4096 /* Size of File buffers */
17 #define ERR_BUF_SIZE 512 /* Size of error buffers */
19 #ifdef YYLMAX /* Get rid of YYLMAX */
20 #undef YYLMAX /* Ugly -- but necessary */
23 #define YYLMAX 8192 /* Size of yytext -- limits strings, identifiers etc. */
26 #define HASH_TABLE_SIZE 993 /* Default number of entries in the hash table. */
29 #define MAX_CONTEXTS 100 /* Maximum nesting of wheres, cases etc */
30 #define MAX_INFIX 500 /* Maximum number of infix operators */
31 #define MAX_ISTR (MAX_INFIX*10) /* Total size of all infix operatrors */
32 #define INFIX_SCOPES 3 /* The number of infix scopes
33 -- Predefs, Module, Imports */
36 #define MAX_ESC_CHAR 255 /* Largest Recognised Character: \255 */
37 #define MAX_ESC_DIGITS 10 /* Maximum number of digits in an escape \dd */
52 #endif /* __CONSTANTS_H */