#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 181 #define YY_END_OF_BUFFER 182 /* 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[892] = { 0, 0, 0, 0, 0, 0, 0, 116, 116, 119, 119, 182, 180, 7, 9, 8, 139, 118, 103, 144, 147, 115, 126, 127, 142, 140, 130, 141, 133, 143, 108, 109, 110, 131, 132, 149, 151, 150, 152, 180, 103, 124, 180, 125, 145, 103, 105, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 128, 148, 129, 146, 7, 180, 4, 4, 181, 106, 181, 107, 116, 117, 123, 119, 120, 7, 9, 0, 8, 156, 175, 103, 0, 168, 138, 161, 169, 166, 153, 164, 154, 165, 163, 0, 113, 3, 0, 167, 113, 111, 0, 0, 111, 111, 0, 0, 111, 110, 110, 110, 0, 110, 136, 137, 135, 157, 159, 155, 160, 158, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 174, 0, 118, 115, 103, 0, 0, 171, 0, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 38, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 57, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 170, 162, 7, 0, 0, 0, 2, 0, 5, 106, 0, 0, 0, 116, 0, 122, 121, 121, 0, 0, 0, 119, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 134, 113, 113, 0, 113, 113, 0, 0, 6, 0, 111, 0, 0, 0, 113, 0, 111, 111, 111, 111, 0, 112, 0, 0, 110, 110, 110, 110, 0, 172, 173, 0, 178, 176, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 103, 17, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 14, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 51, 103, 103, 103, 64, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 90, 103, 103, 103, 103, 103, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 121, 0, 0, 0, 0, 0, 121, 0, 0, 179, 0, 0, 0, 0, 0, 0, 0, 113, 0, 113, 0, 113, 0, 0, 113, 0, 111, 111, 0, 0, 112, 112, 0, 112, 0, 112, 110, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 21, 103, 24, 103, 27, 103, 103, 103, 103, 103, 103, 103, 41, 103, 43, 103, 103, 103, 103, 103, 103, 103, 56, 103, 67, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 98, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, 112, 112, 0, 114, 0, 112, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 103, 22, 103, 103, 103, 103, 103, 103, 103, 15, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 23, 25, 103, 32, 103, 103, 103, 103, 40, 103, 103, 103, 103, 49, 103, 103, 54, 103, 103, 71, 103, 103, 103, 77, 103, 103, 103, 103, 103, 87, 89, 103, 103, 95, 103, 103, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 0, 0, 112, 114, 114, 114, 114, 0, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 0, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 59, 103, 103, 103, 103, 103, 103, 103, 103, 28, 103, 103, 103, 39, 42, 45, 103, 103, 52, 103, 61, 68, 103, 103, 76, 78, 81, 82, 84, 85, 103, 103, 92, 103, 103, 0, 1, 0, 0, 0, 0, 0, 0, 106, 0, 0, 0, 121, 0, 0, 0, 0, 114, 0, 114, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 103, 18, 103, 103, 103, 103, 103, 103, 103, 16, 103, 103, 103, 33, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 36, 37, 103, 48, 53, 103, 103, 103, 91, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 60, 62, 65, 103, 103, 79, 93, 103, 103, 35, 103, 47, 72, 73, 103, 96, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 69, 103, 103, 12, 103, 103, 30, 34, 103, 103, 103, 66, 103, 103, 103, 103, 103, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 103, 103, 103, 103, 103, 103, 103, 50, 63, 74, 80, 94, 100, 103, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 103, 103, 13, 19, 103, 103, 31, 103, 103, 103, 26, 46, 88, 0, 0, 103, 103, 103, 103, 103, 103, 75, 101, 103, 86, 20, 103, 103, 44, 83, 103, 103, 103, 103, 103, 103, 103, 97, 70, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 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[1066] = { 0, 0, 84, 2285, 2282, 94, 0, 177, 178, 179, 180, 2298, 2825, 191, 2825, 197, 55, 2825, 2244, 60, 173, 2825, 2825, 2825, 56, 188, 2825, 191, 189, 204, 216, 275, 0, 2262, 2825, 216, 2260, 152, 344, 155, 220, 2825, 159, 2825, 217, 226, 2825, 185, 154, 212, 251, 237, 270, 235, 257, 241, 205, 193, 305, 314, 333, 238, 228, 2825, 225, 2825, 2255, 402, 390, 2825, 2266, 2825, 2234, 235, 2825, 0, 2825, 426, 0, 2825, 417, 2825, 439, 451, 2825, 498, 2232, 264, 2825, 2825, 2825, 2825, 2825, 2248, 2825, 2245, 2825, 2825, 2257, 559, 2825, 2274, 2825, 438, 444, 511, 534, 289, 253, 197, 380, 305, 0, 319, 280, 198, 322, 2825, 2825, 2825, 2243, 2825, 2825, 2825, 2240, 2237, 218, 255, 2252, 298, 350, 368, 312, 440, 398, 405, 2233, 441, 2181, 446, 2209, 2825, 335, 2825, 2825, 468, 2203, 2202, 2825, 2175, 439, 282, 433, 372, 281, 437, 434, 428, 570, 444, 466, 464, 469, 475, 321, 492, 438, 471, 445, 474, 512, 489, 503, 496, 521, 276, 515, 516, 2202, 526, 510, 519, 525, 543, 522, 560, 553, 523, 561, 551, 544, 599, 582, 593, 584, 2825, 2825, 660, 651, 2249, 666, 2825, 678, 2825, 2196, 607, 2192, 2191, 0, 693, 2825, 2825, 684, 2189, 2186, 2183, 0, 2206, 578, 608, 617, 654, 679, 650, 683, 684, 687, 2203, 690, 691, 2179, 2159, 2825, 0, 683, 710, 686, 700, 2157, 2209, 2825, 714, 0, 427, 746, 764, 786, 808, 621, 2825, 2165, 2138, 0, 794, 2184, 795, 709, 2825, 2160, 2134, 832, 2825, 2825, 2165, 2825, 2825, 711, 714, 2142, 2142, 717, 2138, 2136, 2133, 0, 2130, 0, 2101, 694, 679, 712, 709, 711, 698, 566, 726, 743, 771, 741, 790, 784, 800, 795, 742, 744, 814, 816, 818, 2131, 819, 745, 820, 821, 822, 823, 824, 746, 825, 748, 659, 831, 826, 833, 838, 839, 848, 850, 851, 844, 834, 857, 2129, 858, 859, 860, 862, 861, 864, 865, 867, 868, 866, 871, 876, 872, 878, 2126, 880, 689, 881, 882, 892, 896, 893, 953, 954, 2120, 2119, 2118, 0, 2116, 0, 941, 945, 2113, 0, 2112, 0, 2111, 0, 2131, 2825, 940, 941, 2108, 2105, 0, 2104, 0, 2825, 953, 975, 964, 2825, 981, 997, 1021, 2102, 2825, 2825, 939, 940, 1006, 982, 1041, 310, 1039, 1004, 2825, 2825, 2099, 2095, 2091, 0, 2089, 0, 2087, 0, 2084, 0, 2825, 886, 941, 960, 962, 977, 976, 980, 982, 1017, 1010, 1002, 998, 1022, 1031, 1028, 1033, 1034, 1037, 1040, 1043, 1038, 1041, 1053, 2085, 1055, 2083, 1045, 2080, 1056, 1061, 1063, 1065, 1066, 1067, 1070, 2077, 1071, 2076, 1073, 1074, 1075, 1078, 1080, 1081, 1085, 2075, 1087, 2073, 1084, 1089, 1091, 1097, 1099, 1092, 1102, 1103, 1105, 1106, 1108, 905, 1109, 1116, 1110, 1122, 2070, 1120, 1123, 1179, 2064, 0, 2063, 0, 2062, 0, 2060, 0, 1166, 2057, 0, 2054, 0, 2053, 2052, 2050, 0, 2047, 0, 1173, 2044, 1179, 1137, 1195, 1181, 1178, 1176, 2825, 1219, 1231, 1253, 2055, 2030, 2040, 2037, 0, 2034, 0, 2033, 0, 2032, 0, 2030, 0, 2027, 0, 1141, 1172, 2027, 1180, 1155, 1196, 1157, 1216, 1207, 1231, 1125, 1210, 1232, 1214, 1187, 1236, 1235, 1237, 1238, 1272, 1249, 1252, 1250, 1253, 1254, 2026, 1261, 1256, 2025, 1260, 1263, 1264, 1257, 2023, 1271, 1268, 1269, 1273, 2020, 1275, 1282, 2017, 1283, 1284, 2016, 1276, 1286, 1289, 2015, 1294, 1291, 1296, 1295, 1297, 1310, 2013, 1305, 1308, 2010, 1307, 1300, 2009, 2058, 2003, 0, 2000, 0, 1999, 0, 1998, 0, 1996, 0, 1963, 0, 1961, 0, 1960, 0, 1355, 1361, 1389, 1372, 1957, 2825, 1378, 1325, 1365, 1379, 1954, 2825, 1953, 0, 1952, 0, 1950, 0, 1947, 0, 0, 0, 1947, 0, 1366, 1312, 1311, 1341, 1323, 1368, 1369, 1374, 1356, 1383, 1372, 1388, 1390, 1393, 1395, 1396, 1398, 1400, 1431, 1406, 1407, 1411, 1408, 1413, 1414, 1946, 1409, 1416, 1419, 1945, 1943, 1940, 1422, 1424, 1939, 1429, 1938, 1936, 1425, 1430, 1933, 1932, 1931, 1929, 1926, 1922, 1436, 1433, 1918, 1439, 1440, 1964, 2825, 1895, 0, 1894, 0, 0, 0, 1896, 0, 0, 0, 2825, 0, 0, 0, 0, 1486, 1891, 2825, 2825, 1492, 1888, 0, 1887, 0, 0, 0, 0, 1886, 1447, 1444, 1887, 1449, 1471, 1479, 1450, 1480, 1482, 1469, 1884, 1486, 1490, 1488, 1502, 1452, 1510, 1504, 1491, 1519, 1506, 1498, 1508, 1512, 1513, 1514, 1515, 1883, 1882, 1518, 1880, 1877, 1517, 1520, 1523, 1876, 1521, 1525, 0, 0, 0, 1872, 1870, 1867, 1575, 0, 1866, 1865, 1863, 1860, 1859, 1861, 1859, 1856, 1855, 1531, 1538, 1527, 1528, 1530, 1533, 1552, 1539, 1554, 1553, 1586, 1854, 1559, 1852, 1560, 1561, 1564, 1570, 1572, 1571, 1849, 1574, 1848, 1847, 1845, 1575, 1842, 1841, 1837, 1835, 1828, 1826, 1825, 1822, 1821, 1820, 1818, 1801, 1792, 1791, 1576, 1791, 1579, 1577, 1580, 1582, 1581, 1585, 1784, 1589, 1616, 1593, 1781, 1591, 1599, 1605, 1592, 1606, 1609, 1610, 1771, 1769, 1768, 1747, 1746, 1745, 1738, 1736, 1735, 1693, 1689, 1688, 1687, 1689, 1611, 1612, 1614, 1615, 1618, 1625, 1621, 1686, 1683, 1627, 1682, 1681, 1631, 1635, 1441, 1637, 1677, 1674, 1354, 1319, 1318, 1267, 1212, 1210, 1639, 1640, 1211, 1647, 1623, 1649, 1178, 1652, 1653, 1657, 1177, 1126, 964, 937, 903, 1641, 1643, 1659, 1663, 1664, 1665, 788, 752, 1629, 607, 487, 1666, 1669, 394, 357, 1670, 1672, 1671, 1674, 1676, 1675, 1678, 233, 137, 2825, 1750, 1763, 1776, 1786, 1796, 1809, 1819, 1832, 1845, 1858, 1866, 1876, 1883, 1890, 1897, 1904, 1911, 1918, 1925, 1932, 1939, 1952, 1959, 1963, 1971, 1974, 1981, 1988, 1995, 1998, 2005, 2011, 2024, 2037, 2044, 2051, 2058, 2065, 2068, 2075, 2078, 2085, 2088, 2095, 2098, 2105, 2108, 2115, 2118, 2125, 2128, 2135, 2143, 2150, 2157, 2164, 2171, 2174, 2181, 2184, 2191, 2194, 2201, 2207, 2220, 2227, 2234, 2237, 2244, 2247, 2254, 2257, 2264, 2267, 2274, 2277, 2284, 2287, 2294, 2301, 2304, 2311, 2314, 2321, 2328, 2335, 2338, 2345, 2348, 2355, 2358, 2365, 2368, 2375, 2378, 2385, 2391, 2404, 2411, 2418, 2421, 2428, 2431, 2438, 2441, 2448, 2451, 2458, 2461, 2468, 2471, 2478, 2481, 2488, 2491, 2498, 2505, 2508, 2515, 2518, 2525, 2528, 2535, 2538, 2541, 2547, 2554, 2563, 2570, 2577, 2580, 2587, 2590, 2593, 2599, 2606, 2609, 2612, 2615, 2618, 2621, 2624, 2627, 2634, 2637, 2644, 2647, 2650, 2653, 2656, 2666, 2673, 2676, 2679, 2682, 2689, 2696, 2703, 2706, 2713, 2720, 2727, 2734, 2741, 2748, 2755, 2762, 2769, 2776, 2783, 2790, 2797, 2804, 2811 } ; static yyconst flex_int16_t yy_def[1066] = { 0, 891, 1, 892, 892, 891, 5, 893, 893, 894, 894, 891, 891, 891, 891, 891, 891, 891, 895, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 31, 891, 891, 891, 891, 891, 891, 896, 895, 891, 891, 891, 891, 895, 891, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 891, 891, 891, 891, 891, 897, 891, 891, 891, 898, 891, 891, 899, 891, 891, 900, 891, 891, 891, 891, 891, 891, 891, 895, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 901, 891, 99, 30, 891, 891, 891, 891, 902, 30, 891, 31, 891, 891, 31, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 903, 891, 891, 891, 891, 895, 904, 905, 891, 891, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 891, 891, 891, 897, 897, 897, 891, 897, 891, 898, 891, 906, 907, 899, 891, 891, 891, 891, 908, 909, 910, 900, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 911, 912, 891, 99, 891, 891, 891, 891, 99, 913, 891, 891, 104, 104, 891, 891, 891, 891, 891, 891, 891, 891, 914, 915, 916, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 903, 891, 917, 918, 919, 920, 921, 922, 891, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 924, 925, 926, 927, 928, 929, 930, 931, 891, 891, 932, 933, 934, 935, 936, 937, 891, 891, 891, 891, 891, 938, 939, 940, 941, 891, 891, 891, 891, 891, 891, 891, 371, 376, 891, 891, 942, 943, 944, 891, 891, 891, 944, 891, 891, 891, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 891, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 891, 965, 966, 967, 968, 969, 969, 970, 971, 972, 973, 891, 488, 891, 974, 891, 974, 891, 891, 891, 891, 891, 891, 891, 891, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 891, 891, 891, 891, 1006, 891, 596, 891, 891, 891, 600, 891, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1017, 1019, 891, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 891, 1030, 1031, 1032, 1033, 891, 686, 891, 891, 891, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 891, 1049, 1034, 1036, 1050, 1051, 1041, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1052, 1053, 1046, 1054, 1047, 1055, 1048, 1056, 1057, 1050, 1058, 1051, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1059, 1052, 1060, 1053, 1061, 1054, 1062, 1055, 1063, 1056, 1064, 1057, 1058, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1065, 1059, 1060, 1061, 1062, 1036, 1063, 1064, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1065, 1036, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 0, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891 } ; static yyconst flex_int16_t yy_nxt[2911] = { 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, 56, 18, 57, 58, 59, 60, 61, 62, 18, 18, 18, 63, 64, 65, 66, 67, 84, 92, 85, 85, 67, 88, 89, 68, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 72, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 71, 73, 71, 71, 72, 74, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 71, 71, 71, 71, 76, 76, 79, 79, 123, 124, 90, 141, 79, 79, 87, 76, 76, 80, 81, 82, 82, 82, 80, 82, 81, 83, 83, 83, 82, 91, 93, 87, 142, 146, 98, 95, 99, 99, 99, 99, 99, 99, 252, 891, 94, 100, 85, 96, 97, 85, 101, 161, 118, 143, 77, 77, 77, 77, 144, 147, 102, 103, 87, 104, 104, 104, 104, 105, 105, 119, 87, 120, 121, 148, 263, 149, 264, 254, 260, 183, 106, 195, 87, 159, 107, 160, 150, 151, 152, 87, 108, 109, 153, 154, 162, 155, 110, 87, 156, 157, 145, 163, 106, 87, 182, 87, 158, 164, 111, 206, 87, 263, 87, 264, 87, 87, 108, 194, 87, 109, 103, 250, 112, 112, 112, 112, 112, 112, 87, 169, 177, 170, 196, 193, 87, 207, 180, 165, 230, 106, 171, 166, 181, 113, 178, 251, 167, 87, 258, 114, 168, 179, 172, 87, 263, 115, 264, 248, 87, 87, 173, 106, 174, 249, 231, 175, 143, 116, 263, 176, 264, 144, 259, 317, 283, 114, 125, 280, 500, 249, 126, 127, 87, 128, 191, 129, 130, 256, 131, 249, 132, 87, 265, 257, 184, 185, 257, 248, 87, 133, 134, 135, 501, 188, 186, 249, 263, 187, 264, 271, 87, 189, 265, 145, 256, 305, 200, 201, 190, 257, 136, 200, 257, 137, 263, 891, 264, 192, 197, 81, 82, 82, 82, 197, 87, 272, 198, 202, 202, 202, 202, 202, 202, 80, 81, 82, 82, 82, 80, 87, 138, 139, 209, 210, 263, 891, 264, 209, 282, 211, 255, 263, 267, 264, 211, 82, 81, 82, 82, 82, 82, 87, 891, 212, 212, 212, 212, 82, 81, 83, 83, 83, 82, 891, 211, 99, 99, 99, 99, 99, 99, 242, 242, 242, 242, 266, 263, 263, 264, 264, 213, 143, 263, 211, 264, 87, 144, 375, 211, 211, 87, 87, 211, 211, 87, 87, 87, 286, 241, 891, 211, 87, 87, 211, 243, 211, 214, 211, 281, 215, 217, 278, 284, 285, 218, 219, 307, 298, 279, 220, 221, 87, 222, 87, 223, 87, 87, 891, 87, 309, 300, 87, 87, 224, 225, 226, 103, 303, 105, 105, 105, 105, 105, 105, 87, 299, 87, 301, 302, 87, 304, 308, 310, 87, 227, 106, 245, 228, 245, 306, 87, 246, 246, 246, 246, 246, 246, 87, 313, 87, 315, 244, 87, 87, 311, 314, 87, 106, 87, 87, 87, 323, 87, 87, 322, 229, 233, 233, 233, 233, 233, 233, 312, 333, 247, 319, 316, 328, 320, 318, 87, 87, 234, 235, 236, 321, 237, 236, 87, 324, 87, 325, 143, 335, 360, 331, 361, 87, 87, 238, 337, 326, 327, 87, 236, 235, 236, 87, 329, 237, 332, 236, 287, 288, 289, 336, 290, 291, 334, 87, 292, 87, 293, 407, 360, 330, 361, 294, 295, 296, 87, 297, 339, 360, 343, 361, 87, 200, 201, 338, 340, 346, 200, 341, 87, 342, 197, 81, 82, 82, 82, 197, 200, 201, 198, 378, 361, 200, 202, 202, 202, 202, 202, 202, 344, 201, 360, 347, 361, 344, 360, 345, 361, 202, 202, 202, 202, 202, 202, 209, 210, 378, 143, 361, 209, 202, 202, 202, 202, 202, 202, 352, 352, 352, 352, 360, 87, 361, 362, 360, 360, 361, 361, 360, 363, 361, 360, 360, 361, 361, 369, 369, 370, 369, 370, 435, 87, 371, 371, 371, 371, 371, 371, 373, 353, 373, 87, 263, 373, 264, 263, 87, 264, 369, 402, 87, 369, 234, 235, 236, 406, 237, 236, 388, 401, 373, 87, 373, 87, 87, 372, 390, 373, 105, 105, 105, 105, 105, 105, 236, 235, 236, 404, 87, 237, 405, 236, 403, 408, 388, 106, 246, 246, 246, 246, 246, 246, 391, 87, 87, 87, 87, 87, 87, 419, 87, 255, 425, 432, 87, 420, 434, 106, 376, 376, 376, 376, 376, 376, 381, 409, 413, 105, 105, 105, 105, 105, 105, 87, 234, 245, 236, 245, 237, 236, 246, 246, 246, 246, 246, 246, 87, 383, 410, 384, 87, 377, 87, 385, 411, 412, 236, 87, 236, 386, 255, 237, 87, 236, 112, 112, 112, 112, 112, 112, 414, 387, 415, 417, 418, 384, 87, 416, 87, 385, 87, 87, 87, 87, 87, 87, 87, 87, 87, 421, 427, 426, 433, 87, 437, 87, 87, 260, 423, 424, 87, 87, 436, 429, 428, 422, 87, 430, 431, 439, 87, 438, 87, 87, 446, 441, 440, 442, 443, 87, 87, 87, 87, 87, 87, 445, 87, 87, 87, 87, 87, 448, 447, 87, 87, 444, 449, 451, 87, 456, 87, 450, 87, 87, 87, 452, 455, 454, 87, 453, 457, 462, 460, 461, 87, 87, 458, 464, 87, 515, 459, 463, 465, 466, 344, 201, 201, 87, 891, 344, 467, 345, 199, 211, 211, 211, 211, 352, 352, 352, 352, 360, 360, 361, 361, 371, 371, 371, 371, 371, 371, 370, 569, 370, 492, 492, 371, 371, 371, 371, 371, 371, 891, 87, 493, 494, 477, 488, 488, 488, 488, 488, 488, 233, 233, 233, 233, 233, 233, 516, 492, 492, 87, 234, 87, 236, 87, 237, 236, 242, 242, 242, 242, 105, 105, 495, 381, 517, 87, 87, 489, 496, 87, 518, 87, 236, 374, 236, 519, 520, 237, 521, 236, 376, 376, 376, 376, 376, 376, 383, 87, 384, 375, 496, 87, 385, 522, 496, 497, 891, 497, 386, 87, 498, 498, 498, 498, 498, 498, 87, 525, 495, 526, 387, 87, 524, 377, 384, 523, 496, 87, 385, 383, 87, 384, 87, 87, 527, 385, 87, 87, 532, 87, 87, 502, 87, 499, 87, 535, 528, 529, 537, 530, 531, 533, 87, 387, 87, 87, 541, 384, 534, 538, 87, 385, 87, 536, 87, 87, 87, 539, 540, 87, 87, 546, 87, 87, 87, 544, 542, 87, 548, 87, 87, 547, 543, 87, 87, 549, 87, 545, 87, 552, 87, 87, 550, 556, 554, 551, 87, 559, 87, 553, 555, 87, 87, 557, 87, 87, 558, 87, 87, 87, 564, 560, 567, 563, 568, 87, 561, 566, 562, 87, 565, 87, 87, 571, 87, 87, 573, 627, 201, 492, 570, 576, 574, 572, 577, 211, 211, 211, 211, 493, 87, 575, 488, 488, 488, 488, 488, 488, 376, 376, 376, 376, 376, 376, 87, 492, 87, 618, 234, 595, 236, 595, 237, 236, 596, 596, 596, 596, 596, 596, 492, 87, 599, 492, 621, 489, 87, 87, 623, 87, 236, 490, 236, 598, 619, 237, 87, 236, 498, 498, 498, 498, 498, 498, 620, 87, 492, 597, 599, 492, 600, 600, 600, 600, 600, 600, 87, 631, 622, 87, 87, 625, 891, 87, 891, 87, 601, 497, 602, 497, 603, 602, 498, 498, 498, 498, 498, 498, 624, 628, 87, 87, 630, 604, 87, 87, 87, 87, 602, 633, 602, 626, 636, 603, 632, 602, 629, 634, 87, 87, 635, 87, 87, 87, 642, 87, 87, 637, 641, 87, 87, 640, 87, 87, 643, 647, 639, 87, 87, 866, 87, 87, 87, 638, 87, 87, 644, 645, 646, 648, 650, 87, 87, 87, 649, 87, 653, 651, 87, 652, 87, 654, 655, 87, 87, 87, 87, 656, 657, 87, 660, 659, 661, 664, 87, 658, 87, 87, 663, 87, 87, 87, 668, 665, 688, 688, 662, 666, 701, 702, 891, 891, 87, 667, 488, 488, 488, 488, 488, 488, 596, 596, 596, 596, 596, 596, 595, 688, 595, 704, 87, 596, 596, 596, 596, 596, 596, 600, 600, 600, 600, 600, 600, 703, 688, 87, 891, 594, 686, 686, 686, 686, 686, 686, 689, 87, 689, 87, 87, 689, 699, 87, 708, 87, 601, 706, 602, 688, 603, 602, 604, 707, 87, 700, 710, 709, 689, 87, 689, 87, 705, 687, 87, 689, 87, 87, 602, 87, 602, 87, 716, 603, 718, 602, 712, 87, 87, 87, 87, 711, 87, 714, 87, 87, 713, 87, 717, 715, 87, 721, 719, 87, 724, 87, 87, 722, 720, 727, 87, 87, 87, 725, 87, 731, 723, 87, 732, 726, 87, 87, 87, 728, 734, 87, 733, 730, 87, 735, 87, 87, 729, 87, 863, 751, 736, 686, 686, 686, 686, 686, 686, 600, 600, 600, 600, 600, 600, 750, 87, 755, 87, 601, 763, 602, 752, 603, 602, 753, 87, 87, 764, 87, 756, 754, 757, 87, 758, 87, 687, 87, 87, 759, 767, 602, 690, 602, 761, 87, 603, 766, 602, 87, 760, 87, 762, 87, 765, 87, 768, 87, 769, 87, 87, 87, 87, 770, 87, 87, 87, 87, 87, 771, 87, 774, 87, 772, 87, 87, 780, 87, 87, 796, 87, 781, 773, 775, 777, 87, 87, 798, 776, 778, 797, 779, 686, 686, 686, 686, 686, 686, 794, 87, 87, 87, 795, 799, 802, 804, 87, 87, 87, 805, 806, 87, 801, 803, 808, 807, 800, 87, 87, 87, 809, 87, 87, 87, 87, 743, 87, 87, 87, 87, 830, 832, 87, 87, 810, 833, 87, 835, 87, 87, 87, 811, 829, 836, 812, 813, 87, 828, 840, 838, 827, 831, 87, 87, 834, 839, 87, 87, 87, 87, 837, 87, 87, 87, 854, 87, 853, 842, 87, 841, 87, 855, 87, 843, 87, 858, 87, 860, 87, 852, 870, 861, 87, 856, 87, 859, 87, 87, 87, 857, 87, 862, 868, 864, 87, 867, 87, 869, 881, 87, 87, 871, 872, 873, 87, 876, 87, 874, 875, 877, 87, 87, 87, 87, 879, 880, 87, 87, 87, 87, 878, 87, 87, 87, 891, 87, 884, 865, 87, 87, 87, 883, 885, 87, 882, 890, 87, 891, 891, 851, 886, 888, 887, 891, 889, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 86, 850, 891, 86, 848, 86, 86, 86, 86, 86, 140, 891, 847, 891, 140, 140, 140, 140, 140, 140, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 204, 846, 891, 204, 845, 204, 204, 204, 204, 204, 208, 87, 208, 208, 87, 208, 208, 208, 208, 208, 208, 87, 208, 216, 891, 826, 216, 216, 216, 216, 216, 216, 216, 216, 891, 216, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 253, 253, 825, 253, 823, 891, 821, 253, 269, 891, 819, 269, 891, 269, 269, 269, 269, 269, 273, 817, 273, 815, 87, 87, 273, 275, 87, 275, 87, 87, 87, 275, 348, 87, 348, 87, 87, 87, 348, 350, 87, 350, 87, 891, 793, 350, 354, 791, 354, 891, 891, 788, 354, 356, 786, 356, 784, 87, 87, 356, 358, 87, 358, 87, 87, 87, 358, 365, 87, 365, 749, 746, 745, 365, 367, 743, 367, 205, 739, 738, 367, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 380, 670, 380, 382, 382, 87, 382, 382, 382, 87, 382, 253, 253, 87, 253, 392, 87, 392, 87, 87, 87, 392, 394, 87, 394, 87, 87, 87, 394, 396, 87, 396, 87, 87, 87, 396, 273, 697, 273, 398, 696, 398, 694, 692, 690, 398, 275, 598, 275, 86, 685, 684, 86, 682, 86, 86, 86, 86, 86, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 469, 680, 469, 678, 676, 674, 469, 471, 672, 471, 670, 87, 87, 471, 473, 87, 473, 87, 87, 87, 473, 348, 87, 348, 475, 87, 475, 87, 87, 87, 475, 350, 617, 350, 478, 615, 478, 613, 611, 609, 478, 354, 607, 354, 480, 502, 480, 605, 605, 594, 480, 356, 593, 356, 482, 591, 482, 483, 483, 589, 482, 358, 587, 358, 484, 585, 484, 583, 581, 579, 484, 365, 87, 365, 486, 87, 486, 87, 87, 87, 486, 367, 87, 367, 491, 87, 491, 87, 491, 514, 491, 380, 512, 380, 510, 380, 508, 380, 382, 382, 506, 382, 382, 382, 504, 382, 503, 490, 503, 487, 485, 361, 503, 505, 361, 505, 483, 481, 479, 505, 507, 476, 507, 474, 472, 470, 507, 392, 87, 392, 509, 87, 509, 87, 400, 399, 509, 394, 397, 394, 511, 395, 511, 393, 270, 265, 511, 396, 264, 396, 513, 389, 513, 389, 252, 379, 513, 398, 379, 398, 86, 240, 374, 86, 368, 86, 86, 86, 86, 86, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 578, 366, 578, 364, 360, 359, 578, 469, 357, 469, 580, 355, 580, 351, 349, 205, 580, 471, 201, 471, 582, 87, 582, 277, 276, 274, 582, 473, 270, 473, 584, 265, 584, 268, 265, 263, 584, 475, 262, 475, 586, 261, 586, 240, 232, 85, 586, 478, 85, 478, 588, 87, 588, 205, 203, 85, 588, 480, 122, 480, 482, 117, 482, 87, 891, 70, 482, 590, 70, 590, 891, 891, 891, 590, 484, 891, 484, 592, 891, 592, 891, 891, 891, 592, 486, 891, 486, 491, 891, 491, 891, 491, 891, 491, 382, 891, 382, 891, 891, 891, 382, 606, 891, 606, 891, 891, 891, 606, 503, 891, 503, 608, 891, 608, 891, 891, 891, 608, 505, 891, 505, 610, 891, 610, 891, 891, 891, 610, 507, 891, 507, 612, 891, 612, 891, 891, 891, 612, 509, 891, 509, 614, 891, 614, 891, 891, 891, 614, 511, 891, 511, 616, 891, 616, 891, 891, 891, 616, 513, 891, 513, 86, 891, 891, 86, 891, 86, 86, 86, 86, 86, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 671, 891, 671, 891, 891, 891, 671, 578, 891, 578, 673, 891, 673, 891, 891, 891, 673, 580, 891, 580, 675, 891, 675, 891, 891, 891, 675, 582, 891, 582, 677, 891, 677, 891, 891, 891, 677, 584, 891, 584, 679, 891, 679, 891, 891, 891, 679, 586, 891, 586, 681, 891, 681, 891, 891, 891, 681, 588, 891, 588, 683, 891, 683, 891, 891, 891, 683, 590, 891, 590, 86, 891, 86, 891, 891, 891, 86, 592, 891, 592, 491, 891, 491, 891, 891, 891, 491, 691, 891, 691, 891, 891, 891, 691, 606, 891, 606, 693, 891, 693, 891, 891, 891, 693, 608, 891, 608, 695, 891, 695, 891, 891, 891, 695, 610, 891, 610, 140, 891, 140, 891, 891, 891, 140, 612, 891, 612, 698, 891, 698, 614, 891, 614, 86, 891, 891, 86, 891, 86, 86, 86, 86, 86, 616, 891, 616, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 737, 891, 737, 891, 891, 891, 737, 671, 891, 671, 204, 891, 204, 891, 891, 891, 204, 673, 891, 673, 740, 891, 740, 675, 891, 675, 204, 891, 891, 204, 891, 204, 204, 204, 204, 204, 677, 891, 677, 741, 891, 741, 679, 891, 679, 681, 891, 681, 742, 891, 742, 683, 891, 683, 86, 891, 86, 744, 891, 744, 891, 891, 891, 744, 691, 891, 691, 269, 891, 269, 891, 891, 891, 269, 693, 891, 693, 747, 891, 747, 695, 891, 695, 140, 891, 140, 748, 891, 748, 891, 891, 891, 748, 86, 891, 891, 86, 891, 86, 86, 86, 86, 86, 782, 891, 782, 737, 891, 737, 204, 891, 204, 783, 891, 783, 891, 891, 891, 783, 785, 891, 785, 891, 891, 891, 785, 787, 891, 787, 891, 891, 891, 787, 789, 891, 789, 790, 891, 790, 891, 891, 891, 790, 792, 891, 792, 891, 891, 891, 792, 814, 891, 814, 891, 891, 891, 814, 816, 891, 816, 891, 891, 891, 816, 818, 891, 818, 891, 891, 891, 818, 820, 891, 820, 891, 891, 891, 820, 822, 891, 822, 891, 891, 891, 822, 824, 891, 824, 891, 891, 891, 824, 616, 891, 616, 891, 891, 891, 616, 844, 891, 844, 891, 891, 891, 844, 677, 891, 677, 891, 891, 891, 677, 681, 891, 681, 891, 891, 891, 681, 86, 891, 86, 891, 891, 891, 86, 849, 891, 849, 891, 891, 891, 849, 140, 891, 140, 891, 891, 891, 140, 204, 891, 204, 891, 891, 891, 204, 11, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891 } ; static yyconst flex_int16_t yy_chk[2911] = { 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, 890, 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, 109, 115, 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, 57, 35, 35, 44, 126, 44, 126, 109, 115, 57, 30, 64, 56, 47, 30, 47, 45, 45, 45, 49, 30, 30, 45, 45, 49, 45, 30, 40, 45, 45, 40, 49, 30, 45, 56, 62, 45, 49, 30, 73, 889, 127, 53, 127, 51, 61, 30, 62, 55, 30, 31, 108, 31, 31, 31, 31, 31, 31, 50, 51, 53, 51, 64, 61, 54, 73, 55, 50, 87, 31, 51, 50, 55, 31, 54, 108, 50, 52, 114, 31, 50, 54, 52, 175, 129, 31, 129, 107, 154, 151, 52, 31, 52, 107, 87, 52, 60, 31, 132, 52, 132, 60, 114, 175, 154, 31, 38, 151, 385, 111, 38, 38, 58, 38, 60, 38, 38, 113, 38, 107, 38, 59, 130, 113, 58, 58, 116, 111, 164, 38, 38, 38, 385, 59, 58, 111, 130, 58, 130, 142, 60, 59, 131, 60, 116, 164, 68, 68, 59, 113, 38, 68, 116, 38, 131, 110, 131, 60, 67, 67, 67, 67, 67, 67, 881, 142, 67, 68, 68, 68, 68, 68, 68, 80, 80, 80, 80, 80, 80, 153, 38, 38, 77, 77, 134, 110, 134, 77, 153, 77, 110, 135, 135, 135, 77, 82, 82, 82, 82, 82, 82, 880, 243, 77, 77, 77, 77, 83, 83, 83, 83, 83, 83, 110, 77, 103, 103, 103, 103, 103, 103, 104, 104, 104, 104, 133, 133, 137, 133, 137, 77, 145, 139, 77, 139, 157, 145, 243, 77, 77, 152, 156, 77, 77, 155, 166, 150, 157, 103, 104, 77, 159, 168, 77, 104, 77, 77, 77, 152, 77, 85, 150, 155, 156, 85, 85, 166, 159, 150, 85, 85, 161, 85, 160, 85, 145, 162, 104, 167, 168, 161, 169, 163, 85, 85, 85, 105, 163, 105, 105, 105, 105, 105, 105, 877, 160, 171, 162, 162, 165, 163, 167, 169, 173, 85, 105, 106, 85, 106, 165, 172, 106, 106, 106, 106, 106, 106, 180, 171, 170, 173, 105, 176, 177, 170, 172, 181, 105, 174, 184, 187, 181, 182, 179, 180, 85, 99, 99, 99, 99, 99, 99, 170, 187, 106, 177, 174, 184, 179, 176, 183, 190, 99, 99, 99, 179, 99, 99, 189, 182, 186, 183, 191, 189, 218, 186, 218, 185, 188, 99, 190, 183, 183, 284, 99, 99, 99, 158, 185, 99, 186, 99, 158, 158, 158, 189, 158, 158, 188, 192, 158, 194, 158, 284, 219, 185, 219, 158, 158, 158, 193, 158, 192, 220, 194, 220, 191, 198, 198, 191, 192, 205, 198, 193, 876, 193, 197, 197, 197, 197, 197, 197, 200, 200, 197, 248, 221, 200, 198, 198, 198, 198, 198, 198, 202, 202, 223, 205, 223, 202, 221, 202, 221, 200, 200, 200, 200, 200, 200, 209, 209, 248, 338, 222, 209, 202, 202, 202, 202, 202, 202, 212, 212, 212, 212, 222, 309, 222, 224, 224, 225, 224, 225, 226, 226, 226, 228, 229, 228, 229, 234, 234, 235, 236, 235, 309, 279, 235, 235, 235, 235, 235, 235, 237, 212, 237, 338, 266, 237, 266, 267, 278, 267, 234, 279, 283, 236, 241, 241, 241, 283, 241, 241, 256, 278, 237, 281, 237, 282, 280, 235, 270, 237, 244, 244, 244, 244, 244, 244, 241, 241, 241, 281, 285, 241, 282, 241, 280, 285, 256, 244, 245, 245, 245, 245, 245, 245, 270, 288, 293, 286, 294, 300, 306, 293, 308, 244, 300, 306, 874, 294, 308, 244, 246, 246, 246, 246, 246, 246, 253, 286, 288, 255, 255, 255, 255, 255, 255, 287, 246, 247, 246, 247, 246, 246, 247, 247, 247, 247, 247, 247, 290, 253, 287, 253, 873, 246, 289, 253, 287, 287, 246, 292, 246, 253, 255, 246, 291, 246, 260, 260, 260, 260, 260, 260, 289, 253, 290, 292, 292, 253, 295, 291, 296, 253, 297, 299, 301, 302, 303, 304, 305, 307, 311, 295, 302, 301, 307, 310, 311, 312, 319, 260, 297, 299, 313, 314, 310, 304, 303, 296, 318, 305, 305, 313, 315, 312, 316, 317, 319, 315, 314, 316, 317, 320, 322, 323, 324, 326, 325, 318, 327, 328, 331, 329, 330, 322, 320, 332, 334, 317, 323, 325, 333, 330, 335, 324, 337, 339, 340, 326, 329, 328, 401, 327, 331, 337, 334, 335, 341, 343, 332, 340, 342, 401, 333, 339, 341, 342, 344, 344, 345, 460, 866, 344, 343, 344, 345, 352, 352, 352, 352, 353, 353, 353, 353, 362, 363, 362, 363, 370, 370, 370, 370, 370, 370, 372, 460, 372, 380, 381, 372, 372, 372, 372, 372, 372, 865, 402, 380, 381, 352, 371, 371, 371, 371, 371, 371, 374, 374, 374, 374, 374, 374, 402, 380, 381, 403, 371, 404, 371, 864, 371, 371, 375, 375, 375, 375, 375, 375, 383, 382, 403, 406, 405, 371, 383, 407, 404, 408, 371, 374, 371, 405, 406, 371, 407, 371, 376, 376, 376, 376, 376, 376, 382, 412, 382, 375, 387, 411, 382, 408, 383, 384, 386, 384, 382, 410, 384, 384, 384, 384, 384, 384, 409, 411, 387, 412, 382, 413, 410, 376, 382, 409, 387, 415, 382, 386, 414, 386, 416, 417, 413, 386, 418, 421, 417, 419, 422, 386, 420, 384, 427, 419, 414, 414, 421, 415, 416, 418, 423, 386, 425, 429, 427, 386, 418, 422, 430, 386, 431, 420, 432, 433, 434, 423, 425, 435, 437, 433, 439, 440, 441, 431, 429, 442, 435, 443, 444, 434, 430, 449, 445, 437, 447, 432, 450, 441, 451, 454, 439, 445, 443, 440, 452, 450, 453, 442, 444, 455, 456, 447, 457, 458, 449, 459, 461, 463, 455, 451, 458, 454, 459, 462, 452, 457, 453, 466, 456, 464, 467, 462, 525, 863, 463, 525, 468, 491, 461, 467, 464, 462, 468, 477, 477, 477, 477, 491, 515, 466, 488, 488, 488, 488, 488, 488, 490, 490, 490, 490, 490, 490, 519, 491, 521, 515, 488, 492, 488, 492, 488, 488, 492, 492, 492, 492, 492, 492, 494, 516, 495, 493, 519, 488, 862, 858, 521, 518, 488, 490, 488, 493, 516, 488, 529, 488, 497, 497, 497, 497, 497, 497, 518, 520, 494, 492, 495, 493, 498, 498, 498, 498, 498, 498, 523, 529, 520, 526, 854, 523, 851, 528, 850, 522, 498, 499, 498, 499, 498, 498, 499, 499, 499, 499, 499, 499, 522, 526, 524, 527, 528, 498, 531, 530, 532, 533, 498, 531, 498, 524, 534, 498, 530, 498, 527, 532, 535, 537, 533, 536, 538, 539, 541, 542, 547, 535, 539, 544, 541, 538, 545, 546, 542, 547, 537, 550, 551, 849, 549, 534, 552, 536, 554, 560, 544, 545, 546, 549, 551, 555, 557, 558, 550, 561, 555, 552, 562, 554, 565, 557, 558, 564, 567, 566, 568, 560, 561, 575, 565, 564, 566, 569, 571, 562, 574, 572, 568, 569, 620, 619, 575, 571, 601, 601, 567, 572, 619, 620, 848, 847, 622, 574, 594, 594, 594, 594, 594, 594, 595, 595, 595, 595, 595, 595, 597, 601, 597, 622, 621, 597, 597, 597, 597, 597, 597, 600, 600, 600, 600, 600, 600, 621, 602, 626, 846, 594, 596, 596, 596, 596, 596, 596, 603, 618, 603, 623, 624, 603, 618, 628, 626, 625, 596, 624, 596, 602, 596, 596, 600, 625, 627, 618, 628, 627, 603, 629, 603, 630, 623, 596, 631, 603, 632, 633, 596, 634, 596, 635, 634, 596, 636, 596, 630, 637, 638, 640, 644, 629, 639, 632, 641, 642, 631, 645, 635, 633, 646, 639, 637, 650, 642, 651, 656, 640, 638, 646, 653, 657, 636, 644, 665, 656, 641, 664, 657, 645, 667, 668, 842, 650, 665, 700, 664, 653, 699, 667, 702, 705, 651, 714, 842, 700, 668, 686, 686, 686, 686, 686, 686, 690, 690, 690, 690, 690, 690, 699, 708, 705, 703, 686, 714, 686, 702, 686, 686, 703, 704, 706, 715, 707, 706, 704, 707, 710, 708, 712, 686, 711, 717, 710, 718, 686, 690, 686, 712, 720, 686, 717, 686, 713, 711, 716, 713, 719, 716, 721, 719, 715, 720, 722, 723, 724, 725, 721, 731, 728, 718, 732, 735, 722, 733, 725, 736, 723, 756, 757, 735, 758, 754, 756, 759, 736, 724, 728, 731, 755, 761, 758, 728, 732, 757, 733, 743, 743, 743, 743, 743, 743, 754, 760, 763, 762, 755, 759, 762, 764, 766, 768, 769, 766, 768, 770, 761, 763, 770, 769, 760, 771, 773, 772, 771, 775, 779, 794, 797, 743, 796, 798, 800, 799, 798, 800, 801, 764, 772, 801, 803, 804, 807, 810, 805, 773, 797, 805, 775, 779, 808, 796, 810, 808, 794, 799, 809, 811, 803, 809, 812, 813, 828, 829, 807, 830, 831, 804, 830, 832, 829, 812, 834, 811, 856, 831, 833, 813, 837, 833, 875, 837, 840, 828, 856, 840, 841, 832, 843, 834, 852, 853, 867, 832, 868, 841, 853, 843, 855, 852, 857, 855, 875, 859, 860, 857, 859, 860, 861, 868, 869, 861, 867, 869, 870, 871, 872, 878, 871, 872, 879, 882, 884, 883, 870, 885, 887, 886, 845, 888, 882, 844, 839, 838, 836, 879, 883, 835, 878, 888, 827, 826, 825, 824, 884, 886, 885, 823, 887, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 895, 822, 821, 895, 820, 895, 895, 895, 895, 895, 896, 819, 818, 817, 896, 896, 896, 896, 896, 896, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 898, 816, 815, 898, 814, 898, 898, 898, 898, 898, 899, 806, 899, 899, 802, 899, 899, 899, 899, 899, 899, 795, 899, 900, 793, 792, 900, 900, 900, 900, 900, 900, 900, 900, 791, 900, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 902, 902, 790, 902, 789, 788, 787, 902, 903, 786, 785, 903, 784, 903, 903, 903, 903, 903, 904, 783, 904, 782, 781, 780, 904, 905, 778, 905, 777, 776, 774, 905, 906, 767, 906, 765, 753, 752, 906, 907, 751, 907, 750, 749, 748, 907, 908, 747, 908, 746, 745, 742, 908, 909, 741, 909, 740, 734, 730, 909, 910, 729, 910, 727, 726, 709, 910, 911, 701, 911, 698, 693, 691, 911, 912, 687, 912, 677, 673, 671, 912, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 914, 669, 914, 915, 915, 666, 915, 915, 915, 663, 915, 916, 916, 662, 916, 917, 661, 917, 660, 659, 658, 917, 918, 655, 918, 654, 652, 649, 918, 919, 648, 919, 647, 643, 616, 919, 920, 612, 920, 921, 610, 921, 608, 606, 604, 921, 922, 598, 922, 923, 592, 590, 923, 588, 923, 923, 923, 923, 923, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 926, 586, 926, 584, 582, 580, 926, 927, 578, 927, 577, 576, 573, 927, 928, 570, 928, 563, 559, 556, 928, 929, 553, 929, 930, 548, 930, 543, 540, 517, 930, 931, 513, 931, 932, 511, 932, 509, 507, 505, 932, 933, 503, 933, 934, 502, 934, 501, 500, 489, 934, 935, 486, 935, 936, 484, 936, 483, 482, 480, 936, 937, 478, 937, 938, 475, 938, 473, 471, 469, 938, 939, 465, 939, 940, 448, 940, 446, 438, 436, 940, 941, 428, 941, 942, 426, 942, 424, 942, 398, 942, 943, 396, 943, 394, 943, 392, 943, 944, 944, 391, 944, 944, 944, 390, 944, 945, 377, 945, 367, 365, 364, 945, 946, 360, 946, 358, 356, 354, 946, 947, 350, 947, 348, 347, 346, 947, 948, 336, 948, 949, 321, 949, 298, 277, 275, 949, 950, 273, 950, 951, 272, 951, 271, 269, 268, 951, 952, 263, 952, 953, 259, 953, 258, 254, 251, 953, 954, 250, 954, 955, 239, 238, 955, 231, 955, 955, 955, 955, 955, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 957, 230, 957, 227, 217, 215, 957, 958, 214, 958, 959, 213, 959, 207, 206, 204, 959, 960, 199, 960, 961, 178, 961, 149, 147, 146, 961, 962, 140, 962, 963, 138, 963, 136, 128, 125, 963, 964, 124, 964, 965, 120, 965, 101, 98, 95, 965, 966, 93, 966, 967, 86, 967, 72, 70, 66, 967, 968, 36, 968, 969, 33, 969, 18, 11, 4, 969, 970, 3, 970, 0, 0, 0, 970, 971, 0, 971, 972, 0, 972, 0, 0, 0, 972, 973, 0, 973, 974, 0, 974, 0, 974, 0, 974, 975, 0, 975, 0, 0, 0, 975, 976, 0, 976, 0, 0, 0, 976, 977, 0, 977, 978, 0, 978, 0, 0, 0, 978, 979, 0, 979, 980, 0, 980, 0, 0, 0, 980, 981, 0, 981, 982, 0, 982, 0, 0, 0, 982, 983, 0, 983, 984, 0, 984, 0, 0, 0, 984, 985, 0, 985, 986, 0, 986, 0, 0, 0, 986, 987, 0, 987, 988, 0, 0, 988, 0, 988, 988, 988, 988, 988, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 989, 990, 0, 990, 0, 0, 0, 990, 991, 0, 991, 992, 0, 992, 0, 0, 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, 0, 0, 0, 998, 999, 0, 999, 1000, 0, 1000, 0, 0, 0, 1000, 1001, 0, 1001, 1002, 0, 1002, 0, 0, 0, 1002, 1003, 0, 1003, 1004, 0, 1004, 0, 0, 0, 1004, 1005, 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, 1011, 0, 1011, 0, 0, 0, 1011, 1012, 0, 1012, 1013, 0, 1013, 0, 0, 0, 1013, 1014, 0, 1014, 1015, 0, 1015, 1016, 0, 1016, 1017, 0, 0, 1017, 0, 1017, 1017, 1017, 1017, 1017, 1018, 0, 1018, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1020, 0, 1020, 0, 0, 0, 1020, 1021, 0, 1021, 1022, 0, 1022, 0, 0, 0, 1022, 1023, 0, 1023, 1024, 0, 1024, 1025, 0, 1025, 1026, 0, 0, 1026, 0, 1026, 1026, 1026, 1026, 1026, 1027, 0, 1027, 1028, 0, 1028, 1029, 0, 1029, 1030, 0, 1030, 1031, 0, 1031, 1032, 0, 1032, 1033, 0, 1033, 1034, 0, 1034, 0, 0, 0, 1034, 1035, 0, 1035, 1036, 0, 1036, 0, 0, 0, 1036, 1037, 0, 1037, 1038, 0, 1038, 1039, 0, 1039, 1040, 0, 1040, 1041, 0, 1041, 0, 0, 0, 1041, 1042, 0, 0, 1042, 0, 1042, 1042, 1042, 1042, 1042, 1043, 0, 1043, 1044, 0, 1044, 1045, 0, 1045, 1046, 0, 1046, 0, 0, 0, 1046, 1047, 0, 1047, 0, 0, 0, 1047, 1048, 0, 1048, 0, 0, 0, 1048, 1049, 0, 1049, 1050, 0, 1050, 0, 0, 0, 1050, 1051, 0, 1051, 0, 0, 0, 1051, 1052, 0, 1052, 0, 0, 0, 1052, 1053, 0, 1053, 0, 0, 0, 1053, 1054, 0, 1054, 0, 0, 0, 1054, 1055, 0, 1055, 0, 0, 0, 1055, 1056, 0, 1056, 0, 0, 0, 1056, 1057, 0, 1057, 0, 0, 0, 1057, 1058, 0, 1058, 0, 0, 0, 1058, 1059, 0, 1059, 0, 0, 0, 1059, 1060, 0, 1060, 0, 0, 0, 1060, 1061, 0, 1061, 0, 0, 0, 1061, 1062, 0, 1062, 0, 0, 0, 1062, 1063, 0, 1063, 0, 0, 0, 1063, 1064, 0, 1064, 0, 0, 0, 1064, 1065, 0, 1065, 0, 0, 0, 1065, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[182] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 : * Last Modified On : Sun Jul 31 07:19:36 2016 * Update Count : 459 */ #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 "parser.h" // YACC generated definitions based on C++ grammar #include "ParseNode.h" #include "TypedefTable.h" 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.isKind( yytext ) ) #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) void rm_underscore() { // Remove underscores in numeric constant by copying the non-underscore characters to the front of the string. yyleng = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[yyleng] = yytext[i]; yyleng += 1; } // if } // for yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // GCC: D (double), DL (long double) and iI (imaginary) suffixes //floating_suffix "_"?([fFdD]|[lL]|[D][L])|([iI][lLfFdD])|([lLfFdD][iI])) // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // overloadable operators // op_binary_not_over "?"|"->"|"."|"&&"|"||"|"@=" // operator {op_unary_pre_post}|{op_binary_over}|{op_binary_not_over} #line 1534 "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 138 "lex.ll" /* line directives */ #line 1729 "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 >= 892 ) 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] != 2825 ); 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 140 "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 163 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 166 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 167 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 168 "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 171 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 174 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 175 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 176 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 36: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 37: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 38: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 39: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 40: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 41: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 42: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 43: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 44: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 45: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 46: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 47: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 50: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 51: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 52: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 53: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 54: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 55: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 56: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 57: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 58: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 59: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 61: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 62: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 64: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 65: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 67: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 68: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 69: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 70: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 71: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(OTYPE); } // CFA YY_BREAK case 72: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 73: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 74: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 76: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 77: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 78: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 79: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 80: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 81: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 82: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 83: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 84: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 85: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 86: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 87: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 88: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TRAIT); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 91: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 92: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 95: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 96: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 97: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(VALIST); } // GCC YY_BREAK case 98: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 99: YY_RULE_SETUP #line 268 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 100: YY_RULE_SETUP #line 269 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 101: YY_RULE_SETUP #line 270 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 102: YY_RULE_SETUP #line 271 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 103: YY_RULE_SETUP #line 274 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 104: YY_RULE_SETUP #line 275 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 105: YY_RULE_SETUP #line 276 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 106: YY_RULE_SETUP #line 277 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 107: YY_RULE_SETUP #line 278 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 108: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 109: YY_RULE_SETUP #line 282 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 110: YY_RULE_SETUP #line 283 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 111: YY_RULE_SETUP #line 284 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 112: YY_RULE_SETUP #line 285 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 113: YY_RULE_SETUP #line 286 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 114: YY_RULE_SETUP #line 287 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 115: YY_RULE_SETUP #line 290 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 116: YY_RULE_SETUP #line 291 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 117: /* rule 117 can match eol */ YY_RULE_SETUP #line 292 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 118: YY_RULE_SETUP #line 296 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 119: YY_RULE_SETUP #line 297 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 120: /* rule 120 can match eol */ YY_RULE_SETUP #line 298 "lex.ll" { BEGIN 0; *strtext += std::string( yytext ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 121: YY_RULE_SETUP #line 302 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 122: /* rule 122 can match eol */ YY_RULE_SETUP #line 303 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 123: YY_RULE_SETUP #line 304 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 124: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 125: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 126: YY_RULE_SETUP #line 309 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 127: YY_RULE_SETUP #line 310 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 128: YY_RULE_SETUP #line 311 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 129: YY_RULE_SETUP #line 312 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 130: YY_RULE_SETUP #line 313 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 131: YY_RULE_SETUP #line 314 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 315 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 133: YY_RULE_SETUP #line 316 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 134: YY_RULE_SETUP #line 317 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 135: YY_RULE_SETUP #line 320 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 136: YY_RULE_SETUP #line 321 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 137: YY_RULE_SETUP #line 322 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 138: YY_RULE_SETUP #line 323 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 139: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 332 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 146: YY_RULE_SETUP #line 333 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 147: YY_RULE_SETUP #line 334 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 148: YY_RULE_SETUP #line 335 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 149: YY_RULE_SETUP #line 336 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 150: YY_RULE_SETUP #line 337 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 151: YY_RULE_SETUP #line 338 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 152: YY_RULE_SETUP #line 339 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 153: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 154: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 155: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 156: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 157: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 158: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 159: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 160: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 161: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 162: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 163: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 164: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 165: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 166: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 167: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 168: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 169: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 170: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 171: YY_RULE_SETUP #line 359 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 172: YY_RULE_SETUP #line 360 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 173: YY_RULE_SETUP #line 361 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 174: YY_RULE_SETUP #line 363 "lex.ll" { NAMEDOP_RETURN(ATassign); } // CFA YY_BREAK /* CFA, operator identifier */ case 175: YY_RULE_SETUP #line 366 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 176: YY_RULE_SETUP #line 367 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 177: YY_RULE_SETUP #line 368 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 178: YY_RULE_SETUP #line 369 "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 179: YY_RULE_SETUP #line 396 "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 180: YY_RULE_SETUP #line 408 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 181: YY_RULE_SETUP #line 410 "lex.ll" ECHO; YY_BREAK #line 2808 "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 >= 892 ) 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 >= 892 ) 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 == 891); 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 410 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //