#line 3 "Parser/lex.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires * access to the local variable yy_act. Since yyless() is a macro, it would break * existing scanners that call yyless() from OUTSIDE yylex. * One obvious solution it to make yy_act a global. I tried that, and saw * a 5% performance hit in a non-yylineno scanner, because yy_act is * normally declared as a register variable-- so it is not worth it. */ #define YY_LESS_LINENO(n) \ do { \ int yyl;\ for ( yyl = n; yyl < yyleng; ++yyl )\ if ( yytext[yyl] == '\n' )\ --yylineno;\ }while(0) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #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 { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int 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 * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 179 #define YY_END_OF_BUFFER 180 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[876] = { 0, 0, 0, 0, 0, 0, 0, 114, 114, 117, 117, 180, 178, 7, 9, 8, 137, 116, 101, 142, 145, 113, 124, 125, 140, 138, 128, 139, 131, 141, 106, 107, 108, 129, 130, 147, 149, 148, 150, 178, 101, 122, 178, 123, 143, 101, 103, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 126, 146, 127, 144, 7, 178, 4, 4, 179, 104, 179, 105, 114, 115, 121, 117, 118, 7, 9, 0, 8, 154, 173, 101, 0, 166, 136, 159, 167, 164, 151, 162, 152, 163, 161, 0, 111, 3, 0, 165, 111, 109, 0, 0, 109, 109, 0, 0, 109, 108, 108, 108, 0, 108, 134, 135, 133, 155, 157, 153, 158, 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 172, 0, 116, 113, 101, 0, 0, 169, 0, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 39, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 57, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 168, 160, 7, 0, 0, 0, 2, 0, 5, 104, 0, 0, 0, 114, 0, 120, 119, 119, 0, 0, 0, 117, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 132, 111, 111, 0, 111, 111, 111, 0, 6, 111, 109, 0, 0, 0, 111, 0, 109, 109, 109, 109, 0, 110, 0, 0, 108, 108, 108, 108, 0, 170, 171, 0, 176, 174, 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, 0, 0, 101, 17, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 14, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 51, 101, 101, 101, 64, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 88, 101, 101, 101, 101, 101, 101, 101, 0, 0, 0, 0, 0, 0, 0, 0, 119, 0, 0, 0, 0, 0, 119, 0, 0, 177, 0, 0, 0, 0, 0, 0, 0, 111, 0, 111, 0, 111, 0, 0, 111, 111, 109, 109, 0, 0, 110, 110, 0, 110, 0, 110, 108, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 21, 101, 24, 101, 27, 101, 101, 101, 101, 101, 101, 101, 42, 101, 44, 101, 101, 101, 101, 101, 101, 101, 56, 101, 67, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 89, 101, 101, 96, 101, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 119, 0, 0, 0, 0, 0, 111, 111, 0, 0, 0, 0, 0, 110, 110, 0, 112, 0, 110, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 101, 22, 101, 101, 101, 101, 101, 101, 101, 15, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 23, 25, 101, 32, 101, 101, 101, 101, 101, 41, 101, 101, 101, 101, 49, 101, 101, 54, 101, 101, 101, 101, 101, 76, 101, 101, 101, 101, 101, 86, 101, 101, 94, 101, 101, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 112, 0, 0, 110, 112, 112, 112, 112, 112, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 59, 101, 101, 101, 101, 101, 101, 101, 101, 28, 101, 101, 101, 101, 40, 43, 46, 101, 101, 52, 101, 61, 68, 101, 101, 75, 77, 80, 81, 83, 84, 101, 101, 91, 101, 101, 0, 1, 0, 0, 0, 0, 0, 0, 104, 0, 0, 0, 119, 0, 0, 0, 0, 112, 112, 112, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 101, 18, 101, 101, 101, 101, 101, 101, 101, 16, 101, 101, 101, 33, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 35, 101, 37, 38, 101, 48, 53, 101, 101, 101, 90, 101, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 60, 62, 65, 101, 101, 78, 92, 101, 101, 36, 47, 71, 72, 101, 95, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 69, 101, 101, 12, 101, 101, 30, 34, 101, 101, 101, 66, 101, 101, 101, 101, 101, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 101, 101, 101, 101, 101, 101, 101, 50, 63, 73, 79, 93, 98, 101, 101, 0, 0, 0, 0, 0, 0, 0, 0, 101, 101, 13, 19, 101, 31, 101, 101, 101, 26, 87, 0, 0, 101, 101, 101, 101, 101, 74, 99, 101, 85, 20, 101, 45, 82, 101, 101, 101, 101, 70, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 39, 41, 11, 42, 11, 11, 43, 11, 44, 11, 45, 11, 46, 47, 48, 49, 11, 11, 50, 11, 11, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 11, 66, 67, 68, 69, 70, 71, 11, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[85] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 7, 7, 1, 1, 1, 8, 1, 1, 1, 9, 9, 9, 9, 9, 4, 4, 10, 4, 11, 4, 4, 4, 10, 4, 1, 12, 1, 1, 13, 1, 9, 9, 9, 9, 9, 9, 4, 4, 4, 4, 10, 4, 4, 4, 11, 4, 4, 4, 10, 4, 4, 4, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[1050] = { 0, 0, 83, 2238, 2237, 93, 0, 175, 176, 177, 178, 2252, 2782, 189, 2782, 195, 54, 2782, 2197, 59, 171, 2782, 2782, 2782, 55, 186, 2782, 189, 187, 202, 214, 272, 0, 2213, 2782, 214, 2213, 150, 340, 153, 222, 2782, 157, 2782, 215, 224, 2782, 207, 181, 221, 249, 235, 289, 155, 255, 218, 206, 266, 256, 323, 259, 192, 2782, 223, 2782, 2210, 377, 342, 2782, 2220, 2782, 2187, 234, 2782, 0, 2782, 421, 0, 2782, 393, 2782, 399, 405, 2782, 492, 2184, 241, 2782, 2782, 2782, 2782, 2782, 2201, 2782, 2200, 2782, 2782, 2211, 552, 2782, 2226, 2782, 413, 393, 437, 493, 377, 318, 195, 430, 382, 0, 384, 321, 196, 427, 2782, 2782, 2782, 2194, 2782, 2782, 2782, 2193, 2192, 252, 302, 2206, 342, 435, 422, 381, 455, 400, 494, 2185, 440, 2133, 469, 2163, 2782, 276, 2782, 2782, 520, 2159, 2157, 2782, 2128, 414, 463, 470, 325, 254, 479, 432, 274, 480, 423, 483, 498, 492, 503, 499, 509, 341, 455, 484, 377, 510, 512, 517, 518, 529, 530, 531, 537, 2154, 541, 536, 544, 557, 546, 566, 569, 538, 552, 548, 554, 588, 571, 570, 580, 2782, 2782, 645, 651, 2202, 657, 2782, 663, 2782, 2152, 593, 2147, 2144, 0, 631, 2782, 2782, 669, 2141, 2140, 2139, 0, 2160, 629, 635, 639, 678, 677, 666, 670, 671, 674, 2138, 681, 682, 2115, 2114, 2782, 0, 597, 702, 678, 676, 2111, 2160, 2782, 693, 0, 710, 723, 743, 762, 788, 707, 2782, 2119, 2094, 0, 776, 2138, 768, 723, 2782, 2113, 2086, 809, 2782, 2782, 2118, 2782, 2782, 705, 710, 2098, 2097, 724, 2091, 2088, 2087, 0, 2086, 0, 2056, 709, 682, 707, 712, 710, 724, 647, 750, 671, 786, 751, 748, 731, 778, 787, 789, 788, 792, 790, 758, 2084, 796, 806, 800, 813, 798, 810, 802, 816, 822, 819, 815, 826, 830, 829, 831, 832, 833, 837, 839, 841, 846, 843, 2081, 848, 850, 849, 851, 852, 854, 853, 857, 855, 858, 863, 868, 2080, 867, 912, 871, 878, 872, 879, 882, 937, 939, 2076, 2074, 2071, 0, 2070, 0, 927, 931, 2069, 0, 2067, 0, 2064, 0, 2084, 2782, 913, 926, 2064, 2060, 0, 2057, 0, 2782, 942, 960, 953, 2782, 966, 981, 1005, 2053, 2782, 2782, 955, 968, 995, 968, 1028, 892, 1014, 970, 2782, 2782, 2049, 2047, 2045, 0, 2042, 0, 2040, 0, 2038, 0, 2782, 909, 944, 982, 943, 1006, 911, 1012, 923, 1013, 1019, 1009, 1016, 1023, 1024, 1020, 972, 1030, 1028, 989, 1026, 1034, 1027, 1039, 2038, 1044, 2035, 1048, 2034, 1049, 1051, 1052, 1053, 1056, 1057, 1055, 2033, 1059, 2031, 946, 1063, 1066, 1067, 1068, 1071, 1069, 2028, 1075, 2025, 1077, 1080, 1079, 1082, 1084, 1086, 1087, 1090, 1097, 1107, 1088, 1108, 1093, 1098, 2024, 1096, 1111, 1164, 2020, 0, 2018, 0, 2015, 0, 2012, 0, 1151, 2011, 0, 2010, 0, 2008, 2005, 2002, 0, 2001, 0, 1156, 2000, 1162, 1148, 1182, 1149, 1126, 1147, 2782, 1201, 1215, 1241, 2010, 1983, 1992, 1991, 0, 1990, 0, 1988, 0, 1985, 0, 1982, 0, 1981, 0, 1161, 1149, 1983, 1179, 1140, 1180, 1117, 1182, 1192, 1199, 1181, 1163, 1196, 1200, 1201, 1220, 1198, 1221, 1224, 604, 1226, 1227, 1231, 1233, 1234, 1981, 1244, 1236, 1978, 1240, 1241, 1246, 1247, 1243, 1975, 1250, 1251, 1253, 1254, 1974, 1255, 1267, 1973, 1264, 1271, 1256, 1263, 1257, 1971, 1275, 1277, 1279, 1260, 1281, 1290, 1285, 1288, 1968, 1289, 1291, 1967, 2015, 1961, 0, 1958, 0, 1957, 0, 1956, 0, 1954, 0, 1921, 0, 1919, 0, 1918, 0, 1336, 1342, 1369, 1353, 1915, 2782, 1359, 1307, 1359, 1309, 1912, 2782, 1911, 0, 1910, 0, 1908, 0, 1905, 0, 0, 0, 1905, 0, 1347, 1295, 1292, 1323, 1337, 1338, 1296, 1349, 1351, 1355, 1353, 1348, 1363, 1364, 1371, 1373, 1380, 1375, 1403, 1381, 1385, 1389, 1094, 1387, 1390, 1904, 1391, 1393, 1397, 1401, 1903, 1901, 1898, 1394, 1400, 1897, 1404, 1896, 1894, 1402, 1408, 1891, 1890, 1889, 1887, 1884, 1880, 1417, 1412, 1876, 1420, 1418, 1921, 2782, 1853, 0, 1852, 0, 0, 0, 1854, 0, 0, 0, 2782, 0, 0, 0, 0, 1463, 1849, 2782, 2782, 1469, 1846, 0, 1845, 0, 0, 0, 0, 1844, 1407, 1446, 1845, 1406, 1423, 1300, 1431, 1449, 1455, 1447, 1842, 1457, 1448, 1459, 1464, 1460, 1490, 1474, 1470, 1494, 1480, 1475, 1484, 1485, 1486, 1482, 1841, 1487, 1840, 1838, 1489, 1835, 1834, 1491, 1493, 1497, 1833, 1498, 1500, 0, 0, 0, 1828, 1825, 1824, 1548, 0, 1823, 1821, 1818, 1817, 1816, 1817, 1814, 1813, 1812, 1505, 1510, 1502, 1501, 1504, 1508, 1513, 1517, 1526, 1528, 1559, 1810, 1533, 1807, 1534, 1535, 1544, 1545, 1538, 1539, 1806, 1805, 1803, 1800, 1540, 1799, 1798, 1793, 1786, 1784, 1783, 1780, 1779, 1778, 1776, 1759, 1750, 1749, 1746, 1546, 1742, 1549, 1550, 1552, 1554, 1557, 1558, 1739, 1556, 1589, 1566, 1732, 1565, 1572, 1577, 1579, 1567, 1578, 1727, 1726, 1705, 1704, 1703, 1696, 1694, 1693, 1650, 1649, 1647, 1645, 1644, 1646, 1571, 1584, 1582, 1581, 1586, 1593, 1595, 1645, 1644, 1597, 1642, 1641, 1598, 1599, 1602, 1636, 1635, 1633, 1422, 1421, 1205, 1201, 946, 1605, 1610, 910, 1603, 1607, 768, 1613, 1618, 1619, 723, 605, 503, 370, 1609, 1620, 1623, 1624, 1625, 338, 337, 1627, 290, 251, 1630, 200, 196, 1631, 1632, 1637, 1633, 136, 2782, 1707, 1720, 1733, 1743, 1753, 1766, 1776, 1789, 1802, 1815, 1823, 1833, 1840, 1847, 1854, 1861, 1868, 1875, 1882, 1889, 1896, 1909, 1916, 1920, 1928, 1931, 1938, 1945, 1952, 1955, 1962, 1968, 1981, 1994, 2001, 2008, 2015, 2022, 2025, 2032, 2035, 2042, 2045, 2052, 2055, 2062, 2065, 2072, 2075, 2082, 2085, 2092, 2100, 2107, 2114, 2121, 2128, 2131, 2138, 2141, 2148, 2151, 2158, 2164, 2177, 2184, 2191, 2194, 2201, 2204, 2211, 2214, 2221, 2224, 2231, 2234, 2241, 2244, 2251, 2258, 2261, 2268, 2271, 2278, 2285, 2292, 2295, 2302, 2305, 2312, 2315, 2322, 2325, 2332, 2335, 2342, 2348, 2361, 2368, 2375, 2378, 2385, 2388, 2395, 2398, 2405, 2408, 2415, 2418, 2425, 2428, 2435, 2438, 2445, 2448, 2455, 2462, 2465, 2472, 2475, 2482, 2485, 2492, 2495, 2498, 2504, 2511, 2520, 2527, 2534, 2537, 2544, 2547, 2550, 2556, 2563, 2566, 2569, 2572, 2575, 2578, 2581, 2584, 2591, 2594, 2601, 2604, 2607, 2610, 2613, 2623, 2630, 2633, 2636, 2639, 2646, 2653, 2660, 2663, 2670, 2677, 2684, 2691, 2698, 2705, 2712, 2719, 2726, 2733, 2740, 2747, 2754, 2761, 2768 } ; static yyconst flex_int16_t yy_def[1050] = { 0, 875, 1, 876, 876, 875, 5, 877, 877, 878, 878, 875, 875, 875, 875, 875, 875, 875, 879, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 31, 875, 875, 875, 875, 875, 875, 880, 879, 875, 875, 875, 875, 879, 875, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 875, 875, 875, 875, 875, 881, 875, 875, 875, 882, 875, 875, 883, 875, 875, 884, 875, 875, 875, 875, 875, 875, 875, 879, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 885, 875, 98, 30, 875, 875, 875, 875, 886, 30, 875, 31, 875, 875, 31, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 887, 875, 875, 875, 875, 879, 888, 889, 875, 875, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 875, 875, 875, 881, 881, 881, 875, 881, 875, 882, 875, 890, 891, 883, 875, 875, 875, 875, 892, 893, 894, 884, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 895, 896, 875, 98, 875, 875, 875, 875, 98, 897, 875, 875, 103, 103, 875, 875, 875, 875, 875, 875, 875, 875, 898, 899, 900, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 887, 875, 901, 902, 903, 904, 905, 906, 875, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 908, 909, 910, 911, 912, 913, 914, 915, 875, 875, 916, 917, 918, 919, 920, 921, 875, 875, 875, 875, 875, 922, 923, 924, 925, 875, 875, 875, 875, 875, 875, 875, 367, 372, 875, 875, 926, 927, 928, 875, 875, 875, 928, 875, 875, 875, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 875, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 875, 949, 950, 951, 952, 953, 953, 954, 955, 956, 957, 875, 482, 875, 958, 875, 958, 875, 875, 875, 875, 875, 875, 875, 875, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 875, 875, 875, 875, 990, 875, 589, 875, 875, 875, 593, 875, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1003, 875, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 875, 1014, 1015, 1016, 1017, 875, 680, 875, 875, 875, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 875, 1033, 1018, 1020, 1034, 1035, 1025, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1036, 1037, 1030, 1038, 1031, 1039, 1032, 1040, 1041, 1034, 1042, 1035, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1043, 1036, 1044, 1037, 1045, 1038, 1046, 1039, 1047, 1040, 1048, 1041, 1042, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1049, 1043, 1044, 1045, 1046, 1020, 1047, 1048, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1049, 1020, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 0, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875 } ; static yyconst flex_int16_t yy_nxt[2867] = { 0, 12, 13, 14, 15, 15, 15, 13, 16, 17, 12, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 36, 37, 38, 39, 18, 18, 18, 18, 18, 18, 18, 40, 18, 18, 18, 18, 18, 40, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 18, 18, 56, 57, 58, 59, 60, 61, 18, 18, 18, 62, 63, 64, 65, 66, 83, 91, 84, 84, 66, 87, 88, 67, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 72, 70, 70, 71, 73, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 70, 70, 70, 75, 75, 78, 78, 122, 123, 89, 140, 78, 78, 86, 75, 75, 79, 80, 81, 81, 81, 79, 81, 80, 82, 82, 82, 81, 90, 92, 141, 145, 86, 97, 94, 98, 98, 98, 98, 98, 98, 250, 875, 93, 99, 84, 95, 96, 84, 100, 176, 117, 76, 76, 76, 76, 142, 146, 86, 101, 102, 143, 103, 103, 103, 103, 104, 104, 118, 86, 119, 120, 147, 86, 148, 252, 258, 86, 160, 105, 193, 192, 106, 86, 86, 149, 150, 151, 107, 108, 152, 153, 181, 154, 109, 86, 155, 156, 86, 86, 105, 86, 144, 161, 157, 158, 110, 159, 204, 261, 162, 262, 86, 179, 107, 228, 163, 108, 102, 180, 111, 111, 111, 111, 111, 111, 86, 168, 86, 169, 194, 86, 86, 86, 205, 164, 86, 105, 170, 165, 112, 229, 177, 86, 166, 186, 113, 281, 167, 178, 269, 86, 114, 187, 191, 182, 183, 142, 105, 261, 188, 262, 143, 284, 115, 184, 86, 86, 185, 198, 199, 171, 113, 124, 198, 189, 270, 125, 126, 172, 127, 173, 128, 129, 174, 130, 248, 131, 175, 256, 200, 200, 200, 200, 200, 200, 132, 133, 134, 261, 86, 262, 86, 144, 195, 80, 81, 81, 81, 195, 249, 280, 196, 257, 86, 86, 135, 190, 86, 136, 79, 80, 81, 81, 81, 79, 81, 80, 81, 81, 81, 81, 81, 80, 82, 82, 82, 81, 261, 305, 262, 240, 240, 240, 240, 246, 137, 138, 207, 208, 875, 247, 254, 207, 86, 209, 247, 261, 255, 262, 209, 98, 98, 98, 98, 98, 98, 263, 875, 210, 210, 210, 210, 241, 246, 308, 875, 247, 263, 261, 209, 262, 247, 102, 255, 104, 104, 104, 104, 104, 104, 86, 261, 239, 262, 211, 875, 261, 209, 262, 86, 255, 105, 209, 209, 875, 276, 209, 209, 86, 253, 264, 261, 277, 262, 209, 296, 242, 209, 254, 209, 212, 209, 105, 213, 215, 261, 255, 262, 216, 217, 283, 86, 875, 218, 219, 243, 220, 243, 221, 86, 244, 244, 244, 244, 244, 244, 86, 222, 223, 224, 261, 265, 262, 142, 306, 86, 86, 278, 143, 86, 86, 285, 286, 287, 279, 288, 289, 225, 86, 290, 226, 291, 245, 282, 86, 86, 292, 293, 294, 86, 295, 297, 875, 298, 301, 86, 86, 307, 86, 299, 300, 309, 303, 86, 86, 304, 86, 302, 227, 231, 231, 231, 231, 231, 231, 86, 86, 86, 312, 310, 311, 313, 86, 86, 86, 232, 233, 86, 234, 235, 86, 142, 86, 314, 86, 321, 315, 330, 86, 320, 86, 236, 318, 86, 316, 317, 232, 233, 232, 319, 325, 234, 86, 235, 322, 86, 86, 86, 331, 333, 328, 332, 629, 326, 323, 324, 86, 207, 208, 337, 335, 338, 207, 365, 86, 329, 342, 334, 336, 339, 327, 195, 80, 81, 81, 81, 195, 198, 199, 196, 86, 86, 198, 198, 199, 356, 365, 357, 198, 340, 199, 356, 343, 357, 340, 356, 341, 357, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 348, 348, 348, 348, 357, 357, 356, 86, 357, 358, 356, 356, 357, 357, 356, 359, 357, 356, 356, 357, 357, 356, 356, 357, 357, 369, 365, 403, 366, 369, 366, 86, 349, 367, 367, 367, 367, 367, 367, 875, 232, 233, 86, 234, 235, 261, 369, 262, 369, 365, 261, 405, 262, 369, 104, 104, 104, 104, 104, 104, 398, 232, 233, 232, 374, 368, 234, 86, 235, 86, 86, 105, 86, 371, 244, 244, 244, 244, 244, 244, 384, 386, 397, 86, 86, 399, 253, 401, 400, 402, 374, 86, 105, 372, 372, 372, 372, 372, 372, 104, 104, 104, 104, 104, 104, 377, 384, 387, 86, 232, 86, 86, 234, 235, 243, 404, 243, 411, 86, 244, 244, 244, 244, 244, 244, 373, 410, 379, 86, 380, 232, 253, 232, 381, 409, 234, 419, 235, 86, 382, 111, 111, 111, 111, 111, 111, 86, 86, 86, 86, 86, 383, 86, 412, 415, 380, 86, 416, 86, 381, 86, 406, 86, 413, 414, 417, 86, 407, 408, 422, 86, 421, 258, 86, 420, 86, 86, 418, 424, 86, 423, 428, 86, 426, 427, 430, 86, 429, 425, 86, 86, 86, 86, 86, 431, 432, 433, 86, 437, 86, 435, 86, 438, 86, 439, 434, 86, 436, 86, 86, 86, 86, 86, 86, 86, 86, 443, 86, 86, 444, 441, 440, 446, 86, 442, 445, 451, 86, 86, 142, 450, 86, 86, 447, 449, 448, 456, 452, 86, 86, 459, 453, 86, 494, 460, 454, 455, 340, 199, 457, 199, 458, 340, 356, 341, 357, 197, 461, 209, 209, 209, 209, 348, 348, 348, 348, 356, 495, 357, 86, 86, 86, 86, 367, 367, 367, 367, 367, 367, 366, 509, 366, 514, 86, 367, 367, 367, 367, 367, 367, 471, 482, 482, 482, 482, 482, 482, 231, 231, 231, 231, 231, 231, 86, 86, 516, 86, 232, 486, 875, 234, 235, 240, 240, 240, 240, 104, 104, 487, 489, 510, 486, 512, 483, 377, 490, 545, 490, 232, 370, 232, 488, 86, 234, 486, 235, 372, 372, 372, 372, 372, 372, 86, 875, 371, 489, 379, 486, 380, 86, 525, 490, 381, 490, 491, 529, 491, 511, 382, 492, 492, 492, 492, 492, 492, 379, 86, 380, 373, 86, 383, 381, 86, 86, 380, 513, 86, 496, 381, 86, 86, 515, 517, 86, 86, 519, 86, 86, 86, 383, 86, 493, 518, 380, 86, 526, 521, 381, 520, 86, 522, 523, 524, 527, 86, 531, 532, 530, 86, 86, 528, 86, 86, 86, 533, 86, 86, 86, 534, 86, 535, 538, 541, 86, 543, 539, 86, 86, 86, 86, 536, 86, 542, 537, 544, 86, 540, 86, 551, 86, 86, 547, 86, 549, 86, 546, 86, 86, 86, 548, 86, 550, 552, 86, 86, 558, 86, 86, 86, 555, 553, 554, 556, 560, 561, 559, 557, 86, 86, 567, 566, 86, 716, 563, 562, 199, 564, 86, 568, 486, 569, 570, 209, 209, 209, 209, 565, 482, 482, 482, 482, 482, 482, 372, 372, 372, 372, 372, 372, 616, 86, 486, 486, 232, 592, 486, 234, 235, 588, 86, 588, 487, 591, 589, 589, 589, 589, 589, 589, 483, 614, 86, 612, 86, 232, 484, 232, 486, 486, 234, 592, 235, 492, 492, 492, 492, 492, 492, 611, 86, 86, 86, 86, 621, 620, 590, 593, 593, 593, 593, 593, 593, 86, 615, 613, 617, 86, 618, 86, 86, 86, 86, 594, 626, 875, 595, 596, 491, 856, 491, 619, 622, 492, 492, 492, 492, 492, 492, 597, 623, 86, 86, 624, 594, 86, 594, 86, 86, 595, 625, 596, 86, 627, 86, 86, 630, 86, 628, 635, 634, 86, 86, 633, 86, 86, 636, 86, 86, 632, 631, 86, 86, 641, 86, 86, 86, 86, 86, 638, 642, 86, 639, 640, 86, 86, 644, 637, 86, 643, 645, 646, 86, 647, 648, 652, 86, 651, 86, 650, 86, 649, 86, 656, 653, 658, 86, 655, 654, 86, 86, 86, 86, 86, 657, 659, 86, 86, 682, 660, 682, 86, 696, 695, 700, 662, 749, 661, 482, 482, 482, 482, 482, 482, 589, 589, 589, 589, 589, 589, 588, 682, 588, 682, 86, 589, 589, 589, 589, 589, 589, 593, 593, 593, 593, 593, 593, 697, 86, 86, 587, 680, 680, 680, 680, 680, 680, 683, 86, 86, 86, 683, 86, 693, 86, 698, 86, 594, 701, 703, 595, 596, 699, 597, 86, 86, 694, 704, 683, 702, 683, 705, 86, 681, 86, 683, 86, 712, 594, 706, 594, 86, 86, 595, 710, 596, 86, 707, 86, 708, 86, 86, 86, 711, 86, 86, 709, 713, 86, 715, 718, 86, 86, 86, 86, 86, 714, 86, 86, 86, 717, 722, 726, 86, 719, 723, 727, 720, 86, 86, 721, 86, 725, 729, 86, 875, 875, 728, 724, 745, 730, 748, 86, 747, 731, 680, 680, 680, 680, 680, 680, 593, 593, 593, 593, 593, 593, 86, 86, 86, 86, 594, 750, 751, 595, 596, 86, 746, 86, 752, 86, 86, 755, 759, 754, 86, 753, 681, 757, 756, 762, 86, 594, 684, 594, 86, 86, 595, 760, 596, 761, 86, 758, 86, 763, 86, 86, 86, 86, 764, 86, 86, 86, 765, 86, 86, 766, 769, 86, 86, 767, 86, 86, 86, 768, 86, 86, 774, 790, 86, 775, 86, 771, 770, 86, 792, 772, 791, 86, 773, 680, 680, 680, 680, 680, 680, 788, 86, 789, 86, 796, 794, 793, 798, 86, 86, 86, 799, 800, 86, 86, 86, 797, 801, 795, 86, 86, 86, 802, 803, 86, 86, 738, 86, 804, 86, 823, 86, 86, 86, 86, 825, 826, 805, 806, 828, 86, 86, 86, 822, 829, 821, 86, 86, 820, 827, 831, 824, 86, 86, 86, 832, 86, 86, 834, 86, 846, 86, 830, 833, 86, 847, 845, 844, 86, 835, 86, 849, 86, 86, 86, 851, 852, 86, 86, 848, 86, 859, 86, 853, 86, 86, 854, 850, 86, 857, 858, 861, 860, 86, 86, 86, 862, 863, 86, 86, 86, 866, 86, 868, 864, 86, 86, 86, 86, 867, 865, 875, 86, 875, 855, 871, 86, 86, 874, 86, 86, 86, 875, 875, 869, 843, 870, 875, 842, 872, 873, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 85, 875, 840, 85, 875, 85, 85, 85, 85, 85, 139, 839, 875, 838, 139, 139, 139, 139, 139, 139, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 202, 875, 837, 202, 86, 202, 202, 202, 202, 202, 206, 86, 206, 206, 86, 206, 206, 206, 206, 206, 206, 875, 206, 214, 819, 875, 214, 214, 214, 214, 214, 214, 214, 214, 818, 214, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 251, 251, 816, 251, 875, 814, 875, 251, 267, 812, 875, 267, 810, 267, 267, 267, 267, 267, 271, 808, 271, 86, 86, 86, 271, 273, 86, 273, 86, 86, 86, 273, 344, 86, 344, 86, 86, 86, 344, 346, 86, 346, 875, 787, 785, 346, 350, 875, 350, 875, 782, 780, 350, 352, 778, 352, 86, 86, 86, 352, 354, 86, 354, 86, 86, 86, 354, 361, 86, 361, 744, 741, 740, 361, 363, 738, 363, 203, 734, 733, 363, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 376, 664, 376, 378, 378, 86, 378, 378, 378, 86, 378, 251, 251, 86, 251, 388, 86, 388, 86, 86, 86, 388, 390, 86, 390, 86, 86, 86, 390, 392, 86, 392, 86, 86, 86, 392, 271, 691, 271, 394, 690, 394, 688, 686, 684, 394, 273, 591, 273, 85, 679, 678, 85, 676, 85, 85, 85, 85, 85, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 463, 674, 463, 672, 670, 668, 463, 465, 666, 465, 664, 86, 86, 465, 467, 86, 467, 86, 86, 86, 467, 344, 86, 344, 469, 86, 469, 86, 610, 608, 469, 346, 606, 346, 472, 604, 472, 602, 600, 496, 472, 350, 598, 350, 474, 598, 474, 587, 586, 584, 474, 352, 477, 352, 476, 477, 476, 582, 580, 578, 476, 354, 576, 354, 478, 574, 478, 572, 86, 86, 478, 361, 86, 361, 480, 86, 480, 86, 86, 86, 480, 363, 86, 363, 485, 508, 485, 506, 485, 504, 485, 376, 502, 376, 500, 376, 498, 376, 378, 378, 484, 378, 378, 378, 481, 378, 497, 479, 497, 357, 357, 477, 497, 499, 475, 499, 473, 470, 468, 499, 501, 466, 501, 464, 86, 86, 501, 388, 86, 388, 503, 396, 503, 395, 393, 391, 503, 390, 389, 390, 505, 268, 505, 263, 262, 385, 505, 392, 385, 392, 507, 250, 507, 375, 375, 238, 507, 394, 370, 394, 85, 364, 362, 85, 360, 85, 85, 85, 85, 85, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 571, 356, 571, 355, 353, 351, 571, 463, 347, 463, 573, 345, 573, 203, 199, 86, 573, 465, 275, 465, 575, 274, 575, 272, 268, 263, 575, 467, 266, 467, 577, 263, 577, 261, 260, 259, 577, 469, 238, 469, 579, 230, 579, 84, 84, 86, 579, 472, 203, 472, 581, 201, 581, 84, 121, 116, 581, 474, 86, 474, 476, 875, 476, 69, 69, 875, 476, 583, 875, 583, 875, 875, 875, 583, 478, 875, 478, 585, 875, 585, 875, 875, 875, 585, 480, 875, 480, 485, 875, 485, 875, 485, 875, 485, 378, 875, 378, 875, 875, 875, 378, 599, 875, 599, 875, 875, 875, 599, 497, 875, 497, 601, 875, 601, 875, 875, 875, 601, 499, 875, 499, 603, 875, 603, 875, 875, 875, 603, 501, 875, 501, 605, 875, 605, 875, 875, 875, 605, 503, 875, 503, 607, 875, 607, 875, 875, 875, 607, 505, 875, 505, 609, 875, 609, 875, 875, 875, 609, 507, 875, 507, 85, 875, 875, 85, 875, 85, 85, 85, 85, 85, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 665, 875, 665, 875, 875, 875, 665, 571, 875, 571, 667, 875, 667, 875, 875, 875, 667, 573, 875, 573, 669, 875, 669, 875, 875, 875, 669, 575, 875, 575, 671, 875, 671, 875, 875, 875, 671, 577, 875, 577, 673, 875, 673, 875, 875, 875, 673, 579, 875, 579, 675, 875, 675, 875, 875, 875, 675, 581, 875, 581, 677, 875, 677, 875, 875, 875, 677, 583, 875, 583, 85, 875, 85, 875, 875, 875, 85, 585, 875, 585, 485, 875, 485, 875, 875, 875, 485, 685, 875, 685, 875, 875, 875, 685, 599, 875, 599, 687, 875, 687, 875, 875, 875, 687, 601, 875, 601, 689, 875, 689, 875, 875, 875, 689, 603, 875, 603, 139, 875, 139, 875, 875, 875, 139, 605, 875, 605, 692, 875, 692, 607, 875, 607, 85, 875, 875, 85, 875, 85, 85, 85, 85, 85, 609, 875, 609, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 732, 875, 732, 875, 875, 875, 732, 665, 875, 665, 202, 875, 202, 875, 875, 875, 202, 667, 875, 667, 735, 875, 735, 669, 875, 669, 202, 875, 875, 202, 875, 202, 202, 202, 202, 202, 671, 875, 671, 736, 875, 736, 673, 875, 673, 675, 875, 675, 737, 875, 737, 677, 875, 677, 85, 875, 85, 739, 875, 739, 875, 875, 875, 739, 685, 875, 685, 267, 875, 267, 875, 875, 875, 267, 687, 875, 687, 742, 875, 742, 689, 875, 689, 139, 875, 139, 743, 875, 743, 875, 875, 875, 743, 85, 875, 875, 85, 875, 85, 85, 85, 85, 85, 776, 875, 776, 732, 875, 732, 202, 875, 202, 777, 875, 777, 875, 875, 875, 777, 779, 875, 779, 875, 875, 875, 779, 781, 875, 781, 875, 875, 875, 781, 783, 875, 783, 784, 875, 784, 875, 875, 875, 784, 786, 875, 786, 875, 875, 875, 786, 807, 875, 807, 875, 875, 875, 807, 809, 875, 809, 875, 875, 875, 809, 811, 875, 811, 875, 875, 875, 811, 813, 875, 813, 875, 875, 875, 813, 815, 875, 815, 875, 875, 875, 815, 817, 875, 817, 875, 875, 875, 817, 609, 875, 609, 875, 875, 875, 609, 836, 875, 836, 875, 875, 875, 836, 671, 875, 671, 875, 875, 875, 671, 675, 875, 675, 875, 875, 875, 675, 85, 875, 85, 875, 875, 875, 85, 841, 875, 841, 875, 875, 875, 841, 139, 875, 139, 875, 875, 875, 139, 202, 875, 202, 875, 875, 875, 202, 11, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875 } ; static yyconst flex_int16_t yy_chk[2867] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 39, 9, 10, 874, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 39, 42, 53, 28, 27, 28, 28, 28, 28, 28, 28, 108, 114, 25, 29, 25, 27, 27, 27, 29, 53, 35, 7, 8, 9, 10, 40, 42, 48, 29, 30, 40, 30, 30, 30, 30, 30, 30, 35, 61, 35, 35, 44, 869, 44, 108, 114, 868, 48, 30, 63, 61, 30, 56, 47, 45, 45, 45, 30, 30, 45, 45, 56, 45, 30, 55, 45, 45, 49, 40, 30, 45, 40, 49, 45, 47, 30, 47, 72, 125, 49, 125, 51, 55, 30, 86, 49, 30, 31, 55, 31, 31, 31, 31, 31, 31, 50, 51, 866, 51, 63, 153, 54, 58, 72, 50, 60, 31, 51, 50, 31, 86, 54, 57, 50, 58, 31, 153, 50, 54, 141, 156, 31, 58, 60, 57, 57, 59, 31, 126, 58, 126, 59, 156, 31, 57, 52, 865, 57, 67, 67, 52, 31, 38, 67, 59, 141, 38, 38, 52, 38, 52, 38, 38, 52, 38, 107, 38, 52, 113, 67, 67, 67, 67, 67, 67, 38, 38, 38, 128, 59, 128, 152, 59, 66, 66, 66, 66, 66, 66, 107, 152, 66, 113, 863, 862, 38, 59, 165, 38, 79, 79, 79, 79, 79, 79, 81, 81, 81, 81, 81, 81, 82, 82, 82, 82, 82, 82, 131, 165, 131, 103, 103, 103, 103, 106, 38, 38, 76, 76, 856, 106, 112, 76, 168, 76, 110, 133, 112, 133, 76, 102, 102, 102, 102, 102, 102, 130, 103, 76, 76, 76, 76, 103, 110, 168, 109, 106, 129, 130, 76, 130, 110, 104, 112, 104, 104, 104, 104, 104, 104, 149, 129, 102, 129, 76, 103, 136, 76, 136, 158, 115, 104, 76, 76, 109, 149, 76, 76, 155, 109, 132, 132, 149, 132, 76, 158, 104, 76, 115, 76, 76, 76, 104, 76, 84, 138, 115, 138, 84, 84, 155, 166, 109, 84, 84, 105, 84, 105, 84, 150, 105, 105, 105, 105, 105, 105, 151, 84, 84, 84, 134, 134, 134, 144, 166, 154, 157, 150, 144, 159, 167, 157, 157, 157, 151, 157, 157, 84, 161, 157, 84, 157, 105, 154, 160, 163, 157, 157, 157, 162, 157, 159, 855, 160, 162, 164, 169, 167, 170, 161, 161, 169, 163, 171, 172, 164, 144, 162, 84, 98, 98, 98, 98, 98, 98, 173, 174, 175, 171, 169, 170, 172, 179, 176, 185, 98, 98, 178, 98, 98, 180, 189, 182, 173, 187, 180, 174, 185, 186, 179, 188, 98, 178, 181, 175, 176, 98, 98, 98, 178, 182, 98, 183, 98, 181, 184, 191, 190, 186, 188, 184, 187, 528, 183, 181, 181, 192, 207, 207, 191, 190, 191, 207, 232, 189, 184, 203, 189, 190, 192, 183, 195, 195, 195, 195, 195, 195, 196, 196, 195, 528, 854, 196, 198, 198, 216, 232, 216, 198, 200, 200, 217, 203, 217, 200, 218, 200, 218, 196, 196, 196, 196, 196, 196, 198, 198, 198, 198, 198, 198, 200, 200, 200, 200, 200, 200, 210, 210, 210, 210, 219, 220, 221, 282, 221, 222, 222, 223, 222, 223, 224, 224, 224, 220, 219, 220, 219, 226, 227, 226, 227, 234, 235, 282, 233, 234, 233, 284, 210, 233, 233, 233, 233, 233, 233, 241, 239, 239, 277, 239, 239, 264, 234, 264, 234, 235, 265, 284, 265, 234, 242, 242, 242, 242, 242, 242, 277, 239, 239, 239, 246, 233, 239, 278, 239, 276, 280, 242, 279, 241, 243, 243, 243, 243, 243, 243, 254, 268, 276, 853, 281, 278, 242, 280, 279, 281, 246, 288, 242, 244, 244, 244, 244, 244, 244, 253, 253, 253, 253, 253, 253, 251, 254, 268, 287, 244, 283, 286, 244, 244, 245, 283, 245, 288, 295, 245, 245, 245, 245, 245, 245, 244, 287, 251, 849, 251, 244, 253, 244, 251, 286, 244, 295, 244, 289, 251, 258, 258, 258, 258, 258, 258, 285, 290, 292, 291, 294, 251, 293, 289, 291, 251, 297, 292, 301, 251, 299, 285, 303, 290, 290, 293, 298, 285, 285, 299, 302, 298, 258, 300, 297, 307, 304, 294, 301, 306, 300, 304, 305, 303, 303, 306, 308, 305, 302, 310, 309, 311, 312, 313, 307, 308, 309, 314, 313, 315, 311, 316, 314, 318, 315, 310, 317, 312, 320, 322, 321, 323, 324, 326, 325, 328, 318, 327, 329, 320, 316, 315, 322, 330, 317, 321, 327, 333, 331, 334, 326, 335, 337, 323, 325, 324, 333, 328, 336, 338, 337, 329, 339, 381, 338, 330, 331, 340, 340, 335, 341, 336, 340, 358, 340, 358, 341, 339, 348, 348, 348, 348, 349, 349, 349, 349, 359, 381, 359, 397, 846, 402, 334, 366, 366, 366, 366, 366, 366, 368, 397, 368, 402, 404, 368, 368, 368, 368, 368, 368, 348, 367, 367, 367, 367, 367, 367, 370, 370, 370, 370, 370, 370, 400, 398, 404, 435, 367, 376, 843, 367, 367, 371, 371, 371, 371, 371, 371, 376, 379, 398, 377, 400, 367, 378, 379, 435, 383, 367, 370, 367, 377, 412, 367, 376, 367, 372, 372, 372, 372, 372, 372, 399, 382, 371, 383, 378, 377, 378, 415, 412, 379, 378, 383, 380, 415, 380, 399, 378, 380, 380, 380, 380, 380, 380, 382, 401, 382, 372, 407, 378, 382, 403, 405, 378, 401, 408, 382, 378, 406, 411, 403, 405, 409, 410, 407, 416, 418, 414, 382, 413, 380, 406, 382, 417, 413, 409, 382, 408, 419, 410, 410, 411, 414, 421, 417, 418, 416, 423, 425, 414, 426, 427, 428, 419, 431, 429, 430, 421, 433, 423, 427, 429, 436, 431, 427, 437, 438, 439, 441, 425, 440, 430, 426, 433, 443, 428, 445, 441, 447, 446, 437, 448, 439, 449, 436, 450, 451, 455, 438, 452, 440, 443, 457, 633, 450, 460, 453, 458, 447, 445, 446, 448, 452, 453, 451, 449, 454, 456, 458, 457, 461, 633, 455, 454, 462, 456, 515, 460, 488, 461, 462, 471, 471, 471, 471, 456, 482, 482, 482, 482, 482, 482, 484, 484, 484, 484, 484, 484, 515, 513, 485, 487, 482, 489, 488, 482, 482, 486, 510, 486, 485, 487, 486, 486, 486, 486, 486, 486, 482, 513, 509, 510, 520, 482, 484, 482, 485, 487, 482, 489, 482, 491, 491, 491, 491, 491, 491, 509, 512, 514, 519, 516, 520, 519, 486, 492, 492, 492, 492, 492, 492, 517, 514, 512, 516, 521, 517, 525, 518, 522, 523, 492, 525, 842, 492, 492, 493, 841, 493, 518, 521, 493, 493, 493, 493, 493, 493, 492, 522, 524, 526, 523, 492, 527, 492, 529, 530, 492, 524, 492, 531, 526, 532, 533, 529, 536, 527, 535, 533, 538, 539, 532, 542, 535, 536, 540, 541, 531, 530, 544, 545, 542, 546, 547, 549, 554, 556, 539, 544, 561, 540, 541, 555, 552, 546, 538, 550, 545, 547, 549, 553, 550, 552, 556, 558, 555, 559, 554, 560, 553, 562, 561, 558, 563, 564, 560, 559, 565, 567, 563, 568, 613, 562, 564, 612, 617, 594, 565, 596, 698, 613, 612, 617, 568, 698, 567, 587, 587, 587, 587, 587, 587, 588, 588, 588, 588, 588, 588, 590, 594, 590, 596, 614, 590, 590, 590, 590, 590, 590, 593, 593, 593, 593, 593, 593, 614, 615, 616, 587, 589, 589, 589, 589, 589, 589, 595, 611, 622, 618, 595, 619, 611, 621, 615, 620, 589, 618, 620, 589, 589, 616, 593, 623, 624, 611, 621, 595, 619, 595, 622, 625, 589, 626, 595, 628, 629, 589, 623, 589, 627, 630, 589, 627, 589, 631, 624, 634, 625, 632, 635, 637, 628, 638, 644, 626, 630, 639, 632, 635, 645, 640, 650, 629, 647, 631, 696, 693, 651, 634, 640, 650, 659, 637, 644, 651, 638, 658, 662, 639, 661, 647, 659, 697, 840, 839, 658, 645, 693, 661, 697, 699, 696, 662, 680, 680, 680, 680, 680, 680, 684, 684, 684, 684, 684, 684, 694, 702, 705, 700, 680, 699, 700, 680, 680, 701, 694, 704, 701, 706, 708, 705, 709, 704, 707, 702, 680, 707, 706, 712, 711, 680, 684, 680, 710, 714, 680, 710, 680, 711, 713, 708, 718, 713, 715, 716, 717, 720, 714, 723, 709, 726, 715, 727, 712, 716, 720, 728, 730, 717, 731, 752, 751, 718, 753, 749, 730, 751, 754, 731, 750, 726, 723, 755, 753, 727, 752, 756, 728, 738, 738, 738, 738, 738, 738, 749, 757, 750, 758, 757, 755, 754, 759, 761, 763, 764, 761, 763, 767, 768, 773, 758, 764, 756, 765, 766, 788, 765, 766, 790, 791, 738, 792, 767, 793, 792, 797, 794, 795, 759, 794, 795, 768, 773, 798, 801, 799, 805, 791, 799, 790, 821, 802, 788, 797, 802, 793, 803, 806, 804, 803, 824, 823, 805, 822, 823, 825, 801, 804, 798, 824, 822, 821, 826, 806, 827, 826, 830, 833, 834, 830, 833, 835, 847, 825, 844, 847, 848, 834, 857, 845, 835, 827, 850, 844, 845, 850, 848, 851, 852, 858, 851, 852, 859, 860, 861, 859, 864, 861, 857, 867, 870, 871, 873, 860, 858, 838, 872, 837, 836, 870, 832, 831, 873, 829, 828, 820, 819, 818, 864, 817, 867, 816, 815, 871, 872, 876, 876, 876, 876, 876, 876, 876, 876, 876, 876, 876, 876, 876, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 878, 878, 878, 878, 878, 878, 878, 878, 878, 878, 878, 878, 878, 879, 814, 813, 879, 812, 879, 879, 879, 879, 879, 880, 811, 810, 809, 880, 880, 880, 880, 880, 880, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 882, 808, 807, 882, 800, 882, 882, 882, 882, 882, 883, 796, 883, 883, 789, 883, 883, 883, 883, 883, 883, 787, 883, 884, 786, 785, 884, 884, 884, 884, 884, 884, 884, 884, 784, 884, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 886, 886, 783, 886, 782, 781, 780, 886, 887, 779, 778, 887, 777, 887, 887, 887, 887, 887, 888, 776, 888, 775, 774, 772, 888, 889, 771, 889, 770, 769, 762, 889, 890, 760, 890, 748, 747, 746, 890, 891, 745, 891, 744, 743, 742, 891, 892, 741, 892, 740, 737, 736, 892, 893, 735, 893, 729, 725, 724, 893, 894, 722, 894, 721, 719, 703, 894, 895, 695, 895, 692, 687, 685, 895, 896, 681, 896, 671, 667, 665, 896, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 898, 663, 898, 899, 899, 660, 899, 899, 899, 657, 899, 900, 900, 656, 900, 901, 655, 901, 654, 653, 652, 901, 902, 649, 902, 648, 646, 643, 902, 903, 642, 903, 641, 636, 609, 903, 904, 605, 904, 905, 603, 905, 601, 599, 597, 905, 906, 591, 906, 907, 585, 583, 907, 581, 907, 907, 907, 907, 907, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 910, 579, 910, 577, 575, 573, 910, 911, 571, 911, 570, 569, 566, 911, 912, 557, 912, 551, 548, 543, 912, 913, 537, 913, 914, 534, 914, 511, 507, 505, 914, 915, 503, 915, 916, 501, 916, 499, 497, 496, 916, 917, 495, 917, 918, 494, 918, 483, 480, 478, 918, 919, 477, 919, 920, 476, 920, 474, 472, 469, 920, 921, 467, 921, 922, 465, 922, 463, 459, 444, 922, 923, 442, 923, 924, 434, 924, 432, 424, 422, 924, 925, 420, 925, 926, 394, 926, 392, 926, 390, 926, 927, 388, 927, 387, 927, 386, 927, 928, 928, 373, 928, 928, 928, 363, 928, 929, 361, 929, 360, 356, 354, 929, 930, 352, 930, 350, 346, 344, 930, 931, 343, 931, 342, 332, 319, 931, 932, 296, 932, 933, 275, 933, 273, 271, 270, 933, 934, 269, 934, 935, 267, 935, 266, 261, 257, 935, 936, 256, 936, 937, 252, 937, 249, 248, 237, 937, 938, 236, 938, 939, 229, 228, 939, 225, 939, 939, 939, 939, 939, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 941, 215, 941, 213, 212, 211, 941, 942, 205, 942, 943, 204, 943, 202, 197, 177, 943, 944, 148, 944, 945, 146, 945, 145, 139, 137, 945, 946, 135, 946, 947, 127, 947, 124, 123, 119, 947, 948, 100, 948, 949, 97, 949, 94, 92, 85, 949, 950, 71, 950, 951, 69, 951, 65, 36, 33, 951, 952, 18, 952, 953, 11, 953, 4, 3, 0, 953, 954, 0, 954, 0, 0, 0, 954, 955, 0, 955, 956, 0, 956, 0, 0, 0, 956, 957, 0, 957, 958, 0, 958, 0, 958, 0, 958, 959, 0, 959, 0, 0, 0, 959, 960, 0, 960, 0, 0, 0, 960, 961, 0, 961, 962, 0, 962, 0, 0, 0, 962, 963, 0, 963, 964, 0, 964, 0, 0, 0, 964, 965, 0, 965, 966, 0, 966, 0, 0, 0, 966, 967, 0, 967, 968, 0, 968, 0, 0, 0, 968, 969, 0, 969, 970, 0, 970, 0, 0, 0, 970, 971, 0, 971, 972, 0, 0, 972, 0, 972, 972, 972, 972, 972, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 974, 0, 974, 0, 0, 0, 974, 975, 0, 975, 976, 0, 976, 0, 0, 0, 976, 977, 0, 977, 978, 0, 978, 0, 0, 0, 978, 979, 0, 979, 980, 0, 980, 0, 0, 0, 980, 981, 0, 981, 982, 0, 982, 0, 0, 0, 982, 983, 0, 983, 984, 0, 984, 0, 0, 0, 984, 985, 0, 985, 986, 0, 986, 0, 0, 0, 986, 987, 0, 987, 988, 0, 988, 0, 0, 0, 988, 989, 0, 989, 990, 0, 990, 0, 0, 0, 990, 991, 0, 991, 0, 0, 0, 991, 992, 0, 992, 993, 0, 993, 0, 0, 0, 993, 994, 0, 994, 995, 0, 995, 0, 0, 0, 995, 996, 0, 996, 997, 0, 997, 0, 0, 0, 997, 998, 0, 998, 999, 0, 999, 1000, 0, 1000, 1001, 0, 0, 1001, 0, 1001, 1001, 1001, 1001, 1001, 1002, 0, 1002, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1004, 0, 1004, 0, 0, 0, 1004, 1005, 0, 1005, 1006, 0, 1006, 0, 0, 0, 1006, 1007, 0, 1007, 1008, 0, 1008, 1009, 0, 1009, 1010, 0, 0, 1010, 0, 1010, 1010, 1010, 1010, 1010, 1011, 0, 1011, 1012, 0, 1012, 1013, 0, 1013, 1014, 0, 1014, 1015, 0, 1015, 1016, 0, 1016, 1017, 0, 1017, 1018, 0, 1018, 0, 0, 0, 1018, 1019, 0, 1019, 1020, 0, 1020, 0, 0, 0, 1020, 1021, 0, 1021, 1022, 0, 1022, 1023, 0, 1023, 1024, 0, 1024, 1025, 0, 1025, 0, 0, 0, 1025, 1026, 0, 0, 1026, 0, 1026, 1026, 1026, 1026, 1026, 1027, 0, 1027, 1028, 0, 1028, 1029, 0, 1029, 1030, 0, 1030, 0, 0, 0, 1030, 1031, 0, 1031, 0, 0, 0, 1031, 1032, 0, 1032, 0, 0, 0, 1032, 1033, 0, 1033, 1034, 0, 1034, 0, 0, 0, 1034, 1035, 0, 1035, 0, 0, 0, 1035, 1036, 0, 1036, 0, 0, 0, 1036, 1037, 0, 1037, 0, 0, 0, 1037, 1038, 0, 1038, 0, 0, 0, 1038, 1039, 0, 1039, 0, 0, 0, 1039, 1040, 0, 1040, 0, 0, 0, 1040, 1041, 0, 1041, 0, 0, 0, 1041, 1042, 0, 1042, 0, 0, 0, 1042, 1043, 0, 1043, 0, 0, 0, 1043, 1044, 0, 1044, 0, 0, 0, 1044, 1045, 0, 1045, 0, 0, 0, 1045, 1046, 0, 1046, 0, 0, 0, 1046, 1047, 0, 1047, 0, 0, 0, 1047, 1048, 0, 1048, 0, 0, 0, 1048, 1049, 0, 1049, 0, 0, 0, 1049, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875, 875 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[180] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.ll" /* * Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo * * The contents of this file are covered under the licence agreement in the * file "LICENCE" distributed with Cforall. * * lex.l -- * * Author : Peter A. Buhr * Created On : Sat Sep 22 08:58:10 2001 * Last Modified By : Peter A. Buhr * Last Modified On : Tue Feb 2 15:06:54 2016 * Update Count : 426 */ #line 20 "lex.ll" // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been // performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g., // line-number directives) and C/C++ style comments, which are ignored. //**************************** Includes and Defines **************************** #include #include "lex.h" #include "ParseNode.h" #include "parser.h" // YACC generated definitions based on C++ grammar char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define RETURN_LOCN(x) yylval.tok.loc.file = yyfilename; yylval.tok.loc.line = yylineno; return( x ) #define RETURN_VAL(x) yylval.tok.str = new std::string( yytext ); RETURN_LOCN( x ) #define RETURN_CHAR(x) yylval.tok.str = NULL; RETURN_LOCN( x ) #define RETURN_STR(x) yylval.tok.str = strtext; RETURN_LOCN( x ) #define WHITE_RETURN(x) // do nothing #define NEWLINE_RETURN() WHITE_RETURN( '\n' ) #define ASCIIOP_RETURN() RETURN_CHAR( (int)yytext[0] ) // single character operator #define NAMEDOP_RETURN(x) RETURN_VAL( x ) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL( x ) // numeric constant #define KEYWORD_RETURN(x) RETURN_CHAR( x ) // keyword #define IDENTIFIER_RETURN() RETURN_VAL( (typedefTable.isIdentifier( yytext ) ? IDENTIFIER : typedefTable.isTypedef( yytext ) ? TYPEDEFname : TYPEGENname ) ) #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) void rm_underscore() { // remove underscores in numeric constant int j = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[j] = yytext[i]; j += 1; } // if } // for yyleng = j; yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // GCC: D (double), LD (long double) and iI (imaginary) suffixes // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // operators #line 1514 "Parser/lex.cc" #define INITIAL 0 #define COMMENT 1 #define BKQUOTE 2 #define QUOTE 3 #define STRING 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 137 "lex.ll" /* line directives */ #line 1709 "Parser/lex.cc" if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } 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 >= 876 ) 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_base[yy_current_state] != 2782 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 139 "lex.ll" { /* " stop highlighting */ char *end_num; char *begin_string, *end_string; char *filename; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { end_string = strchr( begin_string + 1, '"' ); if ( end_string ) { length = end_string - begin_string - 1; filename = new char[ length + 1 ]; memcpy( filename, begin_string + 1, length ); filename[ length ] = '\0'; //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 162 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 165 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 166 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 167 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments (ALSO HANDLED BY CPP) */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 170 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 173 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 174 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 175 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 178 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONTEXT); } // CFA YY_BREAK case 36: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 37: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 38: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 39: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 40: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 41: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 42: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 43: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 44: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 45: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 46: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 47: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 50: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 51: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 52: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 53: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 54: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 55: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 56: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 57: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 58: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 59: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 61: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 62: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 64: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 65: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 67: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 68: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 69: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 70: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 71: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 72: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 73: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 76: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 77: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 78: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 79: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 80: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 81: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 82: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 83: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 84: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 85: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 86: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 87: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 88: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(TYPE); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 91: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 92: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 95: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 96: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 97: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 98: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 99: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 100: YY_RULE_SETUP #line 268 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 101: YY_RULE_SETUP #line 271 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 102: YY_RULE_SETUP #line 272 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 103: YY_RULE_SETUP #line 273 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 104: YY_RULE_SETUP #line 274 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 105: YY_RULE_SETUP #line 275 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 106: YY_RULE_SETUP #line 278 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 107: YY_RULE_SETUP #line 279 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 108: YY_RULE_SETUP #line 280 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 109: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 110: YY_RULE_SETUP #line 282 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 111: YY_RULE_SETUP #line 283 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 112: YY_RULE_SETUP #line 284 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 113: YY_RULE_SETUP #line 287 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 114: YY_RULE_SETUP #line 288 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 115: /* rule 115 can match eol */ YY_RULE_SETUP #line 289 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 116: YY_RULE_SETUP #line 293 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 117: YY_RULE_SETUP #line 294 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 118: /* rule 118 can match eol */ YY_RULE_SETUP #line 295 "lex.ll" { BEGIN 0; *strtext += std::string( yytext ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 119: YY_RULE_SETUP #line 299 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 120: /* rule 120 can match eol */ YY_RULE_SETUP #line 300 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 121: YY_RULE_SETUP #line 301 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 122: YY_RULE_SETUP #line 304 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 123: YY_RULE_SETUP #line 305 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 306 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 125: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 126: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 127: YY_RULE_SETUP #line 309 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 128: YY_RULE_SETUP #line 310 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 129: YY_RULE_SETUP #line 311 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 130: YY_RULE_SETUP #line 312 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 131: YY_RULE_SETUP #line 313 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 132: YY_RULE_SETUP #line 314 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 133: YY_RULE_SETUP #line 317 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 134: YY_RULE_SETUP #line 318 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 135: YY_RULE_SETUP #line 319 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 136: YY_RULE_SETUP #line 320 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 137: YY_RULE_SETUP #line 323 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 138: YY_RULE_SETUP #line 324 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 325 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 146: YY_RULE_SETUP #line 332 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 147: YY_RULE_SETUP #line 333 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 148: YY_RULE_SETUP #line 334 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 149: YY_RULE_SETUP #line 335 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 150: YY_RULE_SETUP #line 336 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 151: YY_RULE_SETUP #line 338 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 152: YY_RULE_SETUP #line 339 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 153: YY_RULE_SETUP #line 340 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 154: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 155: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 156: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 157: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 158: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 159: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 160: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 161: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 162: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 163: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 164: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 165: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 166: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 167: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 168: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 169: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 170: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 171: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 172: YY_RULE_SETUP #line 360 "lex.ll" { NAMEDOP_RETURN(ATassign); } YY_BREAK /* CFA, operator identifier */ case 173: YY_RULE_SETUP #line 363 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 174: YY_RULE_SETUP #line 364 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 175: YY_RULE_SETUP #line 365 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 176: YY_RULE_SETUP #line 366 "lex.ll" { IDENTIFIER_RETURN(); } // binary YY_BREAK /* This rule handles ambiguous cases with operator identifiers, e.g., "int *?*?()", where the string "*?*?" can be lexed as "*"/"?*?" or "*?"/"*?". Since it is common practise to put a unary operator juxtaposed to an identifier, e.g., "*i", users will be annoyed if they cannot do this with respect to operator identifiers. Even with this special hack, there are 5 general cases that cannot be handled. The first case is for the function-call identifier "?()": int * ?()(); // declaration: space required after '*' * ?()(); // expression: space required after '*' Without the space, the string "*?()" is ambiguous without N character look ahead; it requires scanning ahead to determine if there is a '(', which is the start of an argument/parameter list. The 4 remaining cases occur in expressions: i++?i:0; // space required before '?' i--?i:0; // space required before '?' i?++i:0; // space required after '?' i?--i:0; // space required after '?' In the first two cases, the string "i++?" is ambiguous, where this string can be lexed as "i"/"++?" or "i++"/"?"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. In the second two cases, the string "?++x" is ambiguous, where this string can be lexed as "?++"/"x" or "?"/"++x"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. */ case 177: YY_RULE_SETUP #line 393 "lex.ll" { // 1 or 2 character unary operator ? int i = yytext[1] == '?' ? 1 : 2; yyless( i ); // put back characters up to first '?' if ( i > 1 ) { NAMEDOP_RETURN( yytext[0] == '+' ? ICR : DECR ); } else { ASCIIOP_RETURN(); } // if } YY_BREAK /* unknown characters */ case 178: YY_RULE_SETUP #line 405 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 179: YY_RULE_SETUP #line 407 "lex.ll" ECHO; YY_BREAK #line 2778 "Parser/lex.cc" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(COMMENT): case YY_STATE_EOF(BKQUOTE): case YY_STATE_EOF(QUOTE): case YY_STATE_EOF(STRING): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { int 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; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), (yy_n_chars), (size_t) num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart(yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); yy_current_state += YY_AT_BOL(); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } 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 >= 876 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; (yy_last_accepting_cpos) = yy_cp; } 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 >= 876 ) 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 == 875); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) yylineno++; ; return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ /* We do not touch yylineno unless the option is enabled. */ yylineno = 1; (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 407 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //