generic/tclParse.h
raw| 1 | /* |
| 2 | * Minimal set of shared macro definitions and declarations so that multiple |
| 3 | * source files can make use of the parsing table in tclParse.c |
| 4 | */ |
| 5 | |
| 6 | #define TYPE_NORMAL 0 |
| 7 | #define TYPE_SPACE 0x1 |
| 8 | #define TYPE_COMMAND_END 0x2 |
| 9 | #define TYPE_SUBS 0x4 |
| 10 | #define TYPE_QUOTE 0x8 |
| 11 | #define TYPE_CLOSE_PAREN 0x10 |
| 12 | #define TYPE_CLOSE_BRACK 0x20 |
| 13 | #define TYPE_BRACE 0x40 |
| 14 | |
| 15 | #define CHAR_TYPE(c) (tclCharTypeTable+128)[(unsigned char)(c)] |
| 16 | |
| 17 | MODULE_SCOPE const char tclCharTypeTable[]; |