Commit 7eeb9b66 by Jamie Madill Committed by Shannon Woods

Delete dead-code for handling comments and invalid octal integers. These are

already handled by the preprocessor. TRAC #23158 Signed-off-by: Nicolas Capens Merged-by: Jamie Madill Authored-by: alokp@chromium.org git-svn-url: https://code.google.com/p/angleproject/source/detail?r=2189 Review URL: https://codereview.appspot.com/8632053
parent fe345bfd
......@@ -65,7 +65,7 @@ static int floatsuffix_check(TParseContext* context);
%option yylineno reentrant bison-bridge
%option stack
%option extra-type="TParseContext*"
%x COMMENT FIELDS
%x FIELDS
D [0-9]
L [a-zA-Z_]
......@@ -79,15 +79,6 @@ O [0-7]
TParseContext* context = yyextra;
%}
/* Single-line comments */
"//"[^\n]* ;
/* Multi-line comments */
"/*" { yy_push_state(COMMENT, yyscanner); }
<COMMENT>. |
<COMMENT>\n ;
<COMMENT>"*/" { yy_pop_state(yyscanner); }
"invariant" { return INVARIANT; }
"highp" { return HIGH_PRECISION; }
"mediump" { return MEDIUM_PRECISION; }
......@@ -306,7 +297,6 @@ O [0-7]
0[xX]{H}+ { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
0{O}+ { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
0{D}+ { context->error(yylineno, "Invalid Octal number.", yytext); context->recover(); return 0;}
{D}+ { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
0[xX]{H}+[uU] { return uint_constant(context); }
......
......@@ -384,8 +384,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 234
#define YY_END_OF_BUFFER 235
#define YY_NUM_RULES 228
#define YY_END_OF_BUFFER 229
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
......@@ -393,94 +393,93 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
static yyconst flex_int16_t yy_accept[790] =
static yyconst flex_int16_t yy_accept[780] =
{ 0,
0, 0, 0, 0, 0, 0, 235, 233, 232, 232,
217, 223, 228, 212, 213, 221, 220, 209, 218, 216,
222, 175, 175, 210, 206, 224, 211, 225, 229, 171,
214, 215, 227, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 207, 226, 208, 219, 3, 4, 3,
231, 234, 230, 203, 189, 208, 197, 192, 187, 195,
185, 196, 186, 181, 2, 1, 188, 180, 173, 174,
0, 178, 0, 175, 215, 207, 214, 204, 200, 202,
201, 205, 171, 193, 199, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 17, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 20, 171, 171, 28, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 194, 198,
5, 230, 0, 184, 1, 180, 0, 183, 177, 0,
179, 172, 190, 191, 171, 130, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 18,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
32, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 29, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 0, 181, 0,
180, 182, 176, 171, 171, 171, 35, 171, 171, 23,
168, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 21, 133, 171, 171, 171, 171, 26, 171, 171,
137, 149, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 146, 9, 40, 41, 42, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 136, 36, 171, 171, 33, 171, 171,
171, 171, 171, 171, 171, 52, 53, 54, 34, 171,
171, 171, 171, 171, 171, 15, 58, 59, 60, 171,
131, 171, 171, 12, 171, 171, 171, 171, 158, 159,
160, 171, 37, 171, 150, 31, 161, 162, 163, 7,
155, 156, 157, 171, 171, 171, 30, 153, 171, 171,
171, 55, 56, 57, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 80, 171, 171, 171, 171,
171, 171, 171, 147, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 132, 171, 171, 170, 61,
62, 63, 171, 171, 19, 171, 85, 171, 171, 171,
171, 83, 171, 171, 171, 148, 143, 86, 171, 171,
171, 171, 171, 171, 138, 171, 171, 171, 72, 43,
46, 48, 47, 44, 50, 49, 51, 45, 171, 171,
171, 171, 154, 129, 171, 171, 141, 171, 171, 171,
39, 81, 167, 27, 142, 71, 171, 152, 22, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 24, 38, 171, 171, 171, 171, 171,
171, 87, 88, 89, 171, 171, 171, 171, 171, 8,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 134, 171, 171, 171, 171, 171, 13, 171, 171,
14, 171, 171, 171, 171, 25, 73, 16, 144, 91,
92, 93, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 139, 171, 171, 171, 75, 77,
74, 171, 171, 171, 171, 171, 171, 171, 135, 95,
96, 97, 171, 171, 151, 171, 140, 171, 171, 11,
171, 171, 171, 171, 171, 171, 171, 171, 171, 90,
145, 6, 171, 171, 171, 169, 171, 84, 10, 164,
64, 67, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 76, 171, 171, 171, 171, 94, 171,
171, 171, 171, 171, 114, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 82, 171, 171,
171, 98, 116, 171, 171, 78, 171, 171, 171, 171,
171, 171, 171, 109, 171, 171, 171, 171, 171, 171,
171, 123, 171, 171, 171, 171, 65, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 110, 99, 171,
100, 171, 171, 124, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 111, 171, 125,
171, 171, 101, 102, 171, 105, 171, 106, 171, 171,
171, 171, 79, 171, 171, 171, 70, 171, 68, 120,
171, 103, 104, 171, 171, 171, 171, 171, 171, 171,
171, 118, 121, 112, 171, 171, 171, 171, 171, 171,
171, 119, 122, 171, 171, 115, 171, 171, 165, 171,
171, 69, 171, 117, 171, 171, 171, 171, 171, 126,
171, 171, 171, 171, 171, 127, 171, 171, 171, 128,
107, 108, 171, 171, 66, 171, 166, 113, 0
0, 0, 0, 0, 229, 227, 226, 226, 211, 217,
222, 206, 207, 215, 214, 203, 212, 210, 216, 169,
169, 204, 200, 218, 205, 219, 223, 166, 208, 209,
221, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 201, 220, 202, 213, 225, 228, 224, 197, 183,
202, 191, 186, 181, 189, 179, 190, 180, 175, 182,
174, 168, 169, 0, 172, 0, 209, 201, 208, 198,
194, 196, 195, 199, 166, 187, 193, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 12,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 15, 166, 166, 23, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
188, 192, 224, 0, 178, 174, 0, 177, 171, 0,
173, 167, 184, 185, 166, 125, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 13,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
27, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 24, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 0, 175, 0,
174, 176, 170, 166, 166, 166, 30, 166, 166, 18,
163, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 16, 128, 166, 166, 166, 166, 21, 166, 166,
132, 144, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 141, 4, 35, 36, 37, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 131, 31, 166, 166, 28, 166, 166,
166, 166, 166, 166, 166, 47, 48, 49, 29, 166,
166, 166, 166, 166, 166, 10, 53, 54, 55, 166,
126, 166, 166, 7, 166, 166, 166, 166, 153, 154,
155, 166, 32, 166, 145, 26, 156, 157, 158, 2,
150, 151, 152, 166, 166, 166, 25, 148, 166, 166,
166, 50, 51, 52, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 75, 166, 166, 166, 166,
166, 166, 166, 142, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 127, 166, 166, 165, 56,
57, 58, 166, 166, 14, 166, 80, 166, 166, 166,
166, 78, 166, 166, 166, 143, 138, 81, 166, 166,
166, 166, 166, 166, 133, 166, 166, 166, 67, 38,
41, 43, 42, 39, 45, 44, 46, 40, 166, 166,
166, 166, 149, 124, 166, 166, 136, 166, 166, 166,
34, 76, 162, 22, 137, 66, 166, 147, 17, 166,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 19, 33, 166, 166, 166, 166, 166,
166, 82, 83, 84, 166, 166, 166, 166, 166, 3,
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
166, 129, 166, 166, 166, 166, 166, 8, 166, 166,
9, 166, 166, 166, 166, 20, 68, 11, 139, 86,
87, 88, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 134, 166, 166, 166, 70, 72,
69, 166, 166, 166, 166, 166, 166, 166, 130, 90,
91, 92, 166, 166, 146, 166, 135, 166, 166, 6,
166, 166, 166, 166, 166, 166, 166, 166, 166, 85,
140, 1, 166, 166, 166, 164, 166, 79, 5, 159,
59, 62, 166, 166, 166, 166, 166, 166, 166, 166,
166, 166, 166, 71, 166, 166, 166, 166, 89, 166,
166, 166, 166, 166, 109, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 77, 166, 166,
166, 93, 111, 166, 166, 73, 166, 166, 166, 166,
166, 166, 166, 104, 166, 166, 166, 166, 166, 166,
166, 118, 166, 166, 166, 166, 60, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 105, 94, 166,
95, 166, 166, 119, 166, 166, 166, 166, 166, 166,
166, 166, 166, 166, 166, 166, 166, 106, 166, 120,
166, 166, 96, 97, 166, 100, 166, 101, 166, 166,
166, 166, 74, 166, 166, 166, 65, 166, 63, 115,
166, 98, 99, 166, 166, 166, 166, 166, 166, 166,
166, 113, 116, 107, 166, 166, 166, 166, 166, 166,
166, 114, 117, 166, 166, 110, 166, 166, 160, 166,
166, 64, 166, 112, 166, 166, 166, 166, 166, 121,
166, 166, 166, 166, 166, 122, 166, 166, 166, 123,
102, 103, 166, 166, 61, 166, 161, 108, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
......@@ -517,323 +516,316 @@ static yyconst flex_int32_t yy_ec[256] =
static yyconst flex_int32_t yy_meta[73] =
{ 0,
1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 3, 3, 3, 3, 3, 3,
3, 1, 1, 1, 1, 1, 1, 4, 4, 4,
4, 3, 3, 5, 5, 5, 5, 5, 5, 5,
1, 1, 1, 5, 4, 4, 4, 4, 3, 3,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 2, 2, 2, 2, 2, 2,
2, 1, 1, 1, 1, 1, 1, 3, 3, 3,
3, 2, 2, 4, 4, 4, 4, 4, 4, 4,
1, 1, 1, 4, 3, 3, 3, 3, 2, 2,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 1, 1,
1, 1
} ;
static yyconst flex_int16_t yy_base[797] =
static yyconst flex_int16_t yy_base[785] =
{ 0,
0, 0, 70, 71, 80, 0, 1005, 1006, 1006, 1006,
979, 50, 147, 1006, 1006, 978, 144, 1006, 143, 141,
156, 169, 223, 976, 1006, 169, 976, 52, 1006, 0,
1006, 1006, 152, 117, 138, 118, 157, 148, 167, 942,
147, 173, 159, 126, 188, 936, 200, 949, 205, 199,
212, 226, 147, 1006, 158, 1006, 1006, 1006, 1006, 983,
1006, 1006, 0, 1006, 1006, 1006, 1006, 1006, 1006, 1006,
1006, 1006, 1006, 245, 1006, 0, 1006, 247, 242, 296,
321, 1006, 0, 0, 1006, 1006, 1006, 971, 1006, 1006,
1006, 970, 0, 1006, 1006, 932, 937, 191, 934, 942,
941, 928, 931, 942, 231, 936, 924, 921, 934, 921,
918, 918, 924, 158, 240, 918, 928, 914, 920, 923,
924, 0, 916, 926, 263, 925, 920, 901, 162, 905,
918, 909, 240, 902, 242, 914, 916, 229, 905, 902,
891, 900, 247, 260, 904, 900, 902, 891, 894, 244,
203, 279, 903, 891, 903, 199, 896, 895, 1006, 1006,
1006, 0, 334, 1006, 0, 315, 351, 1006, 1006, 358,
365, 271, 1006, 1006, 894, 0, 890, 885, 889, 898,
895, 281, 879, 879, 890, 882, 295, 892, 889, 889,
887, 884, 876, 882, 869, 867, 879, 865, 881, 0,
878, 866, 873, 870, 874, 875, 868, 865, 854, 853,
866, 869, 857, 865, 853, 859, 850, 370, 855, 858,
849, 856, 845, 849, 840, 854, 853, 844, 850, 300,
834, 837, 835, 845, 835, 830, 828, 830, 840, 826,
828, 825, 836, 835, 838, 820, 341, 828, 824, 822,
831, 810, 375, 828, 830, 819, 811, 385, 392, 401,
411, 1006, 1006, 808, 818, 817, 0, 815, 378, 0,
0, 808, 806, 806, 807, 802, 810, 799, 816, 805,
416, 0, 0, 799, 809, 808, 808, 0, 793, 419,
0, 0, 795, 422, 802, 803, 794, 788, 787, 788,
787, 787, 428, 782, 0, 0, 778, 777, 776, 778,
779, 784, 778, 774, 787, 782, 782, 780, 779, 773,
767, 769, 768, 772, 764, 767, 762, 770, 775, 763,
760, 772, 763, 0, 0, 769, 765, 0, 757, 757,
762, 753, 760, 431, 757, 0, 0, 0, 0, 747,
759, 758, 757, 758, 758, 0, 0, 0, 0, 745,
0, 753, 744, 0, 743, 744, 738, 748, 0, 0,
0, 739, 0, 735, 0, 0, 0, 0, 0, 0,
0, 0, 0, 745, 435, 744, 0, 0, 742, 738,
735, 0, 0, 0, 727, 437, 440, 449, 732, 728,
733, 724, 722, 735, 720, 0, 720, 733, 722, 718,
724, 719, 726, 0, 724, 721, 725, 709, 707, 710,
716, 722, 717, 716, 704, 0, 706, 707, 0, 0,
0, 0, 704, 707, 0, 701, 0, 714, 694, 703,
698, 0, 691, 691, 704, 0, 706, 0, 453, 719,
718, 717, 684, 683, 0, 700, 699, 694, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 683, 696,
683, 680, 0, 0, 685, 684, 0, 681, 688, 687,
0, 673, 0, 0, 0, 0, 670, 0, 0, 669,
680, 456, 673, 679, 678, 675, 670, 667, 660, 660,
673, 658, 670, 0, 0, 663, 686, 685, 684, 651,
650, 386, 449, 0, 662, 665, 663, 652, 648, 0,
660, 657, 656, 646, 645, 635, 652, 638, 462, 646,
649, 0, 666, 665, 664, 631, 630, 0, 644, 631,
0, 641, 634, 635, 638, 0, 0, 0, 0, 658,
657, 0, 634, 637, 622, 629, 620, 627, 628, 628,
627, 613, 446, 625, 0, 626, 615, 614, 0, 0,
0, 639, 638, 637, 604, 603, 599, 607, 0, 635,
634, 0, 611, 614, 0, 472, 0, 592, 601, 0,
597, 596, 605, 605, 593, 607, 591, 605, 600, 0,
0, 0, 617, 616, 583, 0, 583, 0, 0, 462,
458, 607, 593, 596, 579, 591, 579, 578, 587, 587,
604, 603, 570, 0, 570, 571, 570, 580, 0, 583,
579, 581, 577, 564, 595, 462, 572, 568, 560, 567,
580, 568, 564, 566, 564, 564, 563, 0, 551, 550,
560, 0, 580, 467, 557, 0, 561, 560, 544, 536,
544, 534, 542, 0, 539, 560, 548, 546, 531, 534,
548, 564, 544, 545, 542, 539, 0, 527, 541, 540,
524, 523, 544, 532, 530, 512, 511, 0, 539, 511,
537, 509, 513, 544, 524, 521, 520, 523, 519, 506,
503, 516, 501, 502, 504, 493, 492, 0, 498, 529,
509, 506, 0, 0, 502, 0, 501, 0, 507, 491,
488, 489, 0, 481, 489, 486, 507, 486, 0, 0,
498, 0, 0, 497, 481, 478, 479, 493, 492, 469,
475, 0, 0, 496, 468, 487, 479, 465, 474, 461,
467, 0, 0, 478, 477, 0, 479, 471, 0, 450,
458, 0, 462, 0, 439, 423, 418, 393, 398, 0,
375, 358, 293, 264, 261, 0, 275, 262, 265, 0,
0, 0, 108, 115, 0, 132, 0, 0, 1006, 504,
507, 510, 213, 515, 244, 518
0, 0, 72, 0, 977, 978, 978, 978, 951, 120,
141, 978, 978, 950, 138, 978, 137, 135, 949, 154,
208, 947, 978, 154, 947, 132, 978, 0, 978, 978,
139, 130, 123, 140, 147, 133, 177, 913, 186, 151,
139, 116, 161, 907, 173, 920, 193, 199, 208, 215,
108, 978, 184, 978, 978, 978, 978, 0, 978, 978,
978, 978, 978, 978, 978, 978, 978, 978, 230, 978,
235, 235, 0, 271, 978, 0, 978, 978, 978, 943,
978, 978, 978, 942, 0, 978, 978, 904, 909, 152,
906, 914, 913, 900, 903, 914, 243, 908, 896, 893,
906, 893, 890, 890, 896, 147, 248, 890, 900, 886,
892, 895, 896, 0, 888, 898, 249, 897, 892, 873,
177, 877, 890, 881, 184, 874, 250, 886, 888, 257,
877, 874, 863, 872, 249, 257, 876, 872, 874, 863,
866, 196, 217, 269, 875, 863, 875, 262, 868, 867,
978, 978, 0, 311, 978, 292, 328, 978, 978, 335,
342, 257, 978, 978, 866, 0, 862, 857, 861, 870,
867, 315, 851, 851, 862, 854, 215, 864, 861, 861,
859, 856, 848, 854, 841, 839, 851, 837, 853, 0,
850, 838, 845, 842, 846, 847, 840, 837, 826, 825,
838, 841, 829, 837, 825, 831, 822, 316, 827, 830,
821, 828, 817, 821, 812, 826, 825, 816, 822, 307,
806, 809, 807, 817, 807, 802, 800, 802, 812, 798,
800, 797, 808, 807, 810, 792, 316, 800, 796, 794,
803, 782, 353, 800, 802, 791, 783, 363, 370, 378,
389, 978, 978, 780, 790, 789, 0, 787, 383, 0,
0, 780, 778, 778, 779, 774, 782, 771, 788, 777,
394, 0, 0, 771, 781, 780, 780, 0, 765, 397,
0, 0, 767, 400, 774, 775, 766, 760, 759, 760,
759, 759, 406, 754, 0, 0, 750, 749, 748, 750,
751, 756, 750, 746, 759, 754, 754, 752, 751, 745,
739, 741, 740, 744, 736, 739, 734, 742, 747, 735,
732, 744, 735, 0, 0, 741, 737, 0, 729, 729,
734, 725, 732, 409, 729, 0, 0, 0, 0, 719,
731, 730, 729, 730, 730, 0, 0, 0, 0, 717,
0, 725, 716, 0, 715, 716, 710, 720, 0, 0,
0, 711, 0, 707, 0, 0, 0, 0, 0, 0,
0, 0, 0, 717, 413, 716, 0, 0, 714, 710,
707, 0, 0, 0, 699, 415, 418, 427, 704, 700,
705, 696, 694, 707, 692, 0, 692, 705, 694, 690,
696, 691, 698, 0, 696, 693, 697, 681, 679, 682,
688, 694, 689, 688, 676, 0, 678, 679, 0, 0,
0, 0, 676, 679, 0, 673, 0, 686, 666, 675,
670, 0, 663, 663, 676, 0, 678, 0, 431, 691,
690, 689, 656, 655, 0, 672, 671, 666, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 655, 668,
655, 652, 0, 0, 657, 656, 0, 653, 660, 659,
0, 645, 0, 0, 0, 0, 642, 0, 0, 641,
652, 434, 645, 651, 650, 647, 642, 639, 632, 632,
645, 630, 642, 0, 0, 635, 658, 657, 656, 623,
622, 427, 428, 0, 634, 637, 635, 624, 620, 0,
632, 629, 628, 618, 617, 607, 624, 610, 441, 618,
621, 0, 638, 637, 636, 603, 602, 0, 616, 603,
0, 613, 606, 607, 610, 0, 0, 0, 0, 630,
629, 0, 606, 609, 594, 601, 592, 599, 600, 600,
599, 585, 424, 597, 0, 598, 587, 586, 0, 0,
0, 611, 610, 609, 576, 575, 571, 579, 0, 607,
606, 0, 583, 586, 0, 451, 0, 564, 573, 0,
569, 568, 577, 577, 565, 579, 563, 577, 572, 0,
0, 0, 589, 588, 555, 0, 555, 0, 0, 434,
439, 579, 565, 568, 551, 563, 551, 550, 559, 559,
576, 575, 542, 0, 542, 543, 542, 552, 0, 555,
551, 553, 549, 536, 567, 302, 544, 540, 532, 539,
552, 540, 536, 538, 536, 536, 535, 0, 523, 522,
532, 0, 552, 444, 529, 0, 533, 532, 516, 508,
516, 506, 514, 0, 511, 532, 520, 518, 503, 506,
520, 536, 516, 517, 514, 511, 0, 499, 513, 512,
496, 495, 516, 504, 502, 484, 483, 0, 511, 483,
509, 481, 485, 516, 496, 493, 492, 495, 491, 478,
475, 488, 473, 474, 476, 465, 464, 0, 470, 501,
481, 478, 0, 0, 474, 0, 473, 0, 479, 463,
460, 461, 0, 453, 461, 458, 479, 458, 0, 0,
470, 0, 0, 469, 453, 450, 451, 465, 464, 441,
447, 0, 0, 468, 440, 459, 451, 437, 446, 433,
439, 0, 0, 450, 449, 0, 451, 443, 0, 427,
448, 0, 456, 0, 446, 432, 420, 408, 424, 0,
406, 406, 354, 311, 308, 0, 320, 309, 298, 0,
0, 0, 122, 151, 0, 179, 0, 0, 978, 480,
483, 280, 303, 486
} ;
static yyconst flex_int16_t yy_def[797] =
static yyconst flex_int16_t yy_def[785] =
{ 0,
789, 1, 790, 790, 789, 5, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 791,
789, 789, 789, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 789, 789, 789, 789, 789, 789, 789,
789, 789, 792, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 793, 789, 794, 789, 795, 22, 789,
789, 789, 796, 23, 789, 789, 789, 789, 789, 789,
789, 789, 791, 789, 789, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 789, 789,
789, 792, 789, 789, 794, 795, 789, 789, 789, 789,
789, 796, 789, 789, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 789, 789, 789,
789, 789, 789, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 791, 791, 0, 789,
789, 789, 789, 789, 789, 789
779, 1, 779, 3, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 780, 779, 779,
779, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 779, 779, 779, 779, 779, 779, 781, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 782, 779,
783, 20, 21, 779, 779, 784, 779, 779, 779, 779,
779, 779, 779, 779, 780, 779, 779, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
779, 779, 781, 779, 779, 783, 779, 779, 779, 779,
779, 784, 779, 779, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 779, 779, 779,
779, 779, 779, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 0, 779,
779, 779, 779, 779
} ;
static yyconst flex_int16_t yy_nxt[1079] =
static yyconst flex_int16_t yy_nxt[1051] =
{ 0,
8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
18, 19, 20, 21, 22, 23, 23, 23, 23, 23,
23, 24, 25, 26, 27, 28, 29, 30, 30, 30,
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
31, 32, 33, 30, 34, 35, 36, 37, 38, 39,
40, 41, 42, 30, 43, 44, 45, 46, 47, 48,
49, 50, 51, 52, 53, 30, 30, 30, 54, 55,
56, 57, 59, 59, 65, 66, 91, 92, 60, 60,
8, 61, 62, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 63, 63, 63,
63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
8, 8, 8, 63, 63, 63, 63, 63, 63, 63,
63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
63, 63, 63, 63, 63, 63, 63, 63, 8, 8,
8, 8, 67, 70, 72, 74, 74, 74, 74, 74,
74, 74, 102, 96, 75, 786, 103, 73, 71, 76,
130, 68, 104, 86, 131, 105, 94, 97, 98, 787,
77, 78, 159, 79, 79, 79, 79, 79, 79, 80,
87, 119, 88, 89, 95, 99, 788, 100, 157, 120,
81, 101, 110, 128, 111, 106, 158, 82, 83, 107,
121, 113, 196, 112, 108, 74, 129, 81, 216, 114,
109, 115, 122, 197, 116, 123, 217, 160, 124, 125,
117, 82, 132, 126, 83, 78, 127, 84, 84, 84,
84, 84, 84, 84, 135, 133, 166, 146, 177, 139,
147, 254, 178, 255, 81, 247, 140, 141, 148, 136,
142, 82, 137, 248, 150, 149, 143, 144, 151, 145,
154, 81, 152, 229, 155, 153, 163, 164, 167, 168,
169, 789, 185, 156, 198, 82, 186, 187, 224, 230,
231, 236, 221, 163, 164, 167, 168, 199, 222, 245,
246, 225, 785, 226, 169, 238, 237, 789, 78, 263,
80, 80, 80, 80, 80, 80, 80, 208, 239, 784,
209, 210, 783, 249, 211, 782, 212, 81, 781, 270,
170, 250, 170, 263, 82, 171, 171, 171, 171, 171,
171, 171, 271, 258, 81, 258, 167, 168, 259, 259,
259, 259, 259, 259, 259, 276, 277, 321, 82, 780,
260, 322, 260, 167, 168, 261, 261, 261, 261, 261,
261, 261, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 307, 308, 309, 779,
339, 346, 347, 348, 357, 358, 359, 262, 340, 259,
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
259, 259, 259, 555, 262, 261, 261, 261, 261, 261,
261, 261, 778, 556, 164, 261, 261, 261, 261, 261,
261, 261, 369, 370, 371, 377, 378, 379, 381, 382,
383, 164, 777, 168, 392, 393, 394, 430, 431, 432,
450, 451, 452, 460, 461, 462, 463, 464, 465, 776,
168, 603, 604, 453, 454, 466, 467, 468, 507, 508,
509, 533, 534, 535, 605, 775, 557, 572, 573, 574,
774, 510, 511, 773, 536, 537, 558, 621, 622, 639,
575, 576, 641, 577, 642, 643, 666, 772, 667, 640,
623, 683, 771, 684, 58, 58, 58, 58, 58, 93,
93, 93, 162, 162, 162, 165, 770, 165, 165, 165,
172, 172, 769, 768, 767, 766, 765, 764, 763, 762,
761, 760, 759, 758, 757, 756, 755, 754, 753, 752,
751, 750, 749, 748, 747, 746, 745, 744, 743, 742,
741, 740, 739, 738, 737, 736, 735, 734, 733, 732,
731, 730, 729, 728, 727, 726, 725, 724, 723, 722,
721, 720, 719, 718, 717, 716, 715, 714, 713, 712,
711, 710, 709, 708, 707, 706, 705, 704, 703, 702,
701, 700, 699, 698, 697, 696, 695, 694, 693, 692,
691, 690, 689, 688, 687, 686, 685, 682, 681, 680,
679, 678, 677, 676, 675, 674, 673, 672, 671, 670,
669, 668, 665, 664, 663, 662, 661, 660, 659, 658,
657, 656, 655, 654, 653, 652, 651, 650, 649, 648,
647, 646, 645, 644, 638, 637, 636, 635, 634, 633,
632, 631, 630, 629, 628, 627, 626, 625, 624, 620,
619, 618, 617, 616, 615, 614, 613, 612, 611, 610,
609, 608, 607, 606, 602, 601, 600, 599, 598, 597,
596, 595, 594, 593, 592, 591, 590, 589, 588, 587,
586, 585, 584, 583, 582, 581, 580, 579, 578, 571,
570, 569, 568, 567, 566, 565, 564, 563, 562, 561,
560, 559, 554, 553, 552, 551, 550, 549, 548, 547,
546, 545, 544, 543, 542, 541, 540, 539, 538, 532,
531, 530, 529, 528, 527, 526, 525, 524, 523, 522,
521, 520, 519, 518, 517, 516, 515, 514, 513, 512,
506, 505, 504, 503, 502, 501, 500, 499, 498, 497,
496, 495, 494, 493, 492, 491, 490, 489, 488, 487,
486, 485, 484, 483, 482, 481, 480, 479, 478, 477,
476, 475, 474, 473, 472, 471, 470, 469, 459, 458,
457, 456, 455, 449, 448, 447, 446, 445, 444, 443,
442, 441, 440, 439, 438, 437, 436, 435, 434, 433,
429, 428, 427, 426, 425, 424, 423, 422, 421, 420,
419, 418, 417, 416, 415, 414, 413, 412, 411, 410,
409, 408, 407, 406, 405, 404, 403, 402, 401, 400,
399, 398, 397, 396, 395, 391, 390, 389, 388, 387,
386, 385, 384, 380, 376, 375, 374, 373, 372, 368,
367, 366, 365, 364, 363, 362, 361, 360, 356, 355,
354, 353, 352, 351, 350, 349, 345, 344, 343, 342,
341, 338, 337, 336, 335, 334, 333, 332, 331, 330,
329, 328, 327, 326, 325, 324, 323, 320, 319, 318,
317, 316, 315, 314, 313, 312, 311, 310, 306, 305,
304, 303, 302, 301, 300, 299, 298, 297, 296, 295,
294, 293, 292, 291, 290, 289, 288, 287, 286, 285,
284, 283, 282, 281, 280, 279, 278, 275, 274, 273,
272, 269, 268, 267, 266, 265, 264, 257, 256, 253,
252, 251, 244, 243, 242, 241, 240, 235, 234, 233,
232, 228, 227, 223, 220, 219, 218, 215, 214, 213,
207, 206, 205, 204, 203, 202, 201, 200, 195, 194,
193, 192, 191, 190, 189, 188, 184, 183, 182, 181,
180, 179, 176, 175, 174, 173, 161, 138, 134, 118,
90, 85, 69, 64, 789, 7, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 21, 21, 21, 21,
21, 22, 23, 24, 25, 26, 27, 28, 28, 28,
28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
29, 30, 31, 28, 32, 33, 34, 35, 36, 37,
38, 39, 40, 28, 41, 42, 43, 44, 45, 46,
47, 48, 49, 50, 51, 28, 28, 28, 52, 53,
54, 55, 6, 56, 57, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 58,
58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
58, 58, 6, 6, 6, 58, 58, 58, 58, 58,
58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
6, 6, 6, 6, 60, 61, 62, 65, 67, 69,
69, 69, 69, 69, 69, 69, 83, 84, 78, 149,
122, 68, 66, 86, 123, 63, 71, 150, 72, 72,
72, 72, 72, 72, 73, 79, 88, 80, 81, 776,
91, 87, 92, 120, 94, 74, 93, 102, 95, 103,
89, 90, 75, 76, 96, 98, 121, 97, 104, 99,
114, 186, 74, 115, 100, 124, 116, 117, 151, 167,
101, 118, 187, 168, 119, 777, 75, 127, 125, 76,
71, 105, 73, 73, 73, 73, 73, 73, 73, 106,
111, 107, 128, 206, 108, 129, 211, 131, 112, 74,
109, 207, 212, 778, 132, 133, 75, 138, 134, 113,
139, 235, 236, 152, 135, 136, 74, 137, 140, 146,
142, 154, 155, 147, 143, 141, 157, 158, 144, 237,
75, 145, 148, 159, 779, 266, 267, 238, 154, 155,
160, 69, 160, 157, 158, 161, 161, 161, 161, 161,
161, 161, 188, 226, 175, 253, 214, 159, 176, 177,
779, 219, 228, 198, 156, 189, 199, 200, 227, 215,
201, 216, 202, 239, 244, 229, 245, 220, 221, 253,
248, 240, 248, 157, 158, 249, 249, 249, 249, 249,
249, 249, 297, 298, 299, 775, 656, 250, 657, 250,
157, 158, 251, 251, 251, 251, 251, 251, 251, 161,
161, 161, 161, 161, 161, 161, 161, 161, 161, 161,
161, 161, 161, 260, 311, 329, 774, 773, 312, 336,
337, 338, 772, 330, 252, 771, 261, 249, 249, 249,
249, 249, 249, 249, 249, 249, 249, 249, 249, 249,
249, 252, 251, 251, 251, 251, 251, 251, 251, 347,
348, 349, 155, 251, 251, 251, 251, 251, 251, 251,
359, 360, 361, 367, 368, 369, 371, 372, 373, 155,
770, 158, 382, 383, 384, 420, 421, 422, 440, 441,
442, 450, 451, 452, 453, 454, 455, 769, 158, 593,
594, 443, 444, 456, 457, 458, 497, 498, 499, 523,
524, 525, 595, 768, 545, 547, 562, 563, 564, 500,
501, 629, 526, 527, 546, 548, 611, 612, 767, 565,
566, 630, 567, 631, 766, 632, 633, 765, 673, 613,
674, 85, 85, 85, 153, 153, 153, 162, 162, 764,
763, 762, 761, 760, 759, 758, 757, 756, 755, 754,
753, 752, 751, 750, 749, 748, 747, 746, 745, 744,
743, 742, 741, 740, 739, 738, 737, 736, 735, 734,
733, 732, 731, 730, 729, 728, 727, 726, 725, 724,
723, 722, 721, 720, 719, 718, 717, 716, 715, 714,
713, 712, 711, 710, 709, 708, 707, 706, 705, 704,
703, 702, 701, 700, 699, 698, 697, 696, 695, 694,
693, 692, 691, 690, 689, 688, 687, 686, 685, 684,
683, 682, 681, 680, 679, 678, 677, 676, 675, 672,
671, 670, 669, 668, 667, 666, 665, 664, 663, 662,
661, 660, 659, 658, 655, 654, 653, 652, 651, 650,
649, 648, 647, 646, 645, 644, 643, 642, 641, 640,
639, 638, 637, 636, 635, 634, 628, 627, 626, 625,
624, 623, 622, 621, 620, 619, 618, 617, 616, 615,
614, 610, 609, 608, 607, 606, 605, 604, 603, 602,
601, 600, 599, 598, 597, 596, 592, 591, 590, 589,
588, 587, 586, 585, 584, 583, 582, 581, 580, 579,
578, 577, 576, 575, 574, 573, 572, 571, 570, 569,
568, 561, 560, 559, 558, 557, 556, 555, 554, 553,
552, 551, 550, 549, 544, 543, 542, 541, 540, 539,
538, 537, 536, 535, 534, 533, 532, 531, 530, 529,
528, 522, 521, 520, 519, 518, 517, 516, 515, 514,
513, 512, 511, 510, 509, 508, 507, 506, 505, 504,
503, 502, 496, 495, 494, 493, 492, 491, 490, 489,
488, 487, 486, 485, 484, 483, 482, 481, 480, 479,
478, 477, 476, 475, 474, 473, 472, 471, 470, 469,
468, 467, 466, 465, 464, 463, 462, 461, 460, 459,
449, 448, 447, 446, 445, 439, 438, 437, 436, 435,
434, 433, 432, 431, 430, 429, 428, 427, 426, 425,
424, 423, 419, 418, 417, 416, 415, 414, 413, 412,
411, 410, 409, 408, 407, 406, 405, 404, 403, 402,
401, 400, 399, 398, 397, 396, 395, 394, 393, 392,
391, 390, 389, 388, 387, 386, 385, 381, 380, 379,
378, 377, 376, 375, 374, 370, 366, 365, 364, 363,
362, 358, 357, 356, 355, 354, 353, 352, 351, 350,
346, 345, 344, 343, 342, 341, 340, 339, 335, 334,
333, 332, 331, 328, 327, 326, 325, 324, 323, 322,
321, 320, 319, 318, 317, 316, 315, 314, 313, 310,
309, 308, 307, 306, 305, 304, 303, 302, 301, 300,
296, 295, 294, 293, 292, 291, 290, 289, 288, 287,
286, 285, 284, 283, 282, 281, 280, 279, 278, 277,
276, 275, 274, 273, 272, 271, 270, 269, 268, 265,
264, 263, 262, 259, 258, 257, 256, 255, 254, 247,
246, 243, 242, 241, 234, 233, 232, 231, 230, 225,
224, 223, 222, 218, 217, 213, 210, 209, 208, 205,
204, 203, 197, 196, 195, 194, 193, 192, 191, 190,
185, 184, 183, 182, 181, 180, 179, 178, 174, 173,
172, 171, 170, 169, 166, 165, 164, 163, 130, 126,
110, 82, 77, 70, 64, 59, 779, 5, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779
} ;
static yyconst flex_int16_t yy_chk[1079] =
static yyconst flex_int16_t yy_chk[1051] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
......@@ -842,123 +834,120 @@ static yyconst flex_int16_t yy_chk[1079] =
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, 3, 4, 12, 12, 28, 28, 3, 4,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 13, 17, 19, 20, 20, 20, 20, 20,
20, 20, 36, 34, 21, 783, 36, 19, 17, 21,
44, 13, 36, 26, 44, 36, 33, 34, 34, 784,
21, 22, 55, 22, 22, 22, 22, 22, 22, 22,
26, 41, 26, 26, 33, 35, 786, 35, 53, 41,
22, 35, 38, 43, 38, 37, 53, 22, 22, 37,
41, 39, 114, 38, 37, 793, 43, 22, 129, 39,
37, 39, 42, 114, 39, 42, 129, 55, 42, 42,
39, 22, 45, 42, 22, 23, 42, 23, 23, 23,
23, 23, 23, 23, 47, 45, 795, 50, 98, 49,
50, 156, 98, 156, 23, 151, 49, 49, 50, 47,
49, 23, 47, 151, 51, 50, 49, 49, 51, 49,
52, 23, 51, 138, 52, 51, 74, 74, 78, 78,
79, 79, 105, 52, 115, 23, 105, 105, 135, 138,
138, 143, 133, 74, 74, 78, 78, 115, 133, 150,
150, 135, 779, 135, 79, 144, 143, 79, 80, 172,
80, 80, 80, 80, 80, 80, 80, 125, 144, 778,
125, 125, 777, 152, 125, 775, 125, 80, 774, 182,
81, 152, 81, 172, 80, 81, 81, 81, 81, 81,
81, 81, 182, 163, 80, 163, 166, 166, 163, 163,
163, 163, 163, 163, 163, 187, 187, 230, 80, 773,
167, 230, 167, 166, 166, 167, 167, 167, 167, 167,
167, 167, 170, 170, 170, 170, 170, 170, 170, 171,
171, 171, 171, 171, 171, 171, 218, 218, 218, 772,
247, 253, 253, 253, 269, 269, 269, 171, 247, 258,
258, 258, 258, 258, 258, 258, 259, 259, 259, 259,
259, 259, 259, 512, 171, 260, 260, 260, 260, 260,
260, 260, 771, 512, 259, 261, 261, 261, 261, 261,
261, 261, 281, 281, 281, 290, 290, 290, 294, 294,
294, 259, 769, 261, 303, 303, 303, 344, 344, 344,
385, 385, 385, 396, 396, 396, 397, 397, 397, 768,
261, 563, 563, 385, 385, 398, 398, 398, 449, 449,
449, 492, 492, 492, 563, 767, 513, 529, 529, 529,
766, 449, 449, 765, 492, 492, 513, 586, 586, 610,
529, 529, 611, 529, 611, 611, 636, 763, 636, 610,
586, 654, 761, 654, 790, 790, 790, 790, 790, 791,
791, 791, 792, 792, 792, 794, 760, 794, 794, 794,
796, 796, 758, 757, 755, 754, 751, 750, 749, 748,
747, 746, 745, 744, 741, 740, 739, 738, 737, 736,
735, 734, 731, 728, 727, 726, 725, 724, 722, 721,
720, 719, 717, 715, 712, 711, 710, 709, 707, 706,
705, 704, 703, 702, 701, 700, 699, 698, 697, 696,
695, 694, 693, 692, 691, 690, 689, 687, 686, 685,
684, 683, 682, 681, 680, 679, 678, 676, 675, 674,
673, 672, 671, 670, 669, 668, 667, 666, 665, 663,
662, 661, 660, 659, 658, 657, 655, 653, 651, 650,
649, 647, 646, 645, 644, 643, 642, 641, 640, 639,
638, 637, 635, 634, 633, 632, 631, 630, 628, 627,
626, 625, 623, 622, 621, 620, 619, 618, 617, 616,
615, 614, 613, 612, 607, 605, 604, 603, 599, 598,
597, 596, 595, 594, 593, 592, 591, 589, 588, 584,
583, 581, 580, 578, 577, 576, 575, 574, 573, 572,
568, 567, 566, 564, 562, 561, 560, 559, 558, 557,
556, 555, 554, 553, 551, 550, 545, 544, 543, 542,
540, 539, 537, 536, 535, 534, 533, 531, 530, 528,
527, 526, 525, 524, 523, 522, 521, 519, 518, 517,
516, 515, 511, 510, 509, 508, 507, 506, 503, 502,
501, 500, 499, 498, 497, 496, 495, 494, 493, 491,
490, 487, 482, 480, 479, 478, 476, 475, 472, 471,
470, 469, 458, 457, 456, 454, 453, 452, 451, 450,
447, 445, 444, 443, 441, 440, 439, 438, 436, 434,
433, 428, 427, 425, 424, 423, 422, 421, 420, 419,
418, 417, 416, 415, 413, 412, 411, 410, 409, 408,
407, 405, 404, 403, 402, 401, 400, 399, 395, 391,
390, 389, 386, 384, 374, 372, 368, 367, 366, 365,
363, 362, 360, 355, 354, 353, 352, 351, 350, 345,
343, 342, 341, 340, 339, 337, 336, 333, 332, 331,
330, 329, 328, 327, 326, 325, 324, 323, 322, 321,
320, 319, 318, 317, 316, 315, 314, 313, 312, 311,
310, 309, 308, 307, 304, 302, 301, 300, 299, 298,
297, 296, 295, 293, 289, 287, 286, 285, 284, 280,
279, 278, 277, 276, 275, 274, 273, 272, 268, 266,
265, 264, 257, 256, 255, 254, 252, 251, 250, 249,
248, 246, 245, 244, 243, 242, 241, 240, 239, 238,
237, 236, 235, 234, 233, 232, 231, 229, 228, 227,
226, 225, 224, 223, 222, 221, 220, 219, 217, 216,
215, 214, 213, 212, 211, 210, 209, 208, 207, 206,
205, 204, 203, 202, 201, 199, 198, 197, 196, 195,
194, 193, 192, 191, 190, 189, 188, 186, 185, 184,
183, 181, 180, 179, 178, 177, 175, 158, 157, 155,
154, 153, 149, 148, 147, 146, 145, 142, 141, 140,
139, 137, 136, 134, 132, 131, 130, 128, 127, 126,
124, 123, 121, 120, 119, 118, 117, 116, 113, 112,
111, 110, 109, 108, 107, 106, 104, 103, 102, 101,
100, 99, 97, 96, 92, 88, 60, 48, 46, 40,
27, 24, 16, 11, 7, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 789, 789, 789, 789
1, 1, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 10, 10, 11, 15, 17, 18,
18, 18, 18, 18, 18, 18, 26, 26, 24, 51,
42, 17, 15, 31, 42, 11, 20, 51, 20, 20,
20, 20, 20, 20, 20, 24, 32, 24, 24, 773,
33, 31, 33, 41, 34, 20, 33, 36, 34, 36,
32, 32, 20, 20, 34, 35, 41, 34, 36, 35,
40, 106, 20, 40, 35, 43, 40, 40, 53, 90,
35, 40, 106, 90, 40, 774, 20, 45, 43, 20,
21, 37, 21, 21, 21, 21, 21, 21, 21, 37,
39, 37, 45, 121, 37, 45, 125, 47, 39, 21,
37, 121, 125, 776, 47, 47, 21, 48, 47, 39,
48, 142, 142, 53, 47, 47, 21, 47, 48, 50,
49, 69, 69, 50, 49, 48, 71, 71, 49, 143,
21, 49, 50, 72, 72, 177, 177, 143, 69, 69,
74, 782, 74, 71, 71, 74, 74, 74, 74, 74,
74, 74, 107, 135, 97, 162, 127, 72, 97, 97,
72, 130, 136, 117, 783, 107, 117, 117, 135, 127,
117, 127, 117, 144, 148, 136, 148, 130, 130, 162,
154, 144, 154, 156, 156, 154, 154, 154, 154, 154,
154, 154, 208, 208, 208, 769, 626, 157, 626, 157,
156, 156, 157, 157, 157, 157, 157, 157, 157, 160,
160, 160, 160, 160, 160, 160, 161, 161, 161, 161,
161, 161, 161, 172, 220, 237, 768, 767, 220, 243,
243, 243, 765, 237, 161, 764, 172, 248, 248, 248,
248, 248, 248, 248, 249, 249, 249, 249, 249, 249,
249, 161, 250, 250, 250, 250, 250, 250, 250, 259,
259, 259, 249, 251, 251, 251, 251, 251, 251, 251,
271, 271, 271, 280, 280, 280, 284, 284, 284, 249,
763, 251, 293, 293, 293, 334, 334, 334, 375, 375,
375, 386, 386, 386, 387, 387, 387, 762, 251, 553,
553, 375, 375, 388, 388, 388, 439, 439, 439, 482,
482, 482, 553, 761, 502, 503, 519, 519, 519, 439,
439, 600, 482, 482, 502, 503, 576, 576, 759, 519,
519, 600, 519, 601, 758, 601, 601, 757, 644, 576,
644, 780, 780, 780, 781, 781, 781, 784, 784, 756,
755, 753, 751, 750, 748, 747, 745, 744, 741, 740,
739, 738, 737, 736, 735, 734, 731, 730, 729, 728,
727, 726, 725, 724, 721, 718, 717, 716, 715, 714,
712, 711, 710, 709, 707, 705, 702, 701, 700, 699,
697, 696, 695, 694, 693, 692, 691, 690, 689, 688,
687, 686, 685, 684, 683, 682, 681, 680, 679, 677,
676, 675, 674, 673, 672, 671, 670, 669, 668, 666,
665, 664, 663, 662, 661, 660, 659, 658, 657, 656,
655, 653, 652, 651, 650, 649, 648, 647, 645, 643,
641, 640, 639, 637, 636, 635, 634, 633, 632, 631,
630, 629, 628, 627, 625, 624, 623, 622, 621, 620,
618, 617, 616, 615, 613, 612, 611, 610, 609, 608,
607, 606, 605, 604, 603, 602, 597, 595, 594, 593,
589, 588, 587, 586, 585, 584, 583, 582, 581, 579,
578, 574, 573, 571, 570, 568, 567, 566, 565, 564,
563, 562, 558, 557, 556, 554, 552, 551, 550, 549,
548, 547, 546, 545, 544, 543, 541, 540, 535, 534,
533, 532, 530, 529, 527, 526, 525, 524, 523, 521,
520, 518, 517, 516, 515, 514, 513, 512, 511, 509,
508, 507, 506, 505, 501, 500, 499, 498, 497, 496,
493, 492, 491, 490, 489, 488, 487, 486, 485, 484,
483, 481, 480, 477, 472, 470, 469, 468, 466, 465,
462, 461, 460, 459, 448, 447, 446, 444, 443, 442,
441, 440, 437, 435, 434, 433, 431, 430, 429, 428,
426, 424, 423, 418, 417, 415, 414, 413, 412, 411,
410, 409, 408, 407, 406, 405, 403, 402, 401, 400,
399, 398, 397, 395, 394, 393, 392, 391, 390, 389,
385, 381, 380, 379, 376, 374, 364, 362, 358, 357,
356, 355, 353, 352, 350, 345, 344, 343, 342, 341,
340, 335, 333, 332, 331, 330, 329, 327, 326, 323,
322, 321, 320, 319, 318, 317, 316, 315, 314, 313,
312, 311, 310, 309, 308, 307, 306, 305, 304, 303,
302, 301, 300, 299, 298, 297, 294, 292, 291, 290,
289, 288, 287, 286, 285, 283, 279, 277, 276, 275,
274, 270, 269, 268, 267, 266, 265, 264, 263, 262,
258, 256, 255, 254, 247, 246, 245, 244, 242, 241,
240, 239, 238, 236, 235, 234, 233, 232, 231, 230,
229, 228, 227, 226, 225, 224, 223, 222, 221, 219,
218, 217, 216, 215, 214, 213, 212, 211, 210, 209,
207, 206, 205, 204, 203, 202, 201, 200, 199, 198,
197, 196, 195, 194, 193, 192, 191, 189, 188, 187,
186, 185, 184, 183, 182, 181, 180, 179, 178, 176,
175, 174, 173, 171, 170, 169, 168, 167, 165, 150,
149, 147, 146, 145, 141, 140, 139, 138, 137, 134,
133, 132, 131, 129, 128, 126, 124, 123, 122, 120,
119, 118, 116, 115, 113, 112, 111, 110, 109, 108,
105, 104, 103, 102, 101, 100, 99, 98, 96, 95,
94, 93, 92, 91, 89, 88, 84, 80, 46, 44,
38, 25, 22, 19, 14, 9, 5, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 779, 779, 779
} ;
/* Table of booleans, true if rule could match eol. */
static yyconst flex_int32_t yy_rule_can_match_eol[235] =
static yyconst flex_int32_t yy_rule_can_match_eol[229] =
{ 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -969,7 +958,7 @@ static yyconst flex_int32_t yy_rule_can_match_eol[235] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, };
0, 0, 0, 0, 0, 0, 1, 0, 0, };
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
......@@ -1018,8 +1007,7 @@ static int uint_constant(TParseContext *context);
static int floatsuffix_check(TParseContext* context);
#define INITIAL 0
#define COMMENT 1
#define FIELDS 2
#define FIELDS 1
#define YY_EXTRA_TYPE TParseContext*
......@@ -1246,8 +1234,6 @@ YY_DECL
TParseContext* context = yyextra;
/* Single-line comments */
yylval = yylval_param;
if ( !yyg->yy_init )
......@@ -1301,13 +1287,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 >= 790 )
if ( yy_current_state >= 780 )
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_current_state != 789 );
while ( yy_current_state != 779 );
yy_cp = yyg->yy_last_accepting_cpos;
yy_current_state = yyg->yy_last_accepting_state;
......@@ -1341,292 +1327,278 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
YY_RULE_SETUP
;
{ return INVARIANT; }
YY_BREAK
/* Multi-line comments */
case 2:
YY_RULE_SETUP
{ yy_push_state(COMMENT, yyscanner); }
{ return HIGH_PRECISION; }
YY_BREAK
case 3:
YY_RULE_SETUP
{ return MEDIUM_PRECISION; }
YY_BREAK
case 4:
/* rule 4 can match eol */
YY_RULE_SETUP
;
{ return LOW_PRECISION; }
YY_BREAK
case 5:
YY_RULE_SETUP
{ yy_pop_state(yyscanner); }
{ return PRECISION; }
YY_BREAK
case 6:
YY_RULE_SETUP
{ return INVARIANT; }
{ return ES2_keyword_ES3_reserved(context, ATTRIBUTE); }
YY_BREAK
case 7:
YY_RULE_SETUP
{ return HIGH_PRECISION; }
{ return CONST_QUAL; }
YY_BREAK
case 8:
YY_RULE_SETUP
{ return MEDIUM_PRECISION; }
{ return UNIFORM; }
YY_BREAK
case 9:
YY_RULE_SETUP
{ return LOW_PRECISION; }
{ return ES2_keyword_ES3_reserved(context, VARYING); }
YY_BREAK
case 10:
YY_RULE_SETUP
{ return PRECISION; }
{ return BREAK; }
YY_BREAK
case 11:
YY_RULE_SETUP
{ return ES2_keyword_ES3_reserved(context, ATTRIBUTE); }
{ return CONTINUE; }
YY_BREAK
case 12:
YY_RULE_SETUP
{ return CONST_QUAL; }
{ return DO; }
YY_BREAK
case 13:
YY_RULE_SETUP
{ return UNIFORM; }
{ return FOR; }
YY_BREAK
case 14:
YY_RULE_SETUP
{ return ES2_keyword_ES3_reserved(context, VARYING); }
{ return WHILE; }
YY_BREAK
case 15:
YY_RULE_SETUP
{ return BREAK; }
{ return IF; }
YY_BREAK
case 16:
YY_RULE_SETUP
{ return CONTINUE; }
{ return ELSE; }
YY_BREAK
case 17:
YY_RULE_SETUP
{ return DO; }
{ return ES2_reserved_ES3_keyword(context, SWITCH); }
YY_BREAK
case 18:
YY_RULE_SETUP
{ return FOR; }
{ return ES2_reserved_ES3_keyword(context, CASE); }
YY_BREAK
case 19:
YY_RULE_SETUP
{ return WHILE; }
{ return ES2_reserved_ES3_keyword(context, DEFAULT); }
YY_BREAK
case 20:
YY_RULE_SETUP
{ return IF; }
{ return ES2_reserved_ES3_keyword(context, CENTROID); }
YY_BREAK
case 21:
YY_RULE_SETUP
{ return ELSE; }
{ return ES2_reserved_ES3_keyword(context, FLAT); }
YY_BREAK
case 22:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, SWITCH); }
{ return ES2_reserved_ES3_keyword(context, SMOOTH); }
YY_BREAK
case 23:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, CASE); }
{ return IN_QUAL; }
YY_BREAK
case 24:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, DEFAULT); }
{ return OUT_QUAL; }
YY_BREAK
case 25:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, CENTROID); }
{ return INOUT_QUAL; }
YY_BREAK
case 26:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, FLAT); }
{ context->lexAfterType = true; return FLOAT_TYPE; }
YY_BREAK
case 27:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, SMOOTH); }
{ context->lexAfterType = true; return INT_TYPE; }
YY_BREAK
case 28:
YY_RULE_SETUP
{ return IN_QUAL; }
{ return ES2_ident_ES3_keyword(context, UINT_TYPE); }
YY_BREAK
case 29:
YY_RULE_SETUP
{ return OUT_QUAL; }
{ context->lexAfterType = true; return VOID_TYPE; }
YY_BREAK
case 30:
YY_RULE_SETUP
{ return INOUT_QUAL; }
{ context->lexAfterType = true; return BOOL_TYPE; }
YY_BREAK
case 31:
YY_RULE_SETUP
{ context->lexAfterType = true; return FLOAT_TYPE; }
{ yylval->lex.b = true; return BOOLCONSTANT; }
YY_BREAK
case 32:
YY_RULE_SETUP
{ context->lexAfterType = true; return INT_TYPE; }
{ yylval->lex.b = false; return BOOLCONSTANT; }
YY_BREAK
case 33:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, UINT_TYPE); }
{ return DISCARD; }
YY_BREAK
case 34:
YY_RULE_SETUP
{ context->lexAfterType = true; return VOID_TYPE; }
{ return RETURN; }
YY_BREAK
case 35:
YY_RULE_SETUP
{ context->lexAfterType = true; return BOOL_TYPE; }
{ context->lexAfterType = true; return MATRIX2; }
YY_BREAK
case 36:
YY_RULE_SETUP
{ yylval->lex.b = true; return BOOLCONSTANT; }
{ context->lexAfterType = true; return MATRIX3; }
YY_BREAK
case 37:
YY_RULE_SETUP
{ yylval->lex.b = false; return BOOLCONSTANT; }
{ context->lexAfterType = true; return MATRIX4; }
YY_BREAK
case 38:
YY_RULE_SETUP
{ return DISCARD; }
{ return ES2_ident_ES3_keyword(context, MATRIX2); }
YY_BREAK
case 39:
YY_RULE_SETUP
{ return RETURN; }
{ return ES2_ident_ES3_keyword(context, MATRIX3); }
YY_BREAK
case 40:
YY_RULE_SETUP
{ context->lexAfterType = true; return MATRIX2; }
{ return ES2_ident_ES3_keyword(context, MATRIX4); }
YY_BREAK
case 41:
YY_RULE_SETUP
{ context->lexAfterType = true; return MATRIX3; }
{ return ES2_ident_ES3_keyword(context, MATRIX2x3); }
YY_BREAK
case 42:
YY_RULE_SETUP
{ context->lexAfterType = true; return MATRIX4; }
{ return ES2_ident_ES3_keyword(context, MATRIX3x2); }
YY_BREAK
case 43:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX2); }
{ return ES2_ident_ES3_keyword(context, MATRIX2x4); }
YY_BREAK
case 44:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX3); }
{ return ES2_ident_ES3_keyword(context, MATRIX4x2); }
YY_BREAK
case 45:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX4); }
{ return ES2_ident_ES3_keyword(context, MATRIX3x4); }
YY_BREAK
case 46:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX2x3); }
{ return ES2_ident_ES3_keyword(context, MATRIX4x3); }
YY_BREAK
case 47:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX3x2); }
{ context->lexAfterType = true; return VEC2; }
YY_BREAK
case 48:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX2x4); }
{ context->lexAfterType = true; return VEC3; }
YY_BREAK
case 49:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX4x2); }
{ context->lexAfterType = true; return VEC4; }
YY_BREAK
case 50:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX3x4); }
{ context->lexAfterType = true; return IVEC2; }
YY_BREAK
case 51:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, MATRIX4x3); }
{ context->lexAfterType = true; return IVEC3; }
YY_BREAK
case 52:
YY_RULE_SETUP
{ context->lexAfterType = true; return VEC2; }
{ context->lexAfterType = true; return IVEC4; }
YY_BREAK
case 53:
YY_RULE_SETUP
{ context->lexAfterType = true; return VEC3; }
{ context->lexAfterType = true; return BVEC2; }
YY_BREAK
case 54:
YY_RULE_SETUP
{ context->lexAfterType = true; return VEC4; }
{ context->lexAfterType = true; return BVEC3; }
YY_BREAK
case 55:
YY_RULE_SETUP
{ context->lexAfterType = true; return IVEC2; }
{ context->lexAfterType = true; return BVEC4; }
YY_BREAK
case 56:
YY_RULE_SETUP
{ context->lexAfterType = true; return IVEC3; }
{ return ES2_ident_ES3_keyword(context, UVEC2); }
YY_BREAK
case 57:
YY_RULE_SETUP
{ context->lexAfterType = true; return IVEC4; }
{ return ES2_ident_ES3_keyword(context, UVEC3); }
YY_BREAK
case 58:
YY_RULE_SETUP
{ context->lexAfterType = true; return BVEC2; }
{ return ES2_ident_ES3_keyword(context, UVEC4); }
YY_BREAK
case 59:
YY_RULE_SETUP
{ context->lexAfterType = true; return BVEC3; }
{ context->lexAfterType = true; return SAMPLER2D; }
YY_BREAK
case 60:
YY_RULE_SETUP
{ context->lexAfterType = true; return BVEC4; }
{ context->lexAfterType = true; return SAMPLERCUBE; }
YY_BREAK
case 61:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, UVEC2); }
{ context->lexAfterType = true; return SAMPLER_EXTERNAL_OES; }
YY_BREAK
case 62:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, UVEC3); }
{ return ES2_reserved_ES3_keyword(context, SAMPLER3D); }
YY_BREAK
case 63:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, UVEC4); }
{ return ES2_reserved_ES3_keyword(context, SAMPLER3DRECT); }
YY_BREAK
case 64:
YY_RULE_SETUP
{ context->lexAfterType = true; return SAMPLER2D; }
{ return ES2_reserved_ES3_keyword(context, SAMPLER2DSHADOW); }
YY_BREAK
case 65:
YY_RULE_SETUP
{ context->lexAfterType = true; return SAMPLERCUBE; }
{ context->lexAfterType = true; return SAMPLER2DRECT; }
YY_BREAK
case 66:
YY_RULE_SETUP
{ context->lexAfterType = true; return SAMPLER_EXTERNAL_OES; }
{ context->lexAfterType = true; return STRUCT; }
YY_BREAK
case 67:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, SAMPLER3D); }
{ return ES2_ident_ES3_keyword(context, LAYOUT); }
YY_BREAK
/* Reserved keywords for GLSL ES 3.00 that are not reserved for GLSL ES 1.00 */
case 68:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, SAMPLER3DRECT); }
YY_BREAK
case 69:
YY_RULE_SETUP
{ return ES2_reserved_ES3_keyword(context, SAMPLER2DSHADOW); }
YY_BREAK
case 70:
YY_RULE_SETUP
{ context->lexAfterType = true; return SAMPLER2DRECT; }
YY_BREAK
case 71:
YY_RULE_SETUP
{ context->lexAfterType = true; return STRUCT; }
YY_BREAK
case 72:
YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, LAYOUT); }
YY_BREAK
/* Reserved keywords for GLSL ES 3.00 that are not reserved for GLSL ES 1.00 */
case 73:
case 74:
case 75:
......@@ -1678,11 +1650,6 @@ case 120:
case 121:
case 122:
case 123:
case 124:
case 125:
case 126:
case 127:
case 128:
YY_RULE_SETUP
{
if (context->shaderVersion < 300) {
......@@ -1693,7 +1660,7 @@ YY_RULE_SETUP
}
YY_BREAK
/* Reserved keywords in GLSL ES 1.00 that are not reserved in GLSL ES 3.00 */
case 129:
case 124:
YY_RULE_SETUP
{
if (context->shaderVersion >= 300)
......@@ -1706,6 +1673,11 @@ YY_RULE_SETUP
}
YY_BREAK
/* Reserved keywords */
case 125:
case 126:
case 127:
case 128:
case 129:
case 130:
case 131:
case 132:
......@@ -1742,254 +1714,245 @@ case 162:
case 163:
case 164:
case 165:
case 166:
case 167:
case 168:
case 169:
case 170:
YY_RULE_SETUP
{ return reserved_word(yyscanner); }
YY_BREAK
case 171:
case 166:
YY_RULE_SETUP
{
yylval->lex.string = NewPoolTString(yytext);
return check_type(yyscanner);
}
YY_BREAK
case 172:
case 167:
YY_RULE_SETUP
{ yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
YY_BREAK
case 173:
case 168:
YY_RULE_SETUP
{ yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
YY_BREAK
case 174:
YY_RULE_SETUP
{ context->error(yylineno, "Invalid Octal number.", yytext); context->recover(); return 0;}
YY_BREAK
case 175:
case 169:
YY_RULE_SETUP
{ yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
YY_BREAK
case 176:
case 170:
YY_RULE_SETUP
{ return uint_constant(context); }
YY_BREAK
case 177:
case 171:
YY_RULE_SETUP
{ return uint_constant(context); }
YY_BREAK
case 178:
case 172:
YY_RULE_SETUP
{ return uint_constant(context); }
YY_BREAK
case 179:
case 173:
YY_RULE_SETUP
{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
YY_BREAK
case 180:
case 174:
YY_RULE_SETUP
{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
YY_BREAK
case 181:
case 175:
YY_RULE_SETUP
{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
YY_BREAK
case 182:
case 176:
YY_RULE_SETUP
{ return floatsuffix_check(context); }
YY_BREAK
case 183:
case 177:
YY_RULE_SETUP
{ return floatsuffix_check(context); }
YY_BREAK
case 184:
case 178:
YY_RULE_SETUP
{ return floatsuffix_check(context); }
YY_BREAK
case 185:
case 179:
YY_RULE_SETUP
{ return ADD_ASSIGN; }
YY_BREAK
case 186:
case 180:
YY_RULE_SETUP
{ return SUB_ASSIGN; }
YY_BREAK
case 187:
case 181:
YY_RULE_SETUP
{ return MUL_ASSIGN; }
YY_BREAK
case 188:
case 182:
YY_RULE_SETUP
{ return DIV_ASSIGN; }
YY_BREAK
case 189:
case 183:
YY_RULE_SETUP
{ return MOD_ASSIGN; }
YY_BREAK
case 190:
case 184:
YY_RULE_SETUP
{ return LEFT_ASSIGN; }
YY_BREAK
case 191:
case 185:
YY_RULE_SETUP
{ return RIGHT_ASSIGN; }
YY_BREAK
case 192:
case 186:
YY_RULE_SETUP
{ return AND_ASSIGN; }
YY_BREAK
case 193:
case 187:
YY_RULE_SETUP
{ return XOR_ASSIGN; }
YY_BREAK
case 194:
case 188:
YY_RULE_SETUP
{ return OR_ASSIGN; }
YY_BREAK
case 195:
case 189:
YY_RULE_SETUP
{ return INC_OP; }
YY_BREAK
case 196:
case 190:
YY_RULE_SETUP
{ return DEC_OP; }
YY_BREAK
case 197:
case 191:
YY_RULE_SETUP
{ return AND_OP; }
YY_BREAK
case 198:
case 192:
YY_RULE_SETUP
{ return OR_OP; }
YY_BREAK
case 199:
case 193:
YY_RULE_SETUP
{ return XOR_OP; }
YY_BREAK
case 200:
case 194:
YY_RULE_SETUP
{ return LE_OP; }
YY_BREAK
case 201:
case 195:
YY_RULE_SETUP
{ return GE_OP; }
YY_BREAK
case 202:
case 196:
YY_RULE_SETUP
{ return EQ_OP; }
YY_BREAK
case 203:
case 197:
YY_RULE_SETUP
{ return NE_OP; }
YY_BREAK
case 204:
case 198:
YY_RULE_SETUP
{ return LEFT_OP; }
YY_BREAK
case 205:
case 199:
YY_RULE_SETUP
{ return RIGHT_OP; }
YY_BREAK
case 206:
case 200:
YY_RULE_SETUP
{ context->lexAfterType = false; return SEMICOLON; }
YY_BREAK
case 207:
case 201:
YY_RULE_SETUP
{ context->lexAfterType = false; return LEFT_BRACE; }
YY_BREAK
case 208:
case 202:
YY_RULE_SETUP
{ return RIGHT_BRACE; }
YY_BREAK
case 209:
case 203:
YY_RULE_SETUP
{ if (context->inTypeParen) context->lexAfterType = false; return COMMA; }
YY_BREAK
case 210:
case 204:
YY_RULE_SETUP
{ return COLON; }
YY_BREAK
case 211:
case 205:
YY_RULE_SETUP
{ context->lexAfterType = false; return EQUAL; }
YY_BREAK
case 212:
case 206:
YY_RULE_SETUP
{ context->lexAfterType = false; context->inTypeParen = true; return LEFT_PAREN; }
YY_BREAK
case 213:
case 207:
YY_RULE_SETUP
{ context->inTypeParen = false; return RIGHT_PAREN; }
YY_BREAK
case 214:
case 208:
YY_RULE_SETUP
{ return LEFT_BRACKET; }
YY_BREAK
case 215:
case 209:
YY_RULE_SETUP
{ return RIGHT_BRACKET; }
YY_BREAK
case 216:
case 210:
YY_RULE_SETUP
{ BEGIN(FIELDS); return DOT; }
YY_BREAK
case 217:
case 211:
YY_RULE_SETUP
{ return BANG; }
YY_BREAK
case 218:
case 212:
YY_RULE_SETUP
{ return DASH; }
YY_BREAK
case 219:
case 213:
YY_RULE_SETUP
{ return TILDE; }
YY_BREAK
case 220:
case 214:
YY_RULE_SETUP
{ return PLUS; }
YY_BREAK
case 221:
case 215:
YY_RULE_SETUP
{ return STAR; }
YY_BREAK
case 222:
case 216:
YY_RULE_SETUP
{ return SLASH; }
YY_BREAK
case 223:
case 217:
YY_RULE_SETUP
{ return PERCENT; }
YY_BREAK
case 224:
case 218:
YY_RULE_SETUP
{ return LEFT_ANGLE; }
YY_BREAK
case 225:
case 219:
YY_RULE_SETUP
{ return RIGHT_ANGLE; }
YY_BREAK
case 226:
case 220:
YY_RULE_SETUP
{ return VERTICAL_BAR; }
YY_BREAK
case 227:
case 221:
YY_RULE_SETUP
{ return CARET; }
YY_BREAK
case 228:
case 222:
YY_RULE_SETUP
{ return AMPERSAND; }
YY_BREAK
case 229:
case 223:
YY_RULE_SETUP
{ return QUESTION; }
YY_BREAK
case 230:
case 224:
YY_RULE_SETUP
{
BEGIN(INITIAL);
......@@ -1997,25 +1960,24 @@ YY_RULE_SETUP
return FIELD_SELECTION;
}
YY_BREAK
case 231:
case 225:
YY_RULE_SETUP
{}
YY_BREAK
case 232:
/* rule 232 can match eol */
case 226:
/* rule 226 can match eol */
YY_RULE_SETUP
{ }
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(FIELDS):
{ yyterminate(); }
YY_BREAK
case 233:
case 227:
YY_RULE_SETUP
{ context->warning(yylineno, "Unknown char", yytext, ""); return 0; }
YY_BREAK
case 234:
case 228:
YY_RULE_SETUP
ECHO;
YY_BREAK
......@@ -2311,7 +2273,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
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 >= 790 )
if ( yy_current_state >= 780 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
......@@ -2340,11 +2302,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
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 >= 790 )
if ( yy_current_state >= 780 )
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 == 789);
yy_is_jam = (yy_current_state == 779);
return yy_is_jam ? 0 : yy_current_state;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment