#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[889] = { 0, 0, 0, 0, 0, 0, 0, 115, 115, 118, 118, 182, 180, 7, 9, 8, 138, 117, 102, 143, 146, 114, 125, 126, 141, 139, 129, 140, 132, 142, 107, 108, 109, 130, 131, 148, 150, 149, 151, 180, 102, 123, 180, 124, 144, 102, 104, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 127, 147, 128, 145, 7, 180, 4, 4, 181, 105, 181, 106, 115, 116, 122, 118, 119, 7, 9, 0, 8, 155, 175, 102, 0, 167, 137, 160, 168, 165, 152, 163, 153, 164, 162, 0, 112, 3, 0, 166, 112, 110, 0, 0, 110, 110, 0, 0, 110, 109, 109, 109, 0, 109, 174, 135, 136, 134, 156, 158, 154, 159, 157, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 173, 0, 117, 114, 102, 0, 0, 170, 0, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 38, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 56, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 169, 161, 7, 0, 0, 0, 2, 0, 5, 105, 0, 0, 0, 115, 0, 121, 120, 120, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 133, 112, 112, 0, 112, 112, 0, 0, 6, 0, 110, 0, 0, 0, 112, 0, 110, 110, 110, 110, 0, 111, 0, 0, 109, 109, 109, 109, 0, 171, 172, 0, 178, 176, 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 0, 0, 102, 17, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 14, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 50, 102, 102, 102, 63, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 89, 102, 102, 102, 102, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 120, 0, 0, 179, 0, 0, 0, 0, 0, 0, 0, 112, 0, 112, 0, 112, 0, 0, 112, 0, 110, 110, 0, 0, 111, 111, 0, 111, 0, 111, 109, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 21, 102, 24, 102, 27, 102, 102, 102, 102, 102, 102, 102, 41, 102, 43, 102, 102, 102, 102, 102, 102, 102, 55, 102, 66, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 97, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 112, 0, 0, 0, 0, 0, 0, 111, 111, 0, 113, 0, 111, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 22, 102, 102, 102, 102, 102, 102, 102, 15, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 23, 25, 102, 32, 102, 102, 102, 102, 40, 102, 102, 102, 102, 48, 102, 102, 53, 102, 102, 70, 102, 102, 102, 76, 102, 102, 102, 102, 102, 86, 88, 102, 102, 94, 102, 102, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 111, 113, 113, 113, 113, 0, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 58, 102, 102, 102, 102, 102, 102, 102, 102, 28, 102, 102, 102, 39, 42, 45, 102, 102, 51, 102, 60, 67, 102, 102, 75, 77, 80, 81, 83, 84, 102, 102, 91, 102, 102, 0, 1, 0, 0, 0, 0, 0, 0, 105, 0, 0, 0, 120, 0, 0, 0, 0, 113, 0, 113, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 18, 102, 102, 102, 102, 102, 102, 102, 16, 102, 102, 102, 33, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 36, 37, 102, 47, 52, 102, 102, 102, 90, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 54, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 59, 61, 64, 102, 102, 78, 92, 102, 102, 35, 46, 71, 72, 102, 95, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 68, 102, 102, 12, 102, 102, 30, 34, 102, 102, 102, 65, 102, 102, 102, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 102, 102, 102, 102, 102, 102, 102, 49, 62, 73, 79, 93, 99, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 13, 19, 102, 102, 31, 102, 102, 102, 26, 87, 0, 0, 102, 102, 102, 102, 102, 102, 74, 100, 102, 85, 20, 102, 102, 44, 82, 102, 102, 102, 102, 102, 102, 102, 96, 69, 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[1063] = { 0, 0, 84, 2279, 2277, 94, 0, 177, 178, 179, 180, 2291, 2817, 191, 2817, 197, 55, 2817, 2237, 60, 173, 2817, 2817, 2817, 56, 188, 2817, 191, 189, 204, 216, 275, 0, 152, 2817, 216, 2257, 175, 344, 197, 237, 2817, 159, 2817, 220, 226, 2817, 181, 165, 212, 251, 241, 270, 205, 244, 235, 174, 227, 305, 274, 341, 220, 265, 2817, 227, 2817, 2253, 382, 405, 2817, 2262, 2817, 2228, 211, 2817, 0, 2817, 432, 0, 2817, 398, 2817, 411, 417, 2817, 504, 2227, 258, 2817, 2817, 2817, 2817, 2817, 2245, 2817, 2243, 2817, 2817, 2253, 565, 2817, 2268, 2817, 424, 419, 504, 522, 296, 237, 265, 417, 386, 0, 298, 285, 311, 403, 2817, 2817, 2817, 2817, 2238, 2817, 2817, 2817, 2237, 2235, 301, 331, 2248, 347, 442, 449, 359, 433, 427, 454, 2227, 465, 2176, 469, 2206, 2817, 319, 2817, 2817, 501, 2201, 2198, 2817, 2169, 425, 307, 467, 320, 337, 470, 431, 345, 509, 356, 439, 410, 490, 481, 500, 498, 502, 504, 424, 505, 541, 510, 465, 528, 542, 271, 520, 521, 2197, 544, 548, 549, 550, 561, 558, 570, 579, 587, 569, 585, 567, 601, 592, 593, 594, 2817, 2817, 665, 671, 2246, 677, 2817, 683, 2817, 2194, 565, 2188, 2185, 0, 674, 2817, 2817, 689, 2184, 2183, 2181, 0, 2202, 616, 630, 655, 698, 697, 659, 687, 688, 691, 2197, 694, 701, 2174, 2173, 2817, 0, 693, 723, 691, 714, 2171, 2204, 2817, 722, 0, 717, 768, 744, 808, 779, 606, 2817, 2161, 2136, 0, 794, 2180, 786, 702, 2817, 2154, 2129, 830, 2817, 2817, 2162, 2817, 2817, 708, 722, 2140, 2138, 710, 2132, 2131, 2130, 0, 2128, 0, 2097, 721, 727, 747, 748, 674, 591, 610, 723, 766, 793, 767, 770, 769, 792, 810, 763, 775, 806, 812, 820, 2125, 822, 824, 825, 828, 830, 831, 832, 836, 837, 460, 843, 846, 845, 844, 847, 848, 852, 859, 861, 858, 867, 865, 2124, 868, 869, 870, 873, 871, 872, 874, 875, 881, 876, 880, 882, 887, 888, 2123, 891, 940, 897, 899, 563, 902, 906, 960, 961, 2118, 2115, 2112, 0, 2111, 0, 952, 956, 2110, 0, 2108, 0, 2105, 0, 2126, 2817, 793, 939, 2105, 2101, 0, 2098, 0, 2817, 960, 986, 971, 2817, 977, 992, 1011, 2097, 2817, 2817, 985, 994, 1024, 982, 1058, 922, 1043, 993, 2817, 2817, 2096, 2094, 2091, 0, 2087, 0, 2083, 0, 2081, 0, 2817, 908, 953, 939, 991, 993, 998, 1003, 1000, 1026, 1006, 1037, 1020, 1038, 1048, 1041, 1049, 970, 1054, 1018, 1050, 1044, 1056, 1045, 2082, 1059, 2079, 1068, 2077, 1057, 1052, 1070, 1072, 1079, 1077, 1081, 2075, 1082, 2072, 1084, 1086, 1087, 1088, 1091, 1089, 1094, 2069, 1096, 2068, 1093, 1098, 1099, 1101, 1105, 1100, 1114, 1111, 1115, 1112, 1117, 686, 1118, 1126, 1130, 1127, 2067, 1131, 1132, 1183, 2062, 0, 2059, 0, 2056, 0, 2055, 0, 1178, 2054, 0, 2052, 0, 2049, 2046, 2045, 0, 2044, 0, 1184, 2042, 1190, 1149, 1206, 1192, 1150, 1185, 2817, 1230, 1242, 1264, 2051, 2024, 2035, 2034, 0, 2032, 0, 2029, 0, 2026, 0, 2025, 0, 2024, 0, 1166, 1206, 2025, 1207, 1190, 1227, 1145, 1241, 1184, 1135, 134, 1198, 1243, 1223, 1225, 1244, 1186, 1248, 1247, 1249, 1256, 1251, 1261, 1262, 1221, 2022, 1269, 1266, 2019, 1264, 1267, 1268, 1270, 2018, 1276, 1272, 1274, 1277, 2017, 1280, 1288, 2015, 1287, 1290, 2012, 1284, 1291, 1294, 2009, 1188, 1297, 1298, 1300, 1301, 1308, 2008, 1303, 1309, 2007, 1310, 1315, 2005, 2052, 1998, 0, 1997, 0, 1995, 0, 1992, 0, 1991, 0, 1990, 0, 1988, 0, 1955, 0, 1359, 1365, 1393, 1376, 1953, 2817, 1382, 1369, 1331, 1383, 1952, 2817, 1949, 0, 1946, 0, 1945, 0, 1944, 0, 0, 0, 1945, 0, 1370, 1316, 1317, 1345, 1325, 1372, 1373, 1378, 1377, 384, 1376, 1387, 1390, 1392, 1399, 1397, 773, 1400, 1430, 1407, 1404, 1411, 1410, 1412, 1418, 1942, 1413, 1415, 1423, 1939, 1938, 1937, 1421, 1425, 1935, 1426, 1932, 1931, 1429, 1433, 1930, 1928, 1925, 1924, 1923, 1921, 1435, 1314, 1918, 1439, 1431, 1964, 2817, 1907, 0, 1903, 0, 0, 0, 1890, 0, 0, 0, 2817, 0, 0, 0, 0, 1483, 1886, 2817, 2817, 1489, 1885, 0, 1883, 0, 0, 0, 0, 1880, 1445, 1465, 1882, 1442, 1470, 1467, 1479, 968, 1447, 1476, 1881, 1478, 1482, 1480, 1485, 1481, 1512, 1487, 1497, 1526, 1501, 1503, 1505, 1507, 1508, 1509, 1510, 1879, 1876, 1511, 1875, 1874, 1515, 1514, 1518, 1872, 1520, 1522, 0, 0, 0, 1866, 1865, 1864, 1570, 0, 1862, 1859, 1858, 1857, 1855, 1855, 1854, 1853, 1851, 1527, 1529, 1532, 1523, 1548, 1533, 1549, 1524, 1551, 1552, 1553, 1848, 1557, 1847, 1559, 1561, 1564, 1569, 1555, 1563, 1846, 1844, 1841, 1840, 1571, 1839, 1837, 1831, 1830, 1829, 1827, 1820, 1818, 1817, 1814, 1813, 1812, 1810, 1793, 1574, 1787, 1575, 1577, 1576, 1578, 1580, 1581, 1786, 1585, 1608, 1587, 1783, 1588, 1589, 1599, 1597, 1591, 1593, 1773, 1770, 1763, 1761, 1760, 1739, 1738, 1737, 1730, 1728, 1727, 1685, 1684, 1683, 1598, 1604, 1612, 1605, 1613, 1617, 1616, 1682, 1681, 1618, 1677, 1676, 1622, 1623, 1626, 1670, 1669, 1668, 1665, 1448, 1446, 1358, 1317, 1627, 1624, 1318, 1638, 1630, 1634, 1224, 1642, 1643, 1644, 1137, 1136, 1004, 733, 1628, 1649, 1650, 1651, 1652, 1654, 635, 602, 1656, 436, 296, 1658, 1659, 263, 232, 1660, 1662, 1663, 1665, 1666, 1667, 1670, 200, 166, 2817, 1742, 1755, 1768, 1778, 1788, 1801, 1811, 1824, 1837, 1850, 1858, 1868, 1875, 1882, 1889, 1896, 1903, 1910, 1917, 1924, 1931, 1944, 1951, 1955, 1963, 1966, 1973, 1980, 1987, 1990, 1997, 2003, 2016, 2029, 2036, 2043, 2050, 2057, 2060, 2067, 2070, 2077, 2080, 2087, 2090, 2097, 2100, 2107, 2110, 2117, 2120, 2127, 2135, 2142, 2149, 2156, 2163, 2166, 2173, 2176, 2183, 2186, 2193, 2199, 2212, 2219, 2226, 2229, 2236, 2239, 2246, 2249, 2256, 2259, 2266, 2269, 2276, 2279, 2286, 2293, 2296, 2303, 2306, 2313, 2320, 2327, 2330, 2337, 2340, 2347, 2350, 2357, 2360, 2367, 2370, 2377, 2383, 2396, 2403, 2410, 2413, 2420, 2423, 2430, 2433, 2440, 2443, 2450, 2453, 2460, 2463, 2470, 2473, 2480, 2483, 2490, 2497, 2500, 2507, 2510, 2517, 2520, 2527, 2530, 2533, 2539, 2546, 2555, 2562, 2569, 2572, 2579, 2582, 2585, 2591, 2598, 2601, 2604, 2607, 2610, 2613, 2616, 2619, 2626, 2629, 2636, 2639, 2642, 2645, 2648, 2658, 2665, 2668, 2671, 2674, 2681, 2688, 2695, 2698, 2705, 2712, 2719, 2726, 2733, 2740, 2747, 2754, 2761, 2768, 2775, 2782, 2789, 2796, 2803 } ; static yyconst flex_int16_t yy_def[1063] = { 0, 888, 1, 889, 889, 888, 5, 890, 890, 891, 891, 888, 888, 888, 888, 888, 888, 888, 892, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 31, 888, 888, 888, 888, 888, 888, 893, 892, 888, 888, 888, 888, 892, 888, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 888, 888, 888, 888, 888, 894, 888, 888, 888, 895, 888, 888, 896, 888, 888, 897, 888, 888, 888, 888, 888, 888, 888, 892, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 898, 888, 99, 30, 888, 888, 888, 888, 899, 30, 888, 31, 888, 888, 31, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 900, 888, 888, 888, 888, 892, 901, 902, 888, 888, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 888, 888, 888, 894, 894, 894, 888, 894, 888, 895, 888, 903, 904, 896, 888, 888, 888, 888, 905, 906, 907, 897, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 908, 909, 888, 99, 888, 888, 888, 888, 99, 910, 888, 888, 104, 104, 888, 888, 888, 888, 888, 888, 888, 888, 911, 912, 913, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 900, 888, 914, 915, 916, 917, 918, 919, 888, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 921, 922, 923, 924, 925, 926, 927, 928, 888, 888, 929, 930, 931, 932, 933, 934, 888, 888, 888, 888, 888, 935, 936, 937, 938, 888, 888, 888, 888, 888, 888, 888, 372, 377, 888, 888, 939, 940, 941, 888, 888, 888, 941, 888, 888, 888, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 888, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 888, 962, 963, 964, 965, 966, 966, 967, 968, 969, 970, 888, 489, 888, 971, 888, 971, 888, 888, 888, 888, 888, 888, 888, 888, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 888, 888, 888, 888, 1003, 888, 597, 888, 888, 888, 601, 888, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1014, 1016, 888, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 888, 1027, 1028, 1029, 1030, 888, 687, 888, 888, 888, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 888, 1046, 1031, 1033, 1047, 1048, 1038, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1049, 1050, 1043, 1051, 1044, 1052, 1045, 1053, 1054, 1047, 1055, 1048, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1056, 1049, 1057, 1050, 1058, 1051, 1059, 1052, 1060, 1053, 1061, 1054, 1055, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1062, 1056, 1057, 1058, 1059, 1033, 1060, 1061, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1062, 1033, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 0, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888 } ; static yyconst flex_int16_t yy_nxt[2903] = { 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, 117, 118, 90, 87, 79, 79, 628, 76, 76, 80, 81, 82, 82, 82, 80, 82, 81, 83, 83, 83, 82, 91, 93, 124, 125, 147, 98, 95, 99, 99, 99, 99, 99, 99, 87, 87, 94, 100, 85, 96, 97, 85, 101, 87, 119, 142, 77, 77, 77, 77, 87, 148, 102, 103, 162, 104, 104, 104, 104, 105, 105, 120, 144, 121, 122, 183, 143, 145, 149, 87, 150, 160, 106, 161, 87, 196, 107, 207, 151, 152, 153, 87, 108, 109, 154, 155, 163, 156, 110, 87, 157, 158, 178, 164, 106, 87, 87, 251, 159, 165, 111, 87, 253, 208, 87, 184, 87, 194, 108, 146, 87, 109, 103, 87, 112, 112, 112, 112, 112, 112, 87, 252, 181, 179, 231, 170, 197, 171, 182, 166, 180, 106, 87, 167, 87, 113, 172, 255, 168, 87, 87, 114, 169, 87, 173, 259, 195, 115, 888, 264, 232, 265, 174, 106, 175, 189, 249, 176, 257, 116, 318, 177, 250, 190, 258, 87, 144, 114, 126, 260, 191, 145, 127, 128, 87, 129, 87, 130, 131, 264, 132, 265, 133, 261, 192, 272, 185, 186, 250, 87, 258, 134, 135, 136, 281, 264, 187, 265, 283, 188, 198, 81, 82, 82, 82, 198, 87, 264, 199, 265, 87, 273, 137, 146, 87, 138, 80, 81, 82, 82, 82, 80, 284, 201, 202, 87, 287, 193, 201, 82, 81, 82, 82, 82, 82, 82, 81, 83, 83, 83, 82, 299, 139, 140, 203, 203, 203, 203, 203, 203, 210, 211, 250, 87, 888, 210, 710, 212, 243, 243, 243, 243, 212, 99, 99, 99, 99, 99, 99, 258, 249, 213, 213, 213, 213, 264, 266, 265, 250, 87, 267, 264, 212, 265, 888, 266, 888, 257, 301, 256, 264, 244, 265, 87, 87, 258, 242, 264, 214, 265, 87, 212, 264, 268, 265, 87, 212, 212, 87, 279, 212, 212, 888, 264, 888, 265, 280, 264, 212, 265, 310, 212, 286, 212, 215, 212, 144, 216, 218, 87, 300, 145, 219, 220, 87, 435, 87, 221, 222, 87, 223, 103, 224, 105, 105, 105, 105, 105, 105, 315, 87, 225, 226, 227, 282, 304, 246, 285, 246, 87, 106, 247, 247, 247, 247, 247, 247, 87, 305, 87, 87, 87, 228, 87, 87, 229, 245, 307, 87, 87, 302, 303, 106, 288, 289, 290, 306, 291, 292, 87, 87, 293, 308, 294, 248, 311, 309, 87, 295, 296, 297, 314, 298, 230, 234, 234, 234, 234, 234, 234, 87, 87, 320, 87, 316, 312, 319, 87, 87, 87, 235, 236, 237, 324, 238, 237, 144, 87, 321, 317, 87, 347, 87, 313, 323, 322, 87, 239, 87, 87, 466, 326, 237, 236, 237, 329, 325, 238, 87, 237, 330, 327, 328, 332, 87, 338, 87, 348, 335, 336, 87, 87, 87, 87, 361, 407, 362, 331, 333, 334, 87, 87, 379, 339, 340, 342, 344, 343, 361, 87, 362, 337, 341, 198, 81, 82, 82, 82, 198, 201, 202, 199, 210, 211, 201, 201, 202, 210, 379, 408, 201, 345, 202, 361, 87, 362, 345, 361, 346, 362, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 353, 353, 353, 353, 362, 362, 363, 361, 361, 362, 362, 361, 364, 362, 361, 87, 362, 361, 361, 362, 362, 361, 370, 362, 370, 370, 888, 87, 264, 371, 265, 371, 406, 354, 372, 372, 372, 372, 372, 372, 389, 374, 264, 374, 265, 370, 374, 370, 391, 235, 236, 237, 570, 238, 237, 247, 247, 247, 247, 247, 247, 376, 87, 374, 87, 374, 389, 373, 87, 409, 374, 237, 236, 237, 392, 402, 238, 888, 237, 105, 105, 105, 105, 105, 105, 246, 403, 246, 87, 87, 247, 247, 247, 247, 247, 247, 106, 105, 105, 105, 105, 105, 105, 382, 87, 405, 404, 87, 87, 420, 87, 87, 256, 361, 87, 362, 87, 717, 106, 377, 377, 377, 377, 377, 377, 421, 384, 410, 385, 415, 256, 414, 386, 87, 87, 235, 416, 237, 387, 238, 237, 112, 112, 112, 112, 112, 112, 87, 417, 411, 388, 87, 378, 87, 385, 412, 413, 237, 386, 237, 422, 87, 238, 87, 237, 87, 87, 418, 419, 87, 426, 87, 87, 87, 261, 427, 428, 87, 87, 424, 423, 425, 433, 434, 87, 87, 87, 87, 87, 87, 430, 429, 438, 87, 431, 432, 437, 440, 442, 87, 87, 439, 87, 436, 441, 443, 87, 444, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 446, 448, 449, 87, 87, 87, 445, 450, 447, 452, 87, 87, 451, 457, 87, 456, 453, 455, 454, 144, 87, 458, 87, 463, 462, 87, 459, 460, 461, 87, 467, 87, 345, 202, 202, 465, 501, 345, 464, 346, 200, 361, 516, 362, 468, 212, 212, 212, 212, 353, 353, 353, 353, 372, 372, 372, 372, 372, 372, 371, 502, 371, 87, 87, 372, 372, 372, 372, 372, 372, 234, 234, 234, 234, 234, 234, 87, 518, 478, 489, 489, 489, 489, 489, 489, 243, 243, 243, 243, 105, 105, 87, 517, 87, 757, 235, 496, 237, 533, 238, 237, 493, 497, 375, 377, 377, 377, 377, 377, 377, 493, 494, 490, 497, 87, 382, 87, 237, 376, 237, 495, 87, 238, 87, 237, 520, 87, 493, 497, 87, 888, 496, 521, 519, 888, 522, 493, 378, 384, 497, 385, 87, 525, 87, 386, 523, 498, 536, 498, 87, 387, 499, 499, 499, 499, 499, 499, 384, 524, 385, 87, 87, 388, 386, 87, 527, 385, 87, 87, 503, 386, 87, 87, 87, 528, 87, 526, 87, 538, 87, 87, 388, 87, 540, 500, 385, 531, 529, 530, 386, 532, 87, 534, 87, 537, 87, 541, 544, 539, 535, 87, 543, 87, 542, 87, 87, 545, 87, 547, 87, 87, 87, 87, 549, 87, 548, 87, 87, 546, 87, 550, 87, 87, 87, 87, 553, 557, 551, 87, 555, 560, 552, 556, 554, 87, 87, 558, 87, 87, 559, 87, 87, 568, 561, 562, 564, 565, 569, 563, 87, 87, 567, 566, 87, 87, 87, 202, 572, 87, 87, 87, 575, 578, 571, 577, 493, 493, 573, 87, 627, 574, 212, 212, 212, 212, 494, 576, 489, 489, 489, 489, 489, 489, 377, 377, 377, 377, 377, 377, 87, 624, 493, 493, 235, 596, 237, 596, 238, 237, 597, 597, 597, 597, 597, 597, 600, 619, 87, 493, 87, 490, 87, 626, 87, 634, 237, 491, 237, 599, 660, 238, 87, 237, 499, 499, 499, 499, 499, 499, 87, 87, 600, 598, 622, 493, 601, 601, 601, 601, 601, 601, 629, 620, 637, 87, 621, 87, 87, 87, 642, 87, 602, 498, 603, 498, 604, 603, 499, 499, 499, 499, 499, 499, 623, 87, 631, 87, 87, 605, 632, 87, 87, 87, 603, 87, 603, 633, 625, 604, 87, 603, 630, 635, 636, 87, 87, 643, 87, 638, 87, 87, 87, 87, 87, 641, 87, 639, 87, 644, 87, 87, 640, 648, 87, 645, 646, 647, 87, 649, 651, 87, 87, 650, 87, 87, 652, 654, 87, 653, 655, 87, 87, 656, 87, 87, 665, 87, 658, 662, 657, 661, 87, 87, 87, 659, 666, 664, 87, 87, 87, 87, 87, 667, 888, 689, 663, 702, 735, 87, 703, 668, 669, 489, 489, 489, 489, 489, 489, 597, 597, 597, 597, 597, 597, 596, 705, 596, 689, 87, 597, 597, 597, 597, 597, 597, 601, 601, 601, 601, 601, 601, 704, 689, 689, 888, 595, 687, 687, 687, 687, 687, 687, 690, 87, 690, 87, 87, 690, 700, 87, 87, 87, 602, 707, 603, 689, 604, 603, 605, 708, 87, 701, 711, 87, 690, 87, 690, 709, 706, 688, 87, 690, 87, 87, 603, 719, 603, 87, 713, 604, 87, 603, 712, 87, 87, 87, 87, 714, 87, 715, 718, 87, 716, 722, 87, 720, 87, 721, 87, 87, 725, 723, 87, 87, 87, 728, 87, 724, 87, 726, 727, 732, 87, 733, 729, 87, 731, 734, 87, 737, 87, 736, 863, 758, 888, 730, 687, 687, 687, 687, 687, 687, 601, 601, 601, 601, 601, 601, 87, 751, 87, 753, 602, 87, 603, 755, 604, 603, 752, 87, 754, 87, 87, 87, 87, 87, 765, 760, 87, 688, 87, 763, 762, 766, 603, 691, 603, 759, 761, 604, 87, 603, 756, 768, 87, 764, 87, 769, 87, 767, 87, 87, 87, 87, 87, 87, 771, 87, 87, 770, 772, 87, 775, 87, 773, 87, 87, 87, 804, 87, 87, 780, 87, 774, 781, 87, 87, 776, 777, 778, 796, 797, 779, 687, 687, 687, 687, 687, 687, 795, 794, 87, 87, 801, 87, 87, 87, 802, 87, 799, 87, 798, 87, 805, 87, 806, 87, 87, 803, 800, 808, 807, 87, 810, 87, 809, 744, 87, 87, 87, 87, 87, 829, 87, 87, 834, 831, 832, 87, 811, 87, 87, 87, 835, 87, 837, 87, 812, 828, 827, 87, 87, 87, 830, 826, 838, 833, 87, 87, 839, 840, 87, 841, 836, 851, 87, 87, 853, 852, 87, 87, 87, 850, 856, 858, 87, 87, 87, 859, 87, 87, 87, 865, 87, 854, 860, 857, 87, 861, 864, 855, 87, 868, 867, 866, 87, 87, 87, 869, 870, 871, 872, 87, 87, 87, 87, 874, 87, 876, 87, 877, 87, 87, 87, 875, 87, 87, 873, 87, 87, 87, 888, 881, 87, 888, 888, 862, 880, 882, 87, 87, 878, 879, 887, 87, 87, 87, 885, 883, 884, 888, 888, 886, 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, 849, 888, 86, 848, 86, 86, 86, 86, 86, 141, 888, 846, 888, 141, 141, 141, 141, 141, 141, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 205, 845, 888, 205, 844, 205, 205, 205, 205, 205, 209, 888, 209, 209, 843, 209, 209, 209, 209, 209, 209, 87, 209, 217, 87, 87, 217, 217, 217, 217, 217, 217, 217, 217, 888, 217, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 254, 254, 825, 254, 888, 824, 822, 254, 270, 888, 820, 270, 888, 270, 270, 270, 270, 270, 274, 818, 274, 888, 816, 814, 274, 276, 87, 276, 87, 87, 87, 276, 349, 87, 349, 87, 87, 87, 349, 351, 87, 351, 87, 87, 87, 351, 355, 888, 355, 793, 791, 888, 355, 357, 888, 357, 788, 786, 784, 357, 359, 87, 359, 87, 87, 87, 359, 366, 87, 366, 87, 87, 750, 366, 368, 747, 368, 746, 744, 206, 368, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 381, 740, 381, 383, 383, 739, 383, 383, 383, 671, 383, 254, 254, 87, 254, 393, 87, 393, 87, 87, 87, 393, 395, 87, 395, 87, 87, 87, 395, 397, 87, 397, 87, 87, 87, 397, 274, 87, 274, 399, 87, 399, 698, 697, 695, 399, 276, 693, 276, 86, 691, 599, 86, 686, 86, 86, 86, 86, 86, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 470, 685, 470, 683, 681, 679, 470, 472, 677, 472, 675, 673, 671, 472, 474, 87, 474, 87, 87, 87, 474, 349, 87, 349, 476, 87, 476, 87, 87, 87, 476, 351, 87, 351, 479, 87, 479, 618, 616, 614, 479, 355, 612, 355, 481, 610, 481, 608, 503, 606, 481, 357, 606, 357, 483, 595, 483, 594, 592, 484, 483, 359, 484, 359, 485, 590, 485, 588, 586, 584, 485, 366, 582, 366, 487, 580, 487, 87, 87, 87, 487, 368, 87, 368, 492, 87, 492, 87, 492, 87, 492, 381, 87, 381, 515, 381, 513, 381, 383, 383, 511, 383, 383, 383, 509, 383, 504, 507, 504, 505, 491, 488, 504, 506, 486, 506, 362, 362, 484, 506, 508, 482, 508, 480, 477, 475, 508, 393, 473, 393, 510, 471, 510, 87, 87, 87, 510, 395, 401, 395, 512, 400, 512, 398, 396, 394, 512, 397, 271, 397, 514, 266, 514, 265, 390, 390, 514, 399, 253, 399, 86, 380, 380, 86, 241, 86, 86, 86, 86, 86, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 579, 375, 579, 369, 367, 365, 579, 470, 361, 470, 581, 360, 581, 358, 356, 352, 581, 472, 350, 472, 583, 206, 583, 202, 87, 278, 583, 474, 277, 474, 585, 275, 585, 271, 266, 269, 585, 476, 266, 476, 587, 264, 587, 263, 262, 241, 587, 479, 233, 479, 589, 85, 589, 85, 87, 206, 589, 481, 204, 481, 483, 85, 483, 123, 87, 888, 483, 591, 70, 591, 70, 888, 888, 591, 485, 888, 485, 593, 888, 593, 888, 888, 888, 593, 487, 888, 487, 492, 888, 492, 888, 492, 888, 492, 383, 888, 383, 888, 888, 888, 383, 607, 888, 607, 888, 888, 888, 607, 504, 888, 504, 609, 888, 609, 888, 888, 888, 609, 506, 888, 506, 611, 888, 611, 888, 888, 888, 611, 508, 888, 508, 613, 888, 613, 888, 888, 888, 613, 510, 888, 510, 615, 888, 615, 888, 888, 888, 615, 512, 888, 512, 617, 888, 617, 888, 888, 888, 617, 514, 888, 514, 86, 888, 888, 86, 888, 86, 86, 86, 86, 86, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 672, 888, 672, 888, 888, 888, 672, 579, 888, 579, 674, 888, 674, 888, 888, 888, 674, 581, 888, 581, 676, 888, 676, 888, 888, 888, 676, 583, 888, 583, 678, 888, 678, 888, 888, 888, 678, 585, 888, 585, 680, 888, 680, 888, 888, 888, 680, 587, 888, 587, 682, 888, 682, 888, 888, 888, 682, 589, 888, 589, 684, 888, 684, 888, 888, 888, 684, 591, 888, 591, 86, 888, 86, 888, 888, 888, 86, 593, 888, 593, 492, 888, 492, 888, 888, 888, 492, 692, 888, 692, 888, 888, 888, 692, 607, 888, 607, 694, 888, 694, 888, 888, 888, 694, 609, 888, 609, 696, 888, 696, 888, 888, 888, 696, 611, 888, 611, 141, 888, 141, 888, 888, 888, 141, 613, 888, 613, 699, 888, 699, 615, 888, 615, 86, 888, 888, 86, 888, 86, 86, 86, 86, 86, 617, 888, 617, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 738, 888, 738, 888, 888, 888, 738, 672, 888, 672, 205, 888, 205, 888, 888, 888, 205, 674, 888, 674, 741, 888, 741, 676, 888, 676, 205, 888, 888, 205, 888, 205, 205, 205, 205, 205, 678, 888, 678, 742, 888, 742, 680, 888, 680, 682, 888, 682, 743, 888, 743, 684, 888, 684, 86, 888, 86, 745, 888, 745, 888, 888, 888, 745, 692, 888, 692, 270, 888, 270, 888, 888, 888, 270, 694, 888, 694, 748, 888, 748, 696, 888, 696, 141, 888, 141, 749, 888, 749, 888, 888, 888, 749, 86, 888, 888, 86, 888, 86, 86, 86, 86, 86, 782, 888, 782, 738, 888, 738, 205, 888, 205, 783, 888, 783, 888, 888, 888, 783, 785, 888, 785, 888, 888, 888, 785, 787, 888, 787, 888, 888, 888, 787, 789, 888, 789, 790, 888, 790, 888, 888, 888, 790, 792, 888, 792, 888, 888, 888, 792, 813, 888, 813, 888, 888, 888, 813, 815, 888, 815, 888, 888, 888, 815, 817, 888, 817, 888, 888, 888, 817, 819, 888, 819, 888, 888, 888, 819, 821, 888, 821, 888, 888, 888, 821, 823, 888, 823, 888, 888, 888, 823, 617, 888, 617, 888, 888, 888, 617, 842, 888, 842, 888, 888, 888, 842, 678, 888, 678, 888, 888, 888, 678, 682, 888, 682, 888, 888, 888, 682, 86, 888, 86, 888, 888, 888, 86, 847, 888, 847, 888, 888, 888, 847, 141, 888, 141, 888, 888, 888, 141, 205, 888, 205, 888, 888, 888, 205, 11, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888 } ; static yyconst flex_int16_t yy_chk[2903] = { 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, 33, 33, 20, 526, 9, 10, 526, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 37, 37, 42, 28, 27, 28, 28, 28, 28, 28, 28, 48, 887, 25, 29, 25, 27, 27, 27, 29, 56, 35, 39, 7, 8, 9, 10, 47, 42, 29, 30, 48, 30, 30, 30, 30, 30, 30, 35, 40, 35, 35, 56, 39, 40, 44, 886, 44, 47, 30, 47, 53, 64, 30, 73, 45, 45, 45, 49, 30, 30, 45, 45, 49, 45, 30, 61, 45, 45, 53, 49, 30, 45, 57, 108, 45, 49, 30, 878, 109, 73, 55, 57, 40, 61, 30, 40, 51, 30, 31, 54, 31, 31, 31, 31, 31, 31, 50, 108, 55, 54, 87, 51, 64, 51, 55, 50, 54, 31, 877, 50, 62, 31, 51, 109, 50, 52, 176, 31, 50, 59, 52, 114, 62, 31, 115, 127, 87, 127, 52, 31, 52, 59, 107, 52, 113, 31, 176, 52, 107, 59, 113, 874, 60, 31, 38, 114, 59, 60, 38, 38, 58, 38, 152, 38, 38, 128, 38, 128, 38, 115, 60, 143, 58, 58, 107, 154, 113, 38, 38, 38, 152, 130, 58, 130, 154, 58, 67, 67, 67, 67, 67, 67, 155, 133, 67, 133, 60, 143, 38, 60, 158, 38, 80, 80, 80, 80, 80, 80, 155, 68, 68, 160, 158, 60, 68, 82, 82, 82, 82, 82, 82, 83, 83, 83, 83, 83, 83, 160, 38, 38, 68, 68, 68, 68, 68, 68, 77, 77, 111, 628, 110, 77, 628, 77, 104, 104, 104, 104, 77, 103, 103, 103, 103, 103, 103, 116, 111, 77, 77, 77, 77, 135, 131, 135, 111, 162, 134, 134, 77, 134, 110, 132, 104, 116, 162, 110, 131, 104, 131, 169, 151, 116, 103, 132, 77, 132, 157, 77, 136, 136, 136, 873, 77, 77, 161, 151, 77, 77, 110, 138, 104, 138, 151, 140, 77, 140, 169, 77, 157, 77, 77, 77, 146, 77, 85, 309, 161, 146, 85, 85, 173, 309, 153, 85, 85, 156, 85, 105, 85, 105, 105, 105, 105, 105, 105, 173, 164, 85, 85, 85, 153, 164, 106, 156, 106, 163, 105, 106, 106, 106, 106, 106, 106, 166, 164, 165, 146, 167, 85, 168, 170, 85, 105, 166, 159, 172, 163, 163, 105, 159, 159, 159, 165, 159, 159, 177, 178, 159, 167, 159, 106, 170, 168, 174, 159, 159, 159, 172, 159, 85, 99, 99, 99, 99, 99, 99, 171, 175, 178, 180, 174, 171, 177, 181, 182, 183, 99, 99, 99, 182, 99, 99, 192, 185, 180, 175, 184, 206, 342, 171, 181, 180, 191, 99, 189, 186, 342, 184, 99, 99, 99, 185, 183, 99, 187, 99, 186, 184, 184, 187, 190, 191, 188, 206, 189, 190, 284, 193, 194, 195, 219, 284, 219, 186, 187, 188, 192, 871, 249, 192, 193, 194, 195, 194, 220, 285, 220, 190, 193, 198, 198, 198, 198, 198, 198, 199, 199, 198, 210, 210, 199, 201, 201, 210, 249, 285, 201, 203, 203, 221, 870, 221, 203, 224, 203, 224, 199, 199, 199, 199, 199, 199, 201, 201, 201, 201, 201, 201, 203, 203, 203, 203, 203, 203, 213, 213, 213, 213, 222, 223, 225, 225, 226, 225, 226, 227, 227, 227, 229, 283, 229, 223, 222, 223, 222, 230, 237, 230, 235, 235, 244, 461, 267, 236, 267, 236, 283, 213, 236, 236, 236, 236, 236, 236, 257, 238, 268, 238, 268, 237, 238, 235, 271, 242, 242, 242, 461, 242, 242, 246, 246, 246, 246, 246, 246, 244, 279, 238, 286, 238, 257, 236, 280, 286, 238, 242, 242, 242, 271, 279, 242, 863, 242, 245, 245, 245, 245, 245, 245, 248, 280, 248, 281, 282, 248, 248, 248, 248, 248, 248, 245, 256, 256, 256, 256, 256, 256, 254, 294, 282, 281, 287, 289, 294, 291, 290, 245, 363, 635, 363, 295, 635, 245, 247, 247, 247, 247, 247, 247, 295, 254, 287, 254, 290, 256, 289, 254, 292, 288, 247, 291, 247, 254, 247, 247, 261, 261, 261, 261, 261, 261, 296, 292, 288, 254, 293, 247, 297, 254, 288, 288, 247, 254, 247, 296, 298, 247, 300, 247, 301, 302, 293, 293, 303, 301, 304, 305, 306, 261, 302, 303, 307, 308, 298, 297, 300, 307, 308, 310, 313, 312, 311, 314, 315, 305, 304, 312, 316, 306, 306, 311, 314, 316, 319, 317, 313, 318, 310, 315, 317, 321, 318, 320, 323, 324, 325, 327, 328, 326, 329, 330, 332, 319, 321, 323, 333, 331, 334, 318, 324, 320, 326, 335, 336, 325, 331, 338, 330, 327, 329, 328, 339, 340, 332, 341, 338, 336, 343, 333, 334, 335, 344, 343, 402, 345, 345, 346, 341, 386, 345, 340, 345, 346, 364, 402, 364, 344, 353, 353, 353, 353, 354, 354, 354, 354, 371, 371, 371, 371, 371, 371, 373, 386, 373, 404, 339, 373, 373, 373, 373, 373, 373, 375, 375, 375, 375, 375, 375, 403, 404, 353, 372, 372, 372, 372, 372, 372, 376, 376, 376, 376, 376, 376, 707, 403, 418, 707, 372, 384, 372, 418, 372, 372, 381, 384, 375, 377, 377, 377, 377, 377, 377, 382, 381, 372, 388, 405, 383, 406, 372, 376, 372, 382, 407, 372, 409, 372, 406, 408, 381, 384, 411, 862, 388, 407, 405, 387, 408, 382, 377, 383, 388, 383, 420, 411, 413, 383, 409, 385, 420, 385, 410, 383, 385, 385, 385, 385, 385, 385, 387, 410, 387, 412, 414, 383, 387, 416, 413, 383, 422, 424, 387, 383, 415, 417, 421, 414, 431, 412, 419, 422, 423, 430, 387, 426, 424, 385, 387, 416, 415, 415, 387, 417, 428, 419, 432, 421, 433, 426, 431, 423, 419, 435, 430, 434, 428, 436, 438, 432, 440, 434, 441, 442, 443, 445, 436, 444, 435, 450, 446, 433, 448, 438, 451, 452, 455, 453, 442, 446, 440, 454, 444, 451, 441, 445, 443, 457, 459, 448, 456, 458, 450, 460, 462, 459, 452, 453, 455, 456, 460, 454, 463, 465, 458, 457, 464, 467, 468, 469, 463, 525, 861, 860, 465, 469, 462, 468, 492, 495, 463, 522, 525, 464, 478, 478, 478, 478, 492, 467, 489, 489, 489, 489, 489, 489, 491, 491, 491, 491, 491, 491, 516, 522, 492, 495, 489, 493, 489, 493, 489, 489, 493, 493, 493, 493, 493, 493, 496, 516, 524, 494, 532, 489, 565, 524, 520, 532, 489, 491, 489, 494, 565, 489, 527, 489, 498, 498, 498, 498, 498, 498, 517, 519, 496, 493, 520, 494, 499, 499, 499, 499, 499, 499, 527, 517, 535, 540, 519, 529, 856, 530, 540, 521, 499, 500, 499, 500, 499, 499, 500, 500, 500, 500, 500, 500, 521, 523, 529, 528, 531, 499, 530, 534, 533, 535, 499, 537, 499, 531, 523, 499, 536, 499, 528, 533, 534, 538, 539, 542, 545, 536, 543, 546, 547, 542, 548, 539, 551, 537, 552, 543, 550, 553, 538, 548, 555, 545, 546, 547, 561, 550, 552, 558, 556, 551, 559, 562, 553, 556, 563, 555, 558, 566, 567, 559, 568, 569, 570, 572, 562, 567, 561, 566, 570, 573, 575, 563, 572, 569, 666, 576, 620, 621, 852, 573, 849, 603, 568, 620, 666, 623, 621, 575, 576, 595, 595, 595, 595, 595, 595, 596, 596, 596, 596, 596, 596, 598, 623, 598, 603, 622, 598, 598, 598, 598, 598, 598, 601, 601, 601, 601, 601, 601, 622, 602, 602, 848, 595, 597, 597, 597, 597, 597, 597, 604, 619, 604, 624, 625, 604, 619, 629, 627, 626, 597, 625, 597, 602, 597, 597, 601, 626, 630, 619, 629, 631, 604, 632, 604, 627, 624, 597, 634, 604, 633, 636, 597, 637, 597, 639, 631, 597, 638, 597, 630, 641, 640, 642, 645, 632, 646, 633, 636, 643, 634, 640, 651, 638, 647, 639, 652, 654, 643, 641, 657, 637, 669, 647, 658, 642, 665, 645, 646, 657, 668, 658, 651, 703, 654, 665, 700, 669, 708, 668, 847, 708, 846, 652, 687, 687, 687, 687, 687, 687, 691, 691, 691, 691, 691, 691, 701, 700, 705, 703, 687, 704, 687, 705, 687, 687, 701, 709, 704, 711, 706, 713, 715, 712, 716, 711, 714, 687, 717, 714, 713, 717, 687, 691, 687, 709, 712, 687, 718, 687, 706, 719, 720, 715, 721, 720, 722, 718, 723, 724, 725, 726, 729, 716, 722, 733, 732, 721, 723, 734, 726, 736, 724, 737, 758, 762, 765, 719, 755, 736, 756, 725, 737, 757, 760, 729, 732, 733, 757, 758, 734, 744, 744, 744, 744, 744, 744, 756, 755, 759, 761, 762, 763, 764, 765, 763, 773, 760, 767, 759, 769, 767, 770, 769, 774, 771, 764, 761, 771, 770, 772, 773, 779, 772, 744, 794, 796, 798, 797, 799, 798, 800, 801, 804, 800, 801, 803, 774, 805, 807, 808, 805, 811, 808, 812, 779, 797, 796, 810, 827, 809, 799, 794, 809, 803, 828, 830, 810, 811, 804, 812, 807, 828, 829, 831, 830, 829, 833, 832, 836, 827, 832, 836, 839, 840, 851, 839, 841, 850, 864, 851, 854, 831, 840, 833, 855, 841, 850, 831, 853, 855, 854, 853, 857, 858, 859, 857, 858, 859, 864, 865, 866, 867, 868, 866, 869, 868, 872, 869, 875, 876, 879, 867, 880, 881, 865, 882, 883, 884, 845, 879, 885, 844, 843, 842, 876, 880, 838, 837, 872, 875, 885, 835, 834, 826, 883, 881, 882, 825, 824, 884, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 892, 823, 822, 892, 821, 892, 892, 892, 892, 892, 893, 820, 819, 818, 893, 893, 893, 893, 893, 893, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 895, 817, 816, 895, 815, 895, 895, 895, 895, 895, 896, 814, 896, 896, 813, 896, 896, 896, 896, 896, 896, 806, 896, 897, 802, 795, 897, 897, 897, 897, 897, 897, 897, 897, 793, 897, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 899, 899, 792, 899, 791, 790, 789, 899, 900, 788, 787, 900, 786, 900, 900, 900, 900, 900, 901, 785, 901, 784, 783, 782, 901, 902, 781, 902, 780, 778, 777, 902, 903, 776, 903, 775, 768, 766, 903, 904, 754, 904, 753, 752, 751, 904, 905, 750, 905, 749, 748, 747, 905, 906, 746, 906, 743, 742, 741, 906, 907, 735, 907, 731, 730, 728, 907, 908, 727, 908, 710, 702, 699, 908, 909, 694, 909, 692, 688, 678, 909, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 911, 674, 911, 912, 912, 672, 912, 912, 912, 670, 912, 913, 913, 667, 913, 914, 664, 914, 663, 662, 661, 914, 915, 660, 915, 659, 656, 655, 915, 916, 653, 916, 650, 649, 648, 916, 917, 644, 917, 918, 617, 918, 613, 611, 609, 918, 919, 607, 919, 920, 605, 599, 920, 593, 920, 920, 920, 920, 920, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 923, 591, 923, 589, 587, 585, 923, 924, 583, 924, 581, 579, 578, 924, 925, 577, 925, 574, 571, 564, 925, 926, 560, 926, 927, 557, 927, 554, 549, 544, 927, 928, 541, 928, 929, 518, 929, 514, 512, 510, 929, 930, 508, 930, 931, 506, 931, 504, 503, 502, 931, 932, 501, 932, 933, 490, 933, 487, 485, 484, 933, 934, 483, 934, 935, 481, 935, 479, 476, 474, 935, 936, 472, 936, 937, 470, 937, 466, 449, 447, 937, 938, 439, 938, 939, 437, 939, 429, 939, 427, 939, 940, 425, 940, 399, 940, 397, 940, 941, 941, 395, 941, 941, 941, 393, 941, 942, 392, 942, 391, 378, 368, 942, 943, 366, 943, 365, 361, 359, 943, 944, 357, 944, 355, 351, 349, 944, 945, 348, 945, 946, 347, 946, 337, 322, 299, 946, 947, 278, 947, 948, 276, 948, 274, 273, 272, 948, 949, 270, 949, 950, 269, 950, 264, 260, 259, 950, 951, 255, 951, 952, 252, 251, 952, 240, 952, 952, 952, 952, 952, 953, 953, 953, 953, 953, 953, 953, 953, 953, 953, 953, 953, 953, 954, 239, 954, 232, 231, 228, 954, 955, 218, 955, 956, 216, 956, 215, 214, 208, 956, 957, 207, 957, 958, 205, 958, 200, 179, 150, 958, 959, 148, 959, 960, 147, 960, 141, 139, 137, 960, 961, 129, 961, 962, 126, 962, 125, 121, 101, 962, 963, 98, 963, 964, 95, 964, 93, 86, 72, 964, 965, 70, 965, 966, 66, 966, 36, 18, 11, 966, 967, 4, 967, 3, 0, 0, 967, 968, 0, 968, 969, 0, 969, 0, 0, 0, 969, 970, 0, 970, 971, 0, 971, 0, 971, 0, 971, 972, 0, 972, 0, 0, 0, 972, 973, 0, 973, 0, 0, 0, 973, 974, 0, 974, 975, 0, 975, 0, 0, 0, 975, 976, 0, 976, 977, 0, 977, 0, 0, 0, 977, 978, 0, 978, 979, 0, 979, 0, 0, 0, 979, 980, 0, 980, 981, 0, 981, 0, 0, 0, 981, 982, 0, 982, 983, 0, 983, 0, 0, 0, 983, 984, 0, 984, 985, 0, 0, 985, 0, 985, 985, 985, 985, 985, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 987, 0, 987, 0, 0, 0, 987, 988, 0, 988, 989, 0, 989, 0, 0, 0, 989, 990, 0, 990, 991, 0, 991, 0, 0, 0, 991, 992, 0, 992, 993, 0, 993, 0, 0, 0, 993, 994, 0, 994, 995, 0, 995, 0, 0, 0, 995, 996, 0, 996, 997, 0, 997, 0, 0, 0, 997, 998, 0, 998, 999, 0, 999, 0, 0, 0, 999, 1000, 0, 1000, 1001, 0, 1001, 0, 0, 0, 1001, 1002, 0, 1002, 1003, 0, 1003, 0, 0, 0, 1003, 1004, 0, 1004, 0, 0, 0, 1004, 1005, 0, 1005, 1006, 0, 1006, 0, 0, 0, 1006, 1007, 0, 1007, 1008, 0, 1008, 0, 0, 0, 1008, 1009, 0, 1009, 1010, 0, 1010, 0, 0, 0, 1010, 1011, 0, 1011, 1012, 0, 1012, 1013, 0, 1013, 1014, 0, 0, 1014, 0, 1014, 1014, 1014, 1014, 1014, 1015, 0, 1015, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1016, 1017, 0, 1017, 0, 0, 0, 1017, 1018, 0, 1018, 1019, 0, 1019, 0, 0, 0, 1019, 1020, 0, 1020, 1021, 0, 1021, 1022, 0, 1022, 1023, 0, 0, 1023, 0, 1023, 1023, 1023, 1023, 1023, 1024, 0, 1024, 1025, 0, 1025, 1026, 0, 1026, 1027, 0, 1027, 1028, 0, 1028, 1029, 0, 1029, 1030, 0, 1030, 1031, 0, 1031, 0, 0, 0, 1031, 1032, 0, 1032, 1033, 0, 1033, 0, 0, 0, 1033, 1034, 0, 1034, 1035, 0, 1035, 1036, 0, 1036, 1037, 0, 1037, 1038, 0, 1038, 0, 0, 0, 1038, 1039, 0, 0, 1039, 0, 1039, 1039, 1039, 1039, 1039, 1040, 0, 1040, 1041, 0, 1041, 1042, 0, 1042, 1043, 0, 1043, 0, 0, 0, 1043, 1044, 0, 1044, 0, 0, 0, 1044, 1045, 0, 1045, 0, 0, 0, 1045, 1046, 0, 1046, 1047, 0, 1047, 0, 0, 0, 1047, 1048, 0, 1048, 0, 0, 0, 1048, 1049, 0, 1049, 0, 0, 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, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888 } ; /* 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, 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, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.ll" /* * Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo * * The contents of this file are covered under the licence agreement in the * file "LICENCE" distributed with Cforall. * * lex.l -- * * Author : Peter A. Buhr * Created On : Sat Sep 22 08:58:10 2001 * Last Modified By : Peter A. Buhr * Last Modified On : Mon Jun 6 18:08:27 2016 * Update Count : 451 */ #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 int j = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[j] = yytext[i]; j += 1; } // if } // for yyleng = j; yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // GCC: D (double), 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 // operators #line 1531 "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 139 "lex.ll" /* line directives */ #line 1726 "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 >= 889 ) 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] != 2817 ); 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 141 "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 164 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 167 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 168 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 169 "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 172 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 175 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 176 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 177 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 36: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 37: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 38: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 39: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 40: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 41: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 42: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 43: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 44: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 45: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 46: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 47: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 49: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 50: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 51: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 52: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 53: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 54: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 55: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 56: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 57: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 58: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 59: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 61: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 62: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 64: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 65: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 67: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 68: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 69: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 70: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(OTYPE); } // CFA YY_BREAK case 71: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 72: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 73: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 76: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 77: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 78: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 79: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 80: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 81: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 82: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 83: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 84: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 85: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 86: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 87: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 88: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TRAIT); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 91: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 92: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 95: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 96: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(VALIST); } // GCC YY_BREAK case 97: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 98: YY_RULE_SETUP #line 268 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 99: YY_RULE_SETUP #line 269 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 100: YY_RULE_SETUP #line 270 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 101: YY_RULE_SETUP #line 271 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 102: YY_RULE_SETUP #line 274 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 103: YY_RULE_SETUP #line 275 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 104: YY_RULE_SETUP #line 276 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 105: YY_RULE_SETUP #line 277 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 106: YY_RULE_SETUP #line 278 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 107: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 108: YY_RULE_SETUP #line 282 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 109: YY_RULE_SETUP #line 283 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 110: YY_RULE_SETUP #line 284 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 111: YY_RULE_SETUP #line 285 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 112: YY_RULE_SETUP #line 286 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 113: YY_RULE_SETUP #line 287 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 114: YY_RULE_SETUP #line 290 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 115: YY_RULE_SETUP #line 291 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 116: /* rule 116 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 117: YY_RULE_SETUP #line 296 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 118: YY_RULE_SETUP #line 297 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 119: /* rule 119 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 120: YY_RULE_SETUP #line 302 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 121: /* rule 121 can match eol */ YY_RULE_SETUP #line 303 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 122: YY_RULE_SETUP #line 304 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 123: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 125: YY_RULE_SETUP #line 309 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 126: YY_RULE_SETUP #line 310 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 127: YY_RULE_SETUP #line 311 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 128: YY_RULE_SETUP #line 312 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 129: YY_RULE_SETUP #line 313 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 130: YY_RULE_SETUP #line 314 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 131: YY_RULE_SETUP #line 315 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 316 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 133: YY_RULE_SETUP #line 317 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 134: YY_RULE_SETUP #line 320 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 135: YY_RULE_SETUP #line 321 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 136: YY_RULE_SETUP #line 322 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 137: YY_RULE_SETUP #line 323 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 138: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 332 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 333 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 146: YY_RULE_SETUP #line 334 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 147: YY_RULE_SETUP #line 335 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 148: YY_RULE_SETUP #line 336 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 149: YY_RULE_SETUP #line 337 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 150: YY_RULE_SETUP #line 338 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 151: YY_RULE_SETUP #line 339 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 152: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 153: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 154: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 155: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 156: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 157: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 158: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 159: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 160: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 161: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 162: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 163: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 164: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 165: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 166: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 167: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 168: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 169: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 170: YY_RULE_SETUP #line 359 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 171: YY_RULE_SETUP #line 360 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 172: YY_RULE_SETUP #line 361 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 173: YY_RULE_SETUP #line 363 "lex.ll" { NAMEDOP_RETURN(ATassign); } YY_BREAK case 174: YY_RULE_SETUP #line 364 "lex.ll" { NAMEDOP_RETURN(REFassign); } YY_BREAK /* CFA, operator identifier */ case 175: YY_RULE_SETUP #line 367 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 176: YY_RULE_SETUP #line 368 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 177: YY_RULE_SETUP #line 369 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 178: YY_RULE_SETUP #line 370 "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 397 "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 409 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 181: YY_RULE_SETUP #line 411 "lex.ll" ECHO; YY_BREAK #line 2805 "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 >= 889 ) 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 >= 889 ) 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 == 888); 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 411 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //