Commit d273c273 by Nicolas Capens Committed by Shannon Woods

Add integer samplers to the lexer/parser.

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