|
Data Structures |
| struct | CHARS |
Defines |
| #define | exit_if_null(x) |
| #define | Char unsigned char |
| #define | AlphabetSize 256 |
| #define | InRange(X, L, U) ((unsigned)((X)-(L)) <= (unsigned)((U)-(L))) |
| #define | IsLayout(X) InRange(InType(X), SPACE, EOLN) |
| #define | InType(c) (intab.chtype+1)[c] |
| #define | DigVal(c) (digval+1)[c] |
Functions |
| int | intype (int c) |
| static void | SyntaxError (char *description) |
| void | unGetC (int d, FILE *card, STRFILE *instr) |
| static int | read_character (CTXTdeclc register FILE *card, register STRFILE *instr, register int q) |
| static int | com0plain (register FILE *card, register STRFILE *instr, register int endeol) |
| static int | com2plain (register FILE *card, register STRFILE *instr, int astcom, int endcom) |
| void | realloc_strbuff (CTXTdeclc char **pstrbuff, char **ps, int *pn) |
| token_t * | GetToken (CTXTdeclc FILE *card, STRFILE *instr, int prevch) |
Variables |
| CHARS | intab |
| char | digval [AlphabetSize+1] |
| token_t | res_str |
| token_t * | token = &res_str |
| int | lastc = ' ' |
| char * | strbuff = NULL |
| int | strbuff_len = InitStrLen |
| double | double_v |
| long | rad_int |
| char | tok2long [] = "token too long" |
| char | eofinrem [] = "end of file in comment" |
| char | badexpt [] = "bad exponent" |
| char | badradix [] = "radix not 0 or 2..36" |
| int | token_too_long_warning = 1 |