author | Ryan C. Gordon <icculus@icculus.org> |
Tue, 13 Oct 2020 01:03:20 -0400 | |
changeset 1308 | ff7fe8bdbb8f |
parent 1294 | d4084c8412d0 |
permissions | -rw-r--r-- |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1 |
/* Generated by re2c 1.2.1 */ |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
2 |
/** |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
3 |
* MojoShader; generate shader programs from bytecode of compiled |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
4 |
* Direct3D shaders. |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
5 |
* |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
6 |
* Please see the file LICENSE.txt in the source's root directory. |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
7 |
* |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
8 |
* This file written by Ryan C. Gordon. |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
9 |
*/ |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
10 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
11 |
// This was originally based on examples/pp-c.re from re2c: http://re2c.org/ |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
12 |
// re2c is public domain code. |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
13 |
// |
1147
ff14a55da268
Fixed a few outdated comments.
Ryan C. Gordon <icculus@icculus.org>
parents:
1142
diff
changeset
|
14 |
// You build mojoshader_lexer.c from the .re file with re2c... |
ff14a55da268
Fixed a few outdated comments.
Ryan C. Gordon <icculus@icculus.org>
parents:
1142
diff
changeset
|
15 |
// re2c -is -o mojoshader_lexer.c mojoshader_lexer.re |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
16 |
// |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
17 |
// Changes to the lexer are done to the .re file, not the C code! |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
18 |
// |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
19 |
// Please note that this isn't a perfect C lexer, since it is used for both |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
20 |
// HLSL and shader assembly language, and follows the quirks of Microsoft's |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
21 |
// tools. |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
22 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
23 |
#define __MOJOSHADER_INTERNAL__ 1 |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
24 |
#include "mojoshader_internal.h" |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
25 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
26 |
typedef unsigned char uchar; |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
27 |
|
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
28 |
#define YYMAXFILL 8 |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
29 |
|
799
38370fa657fb
Regenerated mojoshader_lexer.c from mojoshader_lexer.re.
Ryan C. Gordon <icculus@icculus.org>
parents:
697
diff
changeset
|
30 |
#define RET(t) return update_state(s, eoi, cursor, token, (Token) t) |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
31 |
#define YYCTYPE uchar |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
32 |
#define YYCURSOR cursor |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
33 |
#define YYLIMIT limit |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
34 |
#define YYMARKER s->lexer_marker |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
35 |
#define YYFILL(n) { if ((n) == 1) { cursor = sentinel; limit = cursor + YYMAXFILL; eoi = 1; } } |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
36 |
|
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
37 |
static uchar sentinel[YYMAXFILL]; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
38 |
|
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
39 |
static Token update_state(IncludeState *s, int eoi, const uchar *cur, |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
40 |
const uchar *tok, const Token val) |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
41 |
{ |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
42 |
if (eoi) |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
43 |
{ |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
44 |
s->bytes_left = 0; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
45 |
s->source = (const char *) s->source_base + s->orig_length; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
46 |
if ( (tok >= sentinel) && (tok < (sentinel+YYMAXFILL)) ) |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
47 |
s->token = s->source; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
48 |
else |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
49 |
s->token = (const char *) tok; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
50 |
} // if |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
51 |
else |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
52 |
{ |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
53 |
s->bytes_left -= (unsigned int) (cur - ((const uchar *) s->source)); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
54 |
s->source = (const char *) cur; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
55 |
s->token = (const char *) tok; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
56 |
} // else |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
57 |
s->tokenlen = (unsigned int) (s->source - s->token); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
58 |
s->tokenval = val; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
59 |
return val; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
60 |
} // update_state |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
61 |
|
649
527cfe6f2d45
Renamed preprocessor_internal_lexer to preprocessor_lexer.
Ryan C. Gordon <icculus@icculus.org>
parents:
619
diff
changeset
|
62 |
Token preprocessor_lexer(IncludeState *s) |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
63 |
{ |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
64 |
const uchar *cursor = (const uchar *) s->source; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
65 |
const uchar *token = cursor; |
600
f42d58194dc1
Updated build of mojoshader_lexer.c ...
Ryan C. Gordon <icculus@icculus.org>
parents:
584
diff
changeset
|
66 |
const uchar *matchptr; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
67 |
const uchar *limit = cursor + s->bytes_left; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
68 |
int eoi = 0; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
69 |
|
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
70 |
|
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
71 |
|
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
72 |
// preprocessor directives are only valid at start of line. |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
73 |
if (s->tokenval == ((Token) '\n')) |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
74 |
goto ppdirective; // may jump back to scanner_loop. |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
75 |
|
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
76 |
scanner_loop: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
77 |
if (YYLIMIT == YYCURSOR) YYFILL(1); |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
78 |
token = cursor; |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
79 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
80 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
81 |
{ |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
82 |
YYCTYPE yych; |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
83 |
unsigned int yyaccept = 0; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
84 |
if ((YYLIMIT - YYCURSOR) < 4) YYFILL(4); |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
85 |
yych = *YYCURSOR; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
86 |
switch (yych) { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
87 |
case 0x00: goto yy2; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
88 |
case '\t': |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
89 |
case '\v': |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
90 |
case '\f': |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
91 |
case ' ': goto yy6; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
92 |
case '\n': goto yy9; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
93 |
case '\r': goto yy11; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
94 |
case '!': goto yy12; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
95 |
case '"': goto yy14; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
96 |
case '#': goto yy15; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
97 |
case '%': goto yy17; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
98 |
case '&': goto yy19; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
99 |
case '\'': goto yy21; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
100 |
case '(': goto yy22; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
101 |
case ')': goto yy24; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
102 |
case '*': goto yy26; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
103 |
case '+': goto yy28; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
104 |
case ',': goto yy30; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
105 |
case '-': goto yy32; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
106 |
case '.': goto yy34; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
107 |
case '/': goto yy36; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
108 |
case '0': goto yy38; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
109 |
case '1': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
110 |
case '2': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
111 |
case '3': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
112 |
case '4': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
113 |
case '5': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
114 |
case '6': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
115 |
case '7': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
116 |
case '8': |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
117 |
case '9': goto yy40; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
118 |
case ':': goto yy42; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
119 |
case ';': goto yy44; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
120 |
case '<': goto yy46; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
121 |
case '=': goto yy48; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
122 |
case '>': goto yy50; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
123 |
case '?': goto yy52; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
124 |
case 'A': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
125 |
case 'B': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
126 |
case 'C': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
127 |
case 'D': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
128 |
case 'E': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
129 |
case 'F': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
130 |
case 'G': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
131 |
case 'H': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
132 |
case 'I': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
133 |
case 'J': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
134 |
case 'K': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
135 |
case 'L': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
136 |
case 'M': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
137 |
case 'N': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
138 |
case 'O': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
139 |
case 'P': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
140 |
case 'Q': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
141 |
case 'R': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
142 |
case 'S': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
143 |
case 'T': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
144 |
case 'U': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
145 |
case 'V': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
146 |
case 'W': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
147 |
case 'X': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
148 |
case 'Y': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
149 |
case 'Z': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
150 |
case '_': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
151 |
case 'a': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
152 |
case 'b': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
153 |
case 'c': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
154 |
case 'd': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
155 |
case 'e': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
156 |
case 'f': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
157 |
case 'g': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
158 |
case 'h': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
159 |
case 'i': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
160 |
case 'j': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
161 |
case 'k': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
162 |
case 'l': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
163 |
case 'm': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
164 |
case 'n': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
165 |
case 'o': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
166 |
case 'p': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
167 |
case 'q': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
168 |
case 'r': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
169 |
case 's': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
170 |
case 't': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
171 |
case 'u': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
172 |
case 'v': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
173 |
case 'w': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
174 |
case 'x': |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
175 |
case 'y': |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
176 |
case 'z': goto yy54; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
177 |
case '[': goto yy57; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
178 |
case '\\': goto yy59; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
179 |
case ']': goto yy60; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
180 |
case '^': goto yy62; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
181 |
case '{': goto yy64; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
182 |
case '|': goto yy66; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
183 |
case '}': goto yy68; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
184 |
case '~': goto yy70; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
185 |
default: goto yy4; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
186 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
187 |
yy2: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
188 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
189 |
{ if (eoi) { RET(TOKEN_EOI); } goto bad_chars; } |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
190 |
yy4: |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
191 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
192 |
yy5: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
193 |
{ goto bad_chars; } |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
194 |
yy6: |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
195 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
196 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
197 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
198 |
if (yych <= '\n') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
199 |
if (yych == '\t') goto yy6; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
200 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
201 |
if (yych <= '\f') goto yy6; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
202 |
if (yych == ' ') goto yy6; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
203 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
204 |
{ if (s->report_whitespace) RET(' '); goto scanner_loop; } |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
205 |
yy9: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
206 |
++YYCURSOR; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
207 |
yy10: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
208 |
{ s->line++; RET('\n'); } |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
209 |
yy11: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
210 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
211 |
if (yych == '\n') goto yy9; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
212 |
goto yy10; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
213 |
yy12: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
214 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
215 |
if (yych == '=') goto yy72; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
216 |
{ RET('!'); } |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
217 |
yy14: |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
218 |
yyaccept = 0; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
219 |
yych = *(YYMARKER = ++YYCURSOR); |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
220 |
if (yych == '\n') goto yy5; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
221 |
if (yych == '\r') goto yy5; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
222 |
goto yy75; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
223 |
yy15: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
224 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
225 |
if (yych == '#') goto yy80; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
226 |
{ RET(TOKEN_HASH); } |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
227 |
yy17: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
228 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
229 |
if (yych == '=') goto yy82; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
230 |
{ RET('%'); } |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
231 |
yy19: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
232 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
233 |
if (yych == '&') goto yy84; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
234 |
if (yych == '=') goto yy86; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
235 |
{ RET('&'); } |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
236 |
yy21: |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
237 |
yyaccept = 0; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
238 |
yych = *(YYMARKER = ++YYCURSOR); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
239 |
if (yych == '\n') goto yy5; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
240 |
if (yych == '\r') goto yy5; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
241 |
goto yy89; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
242 |
yy22: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
243 |
++YYCURSOR; |
584
9aea8877564d
Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents:
580
diff
changeset
|
244 |
{ RET('('); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
245 |
yy24: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
246 |
++YYCURSOR; |
584
9aea8877564d
Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents:
580
diff
changeset
|
247 |
{ RET(')'); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
248 |
yy26: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
249 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
250 |
if (yych == '=') goto yy92; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
251 |
{ RET('*'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
252 |
yy28: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
253 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
254 |
if (yych == '+') goto yy94; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
255 |
if (yych == '=') goto yy96; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
256 |
{ RET('+'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
257 |
yy30: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
258 |
++YYCURSOR; |
584
9aea8877564d
Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents:
580
diff
changeset
|
259 |
{ RET(','); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
260 |
yy32: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
261 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
262 |
if (yych == '-') goto yy98; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
263 |
if (yych == '=') goto yy100; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
264 |
{ RET('-'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
265 |
yy34: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
266 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
267 |
if (yych <= '/') goto yy35; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
268 |
if (yych <= '9') goto yy102; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
269 |
yy35: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
270 |
{ RET('.'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
271 |
yy36: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
272 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
273 |
if (yych <= '.') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
274 |
if (yych == '*') goto yy105; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
275 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
276 |
if (yych <= '/') goto yy107; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
277 |
if (yych == '=') goto yy109; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
278 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
279 |
{ RET('/'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
280 |
yy38: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
281 |
yyaccept = 1; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
282 |
yych = *(YYMARKER = ++YYCURSOR); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
283 |
if (yych == 'X') goto yy114; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
284 |
if (yych == 'x') goto yy114; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
285 |
goto yy41; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
286 |
yy39: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
287 |
{ RET(TOKEN_INT_LITERAL); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
288 |
yy40: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
289 |
yyaccept = 1; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
290 |
YYMARKER = ++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
291 |
if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
292 |
yych = *YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
293 |
yy41: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
294 |
if (yych <= 'L') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
295 |
if (yych <= '9') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
296 |
if (yych == '.') goto yy102; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
297 |
if (yych <= '/') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
298 |
goto yy40; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
299 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
300 |
if (yych == 'E') goto yy111; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
301 |
if (yych <= 'K') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
302 |
goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
303 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
304 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
305 |
if (yych <= 'e') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
306 |
if (yych == 'U') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
307 |
if (yych <= 'd') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
308 |
goto yy111; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
309 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
310 |
if (yych <= 'l') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
311 |
if (yych <= 'k') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
312 |
goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
313 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
314 |
if (yych == 'u') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
315 |
goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
316 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
317 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
318 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
319 |
yy42: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
320 |
++YYCURSOR; |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
321 |
{ RET(':'); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
322 |
yy44: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
323 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
324 |
{ if (s->asm_comments) goto singlelinecomment; RET(';'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
325 |
yy46: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
326 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
327 |
if (yych <= ';') goto yy47; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
328 |
if (yych <= '<') goto yy115; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
329 |
if (yych <= '=') goto yy117; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
330 |
yy47: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
331 |
{ RET('<'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
332 |
yy48: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
333 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
334 |
if (yych == '=') goto yy119; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
335 |
{ RET('='); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
336 |
yy50: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
337 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
338 |
if (yych <= '<') goto yy51; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
339 |
if (yych <= '=') goto yy121; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
340 |
if (yych <= '>') goto yy123; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
341 |
yy51: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
342 |
{ RET('>'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
343 |
yy52: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
344 |
++YYCURSOR; |
691
47efe0f000ab
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
680
diff
changeset
|
345 |
{ RET('?'); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
346 |
yy54: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
347 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
348 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
349 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
350 |
if (yych <= 'Z') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
351 |
if (yych <= '/') goto yy56; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
352 |
if (yych <= '9') goto yy54; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
353 |
if (yych >= 'A') goto yy54; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
354 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
355 |
if (yych <= '_') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
356 |
if (yych >= '_') goto yy54; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
357 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
358 |
if (yych <= '`') goto yy56; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
359 |
if (yych <= 'z') goto yy54; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
360 |
} |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
361 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
362 |
yy56: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
363 |
{ RET(TOKEN_IDENTIFIER); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
364 |
yy57: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
365 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
366 |
{ RET('['); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
367 |
yy59: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
368 |
yyaccept = 0; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
369 |
yych = *(YYMARKER = ++YYCURSOR); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
370 |
if (yych <= 0x08) goto yy5; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
371 |
if (yych <= '\r') goto yy126; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
372 |
if (yych == ' ') goto yy126; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
373 |
goto yy5; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
374 |
yy60: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
375 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
376 |
{ RET(']'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
377 |
yy62: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
378 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
379 |
if (yych == '=') goto yy130; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
380 |
{ RET('^'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
381 |
yy64: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
382 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
383 |
{ RET('{'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
384 |
yy66: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
385 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
386 |
if (yych == '=') goto yy132; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
387 |
if (yych == '|') goto yy134; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
388 |
{ RET('|'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
389 |
yy68: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
390 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
391 |
{ RET('}'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
392 |
yy70: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
393 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
394 |
{ RET('~'); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
395 |
yy72: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
396 |
++YYCURSOR; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
397 |
{ RET(TOKEN_NEQ); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
398 |
yy74: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
399 |
++YYCURSOR; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
400 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
401 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
402 |
yy75: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
403 |
if (yych <= '\r') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
404 |
if (yych == '\n') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
405 |
if (yych <= '\f') goto yy74; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
406 |
} else { |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
407 |
if (yych <= '"') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
408 |
if (yych <= '!') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
409 |
goto yy77; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
410 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
411 |
if (yych == '\\') goto yy79; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
412 |
goto yy74; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
413 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
414 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
415 |
yy76: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
416 |
YYCURSOR = YYMARKER; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
417 |
if (yyaccept <= 1) { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
418 |
if (yyaccept == 0) { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
419 |
goto yy5; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
420 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
421 |
goto yy39; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
422 |
} |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
423 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
424 |
goto yy104; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
425 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
426 |
yy77: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
427 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
428 |
{ RET(TOKEN_STRING_LITERAL); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
429 |
yy79: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
430 |
++YYCURSOR; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
431 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
432 |
yych = *YYCURSOR; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
433 |
if (yych <= 'b') { |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
434 |
if (yych <= '7') { |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
435 |
if (yych <= '&') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
436 |
if (yych == '"') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
437 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
438 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
439 |
if (yych <= '\'') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
440 |
if (yych <= '/') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
441 |
goto yy74; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
442 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
443 |
} else { |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
444 |
if (yych <= '[') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
445 |
if (yych == '?') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
446 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
447 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
448 |
if (yych <= '\\') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
449 |
if (yych <= '`') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
450 |
goto yy74; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
451 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
452 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
453 |
} else { |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
454 |
if (yych <= 'r') { |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
455 |
if (yych <= 'm') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
456 |
if (yych == 'f') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
457 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
458 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
459 |
if (yych <= 'n') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
460 |
if (yych <= 'q') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
461 |
goto yy74; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
462 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
463 |
} else { |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
464 |
if (yych <= 'u') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
465 |
if (yych == 't') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
466 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
467 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
468 |
if (yych <= 'v') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
469 |
if (yych == 'x') goto yy136; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
470 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
471 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
472 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
473 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
474 |
yy80: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
475 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
476 |
{ RET(TOKEN_HASHHASH); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
477 |
yy82: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
478 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
479 |
{ RET(TOKEN_MODASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
480 |
yy84: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
481 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
482 |
{ RET(TOKEN_ANDAND); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
483 |
yy86: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
484 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
485 |
{ RET(TOKEN_ANDASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
486 |
yy88: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
487 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
488 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
489 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
490 |
yy89: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
491 |
if (yych <= '\r') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
492 |
if (yych == '\n') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
493 |
if (yych <= '\f') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
494 |
goto yy76; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
495 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
496 |
if (yych <= '\'') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
497 |
if (yych <= '&') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
498 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
499 |
if (yych == '\\') goto yy91; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
500 |
goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
501 |
} |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
502 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
503 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
504 |
goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
505 |
yy91: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
506 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
507 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
508 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
509 |
if (yych <= 'b') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
510 |
if (yych <= '7') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
511 |
if (yych <= '&') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
512 |
if (yych == '"') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
513 |
goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
514 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
515 |
if (yych <= '\'') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
516 |
if (yych <= '/') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
517 |
goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
518 |
} |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
519 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
520 |
if (yych <= '[') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
521 |
if (yych == '?') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
522 |
goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
523 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
524 |
if (yych <= '\\') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
525 |
if (yych <= '`') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
526 |
goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
527 |
} |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
528 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
529 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
530 |
if (yych <= 'r') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
531 |
if (yych <= 'm') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
532 |
if (yych == 'f') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
533 |
goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
534 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
535 |
if (yych <= 'n') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
536 |
if (yych <= 'q') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
537 |
goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
538 |
} |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
539 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
540 |
if (yych <= 'u') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
541 |
if (yych == 't') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
542 |
goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
543 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
544 |
if (yych <= 'v') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
545 |
if (yych == 'x') goto yy137; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
546 |
goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
547 |
} |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
548 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
549 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
550 |
yy92: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
551 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
552 |
{ RET(TOKEN_MULTASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
553 |
yy94: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
554 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
555 |
{ RET(TOKEN_INCREMENT); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
556 |
yy96: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
557 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
558 |
{ RET(TOKEN_ADDASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
559 |
yy98: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
560 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
561 |
{ RET(TOKEN_DECREMENT); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
562 |
yy100: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
563 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
564 |
{ RET(TOKEN_SUBASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
565 |
yy102: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
566 |
yyaccept = 2; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
567 |
YYMARKER = ++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
568 |
if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
569 |
yych = *YYCURSOR; |
960
d90fa2381bab
Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents:
910
diff
changeset
|
570 |
if (yych <= 'G') { |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
571 |
if (yych <= 'D') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
572 |
if (yych <= '/') goto yy104; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
573 |
if (yych <= '9') goto yy102; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
574 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
575 |
if (yych <= 'E') goto yy111; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
576 |
if (yych <= 'F') goto yy138; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
577 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
578 |
} else { |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
579 |
if (yych <= 'e') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
580 |
if (yych <= 'H') goto yy138; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
581 |
if (yych >= 'e') goto yy111; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
582 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
583 |
if (yych == 'g') goto yy104; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
584 |
if (yych <= 'h') goto yy138; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
585 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
586 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
587 |
yy104: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
588 |
{ RET(TOKEN_FLOAT_LITERAL); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
589 |
yy105: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
590 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
591 |
{ goto multilinecomment; } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
592 |
yy107: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
593 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
594 |
{ goto singlelinecomment; } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
595 |
yy109: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
596 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
597 |
{ RET(TOKEN_DIVASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
598 |
yy111: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
599 |
yych = *++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
600 |
if (yych <= ',') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
601 |
if (yych == '+') goto yy139; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
602 |
goto yy76; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
603 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
604 |
if (yych <= '-') goto yy139; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
605 |
if (yych <= '/') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
606 |
if (yych <= '9') goto yy140; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
607 |
goto yy76; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
608 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
609 |
yy112: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
610 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
611 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
612 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
613 |
if (yych <= 'U') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
614 |
if (yych == 'L') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
615 |
if (yych <= 'T') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
616 |
goto yy112; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
617 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
618 |
if (yych <= 'l') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
619 |
if (yych <= 'k') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
620 |
goto yy112; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
621 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
622 |
if (yych == 'u') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
623 |
goto yy39; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
624 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
625 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
626 |
yy114: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
627 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
628 |
if (yych <= '@') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
629 |
if (yych <= '/') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
630 |
if (yych <= '9') goto yy142; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
631 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
632 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
633 |
if (yych <= 'F') goto yy142; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
634 |
if (yych <= '`') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
635 |
if (yych <= 'f') goto yy142; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
636 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
637 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
638 |
yy115: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
639 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
640 |
if (yych == '=') goto yy144; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
641 |
{ RET(TOKEN_LSHIFT); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
642 |
yy117: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
643 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
644 |
{ RET(TOKEN_LEQ); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
645 |
yy119: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
646 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
647 |
{ RET(TOKEN_EQL); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
648 |
yy121: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
649 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
650 |
{ RET(TOKEN_GEQ); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
651 |
yy123: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
652 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
653 |
if (yych == '=') goto yy146; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
654 |
{ RET(TOKEN_RSHIFT); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
655 |
yy125: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
656 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
657 |
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
658 |
yych = *YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
659 |
yy126: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
660 |
if (yych <= '\f') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
661 |
if (yych <= 0x08) goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
662 |
if (yych != '\n') goto yy125; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
663 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
664 |
if (yych <= '\r') goto yy129; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
665 |
if (yych == ' ') goto yy125; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
666 |
goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
667 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
668 |
yy127: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
669 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
670 |
yy128: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
671 |
{ s->line++; goto scanner_loop; } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
672 |
yy129: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
673 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
674 |
if (yych == '\n') goto yy127; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
675 |
goto yy128; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
676 |
yy130: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
677 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
678 |
{ RET(TOKEN_XORASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
679 |
yy132: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
680 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
681 |
{ RET(TOKEN_ORASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
682 |
yy134: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
683 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
684 |
{ RET(TOKEN_OROR); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
685 |
yy136: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
686 |
++YYCURSOR; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
687 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
688 |
yych = *YYCURSOR; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
689 |
if (yych <= '@') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
690 |
if (yych <= '/') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
691 |
if (yych <= '9') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
692 |
goto yy76; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
693 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
694 |
if (yych <= 'F') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
695 |
if (yych <= '`') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
696 |
if (yych <= 'f') goto yy74; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
697 |
goto yy76; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
698 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
699 |
yy137: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
700 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
701 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
702 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
703 |
if (yych <= '@') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
704 |
if (yych <= '/') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
705 |
if (yych <= '9') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
706 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
707 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
708 |
if (yych <= 'F') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
709 |
if (yych <= '`') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
710 |
if (yych <= 'f') goto yy88; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
711 |
goto yy76; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
712 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
713 |
yy138: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
714 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
715 |
goto yy104; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
716 |
yy139: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
717 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
718 |
if (yych <= '/') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
719 |
if (yych >= ':') goto yy76; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
720 |
yy140: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
721 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
722 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
723 |
yych = *YYCURSOR; |
960
d90fa2381bab
Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents:
910
diff
changeset
|
724 |
if (yych <= 'G') { |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
725 |
if (yych <= '9') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
726 |
if (yych <= '/') goto yy104; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
727 |
goto yy140; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
728 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
729 |
if (yych == 'F') goto yy138; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
730 |
goto yy104; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
731 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
732 |
} else { |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
733 |
if (yych <= 'f') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
734 |
if (yych <= 'H') goto yy138; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
735 |
if (yych <= 'e') goto yy104; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
736 |
goto yy138; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
737 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
738 |
if (yych == 'h') goto yy138; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
739 |
goto yy104; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
740 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
741 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
742 |
yy142: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
743 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
744 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
745 |
yych = *YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
746 |
if (yych <= 'T') { |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
747 |
if (yych <= '@') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
748 |
if (yych <= '/') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
749 |
if (yych <= '9') goto yy142; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
750 |
goto yy39; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
751 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
752 |
if (yych <= 'F') goto yy142; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
753 |
if (yych == 'L') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
754 |
goto yy39; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
755 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
756 |
} else { |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
757 |
if (yych <= 'k') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
758 |
if (yych <= 'U') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
759 |
if (yych <= '`') goto yy39; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
760 |
if (yych <= 'f') goto yy142; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
761 |
goto yy39; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
762 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
763 |
if (yych <= 'l') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
764 |
if (yych == 'u') goto yy112; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
765 |
goto yy39; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
766 |
} |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
767 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
768 |
yy144: |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
769 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
770 |
{ RET(TOKEN_LSHIFTASSIGN); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
771 |
yy146: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
772 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
773 |
{ RET(TOKEN_RSHIFTASSIGN); } |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
774 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
775 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
776 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
777 |
multilinecomment: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
778 |
if (YYLIMIT == YYCURSOR) YYFILL(1); |
600
f42d58194dc1
Updated build of mojoshader_lexer.c ...
Ryan C. Gordon <icculus@icculus.org>
parents:
584
diff
changeset
|
779 |
matchptr = cursor; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
780 |
// The "*\/" is just to avoid screwing up text editor syntax highlighting. |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
781 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
782 |
{ |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
783 |
YYCTYPE yych; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
784 |
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
785 |
yych = *YYCURSOR; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
786 |
if (yych <= '\f') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
787 |
if (yych <= 0x00) goto yy150; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
788 |
if (yych == '\n') goto yy154; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
789 |
goto yy152; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
790 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
791 |
if (yych <= '\r') goto yy156; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
792 |
if (yych == '*') goto yy157; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
793 |
goto yy152; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
794 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
795 |
yy150: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
796 |
++YYCURSOR; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
797 |
{ |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
798 |
if (eoi) |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
799 |
RET(TOKEN_INCOMPLETE_COMMENT); |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
800 |
goto multilinecomment; |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
801 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
802 |
yy152: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
803 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
804 |
yy153: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
805 |
{ goto multilinecomment; } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
806 |
yy154: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
807 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
808 |
yy155: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
809 |
{ |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
810 |
s->line++; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
811 |
goto multilinecomment; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
812 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
813 |
yy156: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
814 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
815 |
if (yych == '\n') goto yy154; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
816 |
goto yy155; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
817 |
yy157: |
866
3fc643a4f742
Regenerated lexer with stringify operator.
Ryan C. Gordon <icculus@icculus.org>
parents:
799
diff
changeset
|
818 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
819 |
if (yych != '/') goto yy153; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
820 |
++YYCURSOR; |
580
a7b038eb688c
Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents:
555
diff
changeset
|
821 |
{ |
1121
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
822 |
if (s->report_comments) |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
823 |
RET(TOKEN_MULTI_COMMENT); |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
824 |
else if (s->report_whitespace) |
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
825 |
RET(' '); |
1142
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
826 |
|
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
827 |
// Microsoft's preprocessor allows multiline comments |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
828 |
// before a preprocessor directive, even though C/C++ |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
829 |
// doesn't. See if we've hit this case. |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
830 |
#if MATCH_MICROSOFT_PREPROCESSOR |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
831 |
if (s->tokenval == ((Token) '\n')) // was start of line? |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
832 |
{ |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
833 |
update_state(s, eoi, cursor, token, (Token) '\n'); |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
834 |
goto ppdirective; // may jump back to scanner_loop. |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
835 |
} |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
836 |
#endif |
7b554e065321
Allow multiline comments before preprocessor directives.
Ryan C. Gordon <icculus@icculus.org>
parents:
1123
diff
changeset
|
837 |
|
580
a7b038eb688c
Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents:
555
diff
changeset
|
838 |
goto scanner_loop; |
a7b038eb688c
Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents:
555
diff
changeset
|
839 |
} |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
840 |
} |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
841 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
842 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
843 |
singlelinecomment: |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
844 |
if (YYLIMIT == YYCURSOR) YYFILL(1); |
600
f42d58194dc1
Updated build of mojoshader_lexer.c ...
Ryan C. Gordon <icculus@icculus.org>
parents:
584
diff
changeset
|
845 |
matchptr = cursor; |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
846 |
|
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
847 |
{ |
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
848 |
YYCTYPE yych; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
849 |
if ((YYLIMIT - YYCURSOR) < 2) YYFILL(2); |
555
940821555fda
Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
850 |
yych = *YYCURSOR; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
851 |
if (yych <= '\n') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
852 |
if (yych <= 0x00) goto yy162; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
853 |
if (yych <= '\t') goto yy164; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
854 |
goto yy166; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
855 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
856 |
if (yych == '\r') goto yy168; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
857 |
goto yy164; |
653
c1eb8cca56f8
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
649
diff
changeset
|
858 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
859 |
yy162: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
860 |
++YYCURSOR; |
1121
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
861 |
{ |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
862 |
if (eoi) |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
863 |
{ |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
864 |
if (s->report_comments) |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
865 |
RET(TOKEN_SINGLE_COMMENT); |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
866 |
else |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
867 |
RET(TOKEN_EOI); |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
868 |
} |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
869 |
goto singlelinecomment; |
4142681f9fda
Allow preprocessor to pass through comments, like GNU cpp does.
Ryan C. Gordon <icculus@icculus.org>
parents:
960
diff
changeset
|
870 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
871 |
yy164: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
872 |
++YYCURSOR; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
873 |
{ goto singlelinecomment; } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
874 |
yy166: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
875 |
++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
876 |
yy167: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
877 |
{ |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
878 |
s->line++; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
879 |
if (s->report_comments) |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
880 |
{ |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
881 |
cursor = matchptr; // so we RET('\n') next. |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
882 |
RET(TOKEN_SINGLE_COMMENT); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
883 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
884 |
token = matchptr; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
885 |
RET('\n'); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
886 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
887 |
yy168: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
888 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
889 |
if (yych == '\n') goto yy166; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
890 |
goto yy167; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
891 |
} |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
892 |
|
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
893 |
|
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
894 |
ppdirective: |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
895 |
if (YYLIMIT == YYCURSOR) YYFILL(1); |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
896 |
|
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
897 |
{ |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
898 |
YYCTYPE yych; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
899 |
unsigned int yyaccept = 0; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
900 |
if ((YYLIMIT - YYCURSOR) < 8) YYFILL(8); |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
901 |
yych = *YYCURSOR; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
902 |
if (yych <= '\f') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
903 |
if (yych == '\t') goto yy173; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
904 |
if (yych >= '\v') goto yy173; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
905 |
} else { |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
906 |
if (yych <= ' ') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
907 |
if (yych >= ' ') goto yy173; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
908 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
909 |
if (yych == '#') goto yy176; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
910 |
} |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
911 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
912 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
913 |
yy172: |
697
765a85a989a2
Fixed crash in lexer on empty input stream.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
914 |
{ |
765a85a989a2
Fixed crash in lexer on empty input stream.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
915 |
token = cursor = (const uchar *) s->source; |
765a85a989a2
Fixed crash in lexer on empty input stream.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
916 |
limit = cursor + s->bytes_left; |
765a85a989a2
Fixed crash in lexer on empty input stream.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
917 |
goto scanner_loop; |
765a85a989a2
Fixed crash in lexer on empty input stream.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
918 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
919 |
yy173: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
920 |
++YYCURSOR; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
921 |
if (YYLIMIT <= YYCURSOR) YYFILL(1); |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
922 |
yych = *YYCURSOR; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
923 |
if (yych <= '\n') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
924 |
if (yych == '\t') goto yy173; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
925 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
926 |
if (yych <= '\f') goto yy173; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
927 |
if (yych == ' ') goto yy173; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
928 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
929 |
{ goto ppdirective; } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
930 |
yy176: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
931 |
yyaccept = 0; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
932 |
yych = *(YYMARKER = ++YYCURSOR); |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
933 |
if (yych <= 'h') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
934 |
if (yych <= 0x1F) { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
935 |
if (yych == '\t') goto yy178; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
936 |
goto yy172; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
937 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
938 |
if (yych <= ' ') goto yy178; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
939 |
if (yych <= 'c') goto yy172; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
940 |
if (yych <= 'e') goto yy178; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
941 |
goto yy172; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
942 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
943 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
944 |
if (yych <= 'o') { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
945 |
if (yych <= 'i') goto yy178; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
946 |
if (yych == 'l') goto yy178; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
947 |
goto yy172; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
948 |
} else { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
949 |
if (yych <= 'p') goto yy178; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
950 |
if (yych == 'u') goto yy178; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
951 |
goto yy172; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
952 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
953 |
} |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
954 |
yy177: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
955 |
++YYCURSOR; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
956 |
if ((YYLIMIT - YYCURSOR) < 7) YYFILL(7); |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
957 |
yych = *YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
958 |
yy178: |
910
3ee487d85ecb
Handle #pragma (or at least, don't fail on them).
Ryan C. Gordon <icculus@icculus.org>
parents:
866
diff
changeset
|
959 |
if (yych <= 'h') { |
3ee487d85ecb
Handle #pragma (or at least, don't fail on them).
Ryan C. Gordon <icculus@icculus.org>
parents:
866
diff
changeset
|
960 |
if (yych <= ' ') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
961 |
if (yych == '\t') goto yy177; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
962 |
if (yych >= ' ') goto yy177; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
963 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
964 |
if (yych <= 'c') goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
965 |
if (yych <= 'd') goto yy180; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
966 |
if (yych <= 'e') goto yy181; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
967 |
} |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
968 |
} else { |
910
3ee487d85ecb
Handle #pragma (or at least, don't fail on them).
Ryan C. Gordon <icculus@icculus.org>
parents:
866
diff
changeset
|
969 |
if (yych <= 'o') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
970 |
if (yych <= 'i') goto yy182; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
971 |
if (yych == 'l') goto yy183; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
972 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
973 |
if (yych <= 'p') goto yy184; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
974 |
if (yych == 'u') goto yy185; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
975 |
} |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
976 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
977 |
yy179: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
978 |
YYCURSOR = YYMARKER; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
979 |
if (yyaccept == 0) { |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
980 |
goto yy172; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
981 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
982 |
goto yy191; |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
983 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
984 |
yy180: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
985 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
986 |
if (yych == 'e') goto yy186; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
987 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
988 |
yy181: |
910
3ee487d85ecb
Handle #pragma (or at least, don't fail on them).
Ryan C. Gordon <icculus@icculus.org>
parents:
866
diff
changeset
|
989 |
yych = *++YYCURSOR; |
866
3fc643a4f742
Regenerated lexer with stringify operator.
Ryan C. Gordon <icculus@icculus.org>
parents:
799
diff
changeset
|
990 |
if (yych <= 'm') { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
991 |
if (yych == 'l') goto yy187; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
992 |
goto yy179; |
866
3fc643a4f742
Regenerated lexer with stringify operator.
Ryan C. Gordon <icculus@icculus.org>
parents:
799
diff
changeset
|
993 |
} else { |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
994 |
if (yych <= 'n') goto yy188; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
995 |
if (yych == 'r') goto yy189; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
996 |
goto yy179; |
866
3fc643a4f742
Regenerated lexer with stringify operator.
Ryan C. Gordon <icculus@icculus.org>
parents:
799
diff
changeset
|
997 |
} |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
998 |
yy182: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
999 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1000 |
if (yych == 'f') goto yy190; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1001 |
if (yych == 'n') goto yy192; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1002 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1003 |
yy183: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1004 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1005 |
if (yych == 'i') goto yy193; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1006 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1007 |
yy184: |
866
3fc643a4f742
Regenerated lexer with stringify operator.
Ryan C. Gordon <icculus@icculus.org>
parents:
799
diff
changeset
|
1008 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1009 |
if (yych == 'r') goto yy194; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1010 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1011 |
yy185: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1012 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1013 |
if (yych == 'n') goto yy195; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1014 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1015 |
yy186: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1016 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1017 |
if (yych == 'f') goto yy196; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1018 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1019 |
yy187: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1020 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1021 |
if (yych == 'i') goto yy197; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1022 |
if (yych == 's') goto yy198; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1023 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1024 |
yy188: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1025 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1026 |
if (yych == 'd') goto yy199; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1027 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1028 |
yy189: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1029 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1030 |
if (yych == 'r') goto yy200; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1031 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1032 |
yy190: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1033 |
yyaccept = 1; |
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1034 |
yych = *(YYMARKER = ++YYCURSOR); |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1035 |
if (yych == 'd') goto yy201; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1036 |
if (yych == 'n') goto yy202; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1037 |
yy191: |
910
3ee487d85ecb
Handle #pragma (or at least, don't fail on them).
Ryan C. Gordon <icculus@icculus.org>
parents:
866
diff
changeset
|
1038 |
{ RET(TOKEN_PP_IF); } |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1039 |
yy192: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1040 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1041 |
if (yych == 'c') goto yy203; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1042 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1043 |
yy193: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1044 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1045 |
if (yych == 'n') goto yy204; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1046 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1047 |
yy194: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1048 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1049 |
if (yych == 'a') goto yy205; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1050 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1051 |
yy195: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1052 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1053 |
if (yych == 'd') goto yy206; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1054 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1055 |
yy196: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1056 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1057 |
if (yych == 'i') goto yy207; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1058 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1059 |
yy197: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1060 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1061 |
if (yych == 'f') goto yy208; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1062 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1063 |
yy198: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1064 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1065 |
if (yych == 'e') goto yy210; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1066 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1067 |
yy199: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1068 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1069 |
if (yych == 'i') goto yy212; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1070 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1071 |
yy200: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1072 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1073 |
if (yych == 'o') goto yy213; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1074 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1075 |
yy201: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1076 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1077 |
if (yych == 'e') goto yy214; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1078 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1079 |
yy202: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1080 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1081 |
if (yych == 'd') goto yy215; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1082 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1083 |
yy203: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1084 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1085 |
if (yych == 'l') goto yy216; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1086 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1087 |
yy204: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1088 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1089 |
if (yych == 'e') goto yy217; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1090 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1091 |
yy205: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1092 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1093 |
if (yych == 'g') goto yy219; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1094 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1095 |
yy206: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1096 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1097 |
if (yych == 'e') goto yy220; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1098 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1099 |
yy207: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1100 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1101 |
if (yych == 'n') goto yy221; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1102 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1103 |
yy208: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1104 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1105 |
{ RET(TOKEN_PP_ELIF); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1106 |
yy210: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1107 |
++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1108 |
{ RET(TOKEN_PP_ELSE); } |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1109 |
yy212: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1110 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1111 |
if (yych == 'f') goto yy222; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1112 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1113 |
yy213: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1114 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1115 |
if (yych == 'r') goto yy224; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1116 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1117 |
yy214: |
680
b8db6bedc1bd
Updated re2c-generated code.
Ryan C. Gordon <icculus@icculus.org>
parents:
653
diff
changeset
|
1118 |
yych = *++YYCURSOR; |
1294
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1119 |
if (yych == 'f') goto yy226; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1120 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1121 |
yy215: |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1122 |
yych = *++YYCURSOR; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1123 |
if (yych == 'e') goto yy228; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1124 |
goto yy179; |
d4084c8412d0
Rebuilt the lexer with a much newer re2c.
Ryan C. Gordon <icculus@icculus.org>
parents:
1147
diff
changeset
|
1125 |
yy216: |