diff options
Diffstat (limited to 'dist/Mesa/src/glsl/glsl_lexer.cpp')
-rw-r--r-- | dist/Mesa/src/glsl/glsl_lexer.cpp | 2068 |
1 files changed, 1082 insertions, 986 deletions
diff --git a/dist/Mesa/src/glsl/glsl_lexer.cpp b/dist/Mesa/src/glsl/glsl_lexer.cpp index a41913a78..230494fb6 100644 --- a/dist/Mesa/src/glsl/glsl_lexer.cpp +++ b/dist/Mesa/src/glsl/glsl_lexer.cpp @@ -9,7 +9,7 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 35 +#define YY_FLEX_SUBMINOR_VERSION 39 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -179,11 +179,17 @@ typedef void* yyscan_t; typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) + #define YY_LINENO_REWIND_TO(ptr) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ @@ -201,11 +207,6 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE; #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner ) -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state @@ -223,7 +224,7 @@ struct yy_buffer_state /* Number of characters read into yy_ch_buf, not including EOB * characters. */ - int yy_n_chars; + yy_size_t yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to @@ -302,7 +303,7 @@ static void _mesa_glsl_lexer__init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_ YY_BUFFER_STATE _mesa_glsl_lexer__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner ); YY_BUFFER_STATE _mesa_glsl_lexer__scan_string (yyconst char *yy_str ,yyscan_t yyscanner ); -YY_BUFFER_STATE _mesa_glsl_lexer__scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner ); +YY_BUFFER_STATE _mesa_glsl_lexer__scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner ); void *_mesa_glsl_lexer_alloc (yy_size_t ,yyscan_t yyscanner ); void *_mesa_glsl_lexer_realloc (void *,yy_size_t ,yyscan_t yyscanner ); @@ -334,7 +335,7 @@ void _mesa_glsl_lexer_free (void * ,yyscan_t yyscanner ); /* Begin user sect3 */ -#define _mesa_glsl_lexer_wrap(n) 1 +#define _mesa_glsl_lexer_wrap(yyscanner) 1 #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; @@ -358,8 +359,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner ); *yy_cp = '\0'; \ yyg->yy_c_buf_p = yy_cp; -#define YY_NUM_RULES 234 -#define YY_END_OF_BUFFER 235 +#define YY_NUM_RULES 246 +#define YY_END_OF_BUFFER 247 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -367,113 +368,119 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[960] = +static yyconst flex_int16_t yy_accept[1008] = { 0, - 0, 0, 16, 16, 0, 0, 235, 233, 1, 21, - 233, 233, 233, 233, 233, 233, 233, 233, 131, 129, - 233, 233, 233, 232, 233, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 233, 1, 233, 234, 16, - 20, 234, 19, 17, 18, 14, 13, 1, 113, 122, - 114, 125, 119, 108, 121, 109, 128, 133, 120, 134, - 131, 0, 0, 136, 131, 0, 129, 129, 117, 110, - 112, 111, 118, 232, 126, 116, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 30, 232, - - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 34, 232, 232, 61, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 127, 115, 1, 0, 0, 2, 0, 0, 0, 0, - 16, 15, 19, 18, 0, 133, 132, 0, 134, 0, - 135, 130, 123, 124, 232, 139, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 33, - - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 26, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 62, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 0, 0, - 0, 0, 15, 0, 133, 0, 132, 0, 134, 135, - 130, 232, 232, 232, 24, 232, 232, 186, 179, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 32, - 142, 232, 232, 232, 232, 68, 232, 232, 147, 161, - - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 158, 182, 49, 50, 51, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 145, 137, 232, 232, 27, 232, 232, 232, - 232, 232, 232, 232, 46, 47, 48, 106, 232, 232, - 232, 0, 0, 0, 0, 0, 132, 232, 232, 232, - 28, 37, 38, 39, 232, 140, 232, 232, 23, 232, - 232, 232, 232, 169, 170, 171, 232, 138, 232, 162, - 25, 172, 173, 174, 184, 166, 167, 168, 232, 232, - - 232, 63, 164, 232, 232, 232, 40, 41, 42, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 229, 232, 232, 232, 232, 232, 232, 232, 232, 159, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 232, 141, 232, 232, 181, 43, 44, 45, 232, 232, - 31, 232, 0, 0, 0, 0, 189, 232, 232, 232, - 232, 187, 232, 232, 232, 160, 155, 192, 232, 232, - 232, 232, 232, 232, 150, 232, 232, 232, 107, 52, - 53, 54, 55, 56, 57, 58, 59, 60, 232, 232, - 232, 232, 165, 146, 232, 232, 153, 232, 232, 232, - - 36, 232, 230, 178, 69, 154, 105, 232, 190, 148, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 0, - 0, 0, 0, 232, 232, 232, 232, 232, 149, 35, - 232, 232, 232, 232, 232, 232, 193, 194, 195, 232, - 232, 232, 232, 232, 183, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 143, 232, 232, - 232, 232, 232, 64, 232, 232, 65, 232, 232, 0, - 0, 0, 0, 0, 232, 232, 66, 223, 29, 156, - 197, 198, 199, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 151, 232, 232, 232, 225, - - 227, 224, 232, 232, 232, 232, 232, 232, 232, 232, - 144, 201, 202, 203, 232, 232, 163, 232, 152, 232, - 0, 0, 6, 0, 0, 0, 12, 3, 232, 22, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 196, - 157, 67, 232, 232, 232, 232, 232, 180, 232, 188, - 185, 218, 71, 72, 73, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 226, 0, - 0, 0, 0, 0, 0, 0, 232, 232, 232, 232, - 200, 232, 232, 232, 232, 232, 82, 83, 84, 232, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - - 232, 232, 231, 232, 232, 232, 204, 88, 89, 90, - 232, 232, 4, 0, 5, 0, 0, 0, 0, 0, - 0, 228, 232, 232, 232, 232, 232, 232, 232, 215, - 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 94, 232, 232, 232, 232, 74, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 0, 0, 0, 0, - 232, 232, 216, 205, 232, 206, 232, 232, 232, 95, - 232, 232, 85, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 232, 232, 232, 232, 232, 217, 232, 232, - 96, 232, 232, 91, 0, 0, 0, 207, 208, 232, - - 211, 232, 212, 232, 232, 232, 232, 232, 232, 70, - 232, 232, 232, 232, 175, 232, 176, 191, 232, 232, - 232, 209, 210, 232, 232, 232, 232, 232, 232, 0, - 0, 0, 232, 232, 232, 232, 232, 219, 221, 232, - 75, 232, 76, 232, 232, 232, 232, 232, 232, 232, - 232, 232, 220, 222, 232, 0, 0, 0, 0, 232, - 232, 86, 87, 232, 232, 232, 77, 232, 232, 232, - 78, 232, 232, 232, 92, 93, 232, 232, 0, 0, - 0, 0, 232, 232, 232, 232, 232, 232, 97, 232, - 100, 232, 232, 232, 232, 0, 0, 0, 0, 232, - - 232, 98, 101, 232, 232, 232, 232, 79, 232, 99, - 102, 0, 0, 0, 7, 0, 0, 213, 214, 232, - 232, 232, 232, 104, 0, 0, 8, 0, 0, 232, - 232, 177, 232, 0, 0, 0, 80, 81, 232, 0, - 0, 0, 9, 232, 0, 0, 10, 103, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 11, 0 + 0, 0, 16, 16, 0, 0, 247, 245, 1, 21, + 245, 245, 245, 245, 245, 245, 245, 245, 174, 172, + 245, 245, 245, 244, 245, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 245, 1, 245, 246, 16, + 20, 246, 19, 17, 18, 14, 13, 1, 156, 165, + 157, 168, 162, 151, 164, 152, 171, 176, 163, 177, + 174, 0, 0, 179, 174, 0, 172, 172, 160, 153, + 155, 154, 161, 244, 169, 159, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 30, 244, + + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 34, 244, 244, 61, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 170, 158, 1, 0, 0, 2, 0, 0, 0, 0, + 16, 15, 19, 18, 0, 176, 175, 0, 177, 0, + 178, 173, 166, 167, 244, 182, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 33, + + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 26, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 62, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 0, 0, + 0, 0, 15, 0, 176, 0, 175, 0, 177, 178, + 173, 244, 244, 244, 24, 244, 244, 228, 221, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 32, + 185, 244, 244, 244, 244, 68, 244, 244, 190, 203, + + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 200, 224, 49, 50, 51, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 188, 180, 244, 244, 27, 244, 244, 244, + 244, 244, 244, 244, 46, 47, 48, 149, 244, 244, + 244, 0, 0, 0, 0, 0, 175, 244, 244, 244, + 28, 37, 38, 39, 244, 183, 244, 244, 23, 244, + 244, 244, 244, 211, 212, 213, 244, 181, 244, 204, + 25, 214, 215, 216, 226, 208, 209, 210, 244, 244, + + 244, 63, 206, 244, 244, 244, 40, 41, 42, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 241, 244, 244, 244, 244, 244, 244, 244, 244, 201, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 184, 244, 244, 223, 43, 44, 45, 244, 244, + 31, 244, 0, 0, 0, 0, 231, 244, 244, 244, + 244, 229, 244, 244, 244, 202, 197, 234, 244, 244, + 244, 244, 244, 244, 193, 244, 244, 244, 150, 52, + 53, 54, 55, 56, 57, 58, 59, 60, 244, 244, + 244, 244, 207, 189, 244, 244, 195, 244, 244, 244, + + 36, 244, 242, 220, 69, 196, 148, 244, 232, 191, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 0, + 0, 0, 0, 244, 244, 244, 244, 244, 192, 35, + 244, 244, 244, 244, 244, 244, 105, 106, 107, 244, + 244, 244, 244, 244, 225, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 186, 244, 244, + 244, 244, 244, 64, 244, 244, 65, 244, 244, 0, + 0, 0, 0, 0, 244, 244, 66, 142, 29, 198, + 116, 117, 118, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 194, 244, 244, + + 244, 145, 240, 144, 244, 244, 244, 244, 244, 244, + 244, 244, 187, 127, 128, 129, 244, 244, 205, 244, + 143, 244, 0, 0, 6, 0, 0, 0, 12, 3, + 244, 22, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 114, 244, 244, 244, 109, 199, 67, 244, 244, + 244, 244, 244, 222, 244, 230, 227, 235, 71, 72, + 73, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 146, 0, 0, 0, + 0, 0, 0, 0, 244, 244, 244, 125, 244, 244, + 120, 244, 244, 244, 244, 244, 244, 244, 244, 82, + + 83, 84, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 243, 244, 244, 136, 244, + 244, 131, 88, 89, 90, 244, 244, 4, 0, 5, + 0, 0, 0, 0, 0, 0, 147, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 108, 244, 110, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 94, 244, 244, 244, 244, 74, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, + 0, 0, 0, 0, 244, 244, 244, 119, 121, 244, + 111, 244, 112, 244, 244, 244, 244, 244, 95, 244, + + 244, 85, 244, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 244, 130, 132, 244, + 244, 244, 96, 244, 244, 91, 0, 0, 0, 122, + 123, 244, 244, 244, 138, 244, 244, 139, 244, 244, + 244, 244, 244, 244, 244, 70, 244, 244, 244, 244, + 217, 244, 218, 233, 244, 244, 244, 133, 134, 244, + 244, 244, 244, 244, 244, 244, 244, 0, 0, 0, + 244, 244, 244, 244, 115, 113, 244, 244, 244, 236, + 238, 244, 75, 244, 76, 244, 244, 244, 244, 244, + 244, 244, 244, 244, 244, 244, 237, 239, 244, 0, + + 0, 0, 0, 126, 124, 244, 244, 86, 87, 244, + 244, 244, 77, 244, 244, 244, 78, 244, 244, 244, + 137, 135, 92, 93, 244, 244, 0, 0, 0, 0, + 244, 244, 244, 244, 244, 244, 97, 244, 100, 244, + 244, 244, 244, 0, 0, 0, 0, 244, 244, 98, + 101, 244, 244, 244, 244, 79, 244, 99, 102, 0, + 0, 0, 7, 0, 0, 140, 141, 244, 244, 244, + 244, 104, 0, 0, 8, 0, 0, 244, 244, 219, + 244, 0, 0, 0, 80, 81, 244, 0, 0, 0, + 9, 244, 0, 0, 10, 103, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 11, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -519,227 +526,239 @@ static yyconst flex_int32_t yy_meta[71] = 5, 5, 5, 5, 5, 5, 5, 5, 5, 1 } ; -static yyconst flex_int16_t yy_base[970] = +static yyconst flex_int16_t yy_base[1018] = { 0, - 0, 69, 75, 145, 1329, 1328, 1330, 1333, 70, 1333, - 1304, 1303, 94, 1302, 91, 92, 90, 1301, 202, 256, - 89, 1300, 95, 0, 79, 68, 64, 79, 124, 76, - 131, 1265, 127, 141, 81, 88, 82, 1259, 136, 126, - 183, 177, 149, 168, 134, 180, 206, 251, 1333, 140, - 1333, 1307, 239, 1333, 0, 1333, 1333, 228, 1333, 1333, - 1333, 1333, 1333, 1333, 1333, 1333, 1333, 231, 1333, 233, - 137, 307, 273, 1333, 1333, 0, 0, 1333, 1296, 1333, - 1333, 1333, 1295, 0, 1333, 1333, 1256, 1261, 115, 1258, - 1267, 1266, 1252, 1255, 1267, 244, 1261, 1248, 1245, 1259, - - 1245, 1242, 1242, 1248, 126, 180, 1242, 1253, 1238, 1244, - 1248, 1249, 0, 1240, 1251, 254, 1250, 1245, 1225, 143, - 1229, 1243, 1233, 188, 1226, 271, 1239, 1241, 285, 1220, - 1228, 1225, 1214, 1223, 223, 252, 1228, 1223, 1226, 1214, - 1217, 246, 246, 226, 1227, 1214, 1227, 83, 1220, 1219, - 1333, 1333, 329, 334, 340, 1333, 1204, 1217, 1208, 1219, - 342, 0, 333, 0, 346, 1333, 329, 390, 1333, 353, - 397, 281, 1333, 1333, 1214, 0, 1209, 1204, 1208, 1218, - 1215, 328, 1198, 1198, 1210, 1201, 278, 1212, 1209, 1209, - 1207, 1204, 1195, 1202, 1188, 1186, 1199, 1184, 1201, 0, - - 1198, 1185, 1193, 1190, 1194, 1195, 1188, 1185, 1173, 1172, - 1186, 1189, 1176, 1185, 1172, 1179, 1169, 362, 1175, 1178, - 1168, 1176, 1164, 1168, 1159, 1174, 1173, 1163, 1170, 325, - 1153, 1172, 1155, 1153, 1164, 1153, 1148, 1146, 1148, 1159, - 1144, 1146, 1143, 1155, 1154, 1157, 1138, 326, 1147, 1142, - 1140, 1150, 1128, 402, 1147, 1149, 1137, 1129, 1128, 1132, - 1144, 1127, 0, 414, 421, 438, 1333, 445, 456, 1333, - 1333, 1122, 1133, 1132, 0, 1129, 405, 0, 0, 1122, - 1120, 1120, 1121, 1116, 1125, 1113, 1131, 1119, 408, 0, - 0, 1113, 1124, 1123, 1123, 0, 1107, 426, 0, 0, - - 1109, 450, 1117, 1118, 1108, 1102, 1101, 1102, 1101, 1101, - 461, 1096, 0, 0, 1092, 1091, 1090, 1092, 1093, 1098, - 1092, 1088, 1102, 1097, 1097, 1095, 1094, 1087, 1081, 1083, - 1082, 1085, 1085, 1077, 1080, 1075, 1084, 1089, 1076, 1073, - 1086, 1076, 0, 0, 1083, 1079, 0, 1070, 1070, 1076, - 1066, 1074, 464, 1071, 0, 0, 0, 0, 1060, 1073, - 1072, 1071, 1070, 1067, 1055, 473, 480, 1067, 1068, 1068, - 0, 0, 0, 0, 1054, 0, 1063, 1053, 0, 1052, - 1053, 1047, 1058, 0, 0, 0, 1048, 0, 1044, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1055, 486, - - 1054, 0, 0, 1052, 1048, 1044, 0, 0, 0, 1036, - 467, 489, 498, 1041, 1037, 1043, 1033, 1031, 1045, 1029, - 0, 1029, 1043, 1031, 1027, 1034, 1028, 1040, 1035, 0, - 1033, 1030, 1034, 1017, 1015, 1018, 1025, 1031, 1026, 1025, - 1012, 0, 1014, 1015, 0, 0, 0, 0, 1012, 1016, - 0, 1009, 1009, 1064, 1008, 1011, 0, 1019, 998, 1008, - 1002, 0, 995, 995, 1009, 0, 1011, 0, 503, 1025, - 1024, 1023, 988, 987, 0, 1005, 1004, 999, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 987, 1001, - 987, 984, 0, 0, 990, 989, 0, 985, 993, 992, - - 0, 984, 976, 0, 0, 0, 0, 973, 0, 0, - 972, 984, 506, 976, 983, 982, 979, 973, 970, 965, - 524, 981, 966, 960, 960, 974, 958, 971, 0, 0, - 963, 988, 987, 986, 951, 950, 359, 365, 0, 963, - 966, 964, 952, 948, 0, 961, 958, 957, 946, 945, - 935, 953, 938, 941, 519, 946, 949, 0, 967, 966, - 965, 930, 929, 0, 944, 930, 0, 941, 933, 935, - 549, 555, 985, 928, 932, 935, 0, 0, 0, 0, - 956, 955, 0, 931, 934, 918, 926, 916, 924, 925, - 925, 924, 909, 561, 922, 0, 923, 911, 910, 0, - - 0, 0, 906, 936, 935, 934, 899, 898, 894, 902, - 0, 932, 931, 0, 907, 910, 0, 564, 0, 887, - 895, 582, 1333, 592, 0, 603, 594, 1333, 895, 0, - 891, 890, 900, 900, 887, 902, 885, 900, 895, 0, - 0, 0, 913, 912, 911, 876, 875, 0, 875, 0, - 0, 0, 500, 590, 899, 886, 889, 871, 884, 871, - 870, 880, 880, 898, 897, 896, 861, 860, 0, 865, - 628, 638, 446, 882, 872, 860, 856, 857, 856, 867, - 0, 870, 866, 868, 864, 850, 883, 526, 0, 859, - 862, 854, 845, 853, 843, 864, 853, 849, 851, 849, - - 849, 848, 0, 835, 834, 845, 0, 866, 600, 0, - 842, 845, 1333, 508, 1333, 648, 0, 659, 860, 843, - 825, 0, 842, 841, 824, 816, 824, 814, 822, 0, - 819, 818, 839, 828, 826, 826, 809, 812, 827, 810, - 843, 822, 823, 820, 817, 522, 804, 819, 818, 794, - 772, 771, 792, 781, 779, 779, 526, 794, 762, 772, - 755, 754, 0, 782, 754, 780, 752, 756, 755, 788, - 767, 764, 784, 761, 764, 760, 760, 743, 740, 754, - 10, 170, 176, 190, 209, 241, 247, 0, 326, 332, - 368, 350, 352, 425, 478, 468, 476, 0, 0, 502, - - 0, 503, 0, 511, 514, 499, 500, 525, 526, 0, - 520, 538, 539, 553, 576, 559, 0, 0, 571, 589, - 590, 0, 0, 592, 594, 582, 589, 602, 610, 670, - 680, 620, 629, 638, 616, 617, 625, 0, 0, 626, - 649, 624, 652, 647, 641, 628, 651, 649, 642, 631, - 632, 640, 0, 0, 641, 701, 702, 703, 637, 659, - 660, 0, 0, 664, 665, 660, 0, 661, 646, 670, - 0, 648, 658, 681, 0, 0, 674, 675, 663, 720, - 673, 675, 666, 667, 659, 660, 684, 685, 0, 684, - 694, 668, 704, 668, 669, 673, 689, 738, 740, 675, - - 677, 0, 0, 696, 697, 687, 695, 0, 711, 0, - 0, 706, 750, 751, 1333, 754, 753, 0, 0, 698, - 699, 693, 719, 0, 704, 764, 1333, 765, 718, 703, - 704, 0, 723, 719, 723, 773, 0, 0, 718, 733, - 778, 779, 1333, 716, 726, 783, 1333, 0, 723, 785, - 788, 789, 790, 739, 740, 796, 797, 1333, 1333, 835, - 840, 843, 846, 797, 798, 849, 853, 856, 858 + 0, 69, 75, 145, 1377, 1376, 1378, 1381, 70, 1381, + 1352, 1351, 94, 1350, 91, 92, 90, 1349, 202, 256, + 89, 1348, 95, 0, 79, 68, 64, 79, 124, 76, + 131, 1313, 127, 141, 81, 88, 82, 1307, 136, 126, + 183, 177, 149, 168, 134, 180, 206, 251, 1381, 140, + 1381, 1355, 239, 1381, 0, 1381, 1381, 228, 1381, 1381, + 1381, 1381, 1381, 1381, 1381, 1381, 1381, 231, 1381, 233, + 137, 307, 273, 1381, 1381, 0, 0, 1381, 1344, 1381, + 1381, 1381, 1343, 0, 1381, 1381, 1304, 1309, 115, 1306, + 1315, 1314, 1300, 1303, 1315, 244, 1309, 1296, 1293, 1307, + + 1293, 1290, 1290, 1296, 126, 180, 1290, 1301, 1286, 1292, + 1296, 1297, 0, 1288, 1299, 254, 1298, 1293, 1273, 143, + 1277, 1291, 1281, 188, 1274, 271, 1287, 1289, 285, 1268, + 1276, 1273, 1262, 1271, 223, 252, 1276, 1271, 1274, 1262, + 1265, 246, 246, 226, 1275, 1262, 1275, 83, 1268, 1267, + 1381, 1381, 329, 334, 340, 1381, 1252, 1265, 1256, 1267, + 342, 0, 333, 0, 346, 1381, 329, 390, 1381, 353, + 397, 281, 1381, 1381, 1262, 0, 1257, 1252, 1256, 1266, + 1263, 328, 1246, 1246, 1258, 1249, 278, 1260, 1257, 1257, + 1255, 1252, 1243, 1250, 1236, 1234, 1247, 1232, 1249, 0, + + 1246, 1233, 1241, 1238, 1242, 1243, 1236, 1233, 1221, 1220, + 1234, 1237, 1224, 1233, 1220, 1227, 1217, 362, 1223, 1226, + 1216, 1224, 1212, 1216, 1207, 1222, 1221, 1211, 1218, 325, + 1201, 1220, 1203, 1201, 1212, 1201, 1196, 1194, 1196, 1207, + 1192, 1194, 1191, 1203, 1202, 1205, 1186, 326, 1195, 1190, + 1188, 1198, 1176, 402, 1195, 1197, 1185, 1177, 1176, 1180, + 1192, 1175, 0, 414, 421, 438, 1381, 445, 456, 1381, + 1381, 1170, 1181, 1180, 0, 1177, 405, 0, 0, 1170, + 1168, 1168, 1169, 1164, 1173, 1161, 1179, 1167, 408, 0, + 0, 1161, 1172, 1171, 1171, 0, 1155, 426, 0, 0, + + 1157, 450, 1165, 1166, 1156, 1150, 1149, 1150, 1149, 1149, + 461, 1144, 0, 0, 1140, 1139, 1138, 1140, 1141, 1146, + 1140, 1136, 1150, 1145, 1145, 1143, 1142, 1135, 1129, 1131, + 1130, 1133, 1133, 1125, 1128, 1123, 1132, 1137, 1124, 1121, + 1134, 1124, 0, 0, 1131, 1127, 0, 1118, 1118, 1124, + 1114, 1122, 464, 1119, 0, 0, 0, 0, 1108, 1121, + 1120, 1119, 1118, 1115, 1103, 473, 480, 1115, 1116, 1116, + 0, 0, 0, 0, 1102, 0, 1111, 1101, 0, 1100, + 1101, 1095, 1106, 0, 0, 0, 1096, 0, 1092, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1103, 486, + + 1102, 0, 0, 1100, 1096, 1092, 0, 0, 0, 1084, + 467, 489, 498, 1089, 1085, 1091, 1081, 1079, 1093, 1077, + 0, 1077, 1091, 1079, 1075, 1082, 1076, 1088, 1083, 0, + 1081, 1078, 1082, 1065, 1063, 1066, 1073, 1079, 1074, 1073, + 1060, 0, 1062, 1063, 0, 0, 0, 0, 1060, 1064, + 0, 1057, 1057, 1112, 1056, 1059, 0, 1067, 1046, 1056, + 1050, 0, 1043, 1043, 1057, 0, 1059, 0, 503, 1073, + 1072, 1071, 1036, 1035, 0, 1053, 1052, 1047, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1035, 1049, + 1035, 1032, 0, 0, 1038, 1037, 0, 1033, 1041, 1040, + + 0, 1032, 1024, 0, 0, 0, 0, 1021, 0, 0, + 1020, 1032, 506, 1024, 1031, 1030, 1027, 1021, 1018, 1013, + 524, 1029, 1014, 1008, 1008, 1022, 1006, 1019, 0, 0, + 1011, 1036, 1035, 1034, 999, 998, 359, 500, 0, 1011, + 1014, 1012, 1000, 996, 0, 1009, 1006, 1005, 994, 993, + 983, 1001, 986, 989, 530, 994, 997, 0, 1015, 1014, + 1013, 978, 977, 0, 992, 978, 0, 989, 981, 983, + 548, 554, 1033, 976, 980, 983, 0, 0, 0, 0, + 1004, 550, 0, 980, 983, 967, 975, 965, 986, 975, + 971, 972, 972, 971, 956, 563, 969, 0, 970, 958, + + 957, 0, 0, 0, 953, 983, 982, 981, 946, 945, + 941, 949, 0, 979, 551, 0, 955, 958, 0, 566, + 0, 935, 943, 600, 1381, 607, 0, 627, 594, 1381, + 943, 0, 939, 938, 959, 948, 946, 946, 933, 948, + 931, 964, 943, 944, 939, 960, 0, 0, 956, 955, + 954, 919, 918, 0, 918, 0, 0, 0, 365, 623, + 942, 929, 932, 914, 927, 914, 913, 934, 923, 921, + 921, 939, 938, 937, 902, 901, 0, 906, 649, 655, + 446, 923, 913, 901, 897, 898, 897, 930, 909, 906, + 927, 908, 904, 906, 889, 886, 900, 886, 885, 918, + + 570, 0, 894, 897, 889, 880, 888, 878, 899, 888, + 884, 886, 884, 884, 883, 0, 870, 869, 902, 881, + 878, 899, 898, 651, 0, 874, 877, 1381, 508, 1381, + 677, 0, 683, 892, 875, 857, 0, 874, 873, 856, + 853, 854, 853, 845, 853, 843, 842, 0, 822, 0, + 819, 818, 817, 838, 827, 825, 825, 808, 810, 825, + 808, 841, 820, 821, 818, 815, 566, 802, 817, 816, + 798, 795, 796, 795, 792, 791, 812, 801, 23, 182, + 526, 204, 178, 214, 241, 247, 326, 0, 0, 332, + 356, 331, 362, 407, 447, 474, 472, 476, 525, 506, + + 505, 528, 511, 517, 515, 534, 537, 536, 552, 538, + 543, 546, 559, 554, 545, 546, 570, 0, 0, 571, + 573, 574, 609, 590, 589, 612, 605, 590, 597, 0, + 0, 610, 611, 608, 0, 611, 596, 0, 613, 637, + 638, 623, 625, 629, 631, 0, 638, 648, 640, 648, + 671, 652, 0, 0, 651, 668, 669, 0, 0, 670, + 672, 673, 674, 659, 658, 661, 662, 722, 723, 673, + 659, 660, 684, 685, 0, 0, 663, 665, 673, 0, + 0, 674, 697, 671, 699, 694, 688, 675, 697, 695, + 688, 677, 678, 679, 680, 688, 0, 0, 689, 749, + + 750, 751, 685, 0, 0, 707, 708, 0, 0, 712, + 713, 708, 0, 709, 694, 718, 0, 696, 706, 729, + 0, 0, 0, 0, 722, 723, 711, 768, 721, 723, + 714, 715, 707, 708, 732, 733, 0, 732, 742, 716, + 752, 716, 717, 721, 737, 786, 788, 723, 725, 0, + 0, 744, 745, 735, 743, 0, 759, 0, 0, 754, + 798, 799, 1381, 802, 801, 0, 0, 746, 747, 741, + 767, 0, 752, 812, 1381, 813, 766, 751, 752, 0, + 771, 767, 771, 821, 0, 0, 766, 781, 826, 827, + 1381, 764, 774, 831, 1381, 0, 771, 833, 836, 837, + + 838, 787, 788, 844, 845, 1381, 1381, 883, 888, 891, + 894, 845, 846, 897, 901, 904, 906 } ; -static yyconst flex_int16_t yy_def[970] = +static yyconst flex_int16_t yy_def[1018] = { 0, - 959, 1, 960, 960, 961, 961, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 962, 959, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 963, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 964, 959, 965, - 19, 959, 959, 959, 959, 966, 20, 959, 959, 959, - 959, 959, 959, 962, 959, 959, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 967, 959, 963, 959, 959, 965, 959, 959, 959, - 959, 966, 959, 959, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 959, 959, - 959, 959, 967, 959, 959, 959, 959, 959, 959, 959, - 959, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 959, 959, 959, 959, 959, 959, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 959, 959, 959, 959, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 959, - 959, 959, 959, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 959, - 959, 959, 959, 959, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 959, 959, 959, 959, 968, 959, 959, 959, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 959, - 959, 959, 968, 959, 959, 959, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 959, 959, 959, 959, 969, 959, 959, 959, - 959, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 969, 959, 959, 959, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 959, 959, 959, 962, 962, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 959, - 959, 959, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 959, 959, 959, 959, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 962, 962, 962, 959, 959, - 959, 959, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 962, 962, 962, 962, 959, 959, 959, 959, 962, - - 962, 962, 962, 962, 962, 962, 962, 962, 962, 962, - 962, 959, 959, 959, 959, 959, 959, 962, 962, 962, - 962, 962, 962, 962, 959, 959, 959, 959, 959, 962, - 962, 962, 962, 959, 959, 959, 962, 962, 962, 959, - 959, 959, 959, 962, 959, 959, 959, 962, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 0, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959 + 1007, 1, 1008, 1008, 1009, 1009, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1010, 1007, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1011, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1012, 1007, 1013, + 19, 1007, 1007, 1007, 1007, 1014, 20, 1007, 1007, 1007, + 1007, 1007, 1007, 1010, 1007, 1007, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1015, 1007, 1011, 1007, 1007, 1013, 1007, 1007, 1007, + 1007, 1014, 1007, 1007, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, 1007, + 1007, 1007, 1015, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1007, 1007, 1007, 1007, 1007, 1007, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1007, 1007, 1007, 1007, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, + 1007, 1007, 1007, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, + 1007, 1007, 1007, 1007, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1007, 1007, 1007, 1007, 1016, 1007, 1007, 1007, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, 1007, 1007, + 1016, 1007, 1007, 1007, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, 1007, 1007, + 1007, 1017, 1007, 1007, 1007, 1007, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1017, 1007, 1007, 1007, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1007, 1007, 1007, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, 1007, 1007, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, + + 1007, 1007, 1007, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1007, 1007, 1007, 1007, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1007, 1007, 1007, 1007, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1007, + 1007, 1007, 1007, 1007, 1007, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1007, 1007, 1007, 1007, 1007, 1010, 1010, 1010, + 1010, 1007, 1007, 1007, 1010, 1010, 1010, 1007, 1007, 1007, + 1007, 1010, 1007, 1007, 1007, 1010, 1007, 1007, 1007, 1007, + + 1007, 1007, 1007, 1007, 1007, 1007, 0, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007 } ; -static yyconst flex_int16_t yy_nxt[1404] = +static yyconst flex_int16_t yy_nxt[1452] = { 0, 8, 9, 10, 9, 11, 8, 12, 13, 8, 8, 14, 15, 16, 17, 18, 19, 20, 20, 20, 20, @@ -748,7 +767,7 @@ static yyconst flex_int16_t yy_nxt[1404] = 24, 24, 25, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 24, 24, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 24, 24, 24, 46, - 47, 58, 817, 58, 48, 49, 50, 51, 50, 49, + 47, 58, 825, 58, 48, 49, 50, 51, 50, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 52, 49, 53, 53, 53, 53, 53, 53, 54, 49, 49, @@ -759,146 +778,151 @@ static yyconst flex_int16_t yy_nxt[1404] = 124, 161, 103, 161, 49, 49, 50, 51, 50, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 52, 49, 53, 53, 53, 53, 53, 53, 54, 49, 49, - 49, 110, 97, 177, 129, 104, 98, 178, 959, 111, + 49, 110, 97, 177, 129, 104, 98, 178, 1007, 111, 126, 196, 99, 105, 130, 149, 106, 49, 100, 107, 113, 112, 197, 114, 150, 108, 127, 115, 116, 128, - 216, 142, 117, 959, 151, 118, 143, 153, 217, 58, + 216, 142, 117, 1007, 151, 118, 143, 153, 217, 58, 144, 154, 146, 145, 49, 70, 147, 71, 71, 71, 71, 71, 71, 72, 198, 138, 148, 131, 139, 58, - 818, 58, 73, 74, 132, 133, 819, 140, 199, 134, - 221, 820, 75, 76, 141, 135, 136, 222, 137, 152, + 826, 58, 73, 74, 132, 133, 827, 140, 199, 134, + 221, 828, 75, 76, 141, 135, 136, 222, 137, 152, 73, 74, 155, 156, 163, 163, 163, 163, 163, 163, - 163, 165, 166, 168, 169, 75, 821, 237, 76, 70, + 163, 165, 166, 168, 169, 75, 829, 237, 76, 70, 250, 77, 77, 77, 77, 77, 77, 77, 251, 165, 166, 168, 169, 238, 170, 170, 73, 74, 171, 171, 171, 171, 171, 171, 171, 185, 78, 239, 248, 157, - 186, 187, 246, 247, 73, 74, 158, 249, 822, 208, - 159, 240, 209, 210, 823, 160, 211, 224, 212, 78, + 186, 187, 246, 247, 73, 74, 158, 249, 830, 208, + 159, 240, 209, 210, 831, 160, 211, 224, 212, 78, 70, 271, 72, 72, 72, 72, 72, 72, 72, 229, 153, 225, 58, 226, 154, 155, 156, 73, 74, 284, 285, 155, 156, 161, 271, 161, 230, 231, 163, 163, 163, 163, 163, 163, 163, 73, 74, 264, 264, 266, 267, 265, 265, 265, 265, 265, 265, 265, 171, 171, 171, 171, 171, 171, 171, 348, 278, 266, 267, 315, - 316, 317, 157, 329, 349, 586, 824, 330, 157, 158, - 279, 588, 825, 159, 826, 158, 827, 587, 160, 159, + 316, 317, 157, 329, 349, 586, 832, 330, 157, 158, + 279, 706, 833, 159, 834, 158, 835, 587, 160, 159, - 828, 268, 268, 589, 160, 269, 269, 269, 269, 269, + 836, 268, 268, 707, 160, 269, 269, 269, 269, 269, 269, 269, 171, 171, 171, 171, 171, 171, 171, 355, 356, 357, 372, 373, 374, 384, 385, 386, 270, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, - 265, 265, 265, 392, 393, 394, 270, 622, 623, 366, - 366, 829, 166, 367, 367, 367, 367, 367, 367, 367, + 265, 265, 265, 392, 393, 394, 270, 624, 625, 366, + 366, 837, 166, 367, 367, 367, 367, 367, 367, 367, 269, 269, 269, 269, 269, 269, 269, 396, 397, 398, 166, 269, 269, 269, 269, 269, 269, 269, 407, 408, 409, 446, 447, 448, 480, 481, 482, 169, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, - 367, 367, 470, 471, 472, 169, 483, 484, 485, 714, - 715, 267, 830, 473, 474, 486, 487, 488, 831, 532, - 533, 534, 559, 560, 561, 521, 693, 714, 715, 267, - 535, 536, 832, 562, 563, 604, 605, 606, 694, 571, - 572, 572, 572, 572, 572, 572, 607, 608, 783, 609, - 622, 623, 732, 833, 834, 835, 622, 623, 836, 837, - 784, 733, 838, 734, 624, 624, 624, 624, 624, 624, - 626, 626, 626, 626, 626, 626, 626, 643, 644, 645, - 664, 665, 666, 622, 623, 839, 840, 841, 646, 647, - 625, 667, 668, 622, 623, 627, 842, 671, 672, 672, - - 672, 672, 672, 672, 622, 623, 843, 624, 624, 624, - 624, 624, 624, 844, 845, 625, 695, 846, 626, 626, - 626, 626, 626, 626, 626, 696, 752, 697, 698, 714, - 715, 847, 674, 848, 849, 753, 850, 754, 851, 714, - 715, 675, 852, 716, 716, 716, 716, 716, 716, 714, - 715, 853, 676, 718, 718, 718, 718, 718, 718, 718, - 714, 715, 854, 716, 716, 716, 716, 716, 716, 717, - 855, 856, 859, 860, 718, 718, 718, 718, 718, 718, - 718, 857, 861, 862, 863, 864, 865, 866, 858, 867, - 868, 869, 870, 871, 717, 872, 873, 874, 875, 876, - - 877, 878, 856, 857, 880, 882, 883, 884, 885, 886, - 858, 887, 888, 889, 890, 891, 892, 893, 894, 895, - 896, 880, 897, 899, 900, 901, 902, 903, 904, 905, - 898, 906, 907, 908, 909, 910, 911, 912, 913, 914, - 918, 916, 919, 920, 921, 922, 923, 915, 917, 924, - 925, 926, 914, 879, 928, 916, 930, 931, 932, 927, - 915, 881, 917, 933, 934, 926, 928, 935, 937, 938, - 939, 940, 941, 927, 942, 936, 944, 945, 881, 946, - 942, 948, 943, 949, 946, 950, 951, 947, 943, 951, - 953, 953, 947, 952, 955, 956, 952, 957, 957, 68, - - 167, 816, 815, 814, 813, 958, 958, 812, 811, 810, - 809, 929, 808, 807, 806, 805, 804, 803, 802, 801, - 800, 799, 798, 929, 797, 796, 795, 794, 793, 792, - 791, 790, 789, 954, 954, 55, 55, 55, 55, 55, - 56, 56, 56, 56, 56, 84, 84, 84, 164, 164, - 164, 172, 172, 263, 788, 263, 263, 263, 673, 673, - 757, 757, 787, 786, 785, 782, 781, 780, 779, 778, - 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, - 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, - 756, 755, 751, 750, 749, 748, 747, 746, 745, 744, - - 743, 742, 741, 740, 739, 738, 737, 736, 735, 731, - 730, 729, 728, 727, 726, 725, 724, 723, 722, 721, - 720, 719, 713, 712, 711, 710, 709, 708, 707, 706, - 705, 704, 703, 702, 701, 700, 699, 692, 691, 690, - 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, - 679, 678, 677, 670, 669, 663, 662, 661, 660, 659, - 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, - 648, 642, 641, 640, 639, 638, 637, 636, 635, 634, - 633, 632, 631, 630, 629, 628, 627, 621, 620, 619, - 618, 617, 616, 615, 614, 613, 612, 611, 610, 603, - + 367, 367, 470, 471, 472, 169, 483, 484, 485, 729, + 730, 267, 838, 473, 474, 486, 487, 488, 839, 532, + 533, 534, 559, 560, 561, 521, 588, 729, 730, 267, + 535, 536, 840, 562, 563, 589, 841, 590, 591, 571, + 572, 572, 572, 572, 572, 572, 606, 607, 608, 624, + 625, 842, 843, 844, 845, 624, 625, 609, 610, 846, + 611, 847, 848, 626, 626, 626, 626, 626, 626, 628, + 628, 628, 628, 628, 628, 628, 634, 667, 849, 649, + 650, 651, 672, 673, 674, 635, 668, 636, 669, 627, + 652, 653, 812, 675, 676, 629, 753, 850, 851, 852, + + 853, 624, 625, 854, 813, 754, 855, 755, 624, 625, + 856, 857, 858, 859, 627, 679, 680, 680, 680, 680, + 680, 680, 626, 626, 626, 626, 626, 626, 624, 625, + 860, 861, 682, 862, 863, 864, 865, 866, 867, 868, + 869, 683, 628, 628, 628, 628, 628, 628, 628, 708, + 729, 730, 684, 870, 871, 872, 729, 730, 709, 873, + 710, 711, 874, 875, 731, 731, 731, 731, 731, 731, + 733, 733, 733, 733, 733, 733, 733, 776, 729, 730, + 876, 877, 878, 879, 729, 730, 777, 880, 778, 881, + 732, 882, 731, 731, 731, 731, 731, 731, 733, 733, + + 733, 733, 733, 733, 733, 883, 884, 885, 886, 887, + 888, 889, 890, 891, 892, 732, 893, 894, 895, 896, + 897, 898, 899, 900, 901, 903, 904, 905, 906, 907, + 908, 902, 909, 910, 911, 912, 913, 914, 915, 916, + 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, + 900, 901, 928, 930, 931, 932, 933, 934, 902, 935, + 936, 937, 938, 939, 940, 941, 942, 943, 944, 928, + 945, 947, 948, 949, 950, 951, 952, 953, 946, 954, + 955, 956, 957, 958, 959, 960, 961, 962, 966, 964, + 967, 968, 969, 970, 971, 963, 965, 972, 973, 974, + + 962, 927, 976, 964, 978, 979, 980, 975, 963, 929, + 965, 981, 982, 974, 976, 983, 985, 986, 987, 988, + 989, 975, 990, 984, 992, 993, 929, 994, 990, 996, + 991, 997, 994, 998, 999, 995, 991, 999, 1001, 1001, + 995, 1000, 1003, 1004, 1000, 1005, 1005, 68, 167, 824, + 823, 822, 821, 1006, 1006, 820, 819, 818, 817, 977, + 816, 815, 814, 811, 810, 809, 808, 807, 806, 805, + 804, 977, 803, 802, 801, 800, 799, 798, 797, 796, + 795, 1002, 1002, 55, 55, 55, 55, 55, 56, 56, + 56, 56, 56, 84, 84, 84, 164, 164, 164, 172, + + 172, 263, 794, 263, 263, 263, 681, 681, 781, 781, + 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, + 783, 782, 780, 779, 775, 774, 773, 772, 771, 770, + 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, + 759, 758, 757, 756, 752, 751, 750, 749, 748, 747, + 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, + 736, 735, 734, 728, 727, 726, 725, 724, 723, 722, + 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, + 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, + 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, + + 685, 678, 677, 671, 670, 666, 665, 664, 663, 662, + 661, 660, 659, 658, 657, 656, 655, 654, 648, 647, + 646, 645, 644, 643, 642, 641, 640, 639, 638, 637, + 633, 632, 631, 630, 629, 623, 622, 621, 620, 619, + 618, 617, 616, 615, 614, 613, 612, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, - 592, 591, 590, 585, 584, 583, 582, 581, 580, 579, - 578, 577, 576, 575, 574, 573, 570, 569, 568, 567, - 566, 565, 564, 558, 557, 556, 555, 554, 553, 552, - 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, - 541, 540, 539, 538, 537, 531, 530, 529, 528, 527, - 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, - 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, - 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, - 496, 495, 494, 493, 492, 491, 490, 489, 479, 478, - - 477, 476, 475, 469, 468, 467, 466, 465, 464, 463, - 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, - 452, 451, 450, 449, 445, 444, 443, 442, 441, 440, - 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, - 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, - 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, - 406, 405, 404, 403, 402, 401, 400, 399, 395, 391, - 390, 389, 388, 387, 383, 382, 381, 380, 379, 378, - 377, 376, 375, 371, 370, 369, 368, 365, 364, 363, - 362, 361, 360, 359, 358, 354, 353, 352, 351, 350, - - 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, - 337, 336, 335, 334, 333, 332, 331, 328, 327, 326, - 325, 324, 323, 322, 321, 320, 319, 318, 314, 313, - 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, - 302, 301, 300, 299, 298, 297, 296, 295, 294, 293, - 292, 291, 290, 289, 288, 287, 286, 283, 282, 281, - 280, 277, 276, 275, 274, 273, 272, 262, 261, 260, - 259, 258, 257, 254, 253, 252, 245, 244, 243, 242, - 241, 236, 235, 234, 233, 232, 228, 227, 223, 220, - 219, 218, 215, 214, 213, 207, 206, 205, 204, 203, - - 202, 201, 200, 195, 194, 193, 192, 191, 190, 189, - 188, 184, 183, 182, 181, 180, 179, 176, 175, 174, - 173, 162, 125, 109, 81, 69, 63, 60, 59, 959, - 57, 57, 7, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - - 959, 959, 959 + 592, 585, 584, 583, 582, 581, 580, 579, 578, 577, + 576, 575, 574, 573, 570, 569, 568, 567, 566, 565, + 564, 558, 557, 556, 555, 554, 553, 552, 551, 550, + 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, + + 539, 538, 537, 531, 530, 529, 528, 527, 526, 525, + 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, + 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, + 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, + 494, 493, 492, 491, 490, 489, 479, 478, 477, 476, + 475, 469, 468, 467, 466, 465, 464, 463, 462, 461, + 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, + 450, 449, 445, 444, 443, 442, 441, 440, 439, 438, + 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, + 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, + + 417, 416, 415, 414, 413, 412, 411, 410, 406, 405, + 404, 403, 402, 401, 400, 399, 395, 391, 390, 389, + 388, 387, 383, 382, 381, 380, 379, 378, 377, 376, + 375, 371, 370, 369, 368, 365, 364, 363, 362, 361, + 360, 359, 358, 354, 353, 352, 351, 350, 347, 346, + 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, + 335, 334, 333, 332, 331, 328, 327, 326, 325, 324, + 323, 322, 321, 320, 319, 318, 314, 313, 312, 311, + 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, + 300, 299, 298, 297, 296, 295, 294, 293, 292, 291, + + 290, 289, 288, 287, 286, 283, 282, 281, 280, 277, + 276, 275, 274, 273, 272, 262, 261, 260, 259, 258, + 257, 254, 253, 252, 245, 244, 243, 242, 241, 236, + 235, 234, 233, 232, 228, 227, 223, 220, 219, 218, + 215, 214, 213, 207, 206, 205, 204, 203, 202, 201, + 200, 195, 194, 193, 192, 191, 190, 189, 188, 184, + 183, 182, 181, 180, 179, 176, 175, 174, 173, 162, + 125, 109, 81, 69, 63, 60, 59, 1007, 57, 57, + 7, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007 } ; -static yyconst flex_int16_t yy_chk[1404] = +static yyconst flex_int16_t yy_chk[1452] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -907,7 +931,7 @@ static yyconst flex_int16_t yy_chk[1404] = 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, - 2, 9, 781, 9, 2, 3, 3, 3, 3, 3, + 2, 9, 779, 9, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, @@ -925,136 +949,141 @@ static yyconst flex_int16_t yy_chk[1404] = 120, 43, 34, 71, 46, 34, 43, 47, 120, 47, 43, 47, 44, 43, 4, 19, 44, 19, 19, 19, 19, 19, 19, 19, 106, 42, 44, 41, 42, 58, - 782, 58, 19, 19, 41, 41, 783, 42, 106, 41, - 124, 784, 19, 19, 42, 41, 41, 124, 41, 46, + 780, 58, 19, 19, 41, 41, 782, 42, 106, 41, + 124, 783, 19, 19, 42, 41, 41, 124, 41, 46, 19, 19, 48, 48, 53, 53, 53, 53, 53, 53, - 53, 68, 68, 70, 70, 19, 785, 135, 19, 20, + 53, 68, 68, 70, 70, 19, 784, 135, 19, 20, 144, 20, 20, 20, 20, 20, 20, 20, 144, 68, 68, 70, 70, 135, 73, 73, 20, 20, 73, 73, 73, 73, 73, 73, 73, 96, 20, 136, 143, 48, - 96, 96, 142, 142, 20, 20, 48, 143, 786, 116, - 48, 136, 116, 116, 787, 48, 116, 126, 116, 20, + 96, 96, 142, 142, 20, 20, 48, 143, 785, 116, + 48, 136, 116, 116, 786, 48, 116, 126, 116, 20, 72, 172, 72, 72, 72, 72, 72, 72, 72, 129, 153, 126, 153, 126, 153, 154, 154, 72, 72, 187, 187, 155, 155, 161, 172, 161, 129, 129, 163, 163, 163, 163, 163, 163, 163, 72, 72, 165, 165, 167, 167, 165, 165, 165, 165, 165, 165, 165, 170, 170, 170, 170, 170, 170, 170, 248, 182, 167, 167, 218, - 218, 218, 154, 230, 248, 537, 789, 230, 155, 154, - 182, 538, 790, 154, 791, 155, 792, 537, 154, 155, + 218, 218, 154, 230, 248, 537, 787, 230, 155, 154, + 182, 659, 790, 154, 791, 155, 792, 537, 154, 155, - 793, 168, 168, 538, 155, 168, 168, 168, 168, 168, + 793, 168, 168, 659, 155, 168, 168, 168, 168, 168, 168, 168, 171, 171, 171, 171, 171, 171, 171, 254, 254, 254, 277, 277, 277, 289, 289, 289, 171, 264, 264, 264, 264, 264, 264, 264, 265, 265, 265, 265, - 265, 265, 265, 298, 298, 298, 171, 673, 673, 266, + 265, 265, 265, 298, 298, 298, 171, 681, 681, 266, 266, 794, 265, 266, 266, 266, 266, 266, 266, 266, 268, 268, 268, 268, 268, 268, 268, 302, 302, 302, 265, 269, 269, 269, 269, 269, 269, 269, 311, 311, 311, 353, 353, 353, 411, 411, 411, 269, 366, 366, 366, 366, 366, 366, 366, 367, 367, 367, 367, 367, - 367, 367, 400, 400, 400, 269, 412, 412, 412, 714, - 714, 367, 795, 400, 400, 413, 413, 413, 796, 469, - 469, 469, 513, 513, 513, 521, 653, 757, 757, 367, - 469, 469, 797, 513, 513, 555, 555, 555, 653, 521, - 521, 521, 521, 521, 521, 521, 555, 555, 746, 555, - 571, 571, 688, 800, 802, 804, 572, 572, 805, 806, - 746, 688, 807, 688, 571, 571, 571, 571, 571, 571, - 572, 572, 572, 572, 572, 572, 572, 594, 594, 594, - 618, 618, 618, 622, 622, 808, 809, 811, 594, 594, - 571, 618, 618, 624, 624, 627, 812, 622, 622, 622, - - 622, 622, 622, 622, 626, 626, 813, 624, 624, 624, - 624, 624, 624, 814, 815, 571, 654, 816, 626, 626, - 626, 626, 626, 626, 626, 654, 709, 654, 654, 671, - 671, 819, 627, 820, 821, 709, 824, 709, 825, 672, - 672, 627, 826, 671, 671, 671, 671, 671, 671, 716, - 716, 827, 627, 672, 672, 672, 672, 672, 672, 672, - 718, 718, 828, 716, 716, 716, 716, 716, 716, 671, - 829, 830, 832, 833, 718, 718, 718, 718, 718, 718, - 718, 831, 834, 835, 836, 837, 840, 841, 831, 842, - 843, 844, 845, 846, 671, 847, 848, 849, 850, 851, - - 852, 855, 856, 857, 858, 859, 860, 861, 864, 865, - 857, 866, 868, 869, 870, 872, 873, 874, 877, 878, - 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, - 881, 890, 891, 892, 893, 894, 895, 896, 897, 898, - 900, 899, 901, 904, 905, 906, 907, 898, 899, 909, - 912, 913, 914, 856, 917, 916, 920, 921, 922, 913, - 914, 858, 916, 923, 925, 926, 928, 929, 930, 931, - 933, 934, 935, 926, 936, 929, 939, 940, 880, 941, - 942, 944, 936, 945, 946, 949, 950, 941, 942, 951, - 952, 953, 946, 950, 954, 955, 951, 956, 957, 964, - - 965, 780, 779, 778, 777, 956, 957, 776, 775, 774, - 773, 917, 772, 771, 770, 769, 768, 767, 766, 765, - 764, 762, 761, 928, 760, 759, 758, 756, 755, 754, - 753, 752, 751, 952, 953, 960, 960, 960, 960, 960, - 961, 961, 961, 961, 961, 962, 962, 962, 963, 963, - 963, 966, 966, 967, 750, 967, 967, 967, 968, 968, - 969, 969, 749, 748, 747, 745, 744, 743, 742, 741, - 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, - 729, 728, 727, 726, 725, 724, 723, 721, 720, 719, - 712, 711, 708, 706, 705, 704, 702, 701, 700, 699, - - 698, 697, 696, 695, 694, 693, 692, 691, 690, 687, - 686, 685, 684, 683, 682, 680, 679, 678, 677, 676, - 675, 674, 670, 668, 667, 666, 665, 664, 663, 662, - 661, 660, 659, 658, 657, 656, 655, 649, 647, 646, - 645, 644, 643, 639, 638, 637, 636, 635, 634, 633, - 632, 631, 629, 621, 620, 616, 615, 613, 612, 610, - 609, 608, 607, 606, 605, 604, 603, 599, 598, 597, - 595, 593, 592, 591, 590, 589, 588, 587, 586, 585, - 584, 582, 581, 576, 575, 574, 573, 570, 569, 568, - 566, 565, 563, 562, 561, 560, 559, 557, 556, 554, - - 553, 552, 551, 550, 549, 548, 547, 546, 544, 543, - 542, 541, 540, 536, 535, 534, 533, 532, 531, 528, - 527, 526, 525, 524, 523, 522, 520, 519, 518, 517, - 516, 515, 514, 512, 511, 508, 503, 502, 500, 499, - 498, 496, 495, 492, 491, 490, 489, 478, 477, 476, - 474, 473, 472, 471, 470, 467, 465, 464, 463, 461, - 460, 459, 458, 456, 455, 454, 453, 452, 450, 449, - 444, 443, 441, 440, 439, 438, 437, 436, 435, 434, - 433, 432, 431, 429, 428, 427, 426, 425, 424, 423, - 422, 420, 419, 418, 417, 416, 415, 414, 410, 406, - - 405, 404, 401, 399, 389, 387, 383, 382, 381, 380, - 378, 377, 375, 370, 369, 368, 365, 364, 363, 362, - 361, 360, 359, 354, 352, 351, 350, 349, 348, 346, - 345, 342, 341, 340, 339, 338, 337, 336, 335, 334, - 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, - 323, 322, 321, 320, 319, 318, 317, 316, 315, 312, - 310, 309, 308, 307, 306, 305, 304, 303, 301, 297, - 295, 294, 293, 292, 288, 287, 286, 285, 284, 283, - 282, 281, 280, 276, 274, 273, 272, 262, 261, 260, - 259, 258, 257, 256, 255, 253, 252, 251, 250, 249, - - 247, 246, 245, 244, 243, 242, 241, 240, 239, 238, - 237, 236, 235, 234, 233, 232, 231, 229, 228, 227, - 226, 225, 224, 223, 222, 221, 220, 219, 217, 216, - 215, 214, 213, 212, 211, 210, 209, 208, 207, 206, - 205, 204, 203, 202, 201, 199, 198, 197, 196, 195, - 194, 193, 192, 191, 190, 189, 188, 186, 185, 184, - 183, 181, 180, 179, 178, 177, 175, 160, 159, 158, - 157, 150, 149, 147, 146, 145, 141, 140, 139, 138, - 137, 134, 133, 132, 131, 130, 128, 127, 125, 123, - 122, 121, 119, 118, 117, 115, 114, 112, 111, 110, - - 109, 108, 107, 104, 103, 102, 101, 100, 99, 98, - 97, 95, 94, 93, 92, 91, 90, 88, 87, 83, - 79, 52, 38, 32, 22, 18, 14, 12, 11, 7, - 6, 5, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, - - 959, 959, 959 + 367, 367, 400, 400, 400, 269, 412, 412, 412, 729, + 729, 367, 795, 400, 400, 413, 413, 413, 796, 469, + 469, 469, 513, 513, 513, 521, 538, 781, 781, 367, + 469, 469, 797, 513, 513, 538, 798, 538, 538, 521, + 521, 521, 521, 521, 521, 521, 555, 555, 555, 571, + 571, 799, 800, 801, 802, 572, 572, 555, 555, 803, + 555, 804, 805, 571, 571, 571, 571, 571, 571, 572, + 572, 572, 572, 572, 572, 572, 582, 615, 806, 596, + 596, 596, 620, 620, 620, 582, 615, 582, 615, 571, + 596, 596, 767, 620, 620, 629, 701, 807, 808, 809, + + 810, 624, 624, 811, 767, 701, 812, 701, 626, 626, + 813, 814, 815, 816, 571, 624, 624, 624, 624, 624, + 624, 624, 626, 626, 626, 626, 626, 626, 628, 628, + 817, 820, 629, 821, 822, 823, 824, 825, 826, 827, + 828, 629, 628, 628, 628, 628, 628, 628, 628, 660, + 679, 679, 629, 829, 832, 833, 680, 680, 660, 834, + 660, 660, 836, 837, 679, 679, 679, 679, 679, 679, + 680, 680, 680, 680, 680, 680, 680, 724, 731, 731, + 839, 840, 841, 842, 733, 733, 724, 843, 724, 844, + 679, 845, 731, 731, 731, 731, 731, 731, 733, 733, + + 733, 733, 733, 733, 733, 847, 848, 849, 850, 851, + 852, 855, 856, 857, 860, 679, 861, 862, 863, 864, + 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, + 877, 869, 878, 879, 882, 883, 884, 885, 886, 887, + 888, 889, 890, 891, 892, 893, 894, 895, 896, 899, + 900, 901, 902, 903, 906, 907, 910, 911, 901, 912, + 914, 915, 916, 918, 919, 920, 925, 926, 927, 928, + 929, 930, 931, 932, 933, 934, 935, 936, 929, 938, + 939, 940, 941, 942, 943, 944, 945, 946, 948, 947, + 949, 952, 953, 954, 955, 946, 947, 957, 960, 961, + + 962, 900, 965, 964, 968, 969, 970, 961, 962, 902, + 964, 971, 973, 974, 976, 977, 978, 979, 981, 982, + 983, 974, 984, 977, 987, 988, 928, 989, 990, 992, + 984, 993, 994, 997, 998, 989, 990, 999, 1000, 1001, + 994, 998, 1002, 1003, 999, 1004, 1005, 1012, 1013, 778, + 777, 776, 775, 1004, 1005, 774, 773, 772, 771, 965, + 770, 769, 768, 766, 765, 764, 763, 762, 761, 760, + 759, 976, 758, 757, 756, 755, 754, 753, 752, 751, + 749, 1000, 1001, 1008, 1008, 1008, 1008, 1008, 1009, 1009, + 1009, 1009, 1009, 1010, 1010, 1010, 1011, 1011, 1011, 1014, + + 1014, 1015, 747, 1015, 1015, 1015, 1016, 1016, 1017, 1017, + 746, 745, 744, 743, 742, 741, 740, 739, 738, 736, + 735, 734, 727, 726, 723, 722, 721, 720, 719, 718, + 717, 715, 714, 713, 712, 711, 710, 709, 708, 707, + 706, 705, 704, 703, 700, 699, 698, 697, 696, 695, + 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, + 684, 683, 682, 678, 676, 675, 674, 673, 672, 671, + 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, + 655, 653, 652, 651, 650, 649, 646, 645, 644, 643, + 642, 641, 640, 639, 638, 637, 636, 635, 634, 633, + + 631, 623, 622, 618, 617, 614, 612, 611, 610, 609, + 608, 607, 606, 605, 601, 600, 599, 597, 595, 594, + 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, + 581, 576, 575, 574, 573, 570, 569, 568, 566, 565, + 563, 562, 561, 560, 559, 557, 556, 554, 553, 552, + 551, 550, 549, 548, 547, 546, 544, 543, 542, 541, + 540, 536, 535, 534, 533, 532, 531, 528, 527, 526, + 525, 524, 523, 522, 520, 519, 518, 517, 516, 515, + 514, 512, 511, 508, 503, 502, 500, 499, 498, 496, + 495, 492, 491, 490, 489, 478, 477, 476, 474, 473, + + 472, 471, 470, 467, 465, 464, 463, 461, 460, 459, + 458, 456, 455, 454, 453, 452, 450, 449, 444, 443, + 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, + 431, 429, 428, 427, 426, 425, 424, 423, 422, 420, + 419, 418, 417, 416, 415, 414, 410, 406, 405, 404, + 401, 399, 389, 387, 383, 382, 381, 380, 378, 377, + 375, 370, 369, 368, 365, 364, 363, 362, 361, 360, + 359, 354, 352, 351, 350, 349, 348, 346, 345, 342, + 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, + 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, + + 321, 320, 319, 318, 317, 316, 315, 312, 310, 309, + 308, 307, 306, 305, 304, 303, 301, 297, 295, 294, + 293, 292, 288, 287, 286, 285, 284, 283, 282, 281, + 280, 276, 274, 273, 272, 262, 261, 260, 259, 258, + 257, 256, 255, 253, 252, 251, 250, 249, 247, 246, + 245, 244, 243, 242, 241, 240, 239, 238, 237, 236, + 235, 234, 233, 232, 231, 229, 228, 227, 226, 225, + 224, 223, 222, 221, 220, 219, 217, 216, 215, 214, + 213, 212, 211, 210, 209, 208, 207, 206, 205, 204, + 203, 202, 201, 199, 198, 197, 196, 195, 194, 193, + + 192, 191, 190, 189, 188, 186, 185, 184, 183, 181, + 180, 179, 178, 177, 175, 160, 159, 158, 157, 150, + 149, 147, 146, 145, 141, 140, 139, 138, 137, 134, + 133, 132, 131, 130, 128, 127, 125, 123, 122, 121, + 119, 118, 117, 115, 114, 112, 111, 110, 109, 108, + 107, 104, 103, 102, 101, 100, 99, 98, 97, 95, + 94, 93, 92, 91, 90, 88, 87, 83, 79, 52, + 38, 32, 22, 18, 14, 12, 11, 7, 6, 5, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, + 1007 } ; /* The intent behind this definition is that it'll catch @@ -1105,8 +1134,9 @@ static int classify_identifier(struct _mesa_glsl_parse_state *, const char *); do { \ yylloc->source = 0; \ yylloc->first_column = yycolumn + 1; \ - yylloc->first_line = yylineno + 1; \ + yylloc->first_line = yylloc->last_line = yylineno + 1; \ yycolumn += yyleng; \ + yylloc->last_column = yycolumn + 1; \ } while(0); #define YY_USER_INIT yylineno = 0; yycolumn = 0; @@ -1144,7 +1174,7 @@ static int classify_identifier(struct _mesa_glsl_parse_state *, const char *); } else if (yyextra->is_version(reserved_glsl, \ reserved_glsl_es)) { \ _mesa_glsl_error(yylloc, yyextra, \ - "Illegal use of reserved word `%s'", yytext); \ + "illegal use of reserved word `%s'", yytext); \ return ERROR_TOK; \ } else { \ yylval->identifier = strdup(yytext); \ @@ -1160,7 +1190,7 @@ static int classify_identifier(struct _mesa_glsl_parse_state *, const char *); do { \ if (yyextra->is_version(0, 300)) { \ _mesa_glsl_error(yylloc, yyextra, \ - "Illegal use of reserved word `%s'", yytext); \ + "illegal use of reserved word `%s'", yytext); \ return ERROR_TOK; \ } else { \ return token; \ @@ -1191,10 +1221,10 @@ literal_integer(char *text, int len, struct _mesa_glsl_parse_state *state, /* Note that signed 0xffffffff is valid, not out of range! */ if (state->is_version(130, 300)) { _mesa_glsl_error(lloc, state, - "Literal value `%s' out of range", text); + "literal value `%s' out of range", text); } else { _mesa_glsl_warning(lloc, state, - "Literal value `%s' out of range", text); + "literal value `%s' out of range", text); } } else if (base == 10 && !is_uint && (unsigned)value > (unsigned)INT_MAX + 1) { /* Tries to catch unintentionally providing a negative value. @@ -1202,7 +1232,7 @@ literal_integer(char *text, int len, struct _mesa_glsl_parse_state *state, * want to warn for INT_MAX. */ _mesa_glsl_warning(lloc, state, - "Signed literal value `%s' is interpreted as %d", + "signed literal value `%s' is interpreted as %d", text, lval->n); } return is_uint ? UINTCONSTANT : INTCONSTANT; @@ -1212,7 +1242,7 @@ literal_integer(char *text, int len, struct _mesa_glsl_parse_state *state, literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base) -#line 1216 "glsl_lexer.cpp" +#line 1246 "glsl_lexer.cpp" #define INITIAL 0 #define PP 1 @@ -1241,8 +1271,8 @@ struct yyguts_t size_t yy_buffer_stack_max; /**< capacity of stack. */ YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */ char yy_hold_char; - int yy_n_chars; - int yyleng_r; + yy_size_t yy_n_chars; + yy_size_t yyleng_r; char *yy_c_buf_p; int yy_init; int yy_start; @@ -1299,7 +1329,7 @@ FILE *_mesa_glsl_lexer_get_out (yyscan_t yyscanner ); void _mesa_glsl_lexer_set_out (FILE * out_str ,yyscan_t yyscanner ); -int _mesa_glsl_lexer_get_leng (yyscan_t yyscanner ); +yy_size_t _mesa_glsl_lexer_get_leng (yyscan_t yyscanner ); char *_mesa_glsl_lexer_get_text (yyscan_t yyscanner ); @@ -1463,11 +1493,6 @@ YY_DECL register int yy_act; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -#line 164 "glsl_lexer.ll" - - -#line 1470 "glsl_lexer.cpp" - yylval = yylval_param; yylloc = yylloc_param; @@ -1498,6 +1523,12 @@ YY_DECL _mesa_glsl_lexer__load_buffer_state(yyscanner ); } + { +#line 165 "glsl_lexer.ll" + + +#line 1531 "glsl_lexer.cpp" + while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = yyg->yy_c_buf_p; @@ -1515,7 +1546,7 @@ YY_DECL yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { yyg->yy_last_accepting_state = yy_current_state; @@ -1524,13 +1555,13 @@ yy_match: while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 960 ) + if ( yy_current_state >= 1008 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } - while ( yy_current_state != 959 ); + while ( yy_current_state != 1007 ); yy_cp = yyg->yy_last_accepting_cpos; yy_current_state = yyg->yy_last_accepting_state; @@ -1552,7 +1583,7 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 166 "glsl_lexer.ll" +#line 167 "glsl_lexer.ll" ; YY_BREAK /* Preprocessor tokens. */ @@ -1561,17 +1592,17 @@ case 2: yyg->yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 169 "glsl_lexer.ll" +#line 170 "glsl_lexer.ll" ; YY_BREAK case 3: YY_RULE_SETUP -#line 170 "glsl_lexer.ll" +#line 171 "glsl_lexer.ll" { BEGIN PP; return VERSION_TOK; } YY_BREAK case 4: YY_RULE_SETUP -#line 171 "glsl_lexer.ll" +#line 172 "glsl_lexer.ll" { BEGIN PP; return EXTENSION; } YY_BREAK case 5: @@ -1579,7 +1610,7 @@ case 5: yyg->yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 172 "glsl_lexer.ll" +#line 173 "glsl_lexer.ll" { /* Eat characters until the first digit is * encountered @@ -1601,7 +1632,7 @@ case 6: yyg->yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 187 "glsl_lexer.ll" +#line 188 "glsl_lexer.ll" { /* Eat characters until the first digit is * encountered @@ -1619,7 +1650,7 @@ YY_RULE_SETUP YY_BREAK case 7: YY_RULE_SETUP -#line 201 "glsl_lexer.ll" +#line 202 "glsl_lexer.ll" { BEGIN PP; return PRAGMA_DEBUG_ON; @@ -1627,7 +1658,7 @@ YY_RULE_SETUP YY_BREAK case 8: YY_RULE_SETUP -#line 205 "glsl_lexer.ll" +#line 206 "glsl_lexer.ll" { BEGIN PP; return PRAGMA_DEBUG_OFF; @@ -1635,7 +1666,7 @@ YY_RULE_SETUP YY_BREAK case 9: YY_RULE_SETUP -#line 209 "glsl_lexer.ll" +#line 210 "glsl_lexer.ll" { BEGIN PP; return PRAGMA_OPTIMIZE_ON; @@ -1643,7 +1674,7 @@ YY_RULE_SETUP YY_BREAK case 10: YY_RULE_SETUP -#line 213 "glsl_lexer.ll" +#line 214 "glsl_lexer.ll" { BEGIN PP; return PRAGMA_OPTIMIZE_OFF; @@ -1651,7 +1682,7 @@ YY_RULE_SETUP YY_BREAK case 11: YY_RULE_SETUP -#line 217 "glsl_lexer.ll" +#line 218 "glsl_lexer.ll" { BEGIN PP; return PRAGMA_INVARIANT_ALL; @@ -1659,38 +1690,38 @@ YY_RULE_SETUP YY_BREAK case 12: YY_RULE_SETUP -#line 221 "glsl_lexer.ll" +#line 222 "glsl_lexer.ll" { BEGIN PRAGMA; } YY_BREAK case 13: /* rule 13 can match eol */ YY_RULE_SETUP -#line 223 "glsl_lexer.ll" +#line 224 "glsl_lexer.ll" { BEGIN 0; yylineno++; yycolumn = 0; } YY_BREAK case 14: YY_RULE_SETUP -#line 224 "glsl_lexer.ll" +#line 225 "glsl_lexer.ll" { } YY_BREAK case 15: YY_RULE_SETUP -#line 226 "glsl_lexer.ll" +#line 227 "glsl_lexer.ll" { } YY_BREAK case 16: YY_RULE_SETUP -#line 227 "glsl_lexer.ll" +#line 228 "glsl_lexer.ll" { } YY_BREAK case 17: YY_RULE_SETUP -#line 228 "glsl_lexer.ll" +#line 229 "glsl_lexer.ll" return COLON; YY_BREAK case 18: YY_RULE_SETUP -#line 229 "glsl_lexer.ll" +#line 230 "glsl_lexer.ll" { yylval->identifier = strdup(yytext); return IDENTIFIER; @@ -1698,7 +1729,7 @@ YY_RULE_SETUP YY_BREAK case 19: YY_RULE_SETUP -#line 233 "glsl_lexer.ll" +#line 234 "glsl_lexer.ll" { yylval->n = strtol(yytext, NULL, 10); return INTCONSTANT; @@ -1707,431 +1738,431 @@ YY_RULE_SETUP case 20: /* rule 20 can match eol */ YY_RULE_SETUP -#line 237 "glsl_lexer.ll" +#line 238 "glsl_lexer.ll" { BEGIN 0; yylineno++; yycolumn = 0; return EOL; } YY_BREAK case 21: /* rule 21 can match eol */ YY_RULE_SETUP -#line 239 "glsl_lexer.ll" +#line 240 "glsl_lexer.ll" { yylineno++; yycolumn = 0; } YY_BREAK case 22: YY_RULE_SETUP -#line 241 "glsl_lexer.ll" +#line 242 "glsl_lexer.ll" DEPRECATED_ES_KEYWORD(ATTRIBUTE); YY_BREAK case 23: YY_RULE_SETUP -#line 242 "glsl_lexer.ll" +#line 243 "glsl_lexer.ll" return CONST_TOK; YY_BREAK case 24: YY_RULE_SETUP -#line 243 "glsl_lexer.ll" +#line 244 "glsl_lexer.ll" return BOOL_TOK; YY_BREAK case 25: YY_RULE_SETUP -#line 244 "glsl_lexer.ll" +#line 245 "glsl_lexer.ll" return FLOAT_TOK; YY_BREAK case 26: YY_RULE_SETUP -#line 245 "glsl_lexer.ll" +#line 246 "glsl_lexer.ll" return INT_TOK; YY_BREAK case 27: YY_RULE_SETUP -#line 246 "glsl_lexer.ll" +#line 247 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, UINT_TOK); YY_BREAK case 28: YY_RULE_SETUP -#line 248 "glsl_lexer.ll" +#line 249 "glsl_lexer.ll" return BREAK; YY_BREAK case 29: YY_RULE_SETUP -#line 249 "glsl_lexer.ll" +#line 250 "glsl_lexer.ll" return CONTINUE; YY_BREAK case 30: YY_RULE_SETUP -#line 250 "glsl_lexer.ll" +#line 251 "glsl_lexer.ll" return DO; YY_BREAK case 31: YY_RULE_SETUP -#line 251 "glsl_lexer.ll" +#line 252 "glsl_lexer.ll" return WHILE; YY_BREAK case 32: YY_RULE_SETUP -#line 252 "glsl_lexer.ll" +#line 253 "glsl_lexer.ll" return ELSE; YY_BREAK case 33: YY_RULE_SETUP -#line 253 "glsl_lexer.ll" +#line 254 "glsl_lexer.ll" return FOR; YY_BREAK case 34: YY_RULE_SETUP -#line 254 "glsl_lexer.ll" +#line 255 "glsl_lexer.ll" return IF; YY_BREAK case 35: YY_RULE_SETUP -#line 255 "glsl_lexer.ll" +#line 256 "glsl_lexer.ll" return DISCARD; YY_BREAK case 36: YY_RULE_SETUP -#line 256 "glsl_lexer.ll" +#line 257 "glsl_lexer.ll" return RETURN; YY_BREAK case 37: YY_RULE_SETUP -#line 258 "glsl_lexer.ll" +#line 259 "glsl_lexer.ll" return BVEC2; YY_BREAK case 38: YY_RULE_SETUP -#line 259 "glsl_lexer.ll" +#line 260 "glsl_lexer.ll" return BVEC3; YY_BREAK case 39: YY_RULE_SETUP -#line 260 "glsl_lexer.ll" +#line 261 "glsl_lexer.ll" return BVEC4; YY_BREAK case 40: YY_RULE_SETUP -#line 261 "glsl_lexer.ll" +#line 262 "glsl_lexer.ll" return IVEC2; YY_BREAK case 41: YY_RULE_SETUP -#line 262 "glsl_lexer.ll" +#line 263 "glsl_lexer.ll" return IVEC3; YY_BREAK case 42: YY_RULE_SETUP -#line 263 "glsl_lexer.ll" +#line 264 "glsl_lexer.ll" return IVEC4; YY_BREAK case 43: YY_RULE_SETUP -#line 264 "glsl_lexer.ll" +#line 265 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, UVEC2); YY_BREAK case 44: YY_RULE_SETUP -#line 265 "glsl_lexer.ll" +#line 266 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, UVEC3); YY_BREAK case 45: YY_RULE_SETUP -#line 266 "glsl_lexer.ll" +#line 267 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, UVEC4); YY_BREAK case 46: YY_RULE_SETUP -#line 267 "glsl_lexer.ll" +#line 268 "glsl_lexer.ll" return VEC2; YY_BREAK case 47: YY_RULE_SETUP -#line 268 "glsl_lexer.ll" +#line 269 "glsl_lexer.ll" return VEC3; YY_BREAK case 48: YY_RULE_SETUP -#line 269 "glsl_lexer.ll" +#line 270 "glsl_lexer.ll" return VEC4; YY_BREAK case 49: YY_RULE_SETUP -#line 270 "glsl_lexer.ll" +#line 271 "glsl_lexer.ll" return MAT2X2; YY_BREAK case 50: YY_RULE_SETUP -#line 271 "glsl_lexer.ll" +#line 272 "glsl_lexer.ll" return MAT3X3; YY_BREAK case 51: YY_RULE_SETUP -#line 272 "glsl_lexer.ll" +#line 273 "glsl_lexer.ll" return MAT4X4; YY_BREAK case 52: YY_RULE_SETUP -#line 273 "glsl_lexer.ll" +#line 274 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT2X2); YY_BREAK case 53: YY_RULE_SETUP -#line 274 "glsl_lexer.ll" +#line 275 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT2X3); YY_BREAK case 54: YY_RULE_SETUP -#line 275 "glsl_lexer.ll" +#line 276 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT2X4); YY_BREAK case 55: YY_RULE_SETUP -#line 276 "glsl_lexer.ll" +#line 277 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT3X2); YY_BREAK case 56: YY_RULE_SETUP -#line 277 "glsl_lexer.ll" +#line 278 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT3X3); YY_BREAK case 57: YY_RULE_SETUP -#line 278 "glsl_lexer.ll" +#line 279 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT3X4); YY_BREAK case 58: YY_RULE_SETUP -#line 279 "glsl_lexer.ll" +#line 280 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT4X2); YY_BREAK case 59: YY_RULE_SETUP -#line 280 "glsl_lexer.ll" +#line 281 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT4X3); YY_BREAK case 60: YY_RULE_SETUP -#line 281 "glsl_lexer.ll" +#line 282 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, MAT4X4); YY_BREAK case 61: YY_RULE_SETUP -#line 283 "glsl_lexer.ll" +#line 284 "glsl_lexer.ll" return IN_TOK; YY_BREAK case 62: YY_RULE_SETUP -#line 284 "glsl_lexer.ll" +#line 285 "glsl_lexer.ll" return OUT_TOK; YY_BREAK case 63: YY_RULE_SETUP -#line 285 "glsl_lexer.ll" +#line 286 "glsl_lexer.ll" return INOUT_TOK; YY_BREAK case 64: YY_RULE_SETUP -#line 286 "glsl_lexer.ll" +#line 287 "glsl_lexer.ll" return UNIFORM; YY_BREAK case 65: YY_RULE_SETUP -#line 287 "glsl_lexer.ll" +#line 288 "glsl_lexer.ll" DEPRECATED_ES_KEYWORD(VARYING); YY_BREAK case 66: YY_RULE_SETUP -#line 288 "glsl_lexer.ll" +#line 289 "glsl_lexer.ll" KEYWORD(120, 300, 120, 300, CENTROID); YY_BREAK case 67: YY_RULE_SETUP -#line 289 "glsl_lexer.ll" +#line 290 "glsl_lexer.ll" KEYWORD(120, 100, 120, 100, INVARIANT); YY_BREAK case 68: YY_RULE_SETUP -#line 290 "glsl_lexer.ll" +#line 291 "glsl_lexer.ll" KEYWORD(130, 100, 130, 300, FLAT); YY_BREAK case 69: YY_RULE_SETUP -#line 291 "glsl_lexer.ll" +#line 292 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, SMOOTH); YY_BREAK case 70: YY_RULE_SETUP -#line 292 "glsl_lexer.ll" +#line 293 "glsl_lexer.ll" KEYWORD(130, 300, 130, 0, NOPERSPECTIVE); YY_BREAK case 71: YY_RULE_SETUP -#line 294 "glsl_lexer.ll" +#line 295 "glsl_lexer.ll" DEPRECATED_ES_KEYWORD(SAMPLER1D); YY_BREAK case 72: YY_RULE_SETUP -#line 295 "glsl_lexer.ll" +#line 296 "glsl_lexer.ll" return SAMPLER2D; YY_BREAK case 73: YY_RULE_SETUP -#line 296 "glsl_lexer.ll" +#line 297 "glsl_lexer.ll" return SAMPLER3D; YY_BREAK case 74: YY_RULE_SETUP -#line 297 "glsl_lexer.ll" +#line 298 "glsl_lexer.ll" return SAMPLERCUBE; YY_BREAK case 75: YY_RULE_SETUP -#line 298 "glsl_lexer.ll" +#line 299 "glsl_lexer.ll" KEYWORD(130, 300, 130, 0, SAMPLER1DARRAY); YY_BREAK case 76: YY_RULE_SETUP -#line 299 "glsl_lexer.ll" +#line 300 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, SAMPLER2DARRAY); YY_BREAK case 77: YY_RULE_SETUP -#line 300 "glsl_lexer.ll" +#line 301 "glsl_lexer.ll" DEPRECATED_ES_KEYWORD(SAMPLER1DSHADOW); YY_BREAK case 78: YY_RULE_SETUP -#line 301 "glsl_lexer.ll" +#line 302 "glsl_lexer.ll" return SAMPLER2DSHADOW; YY_BREAK case 79: YY_RULE_SETUP -#line 302 "glsl_lexer.ll" +#line 303 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, SAMPLERCUBESHADOW); YY_BREAK case 80: YY_RULE_SETUP -#line 303 "glsl_lexer.ll" +#line 304 "glsl_lexer.ll" KEYWORD(130, 300, 130, 0, SAMPLER1DARRAYSHADOW); YY_BREAK case 81: YY_RULE_SETUP -#line 304 "glsl_lexer.ll" +#line 305 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, SAMPLER2DARRAYSHADOW); YY_BREAK case 82: YY_RULE_SETUP -#line 305 "glsl_lexer.ll" +#line 306 "glsl_lexer.ll" KEYWORD(130, 300, 130, 0, ISAMPLER1D); YY_BREAK case 83: YY_RULE_SETUP -#line 306 "glsl_lexer.ll" +#line 307 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, ISAMPLER2D); YY_BREAK case 84: YY_RULE_SETUP -#line 307 "glsl_lexer.ll" +#line 308 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, ISAMPLER3D); YY_BREAK case 85: YY_RULE_SETUP -#line 308 "glsl_lexer.ll" +#line 309 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, ISAMPLERCUBE); YY_BREAK case 86: YY_RULE_SETUP -#line 309 "glsl_lexer.ll" +#line 310 "glsl_lexer.ll" KEYWORD(130, 300, 130, 0, ISAMPLER1DARRAY); YY_BREAK case 87: YY_RULE_SETUP -#line 310 "glsl_lexer.ll" +#line 311 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, ISAMPLER2DARRAY); YY_BREAK case 88: YY_RULE_SETUP -#line 311 "glsl_lexer.ll" +#line 312 "glsl_lexer.ll" KEYWORD(130, 300, 130, 0, USAMPLER1D); YY_BREAK case 89: YY_RULE_SETUP -#line 312 "glsl_lexer.ll" +#line 313 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, USAMPLER2D); YY_BREAK case 90: YY_RULE_SETUP -#line 313 "glsl_lexer.ll" +#line 314 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, USAMPLER3D); YY_BREAK case 91: YY_RULE_SETUP -#line 314 "glsl_lexer.ll" +#line 315 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, USAMPLERCUBE); YY_BREAK case 92: YY_RULE_SETUP -#line 315 "glsl_lexer.ll" +#line 316 "glsl_lexer.ll" KEYWORD(130, 300, 130, 0, USAMPLER1DARRAY); YY_BREAK case 93: YY_RULE_SETUP -#line 316 "glsl_lexer.ll" +#line 317 "glsl_lexer.ll" KEYWORD(130, 300, 130, 300, USAMPLER2DARRAY); YY_BREAK /* additional keywords in ARB_texture_multisample, included in GLSL 1.50 */ /* these are reserved but not defined in GLSL 3.00 */ case 94: YY_RULE_SETUP -#line 320 "glsl_lexer.ll" +#line 321 "glsl_lexer.ll" KEYWORD_WITH_ALT(150, 300, 150, 0, yyextra->ARB_texture_multisample_enable, SAMPLER2DMS); YY_BREAK case 95: YY_RULE_SETUP -#line 321 "glsl_lexer.ll" +#line 322 "glsl_lexer.ll" KEYWORD_WITH_ALT(150, 300, 150, 0, yyextra->ARB_texture_multisample_enable, ISAMPLER2DMS); YY_BREAK case 96: YY_RULE_SETUP -#line 322 "glsl_lexer.ll" +#line 323 "glsl_lexer.ll" KEYWORD_WITH_ALT(150, 300, 150, 0, yyextra->ARB_texture_multisample_enable, USAMPLER2DMS); YY_BREAK case 97: YY_RULE_SETUP -#line 323 "glsl_lexer.ll" +#line 324 "glsl_lexer.ll" KEYWORD_WITH_ALT(150, 300, 150, 0, yyextra->ARB_texture_multisample_enable, SAMPLER2DMSARRAY); YY_BREAK case 98: YY_RULE_SETUP -#line 324 "glsl_lexer.ll" +#line 325 "glsl_lexer.ll" KEYWORD_WITH_ALT(150, 300, 150, 0, yyextra->ARB_texture_multisample_enable, ISAMPLER2DMSARRAY); YY_BREAK case 99: YY_RULE_SETUP -#line 325 "glsl_lexer.ll" +#line 326 "glsl_lexer.ll" KEYWORD_WITH_ALT(150, 300, 150, 0, yyextra->ARB_texture_multisample_enable, USAMPLER2DMSARRAY); YY_BREAK /* keywords available with ARB_texture_cube_map_array_enable extension on desktop GLSL */ case 100: YY_RULE_SETUP -#line 328 "glsl_lexer.ll" +#line 329 "glsl_lexer.ll" KEYWORD_WITH_ALT(400, 0, 400, 0, yyextra->ARB_texture_cube_map_array_enable, SAMPLERCUBEARRAY); YY_BREAK case 101: YY_RULE_SETUP -#line 329 "glsl_lexer.ll" +#line 330 "glsl_lexer.ll" KEYWORD_WITH_ALT(400, 0, 400, 0, yyextra->ARB_texture_cube_map_array_enable, ISAMPLERCUBEARRAY); YY_BREAK case 102: YY_RULE_SETUP -#line 330 "glsl_lexer.ll" +#line 331 "glsl_lexer.ll" KEYWORD_WITH_ALT(400, 0, 400, 0, yyextra->ARB_texture_cube_map_array_enable, USAMPLERCUBEARRAY); YY_BREAK case 103: YY_RULE_SETUP -#line 331 "glsl_lexer.ll" +#line 332 "glsl_lexer.ll" KEYWORD_WITH_ALT(400, 0, 400, 0, yyextra->ARB_texture_cube_map_array_enable, SAMPLERCUBEARRAYSHADOW); YY_BREAK case 104: YY_RULE_SETUP -#line 333 "glsl_lexer.ll" +#line 334 "glsl_lexer.ll" { if (yyextra->OES_EGL_image_external_enable) return SAMPLEREXTERNALOES; @@ -2139,689 +2170,752 @@ YY_RULE_SETUP return IDENTIFIER; } YY_BREAK +/* keywords available with ARB_shader_image_load_store */ case 105: YY_RULE_SETUP -#line 341 "glsl_lexer.ll" -return STRUCT; +#line 342 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE1D); YY_BREAK case 106: YY_RULE_SETUP -#line 342 "glsl_lexer.ll" -return VOID_TOK; +#line 343 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE2D); YY_BREAK case 107: YY_RULE_SETUP #line 344 "glsl_lexer.ll" -{ - if ((yyextra->is_version(140, 300)) - || yyextra->AMD_conservative_depth_enable - || yyextra->ARB_conservative_depth_enable - || yyextra->ARB_explicit_attrib_location_enable - || yyextra->ARB_uniform_buffer_object_enable - || yyextra->ARB_fragment_coord_conventions_enable - || yyextra->ARB_shading_language_420pack_enable) { - return LAYOUT_TOK; - } else { - yylval->identifier = strdup(yytext); - return classify_identifier(yyextra, yytext); - } - } +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE3D); YY_BREAK case 108: YY_RULE_SETUP -#line 359 "glsl_lexer.ll" -return INC_OP; +#line 345 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE2DRECT); YY_BREAK case 109: YY_RULE_SETUP -#line 360 "glsl_lexer.ll" -return DEC_OP; +#line 346 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGECUBE); YY_BREAK case 110: YY_RULE_SETUP -#line 361 "glsl_lexer.ll" -return LE_OP; +#line 347 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGEBUFFER); YY_BREAK case 111: YY_RULE_SETUP -#line 362 "glsl_lexer.ll" -return GE_OP; +#line 348 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE1DARRAY); YY_BREAK case 112: YY_RULE_SETUP -#line 363 "glsl_lexer.ll" -return EQ_OP; +#line 349 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE2DARRAY); YY_BREAK case 113: YY_RULE_SETUP -#line 364 "glsl_lexer.ll" -return NE_OP; +#line 350 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGECUBEARRAY); YY_BREAK case 114: YY_RULE_SETUP -#line 365 "glsl_lexer.ll" -return AND_OP; +#line 351 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE2DMS); YY_BREAK case 115: YY_RULE_SETUP -#line 366 "glsl_lexer.ll" -return OR_OP; +#line 352 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IMAGE2DMSARRAY); YY_BREAK case 116: YY_RULE_SETUP -#line 367 "glsl_lexer.ll" -return XOR_OP; +#line 353 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE1D); YY_BREAK case 117: YY_RULE_SETUP -#line 368 "glsl_lexer.ll" -return LEFT_OP; +#line 354 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE2D); YY_BREAK case 118: YY_RULE_SETUP -#line 369 "glsl_lexer.ll" -return RIGHT_OP; +#line 355 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE3D); YY_BREAK case 119: YY_RULE_SETUP -#line 371 "glsl_lexer.ll" -return MUL_ASSIGN; +#line 356 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE2DRECT); YY_BREAK case 120: YY_RULE_SETUP -#line 372 "glsl_lexer.ll" -return DIV_ASSIGN; +#line 357 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGECUBE); YY_BREAK case 121: YY_RULE_SETUP -#line 373 "glsl_lexer.ll" -return ADD_ASSIGN; +#line 358 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGEBUFFER); YY_BREAK case 122: YY_RULE_SETUP -#line 374 "glsl_lexer.ll" -return MOD_ASSIGN; +#line 359 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE1DARRAY); YY_BREAK case 123: YY_RULE_SETUP -#line 375 "glsl_lexer.ll" -return LEFT_ASSIGN; +#line 360 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE2DARRAY); YY_BREAK case 124: YY_RULE_SETUP -#line 376 "glsl_lexer.ll" -return RIGHT_ASSIGN; +#line 361 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGECUBEARRAY); YY_BREAK case 125: YY_RULE_SETUP -#line 377 "glsl_lexer.ll" -return AND_ASSIGN; +#line 362 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE2DMS); YY_BREAK case 126: YY_RULE_SETUP -#line 378 "glsl_lexer.ll" -return XOR_ASSIGN; +#line 363 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, IIMAGE2DMSARRAY); YY_BREAK case 127: YY_RULE_SETUP -#line 379 "glsl_lexer.ll" -return OR_ASSIGN; +#line 364 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE1D); YY_BREAK case 128: YY_RULE_SETUP -#line 380 "glsl_lexer.ll" -return SUB_ASSIGN; +#line 365 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE2D); YY_BREAK case 129: YY_RULE_SETUP -#line 382 "glsl_lexer.ll" -{ - return LITERAL_INTEGER(10); - } +#line 366 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE3D); YY_BREAK case 130: YY_RULE_SETUP -#line 385 "glsl_lexer.ll" -{ - return LITERAL_INTEGER(16); - } +#line 367 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE2DRECT); YY_BREAK case 131: YY_RULE_SETUP -#line 388 "glsl_lexer.ll" -{ - return LITERAL_INTEGER(8); - } +#line 368 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGECUBE); YY_BREAK case 132: YY_RULE_SETUP -#line 392 "glsl_lexer.ll" -{ - yylval->real = glsl_strtof(yytext, NULL); - return FLOATCONSTANT; - } +#line 369 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGEBUFFER); YY_BREAK case 133: YY_RULE_SETUP -#line 396 "glsl_lexer.ll" -{ - yylval->real = glsl_strtof(yytext, NULL); - return FLOATCONSTANT; - } +#line 370 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE1DARRAY); YY_BREAK case 134: YY_RULE_SETUP -#line 400 "glsl_lexer.ll" -{ - yylval->real = glsl_strtof(yytext, NULL); - return FLOATCONSTANT; - } +#line 371 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE2DARRAY); YY_BREAK case 135: YY_RULE_SETUP -#line 404 "glsl_lexer.ll" -{ - yylval->real = glsl_strtof(yytext, NULL); - return FLOATCONSTANT; - } +#line 372 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGECUBEARRAY); YY_BREAK case 136: YY_RULE_SETUP -#line 408 "glsl_lexer.ll" -{ - yylval->real = glsl_strtof(yytext, NULL); - return FLOATCONSTANT; - } +#line 373 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE2DMS); YY_BREAK case 137: YY_RULE_SETUP -#line 413 "glsl_lexer.ll" -{ - yylval->n = 1; - return BOOLCONSTANT; - } +#line 374 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, UIMAGE2DMSARRAY); YY_BREAK case 138: YY_RULE_SETUP -#line 417 "glsl_lexer.ll" -{ - yylval->n = 0; - return BOOLCONSTANT; - } +#line 375 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, IMAGE1DSHADOW); YY_BREAK -/* Reserved words in GLSL 1.10. */ case 139: YY_RULE_SETUP -#line 424 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, ASM); +#line 376 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, IMAGE2DSHADOW); YY_BREAK case 140: YY_RULE_SETUP -#line 425 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, CLASS); +#line 377 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, IMAGE1DARRAYSHADOW); YY_BREAK case 141: YY_RULE_SETUP -#line 426 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, UNION); +#line 378 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, IMAGE2DARRAYSHADOW); YY_BREAK case 142: YY_RULE_SETUP -#line 427 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, ENUM); +#line 380 "glsl_lexer.ll" +KEYWORD_WITH_ALT(420, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, COHERENT); YY_BREAK case 143: YY_RULE_SETUP -#line 428 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, TYPEDEF); +#line 381 "glsl_lexer.ll" +KEYWORD_WITH_ALT(110, 100, 420, 0, yyextra->ARB_shader_image_load_store_enable, VOLATILE); YY_BREAK case 144: YY_RULE_SETUP -#line 429 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, TEMPLATE); +#line 382 "glsl_lexer.ll" +KEYWORD_WITH_ALT(420, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, RESTRICT); YY_BREAK case 145: YY_RULE_SETUP -#line 430 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, THIS); +#line 383 "glsl_lexer.ll" +KEYWORD_WITH_ALT(420, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, READONLY); YY_BREAK case 146: YY_RULE_SETUP -#line 431 "glsl_lexer.ll" -KEYWORD_WITH_ALT(110, 100, 140, 300, yyextra->ARB_uniform_buffer_object_enable, PACKED_TOK); +#line 384 "glsl_lexer.ll" +KEYWORD_WITH_ALT(420, 300, 420, 0, yyextra->ARB_shader_image_load_store_enable, WRITEONLY); YY_BREAK case 147: YY_RULE_SETUP -#line 432 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, GOTO); +#line 386 "glsl_lexer.ll" +KEYWORD_WITH_ALT(420, 300, 420, 0, yyextra->ARB_shader_atomic_counters_enable, ATOMIC_UINT); YY_BREAK case 148: YY_RULE_SETUP -#line 433 "glsl_lexer.ll" -KEYWORD(110, 100, 130, 300, SWITCH); +#line 388 "glsl_lexer.ll" +return STRUCT; YY_BREAK case 149: YY_RULE_SETUP -#line 434 "glsl_lexer.ll" -KEYWORD(110, 100, 130, 300, DEFAULT); +#line 389 "glsl_lexer.ll" +return VOID_TOK; YY_BREAK case 150: YY_RULE_SETUP -#line 435 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, INLINE_TOK); +#line 391 "glsl_lexer.ll" +{ + if ((yyextra->is_version(140, 300)) + || yyextra->AMD_conservative_depth_enable + || yyextra->ARB_conservative_depth_enable + || yyextra->ARB_explicit_attrib_location_enable + || yyextra->has_separate_shader_objects() + || yyextra->ARB_uniform_buffer_object_enable + || yyextra->ARB_fragment_coord_conventions_enable + || yyextra->ARB_shading_language_420pack_enable + || yyextra->ARB_compute_shader_enable) { + return LAYOUT_TOK; + } else { + yylval->identifier = strdup(yytext); + return classify_identifier(yyextra, yytext); + } + } YY_BREAK case 151: YY_RULE_SETUP -#line 436 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, NOINLINE); +#line 408 "glsl_lexer.ll" +return INC_OP; YY_BREAK case 152: YY_RULE_SETUP -#line 437 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, VOLATILE); +#line 409 "glsl_lexer.ll" +return DEC_OP; YY_BREAK case 153: YY_RULE_SETUP -#line 438 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, PUBLIC_TOK); +#line 410 "glsl_lexer.ll" +return LE_OP; YY_BREAK case 154: YY_RULE_SETUP -#line 439 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, STATIC); +#line 411 "glsl_lexer.ll" +return GE_OP; YY_BREAK case 155: YY_RULE_SETUP -#line 440 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, EXTERN); +#line 412 "glsl_lexer.ll" +return EQ_OP; YY_BREAK case 156: YY_RULE_SETUP -#line 441 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, EXTERNAL); +#line 413 "glsl_lexer.ll" +return NE_OP; YY_BREAK case 157: YY_RULE_SETUP -#line 442 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, INTERFACE); +#line 414 "glsl_lexer.ll" +return AND_OP; YY_BREAK case 158: YY_RULE_SETUP -#line 443 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, LONG_TOK); +#line 415 "glsl_lexer.ll" +return OR_OP; YY_BREAK case 159: YY_RULE_SETUP -#line 444 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, SHORT_TOK); +#line 416 "glsl_lexer.ll" +return XOR_OP; YY_BREAK case 160: YY_RULE_SETUP -#line 445 "glsl_lexer.ll" -KEYWORD(110, 100, 400, 0, DOUBLE_TOK); +#line 417 "glsl_lexer.ll" +return LEFT_OP; YY_BREAK case 161: YY_RULE_SETUP -#line 446 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, HALF); +#line 418 "glsl_lexer.ll" +return RIGHT_OP; YY_BREAK case 162: YY_RULE_SETUP -#line 447 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, FIXED_TOK); +#line 420 "glsl_lexer.ll" +return MUL_ASSIGN; YY_BREAK case 163: YY_RULE_SETUP -#line 448 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, UNSIGNED); +#line 421 "glsl_lexer.ll" +return DIV_ASSIGN; YY_BREAK case 164: YY_RULE_SETUP -#line 449 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, INPUT_TOK); +#line 422 "glsl_lexer.ll" +return ADD_ASSIGN; YY_BREAK case 165: YY_RULE_SETUP -#line 450 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, OUTPUT); +#line 423 "glsl_lexer.ll" +return MOD_ASSIGN; YY_BREAK case 166: YY_RULE_SETUP -#line 451 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, HVEC2); +#line 424 "glsl_lexer.ll" +return LEFT_ASSIGN; YY_BREAK case 167: YY_RULE_SETUP -#line 452 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, HVEC3); +#line 425 "glsl_lexer.ll" +return RIGHT_ASSIGN; YY_BREAK case 168: YY_RULE_SETUP -#line 453 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, HVEC4); +#line 426 "glsl_lexer.ll" +return AND_ASSIGN; YY_BREAK case 169: YY_RULE_SETUP -#line 454 "glsl_lexer.ll" -KEYWORD(110, 100, 400, 0, DVEC2); +#line 427 "glsl_lexer.ll" +return XOR_ASSIGN; YY_BREAK case 170: YY_RULE_SETUP -#line 455 "glsl_lexer.ll" -KEYWORD(110, 100, 400, 0, DVEC3); +#line 428 "glsl_lexer.ll" +return OR_ASSIGN; YY_BREAK case 171: YY_RULE_SETUP -#line 456 "glsl_lexer.ll" -KEYWORD(110, 100, 400, 0, DVEC4); +#line 429 "glsl_lexer.ll" +return SUB_ASSIGN; YY_BREAK case 172: YY_RULE_SETUP -#line 457 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, FVEC2); +#line 431 "glsl_lexer.ll" +{ + return LITERAL_INTEGER(10); + } YY_BREAK case 173: YY_RULE_SETUP -#line 458 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, FVEC3); +#line 434 "glsl_lexer.ll" +{ + return LITERAL_INTEGER(16); + } YY_BREAK case 174: YY_RULE_SETUP -#line 459 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, FVEC4); +#line 437 "glsl_lexer.ll" +{ + return LITERAL_INTEGER(8); + } YY_BREAK case 175: YY_RULE_SETUP -#line 460 "glsl_lexer.ll" -DEPRECATED_ES_KEYWORD(SAMPLER2DRECT); +#line 441 "glsl_lexer.ll" +{ + yylval->real = glsl_strtof(yytext, NULL); + return FLOATCONSTANT; + } YY_BREAK case 176: YY_RULE_SETUP -#line 461 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, SAMPLER3DRECT); +#line 445 "glsl_lexer.ll" +{ + yylval->real = glsl_strtof(yytext, NULL); + return FLOATCONSTANT; + } YY_BREAK case 177: YY_RULE_SETUP -#line 462 "glsl_lexer.ll" -DEPRECATED_ES_KEYWORD(SAMPLER2DRECTSHADOW); +#line 449 "glsl_lexer.ll" +{ + yylval->real = glsl_strtof(yytext, NULL); + return FLOATCONSTANT; + } YY_BREAK case 178: YY_RULE_SETUP -#line 463 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, SIZEOF); +#line 453 "glsl_lexer.ll" +{ + yylval->real = glsl_strtof(yytext, NULL); + return FLOATCONSTANT; + } YY_BREAK case 179: YY_RULE_SETUP -#line 464 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, CAST); +#line 457 "glsl_lexer.ll" +{ + yylval->real = glsl_strtof(yytext, NULL); + return FLOATCONSTANT; + } YY_BREAK case 180: YY_RULE_SETUP -#line 465 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, NAMESPACE); +#line 462 "glsl_lexer.ll" +{ + yylval->n = 1; + return BOOLCONSTANT; + } YY_BREAK case 181: YY_RULE_SETUP #line 466 "glsl_lexer.ll" -KEYWORD(110, 100, 0, 0, USING); +{ + yylval->n = 0; + return BOOLCONSTANT; + } YY_BREAK -/* Additional reserved words in GLSL 1.20. */ +/* Reserved words in GLSL 1.10. */ case 182: YY_RULE_SETUP -#line 469 "glsl_lexer.ll" -KEYWORD(120, 100, 130, 100, LOWP); +#line 473 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, ASM); YY_BREAK case 183: YY_RULE_SETUP -#line 470 "glsl_lexer.ll" -KEYWORD(120, 100, 130, 100, MEDIUMP); +#line 474 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, CLASS); YY_BREAK case 184: YY_RULE_SETUP -#line 471 "glsl_lexer.ll" -KEYWORD(120, 100, 130, 100, HIGHP); +#line 475 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, UNION); YY_BREAK case 185: YY_RULE_SETUP -#line 472 "glsl_lexer.ll" -KEYWORD(120, 100, 130, 100, PRECISION); +#line 476 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, ENUM); YY_BREAK -/* Additional reserved words in GLSL 1.30. */ case 186: YY_RULE_SETUP -#line 475 "glsl_lexer.ll" -KEYWORD(130, 300, 130, 300, CASE); +#line 477 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, TYPEDEF); YY_BREAK case 187: YY_RULE_SETUP -#line 476 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, COMMON); +#line 478 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, TEMPLATE); YY_BREAK case 188: YY_RULE_SETUP -#line 477 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, PARTITION); +#line 479 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, THIS); YY_BREAK case 189: YY_RULE_SETUP -#line 478 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, ACTIVE); +#line 480 "glsl_lexer.ll" +KEYWORD_WITH_ALT(110, 100, 140, 300, yyextra->ARB_uniform_buffer_object_enable, PACKED_TOK); YY_BREAK case 190: YY_RULE_SETUP -#line 479 "glsl_lexer.ll" -KEYWORD(130, 100, 0, 0, SUPERP); +#line 481 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, GOTO); YY_BREAK case 191: YY_RULE_SETUP -#line 480 "glsl_lexer.ll" -KEYWORD(130, 300, 140, 0, SAMPLERBUFFER); +#line 482 "glsl_lexer.ll" +KEYWORD(110, 100, 130, 300, SWITCH); YY_BREAK case 192: YY_RULE_SETUP -#line 481 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, FILTER); +#line 483 "glsl_lexer.ll" +KEYWORD(110, 100, 130, 300, DEFAULT); YY_BREAK case 193: YY_RULE_SETUP -#line 482 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE1D); +#line 484 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, INLINE_TOK); YY_BREAK case 194: YY_RULE_SETUP -#line 483 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE2D); +#line 485 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, NOINLINE); YY_BREAK case 195: YY_RULE_SETUP -#line 484 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE3D); +#line 486 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, PUBLIC_TOK); YY_BREAK case 196: YY_RULE_SETUP -#line 485 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGECUBE); +#line 487 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, STATIC); YY_BREAK case 197: YY_RULE_SETUP -#line 486 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IIMAGE1D); +#line 488 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, EXTERN); YY_BREAK case 198: YY_RULE_SETUP -#line 487 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IIMAGE2D); +#line 489 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, EXTERNAL); YY_BREAK case 199: YY_RULE_SETUP -#line 488 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IIMAGE3D); +#line 490 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, INTERFACE); YY_BREAK case 200: YY_RULE_SETUP -#line 489 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IIMAGECUBE); +#line 491 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, LONG_TOK); YY_BREAK case 201: YY_RULE_SETUP -#line 490 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, UIMAGE1D); +#line 492 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, SHORT_TOK); YY_BREAK case 202: YY_RULE_SETUP -#line 491 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, UIMAGE2D); +#line 493 "glsl_lexer.ll" +KEYWORD(110, 100, 400, 0, DOUBLE_TOK); YY_BREAK case 203: YY_RULE_SETUP -#line 492 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, UIMAGE3D); +#line 494 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, HALF); YY_BREAK case 204: YY_RULE_SETUP -#line 493 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, UIMAGECUBE); +#line 495 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, FIXED_TOK); YY_BREAK case 205: YY_RULE_SETUP -#line 494 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE1DARRAY); +#line 496 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, UNSIGNED); YY_BREAK case 206: YY_RULE_SETUP -#line 495 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE2DARRAY); +#line 497 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, INPUT_TOK); YY_BREAK case 207: YY_RULE_SETUP -#line 496 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IIMAGE1DARRAY); +#line 498 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, OUTPUT); YY_BREAK case 208: YY_RULE_SETUP -#line 497 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IIMAGE2DARRAY); +#line 499 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, HVEC2); YY_BREAK case 209: YY_RULE_SETUP -#line 498 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, UIMAGE1DARRAY); +#line 500 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, HVEC3); YY_BREAK case 210: YY_RULE_SETUP -#line 499 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, UIMAGE2DARRAY); +#line 501 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, HVEC4); YY_BREAK case 211: YY_RULE_SETUP -#line 500 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE1DSHADOW); +#line 502 "glsl_lexer.ll" +KEYWORD(110, 100, 400, 0, DVEC2); YY_BREAK case 212: YY_RULE_SETUP -#line 501 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE2DSHADOW); +#line 503 "glsl_lexer.ll" +KEYWORD(110, 100, 400, 0, DVEC3); YY_BREAK case 213: YY_RULE_SETUP -#line 502 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE1DARRAYSHADOW); +#line 504 "glsl_lexer.ll" +KEYWORD(110, 100, 400, 0, DVEC4); YY_BREAK case 214: YY_RULE_SETUP -#line 503 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGE2DARRAYSHADOW); +#line 505 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, FVEC2); YY_BREAK case 215: YY_RULE_SETUP -#line 504 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IMAGEBUFFER); +#line 506 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, FVEC3); YY_BREAK case 216: YY_RULE_SETUP -#line 505 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, IIMAGEBUFFER); +#line 507 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, FVEC4); YY_BREAK case 217: YY_RULE_SETUP -#line 506 "glsl_lexer.ll" -KEYWORD(130, 300, 0, 0, UIMAGEBUFFER); +#line 508 "glsl_lexer.ll" +DEPRECATED_ES_KEYWORD(SAMPLER2DRECT); YY_BREAK case 218: YY_RULE_SETUP -#line 507 "glsl_lexer.ll" -KEYWORD_WITH_ALT(130, 0, 140, 0, yyextra->ARB_uniform_buffer_object_enable && !yyextra->es_shader, ROW_MAJOR); +#line 509 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, SAMPLER3DRECT); YY_BREAK -/* Additional reserved words in GLSL 1.40 */ case 219: YY_RULE_SETUP #line 510 "glsl_lexer.ll" -KEYWORD(140, 300, 140, 0, ISAMPLER2DRECT); +DEPRECATED_ES_KEYWORD(SAMPLER2DRECTSHADOW); YY_BREAK case 220: YY_RULE_SETUP #line 511 "glsl_lexer.ll" -KEYWORD(140, 300, 140, 0, USAMPLER2DRECT); +KEYWORD(110, 100, 0, 0, SIZEOF); YY_BREAK case 221: YY_RULE_SETUP #line 512 "glsl_lexer.ll" -KEYWORD(140, 300, 140, 0, ISAMPLERBUFFER); +KEYWORD(110, 100, 0, 0, CAST); YY_BREAK case 222: YY_RULE_SETUP #line 513 "glsl_lexer.ll" -KEYWORD(140, 300, 140, 0, USAMPLERBUFFER); +KEYWORD(110, 100, 0, 0, NAMESPACE); YY_BREAK -/* Additional reserved words in GLSL ES 3.00 */ case 223: YY_RULE_SETUP -#line 516 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, COHERENT); +#line 514 "glsl_lexer.ll" +KEYWORD(110, 100, 0, 0, USING); YY_BREAK +/* Additional reserved words in GLSL 1.20. */ case 224: YY_RULE_SETUP #line 517 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, RESTRICT); +KEYWORD(120, 100, 130, 100, LOWP); YY_BREAK case 225: YY_RULE_SETUP #line 518 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, READONLY); +KEYWORD(120, 100, 130, 100, MEDIUMP); YY_BREAK case 226: YY_RULE_SETUP #line 519 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, WRITEONLY); +KEYWORD(120, 100, 130, 100, HIGHP); YY_BREAK case 227: YY_RULE_SETUP #line 520 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, RESOURCE); +KEYWORD(120, 100, 130, 100, PRECISION); YY_BREAK +/* Additional reserved words in GLSL 1.30. */ case 228: YY_RULE_SETUP -#line 521 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, ATOMIC_UINT); +#line 523 "glsl_lexer.ll" +KEYWORD(130, 300, 130, 300, CASE); YY_BREAK case 229: YY_RULE_SETUP -#line 522 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, PATCH); +#line 524 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, COMMON); YY_BREAK case 230: YY_RULE_SETUP -#line 523 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, SAMPLE); +#line 525 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, PARTITION); YY_BREAK case 231: YY_RULE_SETUP -#line 524 "glsl_lexer.ll" -KEYWORD(0, 300, 0, 0, SUBROUTINE); +#line 526 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, ACTIVE); YY_BREAK case 232: YY_RULE_SETUP #line 527 "glsl_lexer.ll" +KEYWORD(130, 100, 0, 0, SUPERP); + YY_BREAK +case 233: +YY_RULE_SETUP +#line 528 "glsl_lexer.ll" +KEYWORD(130, 300, 140, 0, SAMPLERBUFFER); + YY_BREAK +case 234: +YY_RULE_SETUP +#line 529 "glsl_lexer.ll" +KEYWORD(130, 300, 0, 0, FILTER); + YY_BREAK +case 235: +YY_RULE_SETUP +#line 530 "glsl_lexer.ll" +KEYWORD_WITH_ALT(130, 0, 140, 0, yyextra->ARB_uniform_buffer_object_enable && !yyextra->es_shader, ROW_MAJOR); + YY_BREAK +/* Additional reserved words in GLSL 1.40 */ +case 236: +YY_RULE_SETUP +#line 533 "glsl_lexer.ll" +KEYWORD(140, 300, 140, 0, ISAMPLER2DRECT); + YY_BREAK +case 237: +YY_RULE_SETUP +#line 534 "glsl_lexer.ll" +KEYWORD(140, 300, 140, 0, USAMPLER2DRECT); + YY_BREAK +case 238: +YY_RULE_SETUP +#line 535 "glsl_lexer.ll" +KEYWORD(140, 300, 140, 0, ISAMPLERBUFFER); + YY_BREAK +case 239: +YY_RULE_SETUP +#line 536 "glsl_lexer.ll" +KEYWORD(140, 300, 140, 0, USAMPLERBUFFER); + YY_BREAK +/* Additional reserved words in GLSL ES 3.00 */ +case 240: +YY_RULE_SETUP +#line 539 "glsl_lexer.ll" +KEYWORD(0, 300, 0, 0, RESOURCE); + YY_BREAK +case 241: +YY_RULE_SETUP +#line 540 "glsl_lexer.ll" +KEYWORD(0, 300, 0, 0, PATCH); + YY_BREAK +case 242: +YY_RULE_SETUP +#line 541 "glsl_lexer.ll" +KEYWORD_WITH_ALT(400, 300, 400, 0, yyextra->ARB_gpu_shader5_enable, SAMPLE); + YY_BREAK +case 243: +YY_RULE_SETUP +#line 542 "glsl_lexer.ll" +KEYWORD(0, 300, 0, 0, SUBROUTINE); + YY_BREAK +case 244: +YY_RULE_SETUP +#line 545 "glsl_lexer.ll" { struct _mesa_glsl_parse_state *state = yyextra; void *ctx = state; @@ -2829,17 +2923,17 @@ YY_RULE_SETUP return classify_identifier(state, yytext); } YY_BREAK -case 233: +case 245: YY_RULE_SETUP -#line 534 "glsl_lexer.ll" +#line 552 "glsl_lexer.ll" { return yytext[0]; } YY_BREAK -case 234: +case 246: YY_RULE_SETUP -#line 536 "glsl_lexer.ll" +#line 554 "glsl_lexer.ll" ECHO; YY_BREAK -#line 2843 "glsl_lexer.cpp" +#line 2937 "glsl_lexer.cpp" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(PP): case YY_STATE_EOF(PRAGMA): @@ -2973,6 +3067,7 @@ case YY_STATE_EOF(PRAGMA): "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ + } /* end of user's declarations */ } /* end of _mesa_glsl_lexer_lex */ /* yy_get_next_buffer - try to read in a new buffer @@ -3029,21 +3124,21 @@ static int yy_get_next_buffer (yyscan_t yyscanner) else { - int num_to_read = + yy_size_t num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = YY_CURRENT_BUFFER; + YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; int yy_c_buf_p_offset = (int) (yyg->yy_c_buf_p - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { - int new_size = b->yy_buf_size * 2; + yy_size_t new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; @@ -3074,7 +3169,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner) /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - yyg->yy_n_chars, (size_t) num_to_read ); + yyg->yy_n_chars, num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; } @@ -3137,7 +3232,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 960 ) + if ( yy_current_state >= 1008 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -3166,12 +3261,13 @@ static int yy_get_next_buffer (yyscan_t yyscanner) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 960 ) + if ( yy_current_state >= 1008 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 959); + yy_is_jam = (yy_current_state == 1007); + (void)yyg; return yy_is_jam ? 0 : yy_current_state; } @@ -3200,7 +3296,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner) else { /* need more input */ - int offset = yyg->yy_c_buf_p - yyg->yytext_ptr; + yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr; ++yyg->yy_c_buf_p; switch ( yy_get_next_buffer( yyscanner ) ) @@ -3482,7 +3578,7 @@ void _mesa_glsl_lexer_pop_buffer_state (yyscan_t yyscanner) */ static void _mesa_glsl_lexer_ensure_buffer_stack (yyscan_t yyscanner) { - int num_to_alloc; + yy_size_t num_to_alloc; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; if (!yyg->yy_buffer_stack) { @@ -3580,12 +3676,12 @@ YY_BUFFER_STATE _mesa_glsl_lexer__scan_string (yyconst char * yystr , yyscan_t y * @param yyscanner The scanner object. * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE _mesa_glsl_lexer__scan_bytes (yyconst char * yybytes, int _yybytes_len , yyscan_t yyscanner) +YY_BUFFER_STATE _mesa_glsl_lexer__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner) { YY_BUFFER_STATE b; char *buf; yy_size_t n; - int i; + yy_size_t i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; @@ -3695,7 +3791,7 @@ FILE *_mesa_glsl_lexer_get_out (yyscan_t yyscanner) /** Get the length of the current token. * @param yyscanner The scanner object. */ -int _mesa_glsl_lexer_get_leng (yyscan_t yyscanner) +yy_size_t _mesa_glsl_lexer_get_leng (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yyleng; @@ -3731,7 +3827,7 @@ void _mesa_glsl_lexer_set_lineno (int line_number , yyscan_t yyscanner) /* lineno is only valid if an input buffer exists. */ if (! YY_CURRENT_BUFFER ) - yy_fatal_error( "_mesa_glsl_lexer_set_lineno called with no buffer" , yyscanner); + YY_FATAL_ERROR( "_mesa_glsl_lexer_set_lineno called with no buffer" ); yylineno = line_number; } @@ -3746,7 +3842,7 @@ void _mesa_glsl_lexer_set_column (int column_no , yyscan_t yyscanner) /* column is only valid if an input buffer exists. */ if (! YY_CURRENT_BUFFER ) - yy_fatal_error( "_mesa_glsl_lexer_set_column called with no buffer" , yyscanner); + YY_FATAL_ERROR( "_mesa_glsl_lexer_set_column called with no buffer" ); yycolumn = column_no; } @@ -3982,7 +4078,7 @@ void _mesa_glsl_lexer_free (void * ptr , yyscan_t yyscanner) #define YYTABLES_NAME "yytables" -#line 536 "glsl_lexer.ll" +#line 553 "glsl_lexer.ll" |