mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
prebuild-bison
This commit is contained in:
parent
90c52414db
commit
4efd23971b
@ -300,31 +300,31 @@ static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
|
||||
*yy_cp = '\0'; \
|
||||
yy_c_buf_p = yy_cp;
|
||||
|
||||
#define YY_NUM_RULES 50
|
||||
#define YY_END_OF_BUFFER 51
|
||||
static yyconst short int yy_accept[192] =
|
||||
#define YY_NUM_RULES 52
|
||||
#define YY_END_OF_BUFFER 53
|
||||
static yyconst short int yy_accept[201] =
|
||||
{ 0,
|
||||
0, 0, 51, 49, 2, 1, 45, 46, 49, 49,
|
||||
49, 41, 41, 47, 48, 48, 48, 48, 48, 48,
|
||||
48, 48, 48, 48, 48, 48, 48, 1, 0, 42,
|
||||
44, 4, 3, 44, 41, 43, 48, 48, 48, 48,
|
||||
48, 48, 48, 36, 48, 48, 48, 48, 48, 48,
|
||||
48, 48, 48, 48, 48, 48, 48, 0, 3, 43,
|
||||
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
48, 48, 48, 34, 35, 48, 48, 48, 48, 48,
|
||||
0, 44, 48, 22, 48, 11, 31, 48, 48, 48,
|
||||
48, 7, 48, 48, 48, 48, 12, 48, 48, 48,
|
||||
0, 0, 53, 51, 2, 1, 47, 48, 51, 51,
|
||||
51, 43, 43, 49, 50, 50, 50, 50, 50, 50,
|
||||
50, 50, 50, 50, 50, 50, 50, 1, 0, 44,
|
||||
46, 4, 3, 46, 43, 45, 50, 50, 50, 50,
|
||||
50, 50, 50, 38, 50, 50, 50, 50, 50, 50,
|
||||
50, 50, 50, 50, 50, 50, 50, 50, 0, 3,
|
||||
45, 50, 50, 50, 50, 50, 50, 50, 50, 50,
|
||||
50, 50, 50, 50, 50, 50, 36, 37, 50, 50,
|
||||
50, 50, 50, 0, 46, 50, 24, 50, 50, 11,
|
||||
33, 50, 50, 50, 50, 50, 7, 50, 50, 50,
|
||||
|
||||
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
48, 48, 13, 14, 15, 48, 48, 48, 48, 48,
|
||||
48, 48, 48, 48, 48, 16, 40, 23, 48, 38,
|
||||
37, 5, 48, 8, 48, 48, 48, 48, 48, 21,
|
||||
6, 10, 48, 17, 18, 19, 48, 48, 20, 48,
|
||||
48, 48, 39, 48, 9, 48, 48, 48, 48, 48,
|
||||
48, 48, 48, 32, 48, 48, 48, 48, 33, 48,
|
||||
48, 24, 48, 48, 48, 48, 25, 26, 48, 48,
|
||||
48, 27, 28, 29, 48, 48, 48, 48, 48, 30,
|
||||
0
|
||||
50, 14, 50, 50, 50, 50, 50, 50, 50, 50,
|
||||
50, 13, 50, 50, 50, 50, 50, 50, 50, 15,
|
||||
16, 17, 50, 50, 50, 50, 50, 50, 50, 50,
|
||||
50, 50, 18, 42, 25, 50, 40, 39, 5, 50,
|
||||
50, 8, 50, 50, 50, 50, 50, 23, 6, 10,
|
||||
50, 19, 20, 21, 50, 50, 12, 22, 50, 50,
|
||||
50, 41, 50, 9, 50, 50, 50, 50, 50, 50,
|
||||
50, 50, 34, 50, 50, 50, 50, 35, 50, 50,
|
||||
26, 50, 50, 50, 50, 27, 28, 50, 50, 50,
|
||||
29, 30, 31, 50, 50, 50, 50, 50, 32, 0
|
||||
|
||||
} ;
|
||||
|
||||
@ -341,9 +341,9 @@ static yyconst int yy_ec[256] =
|
||||
21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
|
||||
1, 1, 1, 1, 21, 1, 22, 23, 24, 25,
|
||||
|
||||
26, 27, 28, 29, 30, 21, 21, 31, 32, 33,
|
||||
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
||||
44, 21, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
26, 27, 28, 29, 30, 21, 31, 32, 33, 34,
|
||||
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
||||
45, 21, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
@ -360,133 +360,137 @@ static yyconst int yy_ec[256] =
|
||||
1, 1, 1, 1, 1
|
||||
} ;
|
||||
|
||||
static yyconst int yy_meta[45] =
|
||||
static yyconst int yy_meta[46] =
|
||||
{ 0,
|
||||
1, 1, 2, 1, 1, 1, 3, 4, 1, 5,
|
||||
5, 5, 5, 5, 5, 5, 5, 1, 6, 6,
|
||||
7, 6, 6, 6, 6, 6, 6, 7, 7, 7,
|
||||
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
|
||||
7, 7, 8, 7
|
||||
7, 7, 7, 8, 7
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_base[200] =
|
||||
static yyconst short int yy_base[209] =
|
||||
{ 0,
|
||||
0, 0, 234, 235, 235, 0, 235, 235, 225, 0,
|
||||
39, 38, 39, 235, 0, 202, 18, 28, 28, 23,
|
||||
29, 189, 218, 41, 14, 185, 198, 0, 0, 219,
|
||||
38, 235, 0, 0, 0, 0, 0, 189, 191, 190,
|
||||
185, 200, 28, 0, 190, 186, 185, 183, 178, 183,
|
||||
180, 182, 177, 175, 181, 175, 176, 201, 0, 0,
|
||||
181, 183, 183, 178, 166, 176, 175, 178, 177, 166,
|
||||
163, 57, 158, 0, 0, 155, 39, 155, 167, 153,
|
||||
184, 183, 165, 175, 162, 0, 0, 162, 152, 146,
|
||||
144, 0, 145, 165, 168, 165, 156, 151, 146, 142,
|
||||
0, 0, 244, 245, 245, 0, 245, 245, 235, 0,
|
||||
40, 39, 40, 245, 0, 212, 18, 29, 29, 22,
|
||||
29, 198, 228, 42, 26, 194, 208, 0, 0, 229,
|
||||
39, 245, 0, 0, 0, 0, 0, 198, 200, 41,
|
||||
195, 211, 32, 0, 200, 204, 195, 194, 192, 187,
|
||||
192, 189, 191, 186, 184, 191, 184, 185, 211, 0,
|
||||
0, 191, 193, 193, 192, 187, 174, 185, 184, 187,
|
||||
186, 185, 173, 170, 61, 165, 0, 0, 162, 45,
|
||||
162, 175, 160, 192, 191, 173, 183, 164, 169, 0,
|
||||
0, 169, 158, 152, 149, 149, 0, 150, 171, 174,
|
||||
|
||||
150, 149, 147, 67, 130, 158, 145, 127, 142, 128,
|
||||
149, 125, 141, 140, 0, 124, 127, 122, 130, 118,
|
||||
127, 129, 138, 141, 138, 129, 0, 0, 128, 0,
|
||||
0, 0, 135, 0, 111, 110, 109, 120, 118, 0,
|
||||
0, 0, 116, 120, 49, 0, 104, 102, 0, 102,
|
||||
101, 115, 0, 111, 0, 98, 97, 103, 95, 92,
|
||||
108, 107, 84, 0, 90, 89, 92, 102, 0, 79,
|
||||
78, 0, 98, 88, 64, 58, 0, 0, 47, 44,
|
||||
70, 0, 0, 0, 64, 48, 40, 54, 31, 0,
|
||||
235, 89, 94, 67, 96, 100, 108, 112, 116
|
||||
171, 162, 157, 152, 147, 156, 155, 153, 74, 135,
|
||||
164, 0, 151, 132, 148, 133, 139, 154, 129, 146,
|
||||
145, 0, 128, 131, 126, 135, 122, 132, 134, 143,
|
||||
146, 143, 134, 0, 0, 133, 0, 0, 0, 114,
|
||||
139, 0, 114, 113, 112, 124, 122, 0, 0, 0,
|
||||
120, 124, 51, 0, 107, 105, 0, 0, 105, 104,
|
||||
119, 0, 115, 0, 101, 100, 107, 98, 95, 112,
|
||||
111, 87, 0, 93, 92, 95, 106, 0, 82, 81,
|
||||
0, 103, 101, 73, 61, 0, 0, 60, 49, 72,
|
||||
0, 0, 0, 66, 44, 43, 58, 34, 0, 245,
|
||||
|
||||
92, 97, 52, 99, 103, 111, 115, 119
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_def[200] =
|
||||
static yyconst short int yy_def[209] =
|
||||
{ 0,
|
||||
191, 1, 191, 191, 191, 192, 191, 191, 193, 194,
|
||||
191, 195, 195, 191, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 192, 194, 193,
|
||||
194, 191, 197, 31, 13, 198, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 199, 197, 198,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
199, 199, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
200, 1, 200, 200, 200, 201, 200, 200, 202, 203,
|
||||
200, 204, 204, 200, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 201, 203, 202,
|
||||
203, 200, 206, 31, 13, 207, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 208, 206,
|
||||
207, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 208, 208, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
|
||||
0, 191, 191, 191, 191, 191, 191, 191, 191
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
||||
205, 205, 205, 205, 205, 205, 205, 205, 205, 0,
|
||||
|
||||
200, 200, 200, 200, 200, 200, 200, 200
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_nxt[280] =
|
||||
static yyconst short int yy_nxt[291] =
|
||||
{ 0,
|
||||
4, 5, 6, 7, 8, 4, 9, 10, 11, 12,
|
||||
13, 13, 13, 13, 13, 13, 13, 14, 15, 15,
|
||||
15, 16, 17, 18, 19, 15, 20, 15, 15, 21,
|
||||
15, 15, 15, 22, 23, 15, 24, 25, 26, 27,
|
||||
15, 15, 15, 15, 32, 34, 34, 33, 39, 41,
|
||||
44, 45, 54, 46, 40, 55, 42, 58, 43, 47,
|
||||
48, 49, 52, 58, 66, 67, 53, 94, 100, 95,
|
||||
157, 31, 96, 97, 190, 189, 188, 123, 101, 124,
|
||||
36, 191, 125, 126, 187, 186, 185, 184, 158, 28,
|
||||
183, 28, 28, 28, 28, 28, 28, 30, 30, 35,
|
||||
15, 15, 15, 15, 22, 23, 15, 24, 25, 26,
|
||||
27, 15, 15, 15, 15, 32, 34, 34, 33, 39,
|
||||
41, 44, 45, 47, 46, 40, 31, 42, 59, 48,
|
||||
43, 49, 50, 53, 59, 55, 64, 54, 56, 68,
|
||||
69, 99, 166, 100, 105, 65, 101, 102, 199, 198,
|
||||
197, 196, 36, 200, 130, 106, 131, 195, 194, 132,
|
||||
133, 167, 28, 193, 28, 28, 28, 28, 28, 28,
|
||||
|
||||
35, 182, 181, 35, 37, 37, 37, 37, 59, 180,
|
||||
59, 59, 59, 59, 59, 59, 60, 60, 82, 179,
|
||||
82, 178, 177, 176, 175, 174, 173, 172, 171, 170,
|
||||
169, 168, 167, 166, 165, 164, 163, 162, 161, 160,
|
||||
159, 156, 155, 154, 153, 152, 151, 150, 149, 148,
|
||||
147, 146, 145, 144, 143, 142, 141, 140, 139, 138,
|
||||
137, 136, 135, 134, 133, 132, 131, 130, 129, 128,
|
||||
127, 122, 121, 120, 119, 118, 117, 116, 115, 114,
|
||||
113, 112, 111, 110, 109, 108, 107, 106, 105, 191,
|
||||
191, 104, 103, 102, 99, 98, 93, 92, 91, 90,
|
||||
30, 30, 35, 35, 192, 191, 35, 37, 37, 37,
|
||||
37, 60, 190, 60, 60, 60, 60, 60, 60, 61,
|
||||
61, 85, 189, 85, 188, 187, 186, 185, 184, 183,
|
||||
182, 181, 180, 179, 178, 177, 176, 175, 174, 173,
|
||||
172, 171, 170, 169, 168, 165, 164, 163, 162, 161,
|
||||
160, 159, 158, 157, 156, 155, 154, 153, 152, 151,
|
||||
150, 149, 148, 147, 146, 145, 144, 143, 142, 141,
|
||||
140, 139, 138, 137, 136, 135, 134, 129, 128, 127,
|
||||
126, 125, 124, 123, 122, 121, 120, 119, 118, 117,
|
||||
116, 115, 114, 113, 112, 111, 110, 200, 200, 109,
|
||||
|
||||
89, 88, 87, 86, 85, 84, 83, 81, 80, 79,
|
||||
78, 77, 76, 75, 74, 73, 72, 71, 70, 69,
|
||||
68, 65, 64, 63, 62, 61, 34, 57, 56, 51,
|
||||
50, 38, 29, 191, 3, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191
|
||||
108, 107, 104, 103, 98, 97, 96, 95, 94, 93,
|
||||
92, 91, 90, 89, 88, 87, 86, 84, 83, 82,
|
||||
81, 80, 79, 78, 77, 76, 75, 74, 73, 72,
|
||||
71, 70, 67, 66, 63, 62, 34, 58, 57, 52,
|
||||
51, 38, 29, 200, 3, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_chk[280] =
|
||||
static yyconst short int yy_chk[291] =
|
||||
{ 0,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 11, 12, 13, 11, 17, 18,
|
||||
19, 19, 25, 20, 17, 25, 18, 31, 18, 20,
|
||||
21, 21, 24, 31, 43, 43, 24, 72, 77, 72,
|
||||
145, 194, 72, 72, 189, 188, 187, 104, 77, 104,
|
||||
12, 13, 104, 104, 186, 185, 181, 180, 145, 192,
|
||||
179, 192, 192, 192, 192, 192, 192, 193, 193, 195,
|
||||
1, 1, 1, 1, 1, 11, 12, 13, 11, 17,
|
||||
18, 19, 19, 20, 19, 17, 203, 18, 31, 20,
|
||||
18, 21, 21, 24, 31, 25, 40, 24, 25, 43,
|
||||
43, 75, 153, 75, 80, 40, 75, 75, 198, 197,
|
||||
196, 195, 12, 13, 109, 80, 109, 194, 190, 109,
|
||||
109, 153, 201, 189, 201, 201, 201, 201, 201, 201,
|
||||
|
||||
195, 176, 175, 195, 196, 196, 196, 196, 197, 174,
|
||||
197, 197, 197, 197, 197, 197, 198, 198, 199, 173,
|
||||
199, 171, 170, 168, 167, 166, 165, 163, 162, 161,
|
||||
160, 159, 158, 157, 156, 154, 152, 151, 150, 148,
|
||||
147, 144, 143, 139, 138, 137, 136, 135, 133, 129,
|
||||
126, 125, 124, 123, 122, 121, 120, 119, 118, 117,
|
||||
116, 114, 113, 112, 111, 110, 109, 108, 107, 106,
|
||||
105, 103, 102, 101, 100, 99, 98, 97, 96, 95,
|
||||
94, 93, 91, 90, 89, 88, 85, 84, 83, 82,
|
||||
81, 80, 79, 78, 76, 73, 71, 70, 69, 68,
|
||||
202, 202, 204, 204, 188, 185, 204, 205, 205, 205,
|
||||
205, 206, 184, 206, 206, 206, 206, 206, 206, 207,
|
||||
207, 208, 183, 208, 182, 180, 179, 177, 176, 175,
|
||||
174, 172, 171, 170, 169, 168, 167, 166, 165, 163,
|
||||
161, 160, 159, 156, 155, 152, 151, 147, 146, 145,
|
||||
144, 143, 141, 140, 136, 133, 132, 131, 130, 129,
|
||||
128, 127, 126, 125, 124, 123, 121, 120, 119, 118,
|
||||
117, 116, 115, 114, 113, 111, 110, 108, 107, 106,
|
||||
105, 104, 103, 102, 101, 100, 99, 98, 96, 95,
|
||||
94, 93, 92, 89, 88, 87, 86, 85, 84, 83,
|
||||
|
||||
67, 66, 65, 64, 63, 62, 61, 58, 57, 56,
|
||||
55, 54, 53, 52, 51, 50, 49, 48, 47, 46,
|
||||
45, 42, 41, 40, 39, 38, 30, 27, 26, 23,
|
||||
22, 16, 9, 3, 191, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
|
||||
191, 191, 191, 191, 191, 191, 191, 191, 191
|
||||
82, 81, 79, 76, 74, 73, 72, 71, 70, 69,
|
||||
68, 67, 66, 65, 64, 63, 62, 59, 58, 57,
|
||||
56, 55, 54, 53, 52, 51, 50, 49, 48, 47,
|
||||
46, 45, 42, 41, 39, 38, 30, 27, 26, 23,
|
||||
22, 16, 9, 3, 200, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
||||
200, 200, 200, 200, 200, 200, 200, 200, 200, 200
|
||||
} ;
|
||||
|
||||
static yy_state_type yy_last_accepting_state;
|
||||
@ -899,7 +903,7 @@ inline void accept() {
|
||||
col_number += yyleng;
|
||||
}
|
||||
|
||||
#line 904 "lex.yy.c"
|
||||
#line 908 "lex.yy.c"
|
||||
|
||||
/* Macros after this point can all be overridden by user definitions in
|
||||
* section 1.
|
||||
@ -1061,7 +1065,7 @@ YY_DECL
|
||||
}
|
||||
|
||||
|
||||
#line 1066 "lex.yy.c"
|
||||
#line 1070 "lex.yy.c"
|
||||
|
||||
if ( yy_init )
|
||||
{
|
||||
@ -1112,13 +1116,13 @@ yy_match:
|
||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||
{
|
||||
yy_current_state = (int) yy_def[yy_current_state];
|
||||
if ( yy_current_state >= 192 )
|
||||
if ( yy_current_state >= 201 )
|
||||
yy_c = yy_meta[(unsigned int) yy_c];
|
||||
}
|
||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||
++yy_cp;
|
||||
}
|
||||
while ( yy_base[yy_current_state] != 235 );
|
||||
while ( yy_base[yy_current_state] != 245 );
|
||||
|
||||
yy_find_action:
|
||||
yy_act = yy_accept[yy_current_state];
|
||||
@ -1247,7 +1251,7 @@ YY_RULE_SETUP
|
||||
#line 482 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_INT8;
|
||||
return KW_DEFAULT;
|
||||
}
|
||||
YY_BREAK
|
||||
case 13:
|
||||
@ -1255,7 +1259,7 @@ YY_RULE_SETUP
|
||||
#line 487 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_INT16;
|
||||
return KW_BREAK;
|
||||
}
|
||||
YY_BREAK
|
||||
case 14:
|
||||
@ -1263,7 +1267,7 @@ YY_RULE_SETUP
|
||||
#line 492 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_INT32;
|
||||
return KW_INT8;
|
||||
}
|
||||
YY_BREAK
|
||||
case 15:
|
||||
@ -1271,7 +1275,7 @@ YY_RULE_SETUP
|
||||
#line 497 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_INT64;
|
||||
return KW_INT16;
|
||||
}
|
||||
YY_BREAK
|
||||
case 16:
|
||||
@ -1279,7 +1283,7 @@ YY_RULE_SETUP
|
||||
#line 502 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT8;
|
||||
return KW_INT32;
|
||||
}
|
||||
YY_BREAK
|
||||
case 17:
|
||||
@ -1287,7 +1291,7 @@ YY_RULE_SETUP
|
||||
#line 507 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT16;
|
||||
return KW_INT64;
|
||||
}
|
||||
YY_BREAK
|
||||
case 18:
|
||||
@ -1295,7 +1299,7 @@ YY_RULE_SETUP
|
||||
#line 512 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT32;
|
||||
return KW_UINT8;
|
||||
}
|
||||
YY_BREAK
|
||||
case 19:
|
||||
@ -1303,7 +1307,7 @@ YY_RULE_SETUP
|
||||
#line 517 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT64;
|
||||
return KW_UINT16;
|
||||
}
|
||||
YY_BREAK
|
||||
case 20:
|
||||
@ -1311,7 +1315,7 @@ YY_RULE_SETUP
|
||||
#line 522 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_FLOAT64;
|
||||
return KW_UINT32;
|
||||
}
|
||||
YY_BREAK
|
||||
case 21:
|
||||
@ -1319,7 +1323,7 @@ YY_RULE_SETUP
|
||||
#line 527 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_STRING;
|
||||
return KW_UINT64;
|
||||
}
|
||||
YY_BREAK
|
||||
case 22:
|
||||
@ -1327,7 +1331,7 @@ YY_RULE_SETUP
|
||||
#line 532 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_BLOB;
|
||||
return KW_FLOAT64;
|
||||
}
|
||||
YY_BREAK
|
||||
case 23:
|
||||
@ -1335,7 +1339,7 @@ YY_RULE_SETUP
|
||||
#line 537 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_BLOB32;
|
||||
return KW_STRING;
|
||||
}
|
||||
YY_BREAK
|
||||
case 24:
|
||||
@ -1343,7 +1347,7 @@ YY_RULE_SETUP
|
||||
#line 542 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_INT8ARRAY;
|
||||
return KW_BLOB;
|
||||
}
|
||||
YY_BREAK
|
||||
case 25:
|
||||
@ -1351,7 +1355,7 @@ YY_RULE_SETUP
|
||||
#line 547 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_INT16ARRAY;
|
||||
return KW_BLOB32;
|
||||
}
|
||||
YY_BREAK
|
||||
case 26:
|
||||
@ -1359,7 +1363,7 @@ YY_RULE_SETUP
|
||||
#line 552 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_INT32ARRAY;
|
||||
return KW_INT8ARRAY;
|
||||
}
|
||||
YY_BREAK
|
||||
case 27:
|
||||
@ -1367,7 +1371,7 @@ YY_RULE_SETUP
|
||||
#line 557 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT8ARRAY;
|
||||
return KW_INT16ARRAY;
|
||||
}
|
||||
YY_BREAK
|
||||
case 28:
|
||||
@ -1375,7 +1379,7 @@ YY_RULE_SETUP
|
||||
#line 562 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT16ARRAY;
|
||||
return KW_INT32ARRAY;
|
||||
}
|
||||
YY_BREAK
|
||||
case 29:
|
||||
@ -1383,7 +1387,7 @@ YY_RULE_SETUP
|
||||
#line 567 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT32ARRAY;
|
||||
return KW_UINT8ARRAY;
|
||||
}
|
||||
YY_BREAK
|
||||
case 30:
|
||||
@ -1391,7 +1395,7 @@ YY_RULE_SETUP
|
||||
#line 572 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_UINT32UINT8ARRAY;
|
||||
return KW_UINT16ARRAY;
|
||||
}
|
||||
YY_BREAK
|
||||
case 31:
|
||||
@ -1399,7 +1403,7 @@ YY_RULE_SETUP
|
||||
#line 577 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_CHAR;
|
||||
return KW_UINT32ARRAY;
|
||||
}
|
||||
YY_BREAK
|
||||
case 32:
|
||||
@ -1407,7 +1411,7 @@ YY_RULE_SETUP
|
||||
#line 582 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_REQUIRED;
|
||||
return KW_UINT32UINT8ARRAY;
|
||||
}
|
||||
YY_BREAK
|
||||
case 33:
|
||||
@ -1415,7 +1419,7 @@ YY_RULE_SETUP
|
||||
#line 587 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_BROADCAST;
|
||||
return KW_CHAR;
|
||||
}
|
||||
YY_BREAK
|
||||
case 34:
|
||||
@ -1423,7 +1427,7 @@ YY_RULE_SETUP
|
||||
#line 592 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_P2P;
|
||||
return KW_REQUIRED;
|
||||
}
|
||||
YY_BREAK
|
||||
case 35:
|
||||
@ -1431,7 +1435,7 @@ YY_RULE_SETUP
|
||||
#line 597 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_RAM;
|
||||
return KW_BROADCAST;
|
||||
}
|
||||
YY_BREAK
|
||||
case 36:
|
||||
@ -1439,7 +1443,7 @@ YY_RULE_SETUP
|
||||
#line 602 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_DB;
|
||||
return KW_P2P;
|
||||
}
|
||||
YY_BREAK
|
||||
case 37:
|
||||
@ -1447,7 +1451,7 @@ YY_RULE_SETUP
|
||||
#line 607 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_CLSEND;
|
||||
return KW_RAM;
|
||||
}
|
||||
YY_BREAK
|
||||
case 38:
|
||||
@ -1455,7 +1459,7 @@ YY_RULE_SETUP
|
||||
#line 612 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_CLRECV;
|
||||
return KW_DB;
|
||||
}
|
||||
YY_BREAK
|
||||
case 39:
|
||||
@ -1463,7 +1467,7 @@ YY_RULE_SETUP
|
||||
#line 617 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_OWNSEND;
|
||||
return KW_CLSEND;
|
||||
}
|
||||
YY_BREAK
|
||||
case 40:
|
||||
@ -1471,12 +1475,28 @@ YY_RULE_SETUP
|
||||
#line 622 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_AIRECV;
|
||||
return KW_CLRECV;
|
||||
}
|
||||
YY_BREAK
|
||||
case 41:
|
||||
YY_RULE_SETUP
|
||||
#line 627 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_OWNSEND;
|
||||
}
|
||||
YY_BREAK
|
||||
case 42:
|
||||
YY_RULE_SETUP
|
||||
#line 632 "dcLexer.lxx"
|
||||
{
|
||||
accept();
|
||||
return KW_AIRECV;
|
||||
}
|
||||
YY_BREAK
|
||||
case 43:
|
||||
YY_RULE_SETUP
|
||||
#line 637 "dcLexer.lxx"
|
||||
{
|
||||
// An unsigned integer number.
|
||||
accept();
|
||||
@ -1500,9 +1520,9 @@ YY_RULE_SETUP
|
||||
return UNSIGNED_INTEGER;
|
||||
}
|
||||
YY_BREAK
|
||||
case 42:
|
||||
case 44:
|
||||
YY_RULE_SETUP
|
||||
#line 650 "dcLexer.lxx"
|
||||
#line 660 "dcLexer.lxx"
|
||||
{
|
||||
// A signed integer number.
|
||||
accept();
|
||||
@ -1549,9 +1569,9 @@ YY_RULE_SETUP
|
||||
return SIGNED_INTEGER;
|
||||
}
|
||||
YY_BREAK
|
||||
case 43:
|
||||
case 45:
|
||||
YY_RULE_SETUP
|
||||
#line 696 "dcLexer.lxx"
|
||||
#line 706 "dcLexer.lxx"
|
||||
{
|
||||
// A hexadecimal integer number.
|
||||
accept();
|
||||
@ -1579,9 +1599,9 @@ YY_RULE_SETUP
|
||||
return UNSIGNED_INTEGER;
|
||||
}
|
||||
YY_BREAK
|
||||
case 44:
|
||||
case 46:
|
||||
YY_RULE_SETUP
|
||||
#line 723 "dcLexer.lxx"
|
||||
#line 733 "dcLexer.lxx"
|
||||
{
|
||||
// A floating-point number.
|
||||
accept();
|
||||
@ -1590,9 +1610,9 @@ YY_RULE_SETUP
|
||||
return REAL;
|
||||
}
|
||||
YY_BREAK
|
||||
case 45:
|
||||
case 47:
|
||||
YY_RULE_SETUP
|
||||
#line 731 "dcLexer.lxx"
|
||||
#line 741 "dcLexer.lxx"
|
||||
{
|
||||
// Quoted string.
|
||||
accept();
|
||||
@ -1600,9 +1620,9 @@ YY_RULE_SETUP
|
||||
return STRING;
|
||||
}
|
||||
YY_BREAK
|
||||
case 46:
|
||||
case 48:
|
||||
YY_RULE_SETUP
|
||||
#line 738 "dcLexer.lxx"
|
||||
#line 748 "dcLexer.lxx"
|
||||
{
|
||||
// Single-quoted string.
|
||||
accept();
|
||||
@ -1610,9 +1630,9 @@ YY_RULE_SETUP
|
||||
return STRING;
|
||||
}
|
||||
YY_BREAK
|
||||
case 47:
|
||||
case 49:
|
||||
YY_RULE_SETUP
|
||||
#line 745 "dcLexer.lxx"
|
||||
#line 755 "dcLexer.lxx"
|
||||
{
|
||||
// Long hex string.
|
||||
accept();
|
||||
@ -1620,9 +1640,9 @@ YY_RULE_SETUP
|
||||
return HEX_STRING;
|
||||
}
|
||||
YY_BREAK
|
||||
case 48:
|
||||
case 50:
|
||||
YY_RULE_SETUP
|
||||
#line 752 "dcLexer.lxx"
|
||||
#line 762 "dcLexer.lxx"
|
||||
{
|
||||
// Identifier.
|
||||
accept();
|
||||
@ -1630,21 +1650,21 @@ YY_RULE_SETUP
|
||||
return IDENTIFIER;
|
||||
}
|
||||
YY_BREAK
|
||||
case 49:
|
||||
case 51:
|
||||
YY_RULE_SETUP
|
||||
#line 760 "dcLexer.lxx"
|
||||
#line 770 "dcLexer.lxx"
|
||||
{
|
||||
// Send any other printable character as itself.
|
||||
accept();
|
||||
return dcyytext[0];
|
||||
}
|
||||
YY_BREAK
|
||||
case 50:
|
||||
case 52:
|
||||
YY_RULE_SETUP
|
||||
#line 766 "dcLexer.lxx"
|
||||
#line 776 "dcLexer.lxx"
|
||||
ECHO;
|
||||
YY_BREAK
|
||||
#line 1649 "lex.yy.c"
|
||||
#line 1669 "lex.yy.c"
|
||||
case YY_STATE_EOF(INITIAL):
|
||||
yyterminate();
|
||||
|
||||
@ -1936,7 +1956,7 @@ static yy_state_type yy_get_previous_state()
|
||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||
{
|
||||
yy_current_state = (int) yy_def[yy_current_state];
|
||||
if ( yy_current_state >= 192 )
|
||||
if ( yy_current_state >= 201 )
|
||||
yy_c = yy_meta[(unsigned int) yy_c];
|
||||
}
|
||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||
@ -1971,11 +1991,11 @@ yy_state_type yy_current_state;
|
||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||
{
|
||||
yy_current_state = (int) yy_def[yy_current_state];
|
||||
if ( yy_current_state >= 192 )
|
||||
if ( yy_current_state >= 201 )
|
||||
yy_c = yy_meta[(unsigned int) yy_c];
|
||||
}
|
||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||
yy_is_jam = (yy_current_state == 191);
|
||||
yy_is_jam = (yy_current_state == 200);
|
||||
|
||||
return yy_is_jam ? 0 : yy_current_state;
|
||||
}
|
||||
@ -2525,4 +2545,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#line 766 "dcLexer.lxx"
|
||||
#line 776 "dcLexer.lxx"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -14,38 +14,40 @@
|
||||
# define KW_TYPEDEF 267
|
||||
# define KW_SWITCH 268
|
||||
# define KW_CASE 269
|
||||
# define KW_INT8 270
|
||||
# define KW_INT16 271
|
||||
# define KW_INT32 272
|
||||
# define KW_INT64 273
|
||||
# define KW_UINT8 274
|
||||
# define KW_UINT16 275
|
||||
# define KW_UINT32 276
|
||||
# define KW_UINT64 277
|
||||
# define KW_FLOAT64 278
|
||||
# define KW_STRING 279
|
||||
# define KW_BLOB 280
|
||||
# define KW_BLOB32 281
|
||||
# define KW_INT8ARRAY 282
|
||||
# define KW_INT16ARRAY 283
|
||||
# define KW_INT32ARRAY 284
|
||||
# define KW_UINT8ARRAY 285
|
||||
# define KW_UINT16ARRAY 286
|
||||
# define KW_UINT32ARRAY 287
|
||||
# define KW_UINT32UINT8ARRAY 288
|
||||
# define KW_CHAR 289
|
||||
# define KW_REQUIRED 290
|
||||
# define KW_BROADCAST 291
|
||||
# define KW_P2P 292
|
||||
# define KW_RAM 293
|
||||
# define KW_DB 294
|
||||
# define KW_CLSEND 295
|
||||
# define KW_CLRECV 296
|
||||
# define KW_OWNSEND 297
|
||||
# define KW_AIRECV 298
|
||||
# define START_DC 299
|
||||
# define START_PARAMETER_VALUE 300
|
||||
# define START_PARAMETER_DESCRIPTION 301
|
||||
# define KW_DEFAULT 270
|
||||
# define KW_BREAK 271
|
||||
# define KW_INT8 272
|
||||
# define KW_INT16 273
|
||||
# define KW_INT32 274
|
||||
# define KW_INT64 275
|
||||
# define KW_UINT8 276
|
||||
# define KW_UINT16 277
|
||||
# define KW_UINT32 278
|
||||
# define KW_UINT64 279
|
||||
# define KW_FLOAT64 280
|
||||
# define KW_STRING 281
|
||||
# define KW_BLOB 282
|
||||
# define KW_BLOB32 283
|
||||
# define KW_INT8ARRAY 284
|
||||
# define KW_INT16ARRAY 285
|
||||
# define KW_INT32ARRAY 286
|
||||
# define KW_UINT8ARRAY 287
|
||||
# define KW_UINT16ARRAY 288
|
||||
# define KW_UINT32ARRAY 289
|
||||
# define KW_UINT32UINT8ARRAY 290
|
||||
# define KW_CHAR 291
|
||||
# define KW_REQUIRED 292
|
||||
# define KW_BROADCAST 293
|
||||
# define KW_P2P 294
|
||||
# define KW_RAM 295
|
||||
# define KW_DB 296
|
||||
# define KW_CLSEND 297
|
||||
# define KW_CLRECV 298
|
||||
# define KW_OWNSEND 299
|
||||
# define KW_AIRECV 300
|
||||
# define START_DC 301
|
||||
# define START_PARAMETER_VALUE 302
|
||||
# define START_PARAMETER_DESCRIPTION 303
|
||||
|
||||
|
||||
extern YYSTYPE dcyylval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user