Artifact cb611fcaf378cf70bae06e2eb6bba80d1e706e81fe7e81f07ccfcdd4dd7876d0:
- File generic/tclParse.h — part of check-in [03219f19f4] at 2021-04-07 16:47:33 on branch enum-and-inline — Use a lot more enums and inline funcs instead of macros; behaviour is more predictable. (user: dkf, size: 457) [annotate] [blame] [check-ins using]
/* * Minimal set of shared macro definitions and declarations so that multiple * source files can make use of the parsing table in tclParse.c */ enum { TYPE_NORMAL = 0, TYPE_SPACE = 0x1, TYPE_COMMAND_END = 0x2, TYPE_SUBS = 0x4, TYPE_QUOTE = 0x8, TYPE_CLOSE_PAREN = 0x10, TYPE_CLOSE_BRACK = 0x20, TYPE_BRACE = 0x40 }; #define CHAR_TYPE(c) tclCharTypeTable[(unsigned char)(c)] MODULE_SCOPE const char tclCharTypeTable[];