#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 178 #define YY_END_OF_BUFFER 179 /* 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[852] = { 0, 0, 0, 0, 0, 0, 0, 113, 113, 116, 116, 179, 177, 7, 9, 8, 136, 115, 100, 141, 144, 112, 123, 124, 139, 137, 127, 138, 130, 140, 105, 106, 107, 128, 129, 146, 148, 147, 149, 177, 100, 121, 177, 122, 142, 100, 102, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 125, 145, 126, 143, 7, 177, 4, 4, 178, 103, 178, 104, 113, 114, 120, 116, 117, 7, 9, 0, 8, 153, 172, 100, 0, 165, 135, 158, 166, 163, 150, 161, 151, 162, 160, 0, 110, 3, 0, 164, 110, 108, 0, 0, 108, 108, 0, 0, 108, 107, 107, 107, 0, 107, 133, 134, 132, 154, 156, 152, 157, 155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 171, 0, 115, 112, 100, 0, 0, 168, 0, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 39, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 57, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 167, 159, 7, 0, 0, 0, 2, 0, 5, 103, 0, 0, 0, 113, 0, 119, 118, 118, 0, 0, 0, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 131, 110, 0, 110, 0, 0, 6, 0, 108, 0, 0, 0, 110, 0, 108, 108, 108, 108, 0, 109, 0, 0, 107, 107, 107, 107, 0, 169, 170, 0, 175, 173, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 100, 17, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 14, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 51, 100, 100, 100, 64, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 87, 100, 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 118, 0, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0, 0, 110, 0, 108, 108, 0, 0, 109, 109, 0, 109, 0, 109, 107, 107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 174, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 21, 100, 24, 100, 27, 100, 100, 100, 100, 100, 100, 100, 42, 100, 44, 100, 100, 100, 100, 100, 100, 100, 56, 100, 67, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 88, 100, 100, 95, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 109, 109, 0, 111, 0, 109, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 22, 100, 100, 100, 100, 100, 100, 100, 15, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 23, 25, 100, 32, 100, 100, 100, 100, 100, 41, 100, 100, 100, 100, 49, 100, 100, 54, 100, 100, 100, 100, 100, 75, 100, 100, 100, 100, 100, 85, 100, 100, 93, 100, 100, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 111, 0, 0, 109, 111, 111, 0, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 59, 100, 100, 100, 100, 100, 100, 100, 100, 28, 100, 100, 100, 100, 40, 43, 46, 100, 100, 52, 100, 61, 68, 100, 100, 74, 76, 79, 80, 82, 83, 100, 100, 90, 100, 100, 0, 1, 0, 0, 0, 0, 0, 0, 103, 0, 0, 0, 118, 0, 0, 0, 0, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 18, 100, 100, 100, 100, 100, 100, 100, 16, 100, 100, 33, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 35, 100, 37, 38, 100, 48, 53, 100, 100, 100, 89, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 60, 62, 65, 100, 100, 77, 91, 100, 100, 36, 47, 70, 71, 100, 94, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 69, 100, 100, 12, 100, 30, 34, 100, 100, 100, 66, 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 100, 100, 100, 100, 100, 100, 50, 63, 72, 78, 92, 97, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 13, 19, 31, 100, 100, 100, 26, 86, 0, 0, 100, 100, 100, 100, 73, 98, 100, 84, 20, 45, 81, 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, 41, 42, 11, 43, 11, 11, 44, 11, 45, 11, 46, 11, 47, 48, 49, 50, 11, 11, 51, 11, 11, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 11, 67, 68, 69, 70, 71, 72, 11, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 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[86] = { 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, 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[1025] = { 0, 0, 84, 2247, 2245, 94, 0, 177, 178, 179, 180, 2259, 2762, 191, 2762, 197, 55, 2762, 2203, 60, 173, 2762, 2762, 2762, 56, 188, 2762, 191, 189, 204, 216, 275, 0, 2222, 2762, 216, 2222, 152, 344, 155, 220, 2762, 159, 2762, 217, 226, 2762, 185, 154, 212, 251, 237, 270, 235, 257, 241, 193, 305, 314, 333, 238, 228, 2762, 225, 2762, 2218, 402, 390, 2762, 2227, 2762, 2193, 204, 2762, 0, 2762, 426, 0, 2762, 417, 2762, 439, 451, 2762, 498, 2192, 235, 2762, 2762, 2762, 2762, 2762, 2210, 2762, 2208, 2762, 2762, 2218, 559, 2762, 2235, 2762, 605, 413, 498, 516, 289, 253, 197, 293, 305, 0, 319, 280, 231, 334, 2762, 2762, 2762, 2205, 2762, 2762, 2762, 2203, 2200, 298, 356, 2213, 366, 429, 439, 398, 434, 438, 448, 2194, 443, 2143, 459, 2172, 2762, 335, 2762, 2762, 495, 2166, 2163, 2762, 2136, 460, 282, 297, 329, 409, 437, 442, 281, 503, 414, 474, 372, 484, 493, 378, 434, 433, 325, 494, 459, 499, 492, 502, 509, 461, 301, 515, 535, 2164, 536, 520, 538, 544, 541, 545, 567, 539, 421, 554, 563, 597, 570, 571, 548, 2762, 2762, 652, 662, 2212, 668, 2762, 674, 2762, 2159, 567, 2153, 2152, 0, 645, 2762, 2762, 680, 2151, 2149, 2146, 0, 2167, 466, 640, 646, 689, 688, 650, 678, 679, 682, 2164, 685, 692, 2141, 2139, 2762, 714, 707, 2762, 2136, 2186, 2762, 703, 0, 697, 760, 766, 779, 801, 696, 2762, 2144, 2119, 0, 787, 2164, 825, 698, 2762, 2138, 2111, 841, 2762, 2762, 2144, 2762, 2762, 717, 718, 2123, 2122, 719, 2099, 2097, 2096, 0, 2093, 0, 2062, 585, 589, 704, 610, 675, 703, 540, 706, 707, 743, 726, 720, 745, 787, 709, 748, 715, 756, 759, 2092, 761, 781, 792, 817, 785, 791, 808, 788, 818, 819, 807, 822, 821, 820, 832, 833, 834, 835, 837, 838, 843, 845, 2091, 276, 847, 850, 846, 849, 851, 852, 855, 853, 854, 856, 865, 2089, 867, 904, 866, 873, 197, 874, 870, 938, 939, 2083, 2080, 2079, 0, 2078, 0, 926, 930, 2076, 0, 2073, 0, 2070, 0, 2091, 2762, 901, 912, 2070, 2066, 0, 2063, 0, 935, 942, 953, 964, 976, 989, 998, 2762, 2762, 939, 962, 1014, 987, 1023, 928, 1041, 1005, 2762, 2762, 2060, 2059, 2058, 0, 2056, 0, 2053, 0, 2052, 0, 2762, 911, 940, 976, 966, 881, 1003, 944, 1000, 974, 941, 1015, 1018, 1019, 1021, 1006, 1025, 1027, 1039, 1041, 1012, 1046, 1048, 2054, 1047, 2052, 975, 2049, 1050, 1051, 1057, 1052, 1053, 1054, 1058, 2048, 1068, 2047, 1072, 1055, 1074, 1076, 1078, 1079, 1081, 2045, 1080, 2042, 1082, 1085, 1084, 1087, 1086, 1091, 1094, 1088, 1095, 1096, 588, 1109, 1111, 1110, 2038, 1113, 1114, 1166, 2031, 0, 2029, 0, 2027, 0, 2024, 0, 1159, 2022, 0, 2020, 0, 2017, 2014, 2013, 0, 2012, 0, 1166, 1172, 1218, 1131, 1229, 1155, 1132, 1129, 2762, 1235, 1242, 1253, 2022, 1995, 2004, 2003, 0, 2002, 0, 2000, 0, 1997, 0, 1994, 0, 1993, 0, 1149, 1120, 1995, 1153, 1159, 1164, 1156, 1167, 1165, 1161, 233, 1211, 1219, 1162, 1186, 1229, 1173, 1185, 166, 1235, 1236, 1222, 1237, 1242, 1993, 1249, 1241, 1990, 1171, 1248, 1240, 1251, 1253, 1987, 1254, 1256, 1259, 1260, 1986, 1261, 1264, 1985, 1268, 1270, 1267, 1272, 1274, 1983, 1278, 921, 1280, 1281, 1282, 1290, 1283, 1288, 1980, 1293, 1295, 1977, 2026, 1972, 0, 1970, 0, 1967, 0, 1964, 0, 1963, 0, 1962, 0, 1960, 0, 1957, 0, 1341, 1347, 1354, 1365, 1954, 2762, 1377, 2762, 1388, 2762, 1953, 0, 1952, 0, 1950, 0, 1947, 0, 0, 0, 1949, 0, 1366, 1297, 1296, 1333, 1306, 1331, 1300, 1301, 1353, 1115, 1343, 1367, 1355, 1372, 1373, 1299, 1383, 1402, 1375, 1381, 1385, 1378, 1386, 1388, 1948, 1393, 1399, 1404, 1405, 1946, 1943, 1942, 1407, 1406, 1941, 1411, 1939, 1906, 1409, 1334, 1904, 1903, 1900, 1897, 1896, 1895, 1410, 1413, 1893, 1412, 1416, 1940, 2762, 1884, 0, 1883, 0, 0, 0, 1885, 0, 0, 0, 2762, 0, 0, 0, 0, 1464, 1470, 1516, 1880, 0, 1877, 0, 0, 0, 0, 1876, 1425, 1420, 1878, 1424, 1447, 1448, 1429, 1456, 1457, 1451, 1876, 1462, 1463, 1475, 1471, 1493, 1481, 1494, 1496, 1495, 1497, 1499, 1466, 1500, 1483, 1873, 1502, 1872, 1871, 1482, 1869, 1866, 1501, 1506, 1508, 1862, 1509, 1514, 0, 0, 1855, 1851, 1835, 1834, 1560, 0, 1833, 1831, 1828, 1827, 1826, 1827, 1824, 1823, 1822, 1516, 1520, 1522, 1417, 1515, 1518, 1512, 1539, 1540, 1552, 1820, 1543, 1817, 1544, 1548, 1551, 1556, 1545, 1526, 1816, 1815, 1813, 1810, 1550, 1809, 1808, 1803, 1800, 1799, 1798, 1796, 1793, 1792, 1791, 1789, 1786, 1785, 1784, 1557, 1785, 1558, 1562, 1561, 1565, 1566, 1782, 1567, 1594, 1571, 1781, 1570, 1572, 1578, 1577, 1582, 1583, 1777, 1775, 1768, 1766, 1765, 1762, 1761, 1760, 1758, 1741, 1732, 1731, 1728, 1724, 1576, 1588, 1590, 1591, 1601, 1589, 1721, 1714, 1602, 1712, 1711, 1607, 1603, 1608, 1687, 1686, 1685, 1678, 1676, 1675, 1633, 1632, 1609, 1611, 1632, 1619, 1626, 1620, 1621, 1625, 1596, 1477, 1462, 1152, 1613, 1614, 1627, 1631, 1119, 1016, 1615, 762, 725, 676, 549, 2762, 1690, 1703, 1716, 1726, 1736, 1749, 1759, 1772, 1785, 1798, 1806, 1816, 1823, 1830, 1837, 1844, 1851, 1858, 1865, 1872, 1879, 1892, 1899, 1903, 1911, 1914, 1921, 1928, 1935, 1938, 1945, 1951, 1964, 1977, 1984, 1991, 1998, 2005, 2008, 2015, 2018, 2025, 2028, 2035, 2038, 2045, 2048, 2055, 2058, 2065, 2068, 2075, 2083, 2090, 2097, 2104, 2111, 2114, 2121, 2124, 2131, 2134, 2141, 2147, 2160, 2167, 2174, 2177, 2184, 2187, 2194, 2197, 2204, 2207, 2214, 2217, 2224, 2227, 2234, 2241, 2244, 2251, 2254, 2261, 2268, 2275, 2278, 2285, 2288, 2295, 2298, 2305, 2308, 2315, 2318, 2325, 2331, 2344, 2351, 2358, 2361, 2368, 2371, 2378, 2381, 2388, 2391, 2398, 2401, 2408, 2411, 2418, 2421, 2428, 2431, 2438, 2445, 2448, 2455, 2458, 2465, 2468, 2475, 2478, 2481, 2487, 2494, 2503, 2510, 2517, 2520, 2527, 2530, 2533, 2539, 2546, 2549, 2552, 2555, 2558, 2561, 2564, 2567, 2574, 2577, 2584, 2587, 2590, 2593, 2596, 2606, 2613, 2616, 2619, 2626, 2633, 2640, 2643, 2650, 2657, 2664, 2671, 2678, 2685, 2692, 2699, 2706, 2713, 2720, 2727, 2734, 2741, 2748 } ; static yyconst flex_int16_t yy_def[1025] = { 0, 851, 1, 852, 852, 851, 5, 853, 853, 854, 854, 851, 851, 851, 851, 851, 851, 851, 855, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 31, 851, 851, 851, 851, 851, 851, 856, 855, 851, 851, 851, 851, 855, 851, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 851, 851, 851, 851, 851, 857, 851, 851, 851, 858, 851, 851, 859, 851, 851, 860, 851, 851, 851, 851, 851, 851, 851, 855, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 861, 851, 851, 30, 851, 851, 851, 851, 862, 30, 851, 31, 851, 851, 31, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 863, 851, 851, 851, 851, 855, 864, 865, 851, 851, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 851, 851, 851, 857, 857, 857, 851, 857, 851, 858, 851, 866, 867, 859, 851, 851, 851, 851, 868, 869, 870, 860, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 871, 872, 851, 851, 851, 851, 231, 873, 851, 851, 103, 103, 851, 851, 851, 851, 851, 851, 851, 851, 874, 875, 876, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 863, 851, 877, 878, 879, 880, 881, 882, 851, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 884, 885, 886, 887, 888, 889, 890, 891, 851, 851, 892, 893, 894, 895, 896, 897, 851, 851, 851, 851, 851, 898, 899, 900, 901, 851, 851, 851, 851, 851, 851, 851, 851, 851, 902, 903, 904, 851, 851, 851, 904, 851, 851, 851, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 851, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 851, 925, 926, 927, 928, 929, 929, 930, 931, 932, 933, 851, 851, 851, 934, 851, 934, 851, 851, 851, 851, 851, 851, 851, 851, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 851, 851, 851, 851, 966, 851, 851, 851, 851, 851, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 979, 851, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 851, 990, 991, 992, 993, 851, 851, 851, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1003, 1004, 982, 1005, 1006, 1007, 851, 1008, 994, 996, 1009, 1010, 1001, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1011, 1012, 1005, 1013, 1006, 1014, 1007, 1015, 1016, 1009, 1017, 1010, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1018, 1011, 1019, 1012, 1020, 1013, 1021, 1014, 1022, 1015, 1023, 1016, 1017, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1024, 1018, 1019, 1020, 1021, 996, 1022, 1023, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1024, 996, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 0, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851 } ; static yyconst flex_int16_t yy_nxt[2848] = { 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, 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, 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, 619, 75, 75, 79, 80, 81, 81, 81, 79, 81, 80, 82, 82, 82, 81, 90, 92, 86, 141, 145, 97, 94, 98, 98, 98, 98, 98, 98, 248, 86, 93, 99, 84, 95, 96, 84, 100, 160, 117, 142, 76, 76, 76, 76, 143, 146, 101, 102, 86, 103, 103, 103, 103, 104, 104, 118, 86, 119, 120, 147, 86, 148, 851, 250, 204, 181, 105, 193, 453, 158, 106, 159, 149, 150, 151, 86, 107, 108, 152, 153, 161, 154, 109, 86, 155, 156, 144, 162, 105, 86, 205, 86, 157, 163, 110, 228, 86, 256, 86, 611, 86, 86, 107, 192, 86, 108, 102, 246, 111, 111, 111, 111, 111, 111, 86, 168, 176, 169, 194, 191, 86, 229, 179, 164, 851, 105, 170, 165, 180, 112, 177, 247, 166, 86, 254, 113, 167, 178, 171, 86, 259, 114, 260, 244, 86, 86, 172, 105, 173, 245, 438, 174, 142, 115, 851, 175, 282, 143, 255, 251, 86, 113, 124, 276, 86, 245, 125, 126, 86, 127, 189, 128, 129, 252, 130, 245, 131, 86, 277, 253, 182, 183, 851, 244, 312, 132, 133, 134, 86, 186, 184, 245, 86, 185, 253, 267, 86, 187, 259, 144, 260, 278, 198, 199, 188, 253, 135, 198, 259, 136, 260, 303, 252, 190, 195, 80, 81, 81, 81, 195, 253, 268, 196, 200, 200, 200, 200, 200, 200, 79, 80, 81, 81, 81, 79, 86, 137, 138, 207, 208, 259, 86, 260, 207, 295, 209, 238, 238, 238, 238, 209, 81, 80, 81, 81, 81, 81, 261, 300, 210, 210, 210, 210, 81, 80, 82, 82, 82, 81, 261, 209, 259, 86, 260, 851, 262, 259, 86, 260, 239, 259, 259, 260, 260, 86, 259, 211, 260, 279, 209, 259, 263, 260, 293, 209, 209, 86, 86, 209, 209, 86, 259, 851, 260, 328, 86, 209, 301, 353, 209, 354, 209, 212, 209, 142, 213, 215, 302, 280, 143, 216, 217, 86, 86, 86, 218, 219, 281, 220, 102, 221, 104, 104, 104, 104, 104, 104, 86, 274, 222, 223, 224, 311, 305, 241, 275, 241, 86, 105, 242, 242, 242, 242, 242, 242, 86, 86, 86, 86, 294, 225, 298, 86, 226, 240, 86, 86, 306, 296, 297, 105, 283, 86, 284, 299, 285, 286, 308, 86, 287, 309, 288, 243, 86, 304, 307, 289, 290, 291, 310, 292, 227, 231, 231, 231, 231, 231, 231, 86, 86, 317, 86, 86, 86, 86, 313, 318, 86, 86, 232, 233, 86, 86, 233, 315, 327, 142, 86, 319, 323, 314, 316, 322, 398, 336, 234, 86, 339, 320, 321, 86, 232, 233, 86, 86, 325, 324, 233, 98, 98, 98, 98, 98, 98, 329, 330, 332, 334, 86, 335, 326, 86, 86, 340, 333, 232, 233, 207, 208, 233, 86, 392, 207, 331, 195, 80, 81, 81, 81, 195, 393, 237, 196, 86, 198, 199, 556, 232, 233, 198, 198, 199, 353, 233, 354, 198, 337, 199, 353, 395, 354, 337, 353, 338, 354, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 345, 345, 345, 345, 354, 354, 355, 353, 353, 354, 354, 353, 356, 354, 353, 851, 354, 353, 353, 354, 354, 353, 362, 354, 362, 86, 86, 363, 363, 363, 363, 363, 363, 346, 231, 231, 231, 231, 231, 231, 232, 233, 396, 369, 233, 379, 259, 259, 260, 260, 366, 232, 233, 86, 86, 233, 86, 86, 397, 86, 364, 399, 232, 233, 409, 86, 381, 234, 233, 369, 86, 379, 394, 232, 233, 86, 86, 400, 411, 233, 104, 104, 104, 104, 104, 104, 242, 242, 242, 242, 242, 242, 382, 86, 404, 86, 405, 105, 86, 367, 367, 367, 367, 367, 367, 372, 86, 410, 401, 86, 406, 86, 86, 251, 402, 403, 241, 233, 241, 105, 233, 242, 242, 242, 242, 242, 242, 413, 374, 414, 375, 86, 368, 412, 376, 86, 415, 86, 86, 233, 377, 86, 86, 422, 233, 104, 104, 104, 104, 104, 104, 416, 378, 407, 408, 418, 375, 86, 86, 419, 376, 111, 111, 111, 111, 111, 111, 86, 86, 86, 86, 86, 86, 423, 417, 424, 425, 427, 251, 420, 421, 426, 86, 86, 86, 86, 428, 86, 86, 431, 432, 429, 433, 86, 256, 86, 86, 86, 430, 86, 86, 86, 86, 86, 86, 86, 86, 435, 437, 434, 142, 436, 439, 440, 445, 86, 86, 86, 441, 444, 86, 443, 442, 86, 86, 446, 450, 447, 448, 454, 353, 86, 354, 449, 451, 455, 452, 337, 199, 199, 507, 353, 337, 354, 338, 197, 209, 209, 209, 209, 345, 345, 345, 345, 86, 363, 363, 363, 363, 363, 363, 86, 476, 476, 476, 476, 476, 476, 362, 488, 362, 86, 503, 363, 363, 363, 363, 363, 363, 465, 233, 644, 480, 233, 231, 231, 231, 231, 231, 231, 86, 86, 481, 489, 86, 477, 238, 238, 238, 238, 104, 104, 233, 509, 512, 480, 504, 233, 480, 367, 367, 367, 367, 367, 367, 482, 86, 365, 367, 367, 367, 367, 367, 367, 86, 86, 86, 233, 483, 366, 233, 480, 372, 511, 484, 506, 233, 528, 485, 233, 485, 505, 368, 486, 486, 486, 486, 486, 486, 233, 86, 478, 484, 86, 233, 374, 86, 375, 233, 851, 484, 376, 86, 233, 508, 86, 86, 377, 86, 86, 483, 86, 510, 524, 518, 86, 487, 86, 484, 378, 519, 513, 374, 375, 375, 515, 516, 376, 376, 86, 514, 86, 520, 517, 490, 522, 86, 86, 86, 521, 86, 86, 86, 86, 86, 86, 378, 86, 86, 534, 375, 527, 523, 526, 376, 525, 531, 536, 86, 535, 532, 529, 86, 530, 86, 533, 86, 539, 86, 86, 86, 86, 86, 537, 86, 86, 86, 86, 86, 540, 544, 86, 538, 542, 86, 86, 86, 545, 541, 543, 551, 553, 554, 555, 548, 546, 547, 549, 550, 86, 86, 86, 552, 86, 86, 86, 199, 557, 691, 86, 86, 560, 563, 562, 480, 480, 585, 558, 559, 209, 209, 209, 209, 603, 481, 561, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 480, 86, 480, 480, 585, 86, 233, 851, 86, 233, 584, 86, 233, 86, 86, 233, 86, 86, 602, 86, 604, 477, 609, 86, 610, 86, 480, 580, 233, 606, 607, 605, 608, 233, 233, 614, 617, 86, 86, 233, 367, 367, 367, 367, 367, 367, 581, 615, 581, 627, 618, 582, 582, 582, 582, 582, 582, 486, 486, 486, 486, 486, 486, 86, 586, 586, 586, 586, 586, 586, 485, 86, 485, 478, 86, 486, 486, 486, 486, 486, 486, 86, 587, 612, 583, 587, 616, 86, 86, 86, 613, 622, 86, 86, 86, 625, 620, 588, 623, 624, 86, 86, 626, 86, 587, 86, 86, 629, 86, 587, 621, 86, 86, 86, 631, 632, 86, 628, 630, 86, 86, 637, 86, 634, 86, 633, 86, 635, 636, 638, 86, 639, 86, 86, 86, 86, 648, 641, 643, 645, 86, 640, 86, 642, 649, 86, 647, 86, 86, 86, 650, 86, 86, 86, 697, 646, 683, 684, 86, 688, 652, 689, 651, 476, 476, 476, 476, 476, 476, 582, 582, 582, 582, 582, 582, 686, 670, 670, 670, 670, 670, 670, 581, 86, 581, 86, 86, 582, 582, 582, 582, 582, 582, 714, 587, 86, 580, 587, 685, 586, 586, 586, 586, 586, 586, 86, 687, 86, 692, 671, 586, 586, 586, 586, 586, 586, 587, 587, 86, 86, 587, 587, 690, 681, 86, 86, 699, 86, 587, 694, 86, 587, 588, 86, 693, 86, 682, 86, 86, 587, 86, 695, 700, 672, 587, 86, 702, 696, 703, 705, 587, 86, 698, 701, 86, 587, 86, 86, 86, 86, 704, 86, 86, 86, 86, 86, 709, 706, 86, 86, 713, 715, 86, 717, 707, 716, 86, 86, 708, 710, 712, 86, 733, 718, 777, 711, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 732, 86, 86, 737, 734, 86, 587, 736, 735, 587, 86, 86, 587, 738, 739, 587, 86, 86, 745, 851, 86, 671, 741, 740, 748, 86, 742, 725, 587, 86, 752, 86, 743, 587, 587, 86, 86, 86, 746, 587, 586, 586, 586, 586, 586, 586, 744, 86, 86, 86, 86, 86, 749, 86, 86, 86, 86, 747, 754, 756, 86, 751, 86, 86, 750, 755, 86, 753, 86, 86, 86, 760, 86, 672, 86, 757, 86, 761, 783, 778, 86, 776, 758, 759, 670, 670, 670, 670, 670, 670, 774, 775, 780, 86, 86, 779, 781, 86, 86, 86, 784, 785, 86, 790, 86, 86, 86, 782, 787, 786, 86, 86, 86, 788, 789, 86, 86, 725, 808, 86, 86, 86, 812, 810, 86, 86, 86, 791, 813, 815, 86, 86, 86, 806, 807, 816, 86, 86, 805, 811, 817, 809, 86, 86, 86, 86, 814, 830, 86, 829, 86, 828, 818, 819, 831, 86, 86, 86, 832, 834, 833, 86, 86, 86, 835, 86, 836, 86, 86, 86, 841, 837, 840, 86, 86, 86, 842, 843, 844, 86, 86, 86, 845, 847, 848, 86, 86, 846, 849, 851, 851, 850, 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, 839, 851, 85, 851, 85, 85, 85, 85, 85, 139, 851, 851, 838, 139, 139, 139, 139, 139, 139, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 202, 86, 86, 202, 86, 202, 202, 202, 202, 202, 206, 86, 206, 206, 86, 206, 206, 206, 206, 206, 206, 851, 206, 214, 851, 827, 214, 214, 214, 214, 214, 214, 214, 214, 851, 214, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 249, 249, 826, 249, 851, 824, 851, 249, 265, 823, 851, 265, 822, 265, 265, 265, 265, 265, 269, 851, 269, 821, 86, 86, 269, 271, 86, 271, 851, 804, 851, 271, 341, 803, 341, 801, 851, 799, 341, 343, 851, 343, 797, 851, 795, 343, 347, 793, 347, 86, 86, 86, 347, 349, 86, 349, 86, 86, 86, 349, 351, 86, 351, 86, 86, 86, 351, 358, 86, 358, 851, 773, 771, 358, 360, 851, 360, 851, 768, 766, 360, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 371, 764, 371, 373, 373, 851, 373, 373, 373, 86, 373, 249, 249, 86, 249, 383, 86, 383, 86, 86, 86, 383, 385, 86, 385, 86, 731, 728, 385, 387, 727, 387, 203, 721, 720, 387, 269, 654, 269, 389, 86, 389, 86, 86, 86, 389, 271, 86, 271, 85, 86, 86, 85, 86, 85, 85, 85, 85, 85, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 457, 86, 457, 86, 86, 86, 457, 459, 86, 459, 86, 86, 679, 459, 461, 678, 461, 676, 674, 584, 461, 341, 669, 341, 463, 668, 463, 666, 664, 662, 463, 343, 660, 343, 466, 658, 466, 656, 654, 86, 466, 347, 86, 347, 468, 86, 468, 86, 86, 86, 468, 349, 86, 349, 470, 86, 470, 86, 601, 599, 470, 351, 597, 351, 472, 595, 472, 593, 591, 490, 472, 358, 589, 358, 474, 589, 474, 579, 577, 471, 474, 360, 471, 360, 479, 575, 479, 573, 479, 571, 479, 371, 569, 371, 567, 371, 565, 371, 373, 373, 86, 373, 373, 373, 86, 373, 491, 86, 491, 86, 86, 86, 491, 493, 86, 493, 86, 502, 500, 493, 495, 498, 495, 496, 494, 492, 495, 383, 475, 383, 497, 473, 497, 354, 354, 471, 497, 385, 469, 385, 499, 467, 499, 464, 462, 460, 499, 387, 458, 387, 501, 86, 501, 86, 86, 391, 501, 389, 390, 389, 85, 388, 386, 85, 384, 85, 85, 85, 85, 85, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, 564, 266, 564, 261, 260, 380, 564, 457, 380, 457, 566, 248, 566, 370, 370, 236, 566, 459, 365, 459, 568, 361, 568, 359, 357, 353, 568, 461, 352, 461, 570, 350, 570, 348, 344, 342, 570, 463, 203, 463, 572, 199, 572, 86, 273, 272, 572, 466, 270, 466, 574, 266, 574, 261, 264, 261, 574, 468, 259, 468, 470, 258, 470, 257, 236, 230, 470, 576, 84, 576, 84, 86, 203, 576, 472, 201, 472, 578, 84, 578, 121, 116, 86, 578, 474, 851, 474, 479, 69, 479, 69, 479, 851, 479, 373, 851, 373, 851, 851, 851, 373, 590, 851, 590, 851, 851, 851, 590, 491, 851, 491, 592, 851, 592, 851, 851, 851, 592, 493, 851, 493, 594, 851, 594, 851, 851, 851, 594, 495, 851, 495, 596, 851, 596, 851, 851, 851, 596, 497, 851, 497, 598, 851, 598, 851, 851, 851, 598, 499, 851, 499, 600, 851, 600, 851, 851, 851, 600, 501, 851, 501, 85, 851, 851, 85, 851, 85, 85, 85, 85, 85, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 655, 851, 655, 851, 851, 851, 655, 564, 851, 564, 657, 851, 657, 851, 851, 851, 657, 566, 851, 566, 659, 851, 659, 851, 851, 851, 659, 568, 851, 568, 661, 851, 661, 851, 851, 851, 661, 570, 851, 570, 663, 851, 663, 851, 851, 851, 663, 572, 851, 572, 665, 851, 665, 851, 851, 851, 665, 574, 851, 574, 667, 851, 667, 851, 851, 851, 667, 576, 851, 576, 85, 851, 85, 851, 851, 851, 85, 578, 851, 578, 479, 851, 479, 851, 851, 851, 479, 673, 851, 673, 851, 851, 851, 673, 590, 851, 590, 675, 851, 675, 851, 851, 851, 675, 592, 851, 592, 677, 851, 677, 851, 851, 851, 677, 594, 851, 594, 139, 851, 139, 851, 851, 851, 139, 596, 851, 596, 680, 851, 680, 598, 851, 598, 85, 851, 851, 85, 851, 85, 85, 85, 85, 85, 600, 851, 600, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 653, 719, 851, 719, 851, 851, 851, 719, 655, 851, 655, 202, 851, 202, 851, 851, 851, 202, 657, 851, 657, 722, 851, 722, 659, 851, 659, 202, 851, 851, 202, 851, 202, 202, 202, 202, 202, 661, 851, 661, 723, 851, 723, 663, 851, 663, 665, 851, 665, 724, 851, 724, 667, 851, 667, 85, 851, 85, 726, 851, 726, 851, 851, 851, 726, 673, 851, 673, 265, 851, 265, 851, 851, 851, 265, 675, 851, 675, 729, 851, 729, 677, 851, 677, 139, 851, 139, 730, 851, 730, 851, 851, 851, 730, 85, 851, 851, 85, 851, 85, 85, 85, 85, 85, 762, 851, 762, 719, 851, 719, 763, 851, 763, 851, 851, 851, 763, 765, 851, 765, 851, 851, 851, 765, 767, 851, 767, 851, 851, 851, 767, 769, 851, 769, 770, 851, 770, 851, 851, 851, 770, 772, 851, 772, 851, 851, 851, 772, 792, 851, 792, 851, 851, 851, 792, 794, 851, 794, 851, 851, 851, 794, 796, 851, 796, 851, 851, 851, 796, 798, 851, 798, 851, 851, 851, 798, 800, 851, 800, 851, 851, 851, 800, 802, 851, 802, 851, 851, 851, 802, 600, 851, 600, 851, 851, 851, 600, 820, 851, 820, 851, 851, 851, 820, 661, 851, 661, 851, 851, 851, 661, 665, 851, 665, 851, 851, 851, 665, 85, 851, 85, 851, 851, 851, 85, 825, 851, 825, 851, 851, 851, 825, 139, 851, 139, 851, 851, 851, 139, 202, 851, 202, 851, 851, 851, 202, 11, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851 } ; static yyconst flex_int16_t yy_chk[2848] = { 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, 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, 5, 7, 8, 9, 10, 37, 37, 20, 39, 9, 10, 521, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 48, 39, 42, 28, 27, 28, 28, 28, 28, 28, 28, 108, 521, 25, 29, 25, 27, 27, 27, 29, 48, 35, 40, 7, 8, 9, 10, 40, 42, 29, 30, 47, 30, 30, 30, 30, 30, 30, 35, 56, 35, 35, 44, 334, 44, 114, 108, 72, 56, 30, 63, 334, 47, 30, 47, 45, 45, 45, 49, 30, 30, 45, 45, 49, 45, 30, 40, 45, 45, 40, 49, 30, 45, 72, 61, 45, 49, 30, 86, 513, 114, 53, 513, 51, 60, 30, 61, 55, 30, 31, 107, 31, 31, 31, 31, 31, 31, 50, 51, 53, 51, 63, 60, 54, 86, 55, 50, 109, 31, 51, 50, 55, 31, 54, 107, 50, 52, 113, 31, 50, 54, 52, 317, 125, 31, 125, 106, 156, 150, 52, 31, 52, 106, 317, 52, 59, 31, 109, 52, 156, 59, 113, 109, 151, 31, 38, 150, 174, 110, 38, 38, 57, 38, 59, 38, 38, 112, 38, 106, 38, 58, 151, 112, 57, 57, 109, 110, 174, 38, 38, 38, 166, 58, 57, 110, 152, 57, 115, 141, 59, 58, 126, 59, 126, 152, 67, 67, 58, 112, 38, 67, 128, 38, 128, 166, 115, 59, 66, 66, 66, 66, 66, 66, 115, 141, 66, 67, 67, 67, 67, 67, 67, 79, 79, 79, 79, 79, 79, 160, 38, 38, 76, 76, 131, 163, 131, 76, 160, 76, 103, 103, 103, 103, 76, 81, 81, 81, 81, 81, 81, 129, 163, 76, 76, 76, 76, 82, 82, 82, 82, 82, 82, 130, 76, 129, 153, 129, 103, 132, 132, 158, 132, 103, 133, 130, 133, 130, 186, 136, 76, 136, 153, 76, 134, 134, 134, 158, 76, 76, 165, 164, 76, 76, 154, 138, 103, 138, 186, 155, 76, 164, 216, 76, 216, 76, 76, 76, 144, 76, 84, 165, 154, 144, 84, 84, 168, 149, 173, 84, 84, 155, 84, 104, 84, 104, 104, 104, 104, 104, 104, 159, 149, 84, 84, 84, 173, 168, 105, 149, 105, 161, 104, 105, 105, 105, 105, 105, 105, 170, 162, 167, 144, 159, 84, 162, 169, 84, 104, 171, 157, 169, 161, 161, 104, 157, 172, 157, 162, 157, 157, 170, 175, 157, 171, 157, 105, 179, 167, 169, 157, 157, 157, 172, 157, 84, 98, 98, 98, 98, 98, 98, 176, 178, 179, 180, 185, 280, 182, 175, 180, 181, 183, 98, 98, 192, 850, 98, 178, 185, 189, 187, 181, 183, 176, 178, 182, 280, 192, 98, 188, 203, 181, 181, 184, 98, 98, 190, 191, 184, 183, 98, 102, 102, 102, 102, 102, 102, 187, 188, 190, 191, 274, 191, 184, 449, 275, 203, 190, 102, 102, 207, 207, 102, 189, 274, 207, 189, 195, 195, 195, 195, 195, 195, 275, 102, 195, 277, 196, 196, 449, 102, 102, 196, 198, 198, 217, 102, 217, 198, 200, 200, 218, 277, 218, 200, 221, 200, 221, 196, 196, 196, 196, 196, 196, 198, 198, 198, 198, 198, 198, 200, 200, 200, 200, 200, 200, 210, 210, 210, 210, 219, 220, 222, 222, 223, 222, 223, 224, 224, 224, 226, 239, 226, 220, 219, 220, 219, 227, 232, 227, 232, 278, 849, 232, 232, 232, 232, 232, 232, 210, 231, 231, 231, 231, 231, 231, 237, 237, 278, 244, 237, 252, 262, 263, 262, 263, 239, 231, 231, 279, 276, 231, 281, 282, 279, 288, 232, 281, 237, 237, 288, 290, 266, 231, 237, 244, 285, 252, 276, 231, 231, 848, 284, 282, 290, 231, 240, 240, 240, 240, 240, 240, 241, 241, 241, 241, 241, 241, 266, 283, 284, 286, 285, 240, 289, 242, 242, 242, 242, 242, 242, 249, 291, 289, 283, 292, 286, 294, 847, 240, 283, 283, 243, 242, 243, 240, 242, 243, 243, 243, 243, 243, 243, 292, 249, 294, 249, 295, 242, 291, 249, 298, 295, 287, 301, 242, 249, 299, 296, 301, 242, 251, 251, 251, 251, 251, 251, 296, 249, 287, 287, 298, 249, 304, 300, 299, 249, 256, 256, 256, 256, 256, 256, 297, 302, 303, 307, 306, 305, 302, 297, 303, 304, 306, 251, 300, 300, 305, 308, 309, 310, 311, 307, 312, 313, 310, 311, 308, 312, 314, 256, 315, 320, 318, 309, 321, 319, 322, 323, 325, 326, 324, 327, 313, 315, 312, 331, 314, 318, 319, 324, 328, 332, 330, 320, 323, 336, 322, 321, 333, 335, 325, 330, 326, 327, 335, 355, 396, 355, 328, 332, 336, 333, 337, 337, 338, 396, 356, 337, 356, 337, 338, 345, 345, 345, 345, 346, 346, 346, 346, 331, 362, 362, 362, 362, 362, 362, 392, 363, 363, 363, 363, 363, 363, 364, 376, 364, 552, 392, 364, 364, 364, 364, 364, 364, 345, 363, 552, 371, 363, 365, 365, 365, 365, 365, 365, 393, 401, 371, 376, 398, 363, 366, 366, 366, 366, 366, 366, 363, 398, 401, 372, 393, 363, 371, 367, 367, 367, 367, 367, 367, 372, 395, 365, 368, 368, 368, 368, 368, 368, 400, 417, 394, 367, 374, 366, 367, 372, 373, 400, 374, 395, 368, 417, 375, 368, 375, 394, 367, 375, 375, 375, 375, 375, 375, 367, 399, 368, 378, 397, 367, 373, 406, 373, 368, 377, 374, 373, 411, 368, 397, 402, 845, 373, 403, 404, 378, 405, 399, 411, 406, 407, 375, 408, 378, 373, 407, 402, 377, 373, 377, 404, 404, 373, 377, 409, 403, 410, 408, 405, 377, 409, 412, 415, 413, 408, 419, 420, 422, 423, 424, 430, 377, 421, 425, 423, 377, 415, 410, 413, 377, 412, 421, 425, 427, 424, 421, 419, 429, 420, 431, 422, 432, 430, 433, 434, 437, 435, 439, 427, 441, 440, 443, 442, 446, 431, 435, 444, 429, 433, 445, 447, 448, 437, 432, 434, 444, 446, 447, 448, 441, 439, 440, 442, 443, 450, 452, 451, 445, 454, 455, 611, 456, 450, 611, 844, 504, 452, 456, 455, 479, 482, 483, 450, 451, 465, 465, 465, 465, 504, 479, 454, 476, 476, 476, 476, 476, 476, 477, 477, 477, 477, 477, 477, 481, 503, 479, 482, 483, 506, 476, 839, 509, 476, 481, 507, 477, 512, 516, 477, 508, 511, 503, 510, 506, 476, 511, 531, 512, 519, 481, 477, 476, 508, 509, 507, 510, 476, 477, 516, 519, 520, 517, 477, 478, 478, 478, 478, 478, 478, 480, 517, 480, 531, 520, 480, 480, 480, 480, 480, 480, 485, 485, 485, 485, 485, 485, 514, 486, 486, 486, 486, 486, 486, 487, 515, 487, 478, 524, 487, 487, 487, 487, 487, 487, 518, 486, 514, 480, 486, 518, 522, 523, 525, 515, 524, 533, 529, 526, 528, 522, 486, 525, 526, 532, 528, 529, 534, 486, 535, 537, 533, 538, 486, 523, 539, 540, 542, 535, 537, 543, 532, 534, 547, 545, 543, 546, 539, 548, 538, 549, 540, 542, 545, 551, 546, 553, 554, 555, 557, 556, 548, 551, 553, 558, 547, 556, 549, 557, 560, 555, 561, 604, 603, 558, 617, 608, 609, 617, 554, 603, 604, 606, 608, 561, 609, 560, 580, 580, 580, 580, 580, 580, 581, 581, 581, 581, 581, 581, 606, 582, 582, 582, 582, 582, 582, 583, 607, 583, 605, 641, 583, 583, 583, 583, 583, 583, 641, 582, 612, 580, 582, 605, 586, 586, 586, 586, 586, 586, 610, 607, 614, 612, 582, 588, 588, 588, 588, 588, 588, 582, 586, 602, 613, 586, 582, 610, 602, 615, 616, 619, 620, 588, 614, 623, 588, 586, 621, 613, 618, 602, 622, 624, 586, 625, 615, 620, 588, 586, 627, 622, 616, 623, 625, 588, 628, 618, 621, 619, 588, 629, 630, 635, 634, 624, 640, 648, 637, 651, 649, 630, 627, 652, 739, 640, 648, 682, 651, 628, 649, 684, 681, 629, 634, 637, 687, 682, 652, 739, 635, 670, 670, 670, 670, 670, 670, 671, 671, 671, 671, 671, 671, 681, 685, 686, 687, 684, 690, 670, 686, 685, 670, 688, 689, 671, 688, 689, 671, 692, 693, 696, 838, 703, 670, 692, 690, 699, 695, 693, 671, 670, 694, 703, 837, 694, 670, 671, 697, 710, 705, 697, 671, 672, 672, 672, 672, 672, 672, 695, 696, 698, 700, 699, 701, 700, 702, 704, 713, 707, 698, 705, 710, 714, 702, 715, 717, 701, 707, 742, 704, 718, 740, 736, 717, 741, 672, 737, 713, 738, 718, 745, 740, 754, 738, 714, 715, 725, 725, 725, 725, 725, 725, 736, 737, 742, 743, 744, 741, 743, 747, 749, 753, 747, 749, 750, 754, 759, 751, 745, 744, 751, 750, 752, 774, 776, 752, 753, 778, 777, 725, 778, 779, 780, 782, 783, 780, 786, 784, 787, 759, 784, 787, 806, 789, 788, 776, 777, 788, 790, 791, 774, 782, 789, 779, 807, 811, 808, 809, 786, 808, 783, 807, 836, 806, 790, 791, 809, 810, 814, 818, 810, 814, 811, 817, 819, 828, 817, 829, 818, 840, 841, 846, 829, 819, 828, 831, 833, 834, 831, 833, 834, 835, 832, 842, 835, 841, 842, 843, 830, 840, 843, 827, 826, 846, 852, 852, 852, 852, 852, 852, 852, 852, 852, 852, 852, 852, 852, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 855, 825, 824, 855, 823, 855, 855, 855, 855, 855, 856, 822, 821, 820, 856, 856, 856, 856, 856, 856, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 858, 816, 815, 858, 813, 858, 858, 858, 858, 858, 859, 812, 859, 859, 805, 859, 859, 859, 859, 859, 859, 804, 859, 860, 803, 802, 860, 860, 860, 860, 860, 860, 860, 860, 801, 860, 861, 861, 861, 861, 861, 861, 861, 861, 861, 861, 861, 861, 861, 862, 862, 800, 862, 799, 798, 797, 862, 863, 796, 795, 863, 794, 863, 863, 863, 863, 863, 864, 793, 864, 792, 785, 781, 864, 865, 775, 865, 773, 772, 771, 865, 866, 770, 866, 769, 768, 767, 866, 867, 766, 867, 765, 764, 763, 867, 868, 762, 868, 761, 760, 758, 868, 869, 757, 869, 756, 755, 748, 869, 870, 746, 870, 735, 734, 733, 870, 871, 732, 871, 731, 730, 729, 871, 872, 728, 872, 727, 724, 723, 872, 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, 873, 874, 722, 874, 875, 875, 721, 875, 875, 875, 716, 875, 876, 876, 712, 876, 877, 711, 877, 709, 708, 706, 877, 878, 691, 878, 683, 680, 675, 878, 879, 673, 879, 661, 657, 655, 879, 880, 653, 880, 881, 650, 881, 647, 646, 645, 881, 882, 644, 882, 883, 643, 642, 883, 639, 883, 883, 883, 883, 883, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 886, 638, 886, 636, 633, 632, 886, 887, 631, 887, 626, 600, 596, 887, 888, 594, 888, 592, 590, 584, 888, 889, 578, 889, 890, 576, 890, 574, 572, 570, 890, 891, 568, 891, 892, 566, 892, 564, 563, 562, 892, 893, 559, 893, 894, 550, 894, 544, 541, 536, 894, 895, 530, 895, 896, 527, 896, 505, 501, 499, 896, 897, 497, 897, 898, 495, 898, 493, 491, 490, 898, 899, 489, 899, 900, 488, 900, 474, 472, 471, 900, 901, 470, 901, 902, 468, 902, 466, 902, 463, 902, 903, 461, 903, 459, 903, 457, 903, 904, 904, 453, 904, 904, 904, 438, 904, 905, 436, 905, 428, 426, 418, 905, 906, 416, 906, 414, 389, 387, 906, 907, 385, 907, 383, 382, 381, 907, 908, 360, 908, 909, 358, 909, 357, 353, 351, 909, 910, 349, 910, 911, 347, 911, 343, 341, 340, 911, 912, 339, 912, 913, 329, 913, 316, 293, 273, 913, 914, 271, 914, 915, 269, 268, 915, 267, 915, 915, 915, 915, 915, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 917, 265, 917, 264, 259, 255, 917, 918, 254, 918, 919, 250, 919, 247, 246, 235, 919, 920, 234, 920, 921, 229, 921, 228, 225, 215, 921, 922, 213, 922, 923, 212, 923, 211, 205, 204, 923, 924, 202, 924, 925, 197, 925, 177, 148, 146, 925, 926, 145, 926, 927, 139, 927, 137, 135, 127, 927, 928, 124, 928, 929, 123, 929, 119, 100, 97, 929, 930, 94, 930, 92, 85, 71, 930, 931, 69, 931, 932, 65, 932, 36, 33, 18, 932, 933, 11, 933, 934, 4, 934, 3, 934, 0, 934, 935, 0, 935, 0, 0, 0, 935, 936, 0, 936, 0, 0, 0, 936, 937, 0, 937, 938, 0, 938, 0, 0, 0, 938, 939, 0, 939, 940, 0, 940, 0, 0, 0, 940, 941, 0, 941, 942, 0, 942, 0, 0, 0, 942, 943, 0, 943, 944, 0, 944, 0, 0, 0, 944, 945, 0, 945, 946, 0, 946, 0, 0, 0, 946, 947, 0, 947, 948, 0, 0, 948, 0, 948, 948, 948, 948, 948, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 950, 0, 950, 0, 0, 0, 950, 951, 0, 951, 952, 0, 952, 0, 0, 0, 952, 953, 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, 0, 0, 958, 959, 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, 0, 0, 0, 967, 968, 0, 968, 969, 0, 969, 0, 0, 0, 969, 970, 0, 970, 971, 0, 971, 0, 0, 0, 971, 972, 0, 972, 973, 0, 973, 0, 0, 0, 973, 974, 0, 974, 975, 0, 975, 976, 0, 976, 977, 0, 0, 977, 0, 977, 977, 977, 977, 977, 978, 0, 978, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 980, 0, 980, 0, 0, 0, 980, 981, 0, 981, 982, 0, 982, 0, 0, 0, 982, 983, 0, 983, 984, 0, 984, 985, 0, 985, 986, 0, 0, 986, 0, 986, 986, 986, 986, 986, 987, 0, 987, 988, 0, 988, 989, 0, 989, 990, 0, 990, 991, 0, 991, 992, 0, 992, 993, 0, 993, 994, 0, 994, 0, 0, 0, 994, 995, 0, 995, 996, 0, 996, 0, 0, 0, 996, 997, 0, 997, 998, 0, 998, 999, 0, 999, 1000, 0, 1000, 1001, 0, 1001, 0, 0, 0, 1001, 1002, 0, 0, 1002, 0, 1002, 1002, 1002, 1002, 1002, 1003, 0, 1003, 1004, 0, 1004, 1005, 0, 1005, 0, 0, 0, 1005, 1006, 0, 1006, 0, 0, 0, 1006, 1007, 0, 1007, 0, 0, 0, 1007, 1008, 0, 1008, 1009, 0, 1009, 0, 0, 0, 1009, 1010, 0, 1010, 0, 0, 0, 1010, 1011, 0, 1011, 0, 0, 0, 1011, 1012, 0, 1012, 0, 0, 0, 1012, 1013, 0, 1013, 0, 0, 0, 1013, 1014, 0, 1014, 0, 0, 0, 1014, 1015, 0, 1015, 0, 0, 0, 1015, 1016, 0, 1016, 0, 0, 0, 1016, 1017, 0, 1017, 0, 0, 0, 1017, 1018, 0, 1018, 0, 0, 0, 1018, 1019, 0, 1019, 0, 0, 0, 1019, 1020, 0, 1020, 0, 0, 0, 1020, 1021, 0, 1021, 0, 0, 0, 1021, 1022, 0, 1022, 0, 0, 0, 1022, 1023, 0, 1023, 0, 0, 0, 1023, 1024, 0, 1024, 0, 0, 0, 1024, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851, 851 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[179] = { 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, 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 : Thu Oct 8 16:13:07 2015 * Update Count : 404 */ #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 // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // operators #line 1502 "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 136 "lex.ll" /* line directives */ #line 1697 "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 >= 852 ) 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] != 2762 ); 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 138 "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 161 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 164 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 165 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 166 "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 169 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 172 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 173 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 174 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 177 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 178 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONTEXT); } // CFA YY_BREAK case 36: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 37: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 38: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 39: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 40: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 41: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 42: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 43: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 44: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 45: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 46: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 47: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 50: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 51: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 52: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 53: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 54: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 55: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 56: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 57: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 58: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 59: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 61: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 62: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 64: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 65: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 67: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 68: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 69: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 70: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 71: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 72: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 73: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 75: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 76: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 77: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 78: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 79: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 80: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 81: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 82: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 83: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 84: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 85: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 86: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 87: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 88: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(TYPE); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 90: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 91: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 92: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 94: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 95: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 96: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 97: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 98: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 99: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 100: YY_RULE_SETUP #line 269 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 101: YY_RULE_SETUP #line 270 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 102: YY_RULE_SETUP #line 271 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 103: YY_RULE_SETUP #line 272 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 104: YY_RULE_SETUP #line 273 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 105: YY_RULE_SETUP #line 276 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 106: YY_RULE_SETUP #line 277 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 107: YY_RULE_SETUP #line 278 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 108: YY_RULE_SETUP #line 279 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 109: YY_RULE_SETUP #line 280 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 110: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 111: YY_RULE_SETUP #line 282 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 112: YY_RULE_SETUP #line 285 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 113: YY_RULE_SETUP #line 286 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 114: /* rule 114 can match eol */ YY_RULE_SETUP #line 287 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 115: YY_RULE_SETUP #line 291 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 116: YY_RULE_SETUP #line 292 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 117: /* rule 117 can match eol */ YY_RULE_SETUP #line 293 "lex.ll" { BEGIN 0; *strtext += std::string( yytext ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 118: YY_RULE_SETUP #line 297 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 119: /* rule 119 can match eol */ YY_RULE_SETUP #line 298 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 120: YY_RULE_SETUP #line 299 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 121: YY_RULE_SETUP #line 302 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 122: YY_RULE_SETUP #line 303 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 123: YY_RULE_SETUP #line 304 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 305 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 125: YY_RULE_SETUP #line 306 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 126: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 127: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 128: YY_RULE_SETUP #line 309 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 129: YY_RULE_SETUP #line 310 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 130: YY_RULE_SETUP #line 311 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 131: YY_RULE_SETUP #line 312 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 132: YY_RULE_SETUP #line 315 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 133: YY_RULE_SETUP #line 316 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 134: YY_RULE_SETUP #line 317 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 135: YY_RULE_SETUP #line 318 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 136: YY_RULE_SETUP #line 321 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 137: YY_RULE_SETUP #line 322 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 138: YY_RULE_SETUP #line 323 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 324 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 325 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 146: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 147: YY_RULE_SETUP #line 332 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 148: YY_RULE_SETUP #line 333 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 149: YY_RULE_SETUP #line 334 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 150: YY_RULE_SETUP #line 336 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 151: YY_RULE_SETUP #line 337 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 152: YY_RULE_SETUP #line 338 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 153: YY_RULE_SETUP #line 339 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 154: YY_RULE_SETUP #line 340 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 155: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 156: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 157: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 158: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 159: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 160: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 161: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 162: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 163: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 164: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 165: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 166: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 167: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 168: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 169: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 170: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 171: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(ATassign); } YY_BREAK /* CFA, operator identifier */ case 172: YY_RULE_SETUP #line 361 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 173: YY_RULE_SETUP #line 362 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 174: YY_RULE_SETUP #line 363 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 175: YY_RULE_SETUP #line 364 "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 176: YY_RULE_SETUP #line 391 "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 177: YY_RULE_SETUP #line 403 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 178: YY_RULE_SETUP #line 405 "lex.ll" ECHO; YY_BREAK #line 2761 "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 >= 852 ) 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 >= 852 ) 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 == 851); 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 405 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //