Commit 28043ba7 by Nicolas Capens Committed by Shannon Woods

Add 3D samplers to the lexer/parser.

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