Commit 9e3a3f43 by Nicolas Capens Committed by Shannon Woods

Add unsigned integer samplers to the lexer/parser.

TRAC #23360 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens
parent 8613229e
...@@ -156,6 +156,8 @@ O [0-7] ...@@ -156,6 +156,8 @@ O [0-7]
"sampler2DRect" { return SAMPLER2DRECT; } "sampler2DRect" { return SAMPLER2DRECT; }
"isampler2D" { return ES2_ident_ES3_keyword(context, ISAMPLER2D); } "isampler2D" { return ES2_ident_ES3_keyword(context, ISAMPLER2D); }
"isamplerCube" { return ES2_ident_ES3_keyword(context, ISAMPLERCUBE); } "isamplerCube" { return ES2_ident_ES3_keyword(context, ISAMPLERCUBE); }
"usampler2D" { return ES2_ident_ES3_keyword(context, USAMPLER2D); }
"usamplerCube" { return ES2_ident_ES3_keyword(context, USAMPLERCUBE); }
"struct" { return STRUCT; } "struct" { return STRUCT; }
......
...@@ -131,7 +131,7 @@ extern void yyerror(TParseContext* context, const char* reason); ...@@ -131,7 +131,7 @@ extern void yyerror(TParseContext* context, const char* reason);
%token <lex> MATRIX2x3 MATRIX3x2 MATRIX2x4 MATRIX4x2 MATRIX3x4 MATRIX4x3 %token <lex> MATRIX2x3 MATRIX3x2 MATRIX2x4 MATRIX4x2 MATRIX3x4 MATRIX4x3
%token <lex> CENTROID FLAT SMOOTH %token <lex> CENTROID FLAT SMOOTH
%token <lex> STRUCT VOID_TYPE WHILE %token <lex> STRUCT VOID_TYPE WHILE
%token <lex> SAMPLER2D SAMPLERCUBE SAMPLER_EXTERNAL_OES SAMPLER2DRECT ISAMPLER2D ISAMPLERCUBE %token <lex> SAMPLER2D SAMPLERCUBE SAMPLER_EXTERNAL_OES SAMPLER2DRECT ISAMPLER2D ISAMPLERCUBE USAMPLER2D USAMPLERCUBE
%token <lex> SAMPLER3D SAMPLER3DRECT SAMPLER2DSHADOW %token <lex> SAMPLER3D SAMPLER3DRECT SAMPLER2DSHADOW
%token <lex> LAYOUT %token <lex> LAYOUT
...@@ -1522,6 +1522,14 @@ type_specifier_nonarray ...@@ -1522,6 +1522,14 @@ type_specifier_nonarray
TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
$$.setBasic(EbtISamplerCube, qual, $1.line); $$.setBasic(EbtISamplerCube, qual, $1.line);
} }
| USAMPLER2D {
TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
$$.setBasic(EbtUSampler2D, qual, $1.line);
}
| USAMPLERCUBE {
TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
$$.setBasic(EbtUSamplerCube, qual, $1.line);
}
| SAMPLER_EXTERNAL_OES { | SAMPLER_EXTERNAL_OES {
if (!context->supportsExtension("GL_OES_EGL_image_external")) { if (!context->supportsExtension("GL_OES_EGL_image_external")) {
context->error($1.line, "unsupported type", "samplerExternalOES"); context->error($1.line, "unsupported type", "samplerExternalOES");
......
...@@ -384,8 +384,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner ); ...@@ -384,8 +384,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
*yy_cp = '\0'; \ *yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp; yyg->yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 228 #define YY_NUM_RULES 230
#define YY_END_OF_BUFFER 229 #define YY_END_OF_BUFFER 231
/* This struct is not used in this scanner, /* This struct is not used in this scanner,
but its presence is necessary. */ but its presence is necessary. */
struct yy_trans_info struct yy_trans_info
...@@ -393,93 +393,94 @@ struct yy_trans_info ...@@ -393,93 +393,94 @@ struct yy_trans_info
flex_int32_t yy_verify; flex_int32_t yy_verify;
flex_int32_t yy_nxt; flex_int32_t yy_nxt;
}; };
static yyconst flex_int16_t yy_accept[778] = static yyconst flex_int16_t yy_accept[782] =
{ 0, { 0,
0, 0, 229, 227, 226, 226, 213, 219, 224, 208, 0, 0, 231, 229, 228, 228, 215, 221, 226, 210,
209, 217, 216, 205, 214, 212, 218, 171, 171, 206, 211, 219, 218, 207, 216, 214, 220, 173, 173, 208,
202, 220, 207, 221, 225, 168, 210, 211, 223, 168, 204, 222, 209, 223, 227, 170, 212, 213, 225, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 203, 170, 170, 170, 170, 170, 170, 170, 170, 170, 205,
222, 204, 215, 199, 185, 204, 193, 188, 183, 191, 224, 206, 217, 201, 187, 206, 195, 190, 185, 193,
181, 192, 182, 177, 184, 176, 170, 171, 0, 174, 183, 194, 184, 179, 186, 178, 172, 173, 0, 176,
0, 211, 203, 210, 200, 196, 198, 197, 201, 168, 0, 213, 205, 212, 202, 198, 200, 199, 203, 170,
189, 195, 168, 168, 168, 168, 168, 168, 168, 168, 191, 197, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 12, 168, 168, 168, 168, 168, 170, 170, 170, 170, 12, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 15, 168, 170, 170, 170, 170, 170, 170, 170, 170, 15, 170,
168, 23, 168, 168, 168, 168, 168, 168, 168, 168, 170, 23, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 190, 194, 0, 180, 176, 170, 170, 170, 170, 170, 192, 196, 0, 182, 178,
0, 179, 173, 0, 175, 169, 186, 187, 168, 127, 0, 181, 175, 0, 177, 171, 188, 189, 170, 129,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 13, 168, 168, 168, 168, 168, 168, 170, 170, 170, 13, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 27, 168, 168, 168, 168, 168, 170, 170, 170, 170, 27, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 24, 168, 168, 168, 170, 170, 170, 170, 170, 170, 24, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 0, 177, 0, 176, 178, 172, 168, 168, 168, 170, 0, 179, 0, 178, 180, 174, 170, 170, 170,
30, 168, 168, 18, 165, 168, 168, 168, 168, 168, 30, 170, 170, 18, 167, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 16, 130, 168, 168, 168, 170, 170, 170, 170, 170, 16, 132, 170, 170, 170,
168, 21, 168, 168, 134, 146, 168, 168, 168, 168, 170, 21, 170, 170, 136, 148, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 143, 4, 170, 170, 170, 170, 170, 170, 170, 170, 145, 4,
35, 36, 37, 168, 168, 168, 168, 168, 168, 168, 35, 36, 37, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 133, 31, 168, 170, 170, 170, 170, 170, 170, 170, 135, 31, 170,
168, 28, 168, 168, 168, 168, 168, 168, 168, 47, 170, 28, 170, 170, 170, 170, 170, 170, 170, 47,
48, 49, 29, 168, 168, 168, 168, 168, 168, 10, 48, 49, 29, 170, 170, 170, 170, 170, 170, 10,
53, 54, 55, 168, 128, 168, 168, 7, 168, 168, 53, 54, 55, 170, 130, 170, 170, 7, 170, 170,
168, 168, 155, 156, 157, 168, 32, 168, 147, 26, 170, 170, 157, 158, 159, 170, 32, 170, 149, 26,
158, 159, 160, 2, 152, 153, 154, 168, 168, 168, 160, 161, 162, 2, 154, 155, 156, 170, 170, 170,
25, 150, 168, 168, 168, 50, 51, 52, 168, 168, 25, 152, 170, 170, 170, 50, 51, 52, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 77, 170, 170, 170, 170, 170, 170, 170, 170, 170, 79,
168, 168, 168, 168, 168, 168, 168, 144, 168, 168, 170, 170, 170, 170, 170, 170, 170, 146, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 168, 129, 170, 170, 170, 170, 170, 170, 170, 170, 170, 131,
168, 168, 167, 56, 57, 58, 168, 168, 14, 168, 170, 170, 169, 56, 57, 58, 170, 170, 14, 170,
82, 168, 168, 168, 168, 80, 168, 168, 168, 145, 84, 170, 170, 170, 170, 82, 170, 170, 170, 147,
140, 83, 168, 168, 168, 168, 168, 168, 135, 168, 142, 85, 170, 170, 170, 170, 170, 170, 137, 170,
168, 168, 69, 38, 41, 43, 42, 39, 45, 44, 170, 170, 71, 38, 41, 43, 42, 39, 45, 44,
46, 40, 168, 168, 168, 168, 151, 126, 168, 168, 46, 40, 170, 170, 170, 170, 153, 128, 170, 170,
138, 168, 168, 168, 34, 78, 164, 22, 139, 68, 140, 170, 170, 170, 34, 80, 166, 22, 141, 70,
168, 149, 17, 168, 168, 168, 168, 168, 168, 168, 170, 151, 17, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 19, 33, 168, 170, 170, 170, 170, 170, 170, 170, 19, 33, 170,
168, 168, 168, 168, 168, 84, 85, 86, 168, 168, 170, 170, 170, 170, 170, 86, 87, 88, 170, 170,
168, 168, 168, 3, 168, 168, 168, 168, 168, 168, 170, 170, 170, 3, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 131, 168, 168, 168, 168, 170, 170, 170, 170, 170, 133, 170, 170, 170, 170,
168, 8, 168, 168, 9, 168, 168, 168, 168, 20, 170, 8, 170, 170, 9, 170, 170, 170, 170, 20,
70, 11, 141, 88, 89, 90, 168, 168, 168, 168, 72, 11, 143, 90, 91, 92, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 136, 168, 170, 170, 170, 170, 170, 170, 170, 170, 138, 170,
168, 168, 72, 74, 71, 168, 168, 168, 168, 168, 170, 170, 74, 76, 73, 170, 170, 170, 170, 170,
168, 168, 132, 92, 93, 94, 168, 168, 148, 168, 170, 170, 134, 94, 95, 96, 170, 170, 150, 170,
137, 168, 168, 6, 168, 168, 168, 168, 168, 168, 139, 170, 170, 6, 170, 170, 170, 170, 170, 170,
168, 168, 168, 87, 142, 1, 168, 168, 168, 168, 170, 170, 170, 89, 144, 1, 170, 170, 170, 170,
166, 168, 81, 5, 161, 59, 62, 168, 168, 168, 168, 170, 83, 5, 163, 59, 62, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 73, 168, 170, 170, 170, 170, 170, 170, 170, 170, 170, 75,
168, 168, 168, 91, 168, 168, 168, 168, 168, 111, 170, 170, 170, 170, 93, 170, 170, 170, 170, 170,
66, 168, 168, 168, 168, 168, 168, 168, 168, 168, 113, 66, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 79, 168, 168, 168, 95, 113, 168, 170, 170, 170, 170, 81, 170, 170, 170, 97, 115,
168, 75, 168, 168, 168, 168, 168, 168, 168, 106, 68, 170, 170, 77, 170, 170, 170, 170, 170, 170,
168, 168, 168, 168, 168, 168, 168, 168, 120, 168, 170, 108, 170, 170, 170, 170, 170, 170, 170, 170,
168, 168, 168, 60, 168, 168, 168, 168, 168, 168, 122, 170, 170, 170, 170, 60, 170, 170, 170, 170,
168, 168, 168, 168, 107, 96, 168, 97, 168, 168, 170, 170, 170, 170, 170, 170, 170, 109, 98, 170,
121, 168, 168, 67, 168, 168, 168, 168, 168, 168, 99, 170, 170, 123, 170, 170, 67, 170, 170, 170,
168, 168, 168, 168, 168, 108, 168, 122, 168, 168, 170, 170, 170, 170, 170, 170, 170, 170, 110, 170,
98, 99, 168, 102, 168, 103, 168, 168, 168, 168, 124, 170, 170, 69, 100, 101, 170, 104, 170, 105,
76, 168, 168, 168, 65, 168, 63, 117, 168, 100, 170, 170, 170, 170, 78, 170, 170, 170, 65, 170,
101, 168, 168, 168, 168, 168, 168, 168, 168, 115, 63, 119, 170, 102, 103, 170, 170, 170, 170, 170,
118, 109, 168, 168, 168, 168, 168, 168, 168, 116, 170, 170, 170, 117, 120, 111, 170, 170, 170, 170,
119, 168, 168, 112, 168, 168, 162, 168, 168, 64, 170, 170, 170, 118, 121, 170, 170, 114, 170, 170,
168, 114, 168, 168, 168, 168, 168, 123, 168, 168, 164, 170, 170, 64, 170, 116, 170, 170, 170, 170,
168, 168, 168, 124, 168, 168, 168, 125, 104, 105, 170, 125, 170, 170, 170, 170, 170, 126, 170, 170,
168, 168, 61, 168, 163, 110, 0 170, 127, 106, 107, 170, 170, 61, 170, 165, 112,
0
} ; } ;
static yyconst flex_int32_t yy_ec[256] = static yyconst flex_int32_t yy_ec[256] =
...@@ -526,187 +527,187 @@ static yyconst flex_int32_t yy_meta[73] = ...@@ -526,187 +527,187 @@ static yyconst flex_int32_t yy_meta[73] =
1, 1 1, 1
} ; } ;
static yyconst flex_int16_t yy_base[782] = static yyconst flex_int16_t yy_base[786] =
{ 0, { 0,
0, 0, 906, 907, 907, 907, 880, 48, 69, 907, 0, 0, 910, 911, 911, 911, 884, 48, 69, 911,
907, 879, 66, 907, 65, 63, 878, 82, 136, 876, 911, 883, 66, 911, 65, 63, 882, 82, 136, 880,
907, 82, 876, 60, 907, 0, 907, 907, 67, 58, 911, 82, 880, 60, 911, 0, 911, 911, 67, 58,
51, 68, 75, 61, 105, 842, 114, 79, 67, 44, 51, 68, 75, 61, 105, 846, 114, 79, 67, 44,
89, 836, 101, 849, 121, 127, 136, 143, 36, 907, 89, 840, 101, 853, 121, 127, 136, 143, 36, 911,
112, 907, 907, 907, 907, 907, 907, 907, 907, 907, 112, 911, 911, 911, 911, 911, 911, 911, 911, 911,
907, 907, 907, 158, 907, 163, 163, 0, 199, 907, 911, 911, 911, 158, 911, 163, 163, 0, 199, 911,
0, 907, 907, 907, 872, 907, 907, 907, 871, 0, 0, 911, 911, 911, 876, 911, 911, 911, 875, 0,
907, 907, 833, 838, 80, 835, 843, 842, 829, 832, 911, 911, 837, 842, 80, 839, 847, 846, 833, 836,
843, 171, 837, 825, 822, 835, 822, 819, 819, 825, 847, 171, 841, 829, 826, 839, 826, 823, 823, 829,
75, 176, 819, 829, 815, 821, 824, 825, 0, 817, 75, 176, 823, 833, 819, 825, 828, 829, 0, 821,
827, 177, 826, 821, 802, 105, 806, 819, 810, 112, 831, 177, 830, 825, 806, 105, 810, 823, 814, 112,
803, 178, 815, 817, 185, 806, 803, 792, 801, 177, 807, 178, 819, 821, 185, 810, 807, 796, 805, 177,
185, 805, 801, 803, 792, 795, 124, 145, 197, 804, 185, 809, 805, 807, 796, 799, 124, 145, 197, 808,
792, 804, 190, 797, 796, 907, 907, 239, 907, 220, 796, 808, 190, 801, 800, 911, 911, 239, 911, 220,
256, 907, 907, 263, 270, 185, 907, 907, 795, 0, 256, 911, 911, 263, 270, 185, 911, 911, 799, 0,
791, 786, 790, 799, 796, 243, 780, 780, 791, 783, 795, 790, 794, 803, 800, 243, 784, 784, 795, 787,
143, 793, 790, 790, 788, 785, 777, 783, 770, 768, 143, 797, 794, 794, 792, 789, 781, 787, 774, 772,
780, 766, 782, 0, 779, 767, 774, 771, 775, 776, 784, 770, 786, 0, 783, 771, 778, 775, 779, 780,
769, 766, 755, 754, 767, 770, 758, 766, 754, 760, 773, 770, 759, 758, 771, 774, 762, 770, 758, 764,
751, 244, 756, 759, 750, 757, 746, 750, 741, 755, 755, 244, 760, 763, 754, 761, 750, 754, 745, 759,
754, 745, 751, 235, 735, 738, 736, 746, 736, 731, 758, 749, 755, 235, 739, 742, 740, 750, 740, 735,
729, 731, 741, 727, 729, 726, 737, 736, 739, 721, 733, 735, 745, 731, 733, 730, 741, 740, 743, 725,
244, 729, 725, 723, 732, 711, 281, 729, 731, 720, 244, 733, 729, 727, 736, 715, 281, 733, 735, 724,
712, 291, 298, 306, 317, 907, 907, 709, 719, 718, 716, 291, 298, 306, 317, 911, 911, 713, 723, 722,
0, 716, 311, 0, 0, 709, 707, 707, 708, 703, 0, 720, 311, 0, 0, 713, 711, 711, 712, 707,
711, 700, 717, 706, 322, 0, 0, 700, 710, 709, 715, 704, 721, 710, 322, 0, 0, 704, 714, 713,
709, 0, 694, 325, 0, 0, 696, 328, 703, 704, 713, 0, 698, 325, 0, 0, 700, 328, 707, 708,
695, 689, 688, 689, 688, 688, 334, 683, 0, 0, 699, 693, 692, 693, 692, 692, 334, 687, 0, 0,
679, 678, 677, 679, 680, 685, 679, 675, 688, 683, 683, 682, 681, 683, 684, 689, 683, 679, 692, 687,
683, 681, 680, 674, 668, 670, 669, 673, 665, 668, 687, 685, 684, 678, 672, 674, 673, 677, 669, 672,
663, 671, 676, 664, 661, 673, 664, 0, 0, 670, 667, 675, 680, 668, 665, 677, 668, 0, 0, 674,
666, 0, 658, 658, 663, 654, 661, 337, 658, 0, 670, 0, 662, 662, 667, 658, 665, 337, 662, 0,
0, 0, 0, 648, 660, 659, 658, 659, 659, 0, 0, 0, 0, 652, 664, 663, 662, 663, 663, 0,
0, 0, 0, 646, 0, 654, 645, 0, 644, 645, 0, 0, 0, 650, 0, 658, 649, 0, 648, 649,
639, 649, 0, 0, 0, 640, 0, 636, 0, 0, 643, 653, 0, 0, 0, 644, 0, 640, 0, 0,
0, 0, 0, 0, 0, 0, 0, 646, 341, 645, 0, 0, 0, 0, 0, 0, 0, 650, 341, 649,
0, 0, 643, 639, 636, 0, 0, 0, 628, 343, 0, 0, 647, 643, 640, 0, 0, 0, 632, 343,
346, 355, 633, 629, 634, 625, 623, 636, 621, 0, 346, 355, 637, 633, 638, 629, 627, 640, 625, 0,
621, 634, 623, 619, 625, 620, 627, 0, 625, 622, 625, 638, 627, 623, 629, 624, 631, 0, 629, 626,
626, 610, 608, 611, 617, 623, 618, 617, 605, 0, 630, 614, 612, 615, 621, 627, 622, 621, 609, 0,
607, 608, 0, 0, 0, 0, 605, 608, 0, 602, 611, 612, 0, 0, 0, 0, 609, 612, 0, 606,
0, 615, 595, 604, 599, 0, 592, 592, 605, 0, 0, 619, 599, 608, 603, 0, 596, 596, 609, 0,
607, 0, 359, 620, 619, 618, 585, 584, 0, 601, 611, 0, 359, 624, 623, 622, 589, 588, 0, 605,
600, 595, 0, 0, 0, 0, 0, 0, 0, 0, 604, 599, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 584, 597, 584, 581, 0, 0, 586, 585, 0, 0, 588, 601, 588, 585, 0, 0, 590, 589,
0, 582, 589, 588, 0, 574, 0, 0, 0, 0, 0, 586, 593, 592, 0, 578, 0, 0, 0, 0,
571, 0, 0, 570, 581, 362, 574, 580, 579, 576, 575, 0, 0, 574, 585, 362, 578, 584, 583, 580,
571, 568, 561, 561, 574, 559, 571, 0, 0, 564, 575, 572, 565, 565, 578, 563, 575, 0, 0, 568,
587, 586, 585, 552, 551, 355, 356, 0, 563, 566, 591, 590, 589, 556, 555, 355, 356, 0, 567, 570,
564, 553, 549, 0, 561, 558, 557, 547, 546, 536, 568, 557, 553, 0, 565, 562, 561, 551, 550, 540,
553, 539, 369, 547, 550, 0, 567, 566, 565, 532, 557, 543, 369, 551, 554, 0, 571, 570, 569, 536,
531, 0, 545, 532, 0, 542, 535, 536, 539, 0, 535, 0, 549, 536, 0, 546, 539, 540, 543, 0,
0, 0, 0, 559, 558, 0, 535, 538, 523, 530, 0, 0, 0, 563, 562, 0, 539, 542, 527, 534,
521, 528, 529, 529, 528, 514, 352, 526, 0, 527, 525, 532, 533, 533, 532, 518, 352, 530, 0, 531,
516, 515, 0, 0, 0, 540, 539, 538, 505, 504, 520, 519, 0, 0, 0, 544, 543, 542, 509, 508,
500, 508, 0, 536, 535, 0, 512, 515, 0, 379, 504, 512, 0, 540, 539, 0, 516, 519, 0, 379,
0, 493, 502, 0, 498, 497, 506, 506, 494, 508, 0, 497, 506, 0, 502, 501, 510, 510, 498, 512,
492, 506, 501, 0, 0, 0, 518, 517, 484, 483, 496, 510, 505, 0, 0, 0, 522, 521, 488, 487,
0, 483, 0, 0, 362, 367, 507, 493, 496, 479, 0, 487, 0, 0, 362, 367, 511, 497, 500, 483,
491, 479, 478, 487, 487, 504, 503, 470, 0, 470, 495, 483, 482, 491, 491, 508, 507, 474, 473, 0,
471, 470, 480, 0, 483, 479, 481, 477, 464, 495, 473, 474, 473, 483, 0, 486, 482, 484, 480, 467,
230, 472, 475, 467, 459, 466, 479, 467, 463, 465, 498, 230, 475, 478, 470, 462, 469, 482, 470, 466,
463, 463, 462, 0, 450, 449, 459, 0, 479, 372, 468, 466, 466, 465, 0, 453, 452, 462, 0, 482,
456, 0, 460, 459, 443, 435, 443, 433, 441, 0, 375, 459, 462, 0, 462, 461, 445, 437, 445, 435,
438, 459, 447, 445, 445, 429, 432, 446, 462, 442, 443, 0, 440, 461, 449, 447, 447, 431, 434, 448,
443, 440, 437, 0, 425, 439, 438, 422, 421, 442, 464, 444, 445, 442, 439, 0, 427, 441, 440, 424,
430, 428, 410, 409, 0, 437, 409, 435, 407, 411, 423, 444, 432, 430, 430, 411, 410, 0, 438, 410,
442, 422, 419, 0, 418, 421, 417, 404, 401, 414, 436, 408, 412, 443, 423, 420, 0, 419, 422, 418,
399, 400, 402, 391, 390, 0, 396, 427, 407, 404, 405, 402, 415, 400, 401, 403, 392, 391, 0, 397,
0, 0, 400, 0, 399, 0, 405, 389, 386, 387, 428, 408, 405, 0, 0, 0, 401, 0, 400, 0,
0, 379, 387, 384, 405, 384, 0, 0, 396, 0, 406, 390, 387, 388, 0, 380, 388, 385, 406, 385,
0, 395, 379, 376, 377, 391, 390, 367, 373, 0, 0, 0, 397, 0, 0, 396, 380, 377, 378, 392,
0, 394, 366, 385, 377, 363, 372, 359, 365, 0, 391, 368, 374, 0, 0, 395, 367, 386, 378, 364,
0, 376, 375, 0, 377, 369, 0, 353, 374, 0, 373, 360, 366, 0, 0, 377, 376, 0, 378, 370,
382, 0, 372, 358, 357, 339, 358, 0, 349, 334, 0, 354, 375, 0, 383, 0, 373, 353, 349, 339,
282, 239, 236, 0, 60, 86, 134, 0, 0, 0, 358, 0, 349, 334, 41, 79, 107, 0, 162, 175,
152, 168, 0, 199, 0, 0, 907, 408, 293, 294, 226, 0, 0, 0, 237, 231, 0, 236, 0, 0,
411 911, 411, 302, 347, 414
} ; } ;
static yyconst flex_int16_t yy_def[782] = static yyconst flex_int16_t yy_def[786] =
{ 0, { 0,
777, 1, 777, 777, 777, 777, 777, 777, 777, 777, 781, 1, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 778, 777, 777, 777, 778, 781, 781, 781, 781, 781, 782, 781, 781, 781, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 777, 782, 782, 782, 782, 782, 782, 782, 782, 782, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 779, 777, 780, 18, 19, 777, 777, 781, 781, 781, 783, 781, 784, 18, 19, 781, 781,
781, 777, 777, 777, 777, 777, 777, 777, 777, 778, 785, 781, 781, 781, 781, 781, 781, 781, 781, 782,
777, 777, 778, 778, 778, 778, 778, 778, 778, 778, 781, 781, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 777, 777, 777, 777, 780, 782, 782, 782, 782, 782, 781, 781, 781, 781, 784,
777, 777, 777, 777, 777, 781, 777, 777, 778, 778, 781, 781, 781, 781, 781, 785, 781, 781, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 777, 777, 777, 777, 777, 777, 778, 778, 778, 782, 781, 781, 781, 781, 781, 781, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
778, 778, 778, 778, 778, 778, 0, 777, 777, 777, 782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
777 0, 781, 781, 781, 781
} ; } ;
static yyconst flex_int16_t yy_nxt[980] = static yyconst flex_int16_t yy_nxt[984] =
{ 0, { 0,
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 19, 19, 19, 19, 14, 15, 16, 17, 18, 19, 19, 19, 19, 19,
...@@ -719,105 +720,106 @@ static yyconst flex_int16_t yy_nxt[980] = ...@@ -719,105 +720,106 @@ static yyconst flex_int16_t yy_nxt[980] =
64, 64, 64, 64, 78, 79, 73, 144, 117, 63, 64, 64, 64, 64, 78, 79, 73, 144, 117, 63,
61, 81, 118, 58, 66, 145, 67, 67, 67, 67, 61, 81, 118, 58, 66, 145, 67, 67, 67, 67,
67, 67, 68, 74, 83, 75, 76, 771, 86, 82, 67, 67, 68, 74, 83, 75, 76, 772, 86, 82,
87, 115, 89, 69, 88, 97, 90, 98, 84, 85, 87, 115, 89, 69, 88, 97, 90, 98, 84, 85,
70, 71, 91, 93, 116, 92, 99, 94, 109, 180, 70, 71, 91, 93, 116, 92, 99, 94, 109, 180,
69, 110, 95, 119, 111, 112, 146, 161, 96, 113, 69, 110, 95, 119, 111, 112, 146, 161, 96, 113,
181, 162, 114, 772, 70, 122, 120, 71, 66, 100, 181, 162, 114, 773, 70, 122, 120, 71, 66, 100,
68, 68, 68, 68, 68, 68, 68, 101, 106, 102, 68, 68, 68, 68, 68, 68, 68, 101, 106, 102,
123, 200, 103, 124, 205, 126, 107, 69, 104, 201, 123, 200, 103, 124, 205, 126, 107, 69, 104, 201,
206, 773, 127, 128, 70, 133, 129, 108, 134, 229, 206, 774, 127, 128, 70, 133, 129, 108, 134, 229,
230, 147, 130, 131, 69, 132, 135, 141, 137, 148, 230, 147, 130, 131, 69, 132, 135, 141, 137, 148,
149, 142, 138, 136, 151, 152, 139, 231, 70, 140, 149, 142, 138, 136, 151, 152, 139, 231, 70, 140,
143, 153, 777, 260, 261, 232, 148, 149, 154, 774, 143, 153, 781, 260, 261, 232, 148, 149, 154, 775,
154, 151, 152, 155, 155, 155, 155, 155, 155, 155, 154, 151, 152, 155, 155, 155, 155, 155, 155, 155,
182, 220, 169, 247, 208, 153, 170, 171, 777, 213, 182, 220, 169, 247, 208, 153, 170, 171, 781, 213,
222, 192, 775, 183, 193, 194, 221, 209, 195, 210, 222, 192, 776, 183, 193, 194, 221, 209, 195, 210,
196, 233, 238, 223, 239, 214, 215, 247, 242, 234, 196, 233, 238, 223, 239, 214, 215, 247, 242, 234,
242, 151, 152, 243, 243, 243, 243, 243, 243, 243, 242, 151, 152, 243, 243, 243, 243, 243, 243, 243,
291, 292, 293, 776, 652, 244, 653, 244, 151, 152, 291, 292, 293, 777, 654, 244, 655, 244, 151, 152,
245, 245, 245, 245, 245, 245, 245, 155, 155, 155, 245, 245, 245, 245, 245, 245, 245, 155, 155, 155,
155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
155, 254, 305, 323, 64, 150, 306, 330, 331, 332, 155, 254, 305, 323, 778, 779, 306, 330, 331, 332,
770, 324, 246, 769, 255, 243, 243, 243, 243, 243, 780, 324, 246, 64, 255, 243, 243, 243, 243, 243,
243, 243, 243, 243, 243, 243, 243, 243, 243, 246, 243, 243, 243, 243, 243, 243, 243, 243, 243, 246,
245, 245, 245, 245, 245, 245, 245, 341, 342, 343, 245, 245, 245, 245, 245, 245, 245, 341, 342, 343,
149, 245, 245, 245, 245, 245, 245, 245, 353, 354, 149, 245, 245, 245, 245, 245, 245, 245, 353, 354,
355, 361, 362, 363, 365, 366, 367, 149, 768, 152, 355, 361, 362, 363, 365, 366, 367, 149, 150, 152,
376, 377, 378, 414, 415, 416, 434, 435, 436, 444, 376, 377, 378, 414, 415, 416, 434, 435, 436, 444,
445, 446, 447, 448, 449, 767, 152, 587, 588, 437, 445, 446, 447, 448, 449, 771, 152, 587, 588, 437,
438, 450, 451, 452, 491, 492, 493, 517, 518, 519, 438, 450, 451, 452, 491, 492, 493, 517, 518, 519,
589, 590, 539, 541, 556, 557, 558, 494, 495, 625, 589, 590, 539, 541, 556, 557, 558, 494, 495, 626,
520, 521, 540, 542, 606, 607, 766, 559, 560, 626, 520, 521, 540, 542, 606, 607, 770, 559, 560, 627,
561, 627, 765, 628, 629, 764, 670, 608, 671, 80, 561, 628, 769, 629, 630, 768, 767, 608, 609, 672,
80, 80, 156, 156, 763, 762, 761, 760, 759, 758, 766, 673, 80, 80, 80, 156, 156, 765, 764, 763,
757, 756, 755, 754, 753, 752, 751, 750, 749, 748, 762, 761, 760, 759, 758, 757, 756, 755, 754, 753,
747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743,
737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733,
727, 726, 725, 724, 723, 722, 721, 720, 719, 718, 732, 731, 730, 729, 728, 727, 726, 725, 724, 723,
717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 722, 721, 720, 719, 718, 717, 716, 715, 714, 713,
707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703,
697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 702, 701, 700, 699, 698, 697, 696, 695, 694, 693,
687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683,
677, 676, 675, 674, 673, 672, 669, 668, 667, 666, 682, 681, 680, 679, 678, 677, 676, 675, 674, 671,
665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661,
655, 654, 651, 650, 649, 648, 647, 646, 645, 644, 660, 659, 658, 657, 656, 653, 652, 651, 650, 649,
643, 642, 641, 640, 639, 638, 637, 636, 635, 634, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639,
633, 632, 631, 630, 624, 623, 622, 621, 620, 619, 638, 637, 636, 635, 634, 633, 632, 631, 625, 624,
618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614,
605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 613, 612, 611, 610, 605, 604, 603, 602, 601, 600,
595, 594, 593, 592, 591, 586, 585, 584, 583, 582, 599, 598, 597, 596, 595, 594, 593, 592, 591, 586,
581, 580, 579, 578, 577, 576, 575, 574, 573, 572, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576,
571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566,
555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 565, 564, 563, 562, 555, 554, 553, 552, 551, 550,
545, 544, 543, 538, 537, 536, 535, 534, 533, 532, 549, 548, 547, 546, 545, 544, 543, 538, 537, 536,
531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 535, 534, 533, 532, 531, 530, 529, 528, 527, 526,
516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 525, 524, 523, 522, 516, 515, 514, 513, 512, 511,
506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501,
496, 490, 489, 488, 487, 486, 485, 484, 483, 482, 500, 499, 498, 497, 496, 490, 489, 488, 487, 486,
481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476,
471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466,
461, 460, 459, 458, 457, 456, 455, 454, 453, 443, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456,
442, 441, 440, 439, 433, 432, 431, 430, 429, 428, 455, 454, 453, 443, 442, 441, 440, 439, 433, 432,
427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422,
417, 413, 412, 411, 410, 409, 408, 407, 406, 405, 421, 420, 419, 418, 417, 413, 412, 411, 410, 409,
404, 403, 402, 401, 400, 399, 398, 397, 396, 395, 408, 407, 406, 405, 404, 403, 402, 401, 400, 399,
394, 393, 392, 391, 390, 389, 388, 387, 386, 385, 398, 397, 396, 395, 394, 393, 392, 391, 390, 389,
384, 383, 382, 381, 380, 379, 375, 374, 373, 372, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379,
371, 370, 369, 368, 364, 360, 359, 358, 357, 356, 375, 374, 373, 372, 371, 370, 369, 368, 364, 360,
352, 351, 350, 349, 348, 347, 346, 345, 344, 340, 359, 358, 357, 356, 352, 351, 350, 349, 348, 347,
339, 338, 337, 336, 335, 334, 333, 329, 328, 327, 346, 345, 344, 340, 339, 338, 337, 336, 335, 334,
326, 325, 322, 321, 320, 319, 318, 317, 316, 315, 333, 329, 328, 327, 326, 325, 322, 321, 320, 319,
314, 313, 312, 311, 310, 309, 308, 307, 304, 303, 318, 317, 316, 315, 314, 313, 312, 311, 310, 309,
302, 301, 300, 299, 298, 297, 296, 295, 294, 290, 308, 307, 304, 303, 302, 301, 300, 299, 298, 297,
289, 288, 287, 286, 285, 284, 283, 282, 281, 280, 296, 295, 294, 290, 289, 288, 287, 286, 285, 284,
279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 283, 282, 281, 280, 279, 278, 277, 276, 275, 274,
269, 268, 267, 266, 265, 264, 263, 262, 259, 258, 273, 272, 271, 270, 269, 268, 267, 266, 265, 264,
257, 256, 253, 252, 251, 250, 249, 248, 241, 240, 263, 262, 259, 258, 257, 256, 253, 252, 251, 250,
237, 236, 235, 228, 227, 226, 225, 224, 219, 218, 249, 248, 241, 240, 237, 236, 235, 228, 227, 226,
217, 216, 212, 211, 207, 204, 203, 202, 199, 198, 225, 224, 219, 218, 217, 216, 212, 211, 207, 204,
197, 191, 190, 189, 188, 187, 186, 185, 184, 179, 203, 202, 199, 198, 197, 191, 190, 189, 188, 187,
178, 177, 176, 175, 174, 173, 172, 168, 167, 166, 186, 185, 184, 179, 178, 177, 176, 175, 174, 173,
165, 164, 163, 160, 159, 158, 157, 125, 121, 105, 172, 168, 167, 166, 165, 164, 163, 160, 159, 158,
77, 72, 65, 59, 54, 777, 3, 777, 777, 777, 157, 125, 121, 105, 77, 72, 65, 59, 54, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 3, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
781, 781, 781
} ; } ;
static yyconst flex_int16_t yy_chk[980] = static yyconst flex_int16_t yy_chk[984] =
{ 0, { 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,
...@@ -841,95 +843,96 @@ static yyconst flex_int16_t yy_chk[980] = ...@@ -841,95 +843,96 @@ static yyconst flex_int16_t yy_chk[980] =
137, 51, 45, 45, 19, 45, 46, 48, 47, 64, 137, 51, 45, 45, 19, 45, 46, 48, 47, 64,
64, 48, 47, 46, 66, 66, 47, 138, 19, 47, 64, 48, 47, 46, 66, 66, 47, 138, 19, 47,
48, 67, 67, 171, 171, 138, 64, 64, 69, 771, 48, 67, 67, 171, 171, 138, 64, 64, 69, 769,
69, 66, 66, 69, 69, 69, 69, 69, 69, 69, 69, 66, 66, 69, 69, 69, 69, 69, 69, 69,
102, 130, 92, 156, 122, 67, 92, 92, 67, 125, 102, 130, 92, 156, 122, 67, 92, 92, 67, 125,
131, 112, 772, 102, 112, 112, 130, 122, 112, 122, 131, 112, 770, 102, 112, 112, 130, 122, 112, 122,
112, 139, 143, 131, 143, 125, 125, 156, 148, 139, 112, 139, 143, 131, 143, 125, 125, 156, 148, 139,
148, 150, 150, 148, 148, 148, 148, 148, 148, 148, 148, 150, 150, 148, 148, 148, 148, 148, 148, 148,
202, 202, 202, 774, 621, 151, 621, 151, 150, 150, 202, 202, 202, 771, 622, 151, 622, 151, 150, 150,
151, 151, 151, 151, 151, 151, 151, 154, 154, 154, 151, 151, 151, 151, 151, 151, 151, 154, 154, 154,
154, 154, 154, 154, 155, 155, 155, 155, 155, 155, 154, 154, 154, 154, 155, 155, 155, 155, 155, 155,
155, 166, 214, 231, 779, 780, 214, 237, 237, 237, 155, 166, 214, 231, 775, 776, 214, 237, 237, 237,
763, 231, 155, 762, 166, 242, 242, 242, 242, 242, 778, 231, 155, 783, 166, 242, 242, 242, 242, 242,
242, 242, 243, 243, 243, 243, 243, 243, 243, 155, 242, 242, 243, 243, 243, 243, 243, 243, 243, 155,
244, 244, 244, 244, 244, 244, 244, 253, 253, 253, 244, 244, 244, 244, 244, 244, 244, 253, 253, 253,
243, 245, 245, 245, 245, 245, 245, 245, 265, 265, 243, 245, 245, 245, 245, 245, 245, 245, 265, 265,
265, 274, 274, 274, 278, 278, 278, 243, 761, 245, 265, 274, 274, 274, 278, 278, 278, 243, 784, 245,
287, 287, 287, 328, 328, 328, 369, 369, 369, 380, 287, 287, 287, 328, 328, 328, 369, 369, 369, 380,
380, 380, 381, 381, 381, 760, 245, 547, 547, 369, 380, 380, 381, 381, 381, 764, 245, 547, 547, 369,
369, 382, 382, 382, 433, 433, 433, 476, 476, 476, 369, 382, 382, 382, 433, 433, 433, 476, 476, 476,
547, 547, 496, 497, 513, 513, 513, 433, 433, 595, 547, 547, 496, 497, 513, 513, 513, 433, 433, 595,
476, 476, 496, 497, 570, 570, 759, 513, 513, 595, 476, 476, 496, 497, 570, 570, 763, 513, 513, 595,
513, 596, 757, 596, 596, 756, 640, 570, 640, 778, 513, 596, 761, 596, 596, 760, 759, 570, 570, 641,
778, 778, 781, 781, 755, 754, 753, 751, 749, 748, 758, 641, 782, 782, 782, 785, 785, 757, 755, 753,
746, 745, 743, 742, 739, 738, 737, 736, 735, 734, 752, 750, 749, 747, 746, 743, 742, 741, 740, 739,
733, 732, 729, 728, 727, 726, 725, 724, 723, 722, 738, 737, 736, 733, 732, 731, 730, 729, 728, 727,
719, 716, 715, 714, 713, 712, 710, 709, 708, 707, 726, 723, 720, 719, 718, 717, 716, 714, 713, 712,
705, 703, 700, 699, 698, 697, 695, 694, 693, 692, 711, 709, 707, 703, 702, 701, 700, 698, 697, 696,
691, 690, 689, 688, 687, 686, 685, 683, 682, 681, 695, 694, 693, 692, 691, 690, 689, 688, 686, 685,
680, 679, 678, 677, 676, 674, 673, 672, 671, 670, 684, 683, 682, 681, 680, 679, 677, 676, 675, 674,
669, 668, 667, 666, 665, 663, 662, 661, 660, 659, 673, 672, 671, 670, 669, 668, 667, 665, 664, 663,
658, 657, 656, 655, 654, 653, 652, 651, 649, 648, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653,
647, 646, 645, 644, 643, 641, 639, 637, 636, 635, 651, 650, 649, 648, 647, 646, 645, 643, 642, 640,
633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 638, 637, 636, 634, 633, 632, 631, 630, 629, 628,
623, 622, 620, 619, 618, 617, 616, 615, 613, 612, 627, 626, 625, 624, 623, 621, 620, 619, 618, 617,
611, 610, 608, 607, 606, 605, 604, 603, 602, 601, 616, 614, 613, 612, 611, 609, 608, 607, 606, 605,
600, 599, 598, 597, 592, 590, 589, 588, 587, 583, 604, 603, 602, 601, 600, 599, 598, 597, 592, 590,
582, 581, 580, 579, 578, 577, 576, 575, 573, 572, 589, 588, 587, 583, 582, 581, 580, 579, 578, 577,
568, 567, 565, 564, 562, 561, 560, 559, 558, 557, 576, 575, 573, 572, 568, 567, 565, 564, 562, 561,
556, 552, 551, 550, 548, 546, 545, 544, 543, 542, 560, 559, 558, 557, 556, 552, 551, 550, 548, 546,
541, 540, 539, 538, 537, 535, 534, 529, 528, 527, 545, 544, 543, 542, 541, 540, 539, 538, 537, 535,
526, 524, 523, 521, 520, 519, 518, 517, 515, 514, 534, 529, 528, 527, 526, 524, 523, 521, 520, 519,
512, 511, 510, 509, 508, 507, 506, 505, 503, 502, 518, 517, 515, 514, 512, 511, 510, 509, 508, 507,
501, 500, 499, 495, 494, 493, 492, 491, 490, 487, 506, 505, 503, 502, 501, 500, 499, 495, 494, 493,
486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 492, 491, 490, 487, 486, 485, 484, 483, 482, 481,
475, 474, 471, 466, 464, 463, 462, 460, 459, 456, 480, 479, 478, 477, 475, 474, 471, 466, 464, 463,
455, 454, 453, 442, 441, 440, 438, 437, 436, 435, 462, 460, 459, 456, 455, 454, 453, 442, 441, 440,
434, 431, 429, 428, 427, 425, 424, 423, 422, 420, 438, 437, 436, 435, 434, 431, 429, 428, 427, 425,
418, 417, 412, 411, 409, 408, 407, 406, 405, 404, 424, 423, 422, 420, 418, 417, 412, 411, 409, 408,
403, 402, 401, 400, 399, 397, 396, 395, 394, 393, 407, 406, 405, 404, 403, 402, 401, 400, 399, 397,
392, 391, 389, 388, 387, 386, 385, 384, 383, 379, 396, 395, 394, 393, 392, 391, 389, 388, 387, 386,
375, 374, 373, 370, 368, 358, 356, 352, 351, 350, 385, 384, 383, 379, 375, 374, 373, 370, 368, 358,
349, 347, 346, 344, 339, 338, 337, 336, 335, 334, 356, 352, 351, 350, 349, 347, 346, 344, 339, 338,
329, 327, 326, 325, 324, 323, 321, 320, 317, 316, 337, 336, 335, 334, 329, 327, 326, 325, 324, 323,
315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 321, 320, 317, 316, 315, 314, 313, 312, 311, 310,
305, 304, 303, 302, 301, 300, 299, 298, 297, 296, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300,
295, 294, 293, 292, 291, 288, 286, 285, 284, 283, 299, 298, 297, 296, 295, 294, 293, 292, 291, 288,
282, 281, 280, 279, 277, 273, 271, 270, 269, 268, 286, 285, 284, 283, 282, 281, 280, 279, 277, 273,
264, 263, 262, 261, 260, 259, 258, 257, 256, 252, 271, 270, 269, 268, 264, 263, 262, 261, 260, 259,
250, 249, 248, 241, 240, 239, 238, 236, 235, 234, 258, 257, 256, 252, 250, 249, 248, 241, 240, 239,
233, 232, 230, 229, 228, 227, 226, 225, 224, 223, 238, 236, 235, 234, 233, 232, 230, 229, 228, 227,
222, 221, 220, 219, 218, 217, 216, 215, 213, 212, 226, 225, 224, 223, 222, 221, 220, 219, 218, 217,
211, 210, 209, 208, 207, 206, 205, 204, 203, 201, 216, 215, 213, 212, 211, 210, 209, 208, 207, 206,
200, 199, 198, 197, 196, 195, 194, 193, 192, 191, 205, 204, 203, 201, 200, 199, 198, 197, 196, 195,
190, 189, 188, 187, 186, 185, 183, 182, 181, 180, 194, 193, 192, 191, 190, 189, 188, 187, 186, 185,
179, 178, 177, 176, 175, 174, 173, 172, 170, 169, 183, 182, 181, 180, 179, 178, 177, 176, 175, 174,
168, 167, 165, 164, 163, 162, 161, 159, 145, 144, 173, 172, 170, 169, 168, 167, 165, 164, 163, 162,
142, 141, 140, 136, 135, 134, 133, 132, 129, 128, 161, 159, 145, 144, 142, 141, 140, 136, 135, 134,
127, 126, 124, 123, 121, 119, 118, 117, 115, 114, 133, 132, 129, 128, 127, 126, 124, 123, 121, 119,
113, 111, 110, 108, 107, 106, 105, 104, 103, 100, 118, 117, 115, 114, 113, 111, 110, 108, 107, 106,
99, 98, 97, 96, 95, 94, 93, 91, 90, 89, 105, 104, 103, 100, 99, 98, 97, 96, 95, 94,
88, 87, 86, 84, 83, 79, 75, 44, 42, 36, 93, 91, 90, 89, 88, 87, 86, 84, 83, 79,
23, 20, 17, 12, 7, 3, 777, 777, 777, 777, 75, 44, 42, 36, 23, 20, 17, 12, 7, 3,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
777, 777, 777, 777, 777, 777, 777, 777, 777 781, 781, 781, 781, 781, 781, 781, 781, 781, 781,
781, 781, 781
} ; } ;
/* Table of booleans, true if rule could match eol. */ /* Table of booleans, true if rule could match eol. */
static yyconst flex_int32_t yy_rule_can_match_eol[229] = static yyconst flex_int32_t yy_rule_can_match_eol[231] =
{ 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,
...@@ -942,7 +945,7 @@ static yyconst flex_int32_t yy_rule_can_match_eol[229] = ...@@ -942,7 +945,7 @@ static yyconst flex_int32_t yy_rule_can_match_eol[229] =
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, 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, 0, 0, 1, 0, 0, };
/* The intent behind this definition is that it'll catch /* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed. * any uses of REJECT which flex missed.
...@@ -1264,13 +1267,13 @@ yy_match: ...@@ -1264,13 +1267,13 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != 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]; yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 778 ) if ( yy_current_state >= 782 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp; ++yy_cp;
} }
while ( yy_current_state != 777 ); while ( yy_current_state != 781 );
yy_cp = yyg->yy_last_accepting_cpos; yy_cp = yyg->yy_last_accepting_cpos;
yy_current_state = yyg->yy_last_accepting_state; yy_current_state = yyg->yy_last_accepting_state;
...@@ -1572,15 +1575,21 @@ YY_RULE_SETUP ...@@ -1572,15 +1575,21 @@ YY_RULE_SETUP
YY_BREAK YY_BREAK
case 68: case 68:
YY_RULE_SETUP YY_RULE_SETUP
{ return STRUCT; } { return ES2_ident_ES3_keyword(context, USAMPLER2D); }
YY_BREAK YY_BREAK
case 69: case 69:
YY_RULE_SETUP YY_RULE_SETUP
{ return ES2_ident_ES3_keyword(context, LAYOUT); } { return ES2_ident_ES3_keyword(context, USAMPLERCUBE); }
YY_BREAK YY_BREAK
/* Reserved keywords for GLSL ES 3.00 that are not reserved for GLSL ES 1.00 */
case 70: case 70:
YY_RULE_SETUP
{ return STRUCT; }
YY_BREAK
case 71: case 71:
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 72: case 72:
case 73: case 73:
case 74: case 74:
...@@ -1635,6 +1644,8 @@ case 122: ...@@ -1635,6 +1644,8 @@ case 122:
case 123: case 123:
case 124: case 124:
case 125: case 125:
case 126:
case 127:
YY_RULE_SETUP YY_RULE_SETUP
{ {
if (context->shaderVersion < 300) { if (context->shaderVersion < 300) {
...@@ -1645,7 +1656,7 @@ YY_RULE_SETUP ...@@ -1645,7 +1656,7 @@ YY_RULE_SETUP
} }
YY_BREAK YY_BREAK
/* Reserved keywords in GLSL ES 1.00 that are not reserved in GLSL ES 3.00 */ /* Reserved keywords in GLSL ES 1.00 that are not reserved in GLSL ES 3.00 */
case 126: case 128:
YY_RULE_SETUP YY_RULE_SETUP
{ {
if (context->shaderVersion >= 300) if (context->shaderVersion >= 300)
...@@ -1658,8 +1669,6 @@ YY_RULE_SETUP ...@@ -1658,8 +1669,6 @@ YY_RULE_SETUP
} }
YY_BREAK YY_BREAK
/* Reserved keywords */ /* Reserved keywords */
case 127:
case 128:
case 129: case 129:
case 130: case 130:
case 131: case 131:
...@@ -1699,257 +1708,259 @@ case 164: ...@@ -1699,257 +1708,259 @@ case 164:
case 165: case 165:
case 166: case 166:
case 167: case 167:
case 168:
case 169:
YY_RULE_SETUP YY_RULE_SETUP
{ return reserved_word(yyscanner); } { return reserved_word(yyscanner); }
YY_BREAK YY_BREAK
case 168: case 170:
YY_RULE_SETUP YY_RULE_SETUP
{ {
yylval->lex.string = NewPoolTString(yytext); yylval->lex.string = NewPoolTString(yytext);
return check_type(yyscanner); return check_type(yyscanner);
} }
YY_BREAK YY_BREAK
case 169: case 171:
YY_RULE_SETUP YY_RULE_SETUP
{ yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; } { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
YY_BREAK YY_BREAK
case 170: case 172:
YY_RULE_SETUP YY_RULE_SETUP
{ yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; } { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
YY_BREAK YY_BREAK
case 171: case 173:
YY_RULE_SETUP YY_RULE_SETUP
{ yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; } { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
YY_BREAK YY_BREAK
case 172: case 174:
YY_RULE_SETUP YY_RULE_SETUP
{ return uint_constant(context); } { return uint_constant(context); }
YY_BREAK YY_BREAK
case 173: case 175:
YY_RULE_SETUP YY_RULE_SETUP
{ return uint_constant(context); } { return uint_constant(context); }
YY_BREAK YY_BREAK
case 174: case 176:
YY_RULE_SETUP YY_RULE_SETUP
{ return uint_constant(context); } { return uint_constant(context); }
YY_BREAK YY_BREAK
case 175: case 177:
YY_RULE_SETUP YY_RULE_SETUP
{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; } { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
YY_BREAK YY_BREAK
case 176: case 178:
YY_RULE_SETUP YY_RULE_SETUP
{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; } { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
YY_BREAK YY_BREAK
case 177: case 179:
YY_RULE_SETUP YY_RULE_SETUP
{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; } { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
YY_BREAK YY_BREAK
case 178: case 180:
YY_RULE_SETUP YY_RULE_SETUP
{ return floatsuffix_check(context); } { return floatsuffix_check(context); }
YY_BREAK YY_BREAK
case 179: case 181:
YY_RULE_SETUP YY_RULE_SETUP
{ return floatsuffix_check(context); } { return floatsuffix_check(context); }
YY_BREAK YY_BREAK
case 180: case 182:
YY_RULE_SETUP YY_RULE_SETUP
{ return floatsuffix_check(context); } { return floatsuffix_check(context); }
YY_BREAK YY_BREAK
case 181: case 183:
YY_RULE_SETUP YY_RULE_SETUP
{ return ADD_ASSIGN; } { return ADD_ASSIGN; }
YY_BREAK YY_BREAK
case 182: case 184:
YY_RULE_SETUP YY_RULE_SETUP
{ return SUB_ASSIGN; } { return SUB_ASSIGN; }
YY_BREAK YY_BREAK
case 183: case 185:
YY_RULE_SETUP YY_RULE_SETUP
{ return MUL_ASSIGN; } { return MUL_ASSIGN; }
YY_BREAK YY_BREAK
case 184: case 186:
YY_RULE_SETUP YY_RULE_SETUP
{ return DIV_ASSIGN; } { return DIV_ASSIGN; }
YY_BREAK YY_BREAK
case 185: case 187:
YY_RULE_SETUP YY_RULE_SETUP
{ return MOD_ASSIGN; } { return MOD_ASSIGN; }
YY_BREAK YY_BREAK
case 186: case 188:
YY_RULE_SETUP YY_RULE_SETUP
{ return LEFT_ASSIGN; } { return LEFT_ASSIGN; }
YY_BREAK YY_BREAK
case 187: case 189:
YY_RULE_SETUP YY_RULE_SETUP
{ return RIGHT_ASSIGN; } { return RIGHT_ASSIGN; }
YY_BREAK YY_BREAK
case 188: case 190:
YY_RULE_SETUP YY_RULE_SETUP
{ return AND_ASSIGN; } { return AND_ASSIGN; }
YY_BREAK YY_BREAK
case 189: case 191:
YY_RULE_SETUP YY_RULE_SETUP
{ return XOR_ASSIGN; } { return XOR_ASSIGN; }
YY_BREAK YY_BREAK
case 190: case 192:
YY_RULE_SETUP YY_RULE_SETUP
{ return OR_ASSIGN; } { return OR_ASSIGN; }
YY_BREAK YY_BREAK
case 191: case 193:
YY_RULE_SETUP YY_RULE_SETUP
{ return INC_OP; } { return INC_OP; }
YY_BREAK YY_BREAK
case 192: case 194:
YY_RULE_SETUP YY_RULE_SETUP
{ return DEC_OP; } { return DEC_OP; }
YY_BREAK YY_BREAK
case 193: case 195:
YY_RULE_SETUP YY_RULE_SETUP
{ return AND_OP; } { return AND_OP; }
YY_BREAK YY_BREAK
case 194: case 196:
YY_RULE_SETUP YY_RULE_SETUP
{ return OR_OP; } { return OR_OP; }
YY_BREAK YY_BREAK
case 195: case 197:
YY_RULE_SETUP YY_RULE_SETUP
{ return XOR_OP; } { return XOR_OP; }
YY_BREAK YY_BREAK
case 196: case 198:
YY_RULE_SETUP YY_RULE_SETUP
{ return LE_OP; } { return LE_OP; }
YY_BREAK YY_BREAK
case 197: case 199:
YY_RULE_SETUP YY_RULE_SETUP
{ return GE_OP; } { return GE_OP; }
YY_BREAK YY_BREAK
case 198: case 200:
YY_RULE_SETUP YY_RULE_SETUP
{ return EQ_OP; } { return EQ_OP; }
YY_BREAK YY_BREAK
case 199: case 201:
YY_RULE_SETUP YY_RULE_SETUP
{ return NE_OP; } { return NE_OP; }
YY_BREAK YY_BREAK
case 200: case 202:
YY_RULE_SETUP YY_RULE_SETUP
{ return LEFT_OP; } { return LEFT_OP; }
YY_BREAK YY_BREAK
case 201: case 203:
YY_RULE_SETUP YY_RULE_SETUP
{ return RIGHT_OP; } { return RIGHT_OP; }
YY_BREAK YY_BREAK
case 202: case 204:
YY_RULE_SETUP YY_RULE_SETUP
{ return SEMICOLON; } { return SEMICOLON; }
YY_BREAK YY_BREAK
case 203: case 205:
YY_RULE_SETUP YY_RULE_SETUP
{ return LEFT_BRACE; } { return LEFT_BRACE; }
YY_BREAK YY_BREAK
case 204: case 206:
YY_RULE_SETUP YY_RULE_SETUP
{ return RIGHT_BRACE; } { return RIGHT_BRACE; }
YY_BREAK YY_BREAK
case 205: case 207:
YY_RULE_SETUP YY_RULE_SETUP
{ return COMMA; } { return COMMA; }
YY_BREAK YY_BREAK
case 206: case 208:
YY_RULE_SETUP YY_RULE_SETUP
{ return COLON; } { return COLON; }
YY_BREAK YY_BREAK
case 207: case 209:
YY_RULE_SETUP YY_RULE_SETUP
{ return EQUAL; } { return EQUAL; }
YY_BREAK YY_BREAK
case 208: case 210:
YY_RULE_SETUP YY_RULE_SETUP
{ return LEFT_PAREN; } { return LEFT_PAREN; }
YY_BREAK YY_BREAK
case 209: case 211:
YY_RULE_SETUP YY_RULE_SETUP
{ return RIGHT_PAREN; } { return RIGHT_PAREN; }
YY_BREAK YY_BREAK
case 210: case 212:
YY_RULE_SETUP YY_RULE_SETUP
{ return LEFT_BRACKET; } { return LEFT_BRACKET; }
YY_BREAK YY_BREAK
case 211: case 213:
YY_RULE_SETUP YY_RULE_SETUP
{ return RIGHT_BRACKET; } { return RIGHT_BRACKET; }
YY_BREAK YY_BREAK
case 212: case 214:
YY_RULE_SETUP YY_RULE_SETUP
{ return DOT; } { return DOT; }
YY_BREAK YY_BREAK
case 213: case 215:
YY_RULE_SETUP YY_RULE_SETUP
{ return BANG; } { return BANG; }
YY_BREAK YY_BREAK
case 214: case 216:
YY_RULE_SETUP YY_RULE_SETUP
{ return DASH; } { return DASH; }
YY_BREAK YY_BREAK
case 215: case 217:
YY_RULE_SETUP YY_RULE_SETUP
{ return TILDE; } { return TILDE; }
YY_BREAK YY_BREAK
case 216: case 218:
YY_RULE_SETUP YY_RULE_SETUP
{ return PLUS; } { return PLUS; }
YY_BREAK YY_BREAK
case 217: case 219:
YY_RULE_SETUP YY_RULE_SETUP
{ return STAR; } { return STAR; }
YY_BREAK YY_BREAK
case 218: case 220:
YY_RULE_SETUP YY_RULE_SETUP
{ return SLASH; } { return SLASH; }
YY_BREAK YY_BREAK
case 219: case 221:
YY_RULE_SETUP YY_RULE_SETUP
{ return PERCENT; } { return PERCENT; }
YY_BREAK YY_BREAK
case 220: case 222:
YY_RULE_SETUP YY_RULE_SETUP
{ return LEFT_ANGLE; } { return LEFT_ANGLE; }
YY_BREAK YY_BREAK
case 221: case 223:
YY_RULE_SETUP YY_RULE_SETUP
{ return RIGHT_ANGLE; } { return RIGHT_ANGLE; }
YY_BREAK YY_BREAK
case 222: case 224:
YY_RULE_SETUP YY_RULE_SETUP
{ return VERTICAL_BAR; } { return VERTICAL_BAR; }
YY_BREAK YY_BREAK
case 223: case 225:
YY_RULE_SETUP YY_RULE_SETUP
{ return CARET; } { return CARET; }
YY_BREAK YY_BREAK
case 224: case 226:
YY_RULE_SETUP YY_RULE_SETUP
{ return AMPERSAND; } { return AMPERSAND; }
YY_BREAK YY_BREAK
case 225: case 227:
YY_RULE_SETUP YY_RULE_SETUP
{ return QUESTION; } { return QUESTION; }
YY_BREAK YY_BREAK
case 226: case 228:
/* rule 226 can match eol */ /* rule 228 can match eol */
YY_RULE_SETUP YY_RULE_SETUP
{ } { }
YY_BREAK YY_BREAK
case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(INITIAL):
{ yyterminate(); } { yyterminate(); }
YY_BREAK YY_BREAK
case 227: case 229:
YY_RULE_SETUP YY_RULE_SETUP
{ assert(false); return 0; } { assert(false); return 0; }
YY_BREAK YY_BREAK
case 228: case 230:
YY_RULE_SETUP YY_RULE_SETUP
ECHO; ECHO;
YY_BREAK YY_BREAK
...@@ -2245,7 +2256,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner) ...@@ -2245,7 +2256,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != 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]; yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 778 ) if ( yy_current_state >= 782 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
...@@ -2274,11 +2285,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner) ...@@ -2274,11 +2285,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != 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]; yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 778 ) if ( yy_current_state >= 782 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 777); yy_is_jam = (yy_current_state == 781);
return yy_is_jam ? 0 : yy_current_state; return yy_is_jam ? 0 : yy_current_state;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -106,62 +106,64 @@ extern int yydebug; ...@@ -106,62 +106,64 @@ extern int yydebug;
SAMPLER2DRECT = 315, SAMPLER2DRECT = 315,
ISAMPLER2D = 316, ISAMPLER2D = 316,
ISAMPLERCUBE = 317, ISAMPLERCUBE = 317,
SAMPLER3D = 318, USAMPLER2D = 318,
SAMPLER3DRECT = 319, USAMPLERCUBE = 319,
SAMPLER2DSHADOW = 320, SAMPLER3D = 320,
LAYOUT = 321, SAMPLER3DRECT = 321,
IDENTIFIER = 322, SAMPLER2DSHADOW = 322,
TYPE_NAME = 323, LAYOUT = 323,
FLOATCONSTANT = 324, IDENTIFIER = 324,
INTCONSTANT = 325, TYPE_NAME = 325,
UINTCONSTANT = 326, FLOATCONSTANT = 326,
BOOLCONSTANT = 327, INTCONSTANT = 327,
FIELD_SELECTION = 328, UINTCONSTANT = 328,
LEFT_OP = 329, BOOLCONSTANT = 329,
RIGHT_OP = 330, FIELD_SELECTION = 330,
INC_OP = 331, LEFT_OP = 331,
DEC_OP = 332, RIGHT_OP = 332,
LE_OP = 333, INC_OP = 333,
GE_OP = 334, DEC_OP = 334,
EQ_OP = 335, LE_OP = 335,
NE_OP = 336, GE_OP = 336,
AND_OP = 337, EQ_OP = 337,
OR_OP = 338, NE_OP = 338,
XOR_OP = 339, AND_OP = 339,
MUL_ASSIGN = 340, OR_OP = 340,
DIV_ASSIGN = 341, XOR_OP = 341,
ADD_ASSIGN = 342, MUL_ASSIGN = 342,
MOD_ASSIGN = 343, DIV_ASSIGN = 343,
LEFT_ASSIGN = 344, ADD_ASSIGN = 344,
RIGHT_ASSIGN = 345, MOD_ASSIGN = 345,
AND_ASSIGN = 346, LEFT_ASSIGN = 346,
XOR_ASSIGN = 347, RIGHT_ASSIGN = 347,
OR_ASSIGN = 348, AND_ASSIGN = 348,
SUB_ASSIGN = 349, XOR_ASSIGN = 349,
LEFT_PAREN = 350, OR_ASSIGN = 350,
RIGHT_PAREN = 351, SUB_ASSIGN = 351,
LEFT_BRACKET = 352, LEFT_PAREN = 352,
RIGHT_BRACKET = 353, RIGHT_PAREN = 353,
LEFT_BRACE = 354, LEFT_BRACKET = 354,
RIGHT_BRACE = 355, RIGHT_BRACKET = 355,
DOT = 356, LEFT_BRACE = 356,
COMMA = 357, RIGHT_BRACE = 357,
COLON = 358, DOT = 358,
EQUAL = 359, COMMA = 359,
SEMICOLON = 360, COLON = 360,
BANG = 361, EQUAL = 361,
DASH = 362, SEMICOLON = 362,
TILDE = 363, BANG = 363,
PLUS = 364, DASH = 364,
STAR = 365, TILDE = 365,
SLASH = 366, PLUS = 366,
PERCENT = 367, STAR = 367,
LEFT_ANGLE = 368, SLASH = 368,
RIGHT_ANGLE = 369, PERCENT = 369,
VERTICAL_BAR = 370, LEFT_ANGLE = 370,
CARET = 371, RIGHT_ANGLE = 371,
AMPERSAND = 372, VERTICAL_BAR = 372,
QUESTION = 373 CARET = 373,
AMPERSAND = 374,
QUESTION = 375
}; };
#endif #endif
......
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