1 | | |
2 | | |
3 | | |
4 | | |
5 | | |
6 | | |
7 | | |
8 | | |
9 | | |
10 | | |
11 | | |
12 | | |
13 | | |
14 | | |
15 | | |
16 | | |
17 | | |
18 | | |
19 | | |
20 | | |
21 | | |
22 | | |
23 | | |
24 | | |
25 | | |
26 | | |
27 | | |
28 | | |
29 | | |
30 | | |
31 | | |
32 | | |
33 | | |
34 | | |
35 | | |
36 | | |
37 | | |
38 | | |
39 | | |
40 | | |
41 | | |
| | | | | | | | #include "global.h" | RCSID("$Id: lex.c,v 1.117 2003/11/14 10:12:29 mast Exp $"); | #include "language.h" | #include "lex.h" | #include "stuff.h" | | #include <ctype.h> | | #define LEXDEBUG 0 | | struct lex lex; | | | | #define SHIFT 0 | #include "lexer0.h" | #undef SHIFT | #define SHIFT 1 | #include "lexer1.h" | #undef SHIFT | #define SHIFT 2 | #include "lexer2.h" | #undef SHIFT | | int yylex(YYSTYPE *yylval) | { | #if LEXDEBUG>8 | fprintf(stderr, "YYLEX: Calling lexer at 0x%08lx\n", | (long)lex.current_lexer); | #endif /* LEXDEBUG > 8 */ | return(lex.current_lexer(yylval)); | } | | |
|