#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 171 #define YY_END_OF_BUFFER 172 /* 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[826] = { 0, 0, 0, 0, 0, 0, 0, 108, 108, 111, 111, 172, 170, 7, 9, 8, 131, 110, 95, 136, 139, 107, 118, 119, 134, 132, 122, 133, 125, 135, 100, 101, 102, 123, 124, 141, 143, 142, 144, 170, 95, 116, 170, 117, 137, 95, 97, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 120, 140, 121, 138, 7, 170, 4, 4, 171, 98, 171, 99, 108, 109, 115, 111, 112, 7, 9, 0, 8, 148, 166, 95, 0, 160, 130, 153, 161, 158, 145, 156, 146, 157, 155, 0, 105, 3, 0, 159, 105, 103, 0, 0, 103, 103, 0, 0, 103, 102, 102, 102, 0, 102, 128, 129, 127, 149, 151, 147, 152, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 0, 110, 107, 95, 0, 0, 163, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 36, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 53, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 162, 154, 7, 0, 0, 0, 2, 0, 5, 98, 0, 0, 0, 108, 0, 114, 113, 113, 0, 0, 0, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 126, 105, 0, 105, 0, 0, 6, 0, 103, 0, 0, 0, 105, 0, 103, 103, 103, 103, 0, 104, 0, 0, 102, 102, 102, 102, 0, 164, 165, 0, 168, 167, 0, 0, 0, 96, 0, 0, 0, 0, 0, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 14, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 47, 95, 95, 95, 60, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 82, 95, 95, 95, 95, 95, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 113, 0, 0, 169, 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, 0, 0, 105, 0, 103, 103, 0, 0, 104, 104, 0, 104, 0, 104, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 20, 95, 23, 95, 25, 95, 95, 95, 95, 95, 95, 39, 40, 95, 95, 95, 95, 95, 95, 95, 52, 95, 63, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 83, 95, 95, 90, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 105, 0, 0, 0, 0, 0, 0, 104, 104, 0, 106, 0, 104, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 21, 95, 95, 95, 95, 95, 95, 95, 15, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 22, 24, 95, 30, 95, 95, 95, 95, 38, 95, 95, 95, 45, 95, 95, 50, 95, 95, 95, 95, 95, 71, 95, 95, 95, 95, 95, 81, 95, 95, 88, 95, 95, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 0, 0, 104, 106, 106, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 55, 95, 95, 95, 95, 95, 95, 95, 26, 95, 95, 95, 37, 42, 95, 95, 48, 95, 57, 64, 95, 95, 70, 72, 75, 76, 78, 79, 95, 85, 95, 95, 0, 1, 0, 0, 0, 0, 0, 0, 98, 0, 0, 0, 113, 0, 0, 0, 0, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 17, 95, 95, 95, 95, 95, 95, 95, 16, 95, 95, 31, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 33, 95, 35, 95, 44, 49, 95, 95, 84, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 27, 51, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 56, 58, 61, 95, 95, 73, 86, 95, 34, 43, 66, 67, 89, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 65, 95, 95, 12, 95, 28, 32, 95, 95, 95, 62, 95, 95, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 95, 95, 95, 95, 95, 95, 46, 59, 68, 74, 87, 92, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 13, 18, 29, 95, 95, 95, 0, 0, 95, 95, 95, 95, 69, 93, 95, 80, 19, 41, 77, 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, 11, 47, 48, 49, 11, 11, 50, 11, 11, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 11, 66, 67, 68, 69, 70, 71, 11, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[85] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 8, 8, 8, 8, 8, 8, 4, 4, 9, 4, 10, 4, 4, 9, 4, 1, 11, 1, 1, 12, 1, 8, 8, 8, 8, 8, 8, 4, 4, 4, 4, 9, 4, 4, 4, 10, 4, 4, 4, 9, 4, 4, 4, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[999] = { 0, 0, 83, 2266, 2265, 93, 0, 175, 176, 177, 178, 2281, 2568, 189, 2568, 195, 54, 2568, 2223, 59, 171, 2568, 2568, 2568, 55, 186, 2568, 189, 187, 202, 214, 272, 0, 2241, 2568, 214, 2241, 150, 340, 2215, 222, 2568, 157, 2568, 2234, 277, 2568, 192, 133, 196, 198, 204, 271, 155, 218, 181, 200, 266, 238, 337, 224, 227, 2568, 223, 2568, 2231, 372, 400, 2568, 2237, 2568, 2206, 213, 2568, 0, 2568, 427, 0, 2568, 363, 2568, 381, 393, 2568, 498, 2205, 229, 2568, 2568, 2568, 2568, 2568, 2217, 2568, 2216, 2568, 2568, 2228, 558, 2568, 2240, 2568, 603, 385, 443, 419, 259, 239, 280, 399, 406, 0, 305, 240, 335, 411, 2568, 2568, 2568, 2210, 2568, 2568, 2568, 2209, 2188, 215, 277, 2203, 310, 383, 384, 327, 425, 380, 399, 2180, 448, 2130, 458, 2160, 288, 2568, 2568, 486, 2151, 2150, 2568, 420, 423, 439, 456, 445, 455, 460, 329, 483, 469, 462, 467, 480, 494, 396, 471, 472, 487, 470, 513, 489, 506, 508, 509, 386, 510, 516, 2152, 520, 522, 518, 541, 526, 543, 540, 551, 549, 553, 565, 598, 572, 581, 557, 2568, 2568, 669, 659, 2195, 686, 2568, 692, 2568, 2145, 559, 2141, 2135, 0, 649, 2568, 2568, 679, 2134, 2133, 2127, 0, 2149, 535, 606, 607, 674, 635, 625, 646, 664, 689, 2146, 692, 693, 2119, 2118, 2568, 712, 723, 2568, 2117, 2165, 2568, 714, 0, 555, 705, 759, 765, 776, 593, 2568, 2123, 2099, 0, 784, 2141, 787, 632, 2568, 2116, 2087, 798, 2568, 2568, 2119, 2568, 2568, 710, 725, 2099, 2094, 720, 2090, 2089, 2085, 0, 2084, 0, 712, 548, 710, 766, 767, 597, 745, 711, 777, 764, 788, 720, 783, 792, 713, 639, 789, 611, 793, 2086, 794, 791, 795, 810, 800, 805, 813, 814, 361, 818, 815, 816, 821, 825, 822, 826, 828, 829, 836, 838, 2080, 841, 842, 843, 839, 844, 845, 846, 849, 847, 853, 855, 860, 2079, 859, 905, 864, 866, 872, 870, 871, 933, 930, 2075, 2069, 2068, 0, 2067, 0, 920, 924, 2061, 0, 2060, 0, 2059, 0, 2074, 2568, 919, 920, 2054, 2051, 0, 2045, 0, 935, 941, 953, 963, 974, 986, 996, 2568, 2568, 960, 961, 1013, 989, 1047, 926, 1045, 968, 2568, 2568, 2044, 2043, 2037, 0, 2036, 0, 2035, 0, 2014, 0, 874, 873, 987, 903, 931, 932, 984, 920, 994, 995, 974, 976, 1009, 1024, 1017, 992, 1029, 1027, 952, 1030, 1034, 1040, 2016, 1031, 2011, 1047, 2010, 1049, 1043, 1054, 1038, 1056, 1057, 2009, 2003, 1052, 1058, 1062, 1069, 1073, 1074, 1075, 2002, 1076, 2001, 1078, 1079, 1082, 1083, 1085, 1081, 1086, 1092, 1089, 1099, 583, 1108, 1095, 1087, 1995, 1097, 1109, 1160, 1991, 0, 1990, 0, 1984, 0, 1983, 0, 1149, 1982, 0, 1978, 0, 1977, 1976, 1972, 0, 1971, 0, 1156, 1162, 1207, 1121, 1218, 1149, 1120, 1144, 2568, 1224, 1230, 1241, 1981, 1954, 1959, 1957, 0, 1953, 0, 1951, 0, 1945, 0, 1944, 0, 1943, 0, 1125, 1144, 1940, 1146, 1149, 1147, 1153, 1150, 1218, 1162, 1110, 1156, 1155, 1164, 1211, 1224, 1225, 1226, 164, 1228, 1208, 1170, 1232, 1238, 1939, 1938, 1235, 1932, 1227, 1231, 1234, 1242, 1931, 1246, 1247, 1250, 1930, 1252, 1255, 1924, 1257, 1261, 1254, 1256, 1258, 1923, 1264, 709, 1271, 1262, 1268, 1922, 1273, 1277, 1916, 1274, 1279, 1915, 1963, 1905, 0, 1904, 0, 1903, 0, 1897, 0, 1896, 0, 1895, 0, 1891, 0, 1890, 0, 1322, 1328, 1334, 1345, 1889, 2568, 1356, 2568, 1380, 2568, 1885, 0, 1884, 0, 1883, 0, 1850, 0, 0, 0, 1852, 0, 1342, 1281, 1315, 1322, 1333, 1289, 1283, 1338, 1340, 1336, 1361, 1343, 1341, 1362, 1364, 1365, 1367, 1397, 1373, 1314, 1376, 1375, 1377, 1847, 1378, 1380, 1382, 1846, 1845, 1381, 1387, 1839, 1389, 1838, 1837, 1396, 1391, 1833, 1832, 1831, 1827, 1826, 1825, 1392, 1818, 1407, 1394, 1846, 2568, 1793, 0, 1792, 0, 0, 0, 1791, 0, 0, 0, 2568, 0, 0, 0, 0, 1446, 1452, 1497, 1787, 0, 1786, 0, 0, 0, 0, 1782, 1408, 1430, 1784, 1410, 1432, 1437, 1411, 1412, 1443, 1433, 1783, 1447, 1445, 1457, 1413, 1476, 1463, 1450, 1477, 1475, 1474, 1480, 1479, 1481, 1779, 1482, 1778, 1483, 1777, 1773, 1464, 1485, 1772, 1490, 1486, 0, 0, 1768, 1764, 1763, 1762, 1537, 0, 1758, 1757, 1756, 1752, 1751, 1753, 1749, 1748, 1747, 1496, 1497, 1499, 1502, 1493, 1492, 1501, 1518, 1519, 1547, 1738, 1522, 1737, 1523, 1458, 1528, 1530, 1524, 1734, 1733, 1732, 1715, 1707, 1706, 1700, 1694, 1691, 1683, 1682, 1663, 1662, 1661, 1653, 1652, 1613, 1612, 1529, 1614, 1534, 1535, 1538, 1536, 1542, 1613, 1543, 1562, 1546, 1612, 1544, 1548, 1554, 1550, 1608, 1607, 1606, 1605, 1604, 1603, 1602, 1601, 1600, 1598, 1597, 1567, 1566, 1505, 1552, 1560, 1565, 1563, 1571, 1564, 1286, 1285, 1575, 1188, 1158, 1576, 1001, 997, 950, 901, 753, 752, 642, 556, 1577, 1580, 519, 1584, 475, 1588, 1589, 1590, 471, 407, 1582, 1583, 1594, 1596, 353, 298, 1595, 274, 234, 233, 165, 2568, 1669, 1681, 1693, 1702, 1711, 1723, 1732, 1744, 1756, 1768, 1775, 1784, 1790, 1796, 1802, 1808, 1814, 1820, 1826, 1832, 1838, 1850, 1856, 1859, 1866, 1868, 1874, 1880, 1886, 1888, 1894, 1899, 1911, 1923, 1929, 1935, 1941, 1947, 1949, 1955, 1957, 1963, 1965, 1971, 1973, 1979, 1981, 1987, 1989, 1995, 1997, 2003, 2010, 2016, 2022, 2028, 2034, 2036, 2042, 2044, 2050, 2052, 2058, 2063, 2075, 2081, 2087, 2089, 2095, 2097, 2103, 2105, 2111, 2113, 2119, 2121, 2127, 2129, 2135, 2141, 2143, 2149, 2151, 2157, 2163, 2169, 2171, 2177, 2179, 2185, 2187, 2193, 2195, 2201, 2203, 2209, 2214, 2226, 2232, 2238, 2240, 2246, 2248, 2254, 2256, 2262, 2264, 2270, 2272, 2278, 2280, 2286, 2288, 2294, 2296, 2302, 2308, 2310, 2316, 2318, 2324, 2326, 2332, 2334, 2336, 2341, 2347, 2355, 2361, 2367, 2369, 2375, 2377, 2379, 2384, 2390, 2392, 2394, 2396, 2398, 2400, 2402, 2404, 2410, 2412, 2418, 2420, 2422, 2424, 2426, 2435, 2441, 2443, 2445, 2451, 2457, 2463, 2465, 2471, 2477, 2483, 2489, 2495, 2501, 2507, 2513, 2519, 2525, 2531, 2537, 2543, 2549, 2555 } ; static yyconst flex_int16_t yy_def[999] = { 0, 825, 1, 826, 826, 825, 5, 827, 827, 828, 828, 825, 825, 825, 825, 825, 825, 825, 829, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 31, 825, 825, 825, 825, 825, 825, 830, 829, 825, 825, 825, 825, 829, 825, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 825, 825, 825, 825, 825, 831, 825, 825, 825, 832, 825, 825, 833, 825, 825, 834, 825, 825, 825, 825, 825, 825, 825, 829, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 835, 825, 825, 30, 825, 825, 825, 825, 836, 30, 825, 31, 825, 825, 31, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 837, 825, 825, 825, 829, 838, 839, 825, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, 825, 825, 825, 831, 831, 831, 825, 831, 825, 832, 825, 840, 841, 833, 825, 825, 825, 825, 842, 843, 844, 834, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 845, 846, 825, 825, 825, 825, 228, 847, 825, 825, 103, 103, 825, 825, 825, 825, 825, 825, 825, 825, 848, 849, 850, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 837, 825, 851, 852, 853, 854, 855, 856, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 858, 859, 860, 861, 862, 863, 864, 865, 825, 825, 866, 867, 868, 869, 870, 871, 825, 825, 825, 825, 825, 872, 873, 874, 875, 825, 825, 825, 825, 825, 825, 825, 825, 825, 876, 877, 878, 825, 825, 825, 878, 825, 825, 825, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 825, 899, 900, 901, 902, 903, 903, 904, 905, 906, 907, 825, 825, 825, 908, 825, 908, 825, 825, 825, 825, 825, 825, 825, 825, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 825, 825, 825, 825, 940, 825, 825, 825, 825, 825, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 953, 825, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 825, 964, 965, 966, 967, 825, 825, 825, 968, 969, 970, 971, 972, 973, 974, 975, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 977, 978, 956, 979, 980, 981, 825, 982, 968, 970, 983, 984, 975, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 985, 986, 979, 987, 980, 988, 981, 989, 990, 983, 991, 984, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 992, 985, 993, 986, 994, 987, 995, 988, 996, 989, 997, 990, 991, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 998, 992, 993, 994, 995, 970, 996, 997, 976, 976, 976, 976, 976, 976, 976, 976, 998, 970, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 976, 0, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825 } ; static yyconst flex_int16_t yy_nxt[2653] = { 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, 40, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 18, 18, 56, 57, 58, 59, 60, 61, 18, 18, 18, 62, 63, 64, 65, 66, 83, 91, 84, 84, 66, 87, 88, 67, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 72, 70, 70, 71, 73, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 70, 70, 70, 75, 75, 78, 78, 122, 123, 89, 86, 78, 78, 608, 75, 75, 79, 80, 81, 81, 81, 79, 81, 80, 82, 82, 82, 81, 90, 92, 158, 144, 86, 97, 94, 98, 98, 98, 98, 98, 98, 86, 86, 93, 99, 84, 95, 96, 84, 100, 173, 117, 76, 76, 76, 76, 141, 145, 86, 101, 102, 142, 103, 103, 103, 103, 104, 104, 118, 86, 119, 120, 256, 86, 257, 86, 176, 86, 159, 105, 190, 86, 177, 106, 162, 160, 178, 201, 107, 108, 156, 161, 157, 163, 109, 86, 165, 164, 166, 86, 105, 86, 143, 225, 86, 174, 110, 167, 243, 251, 86, 86, 175, 202, 107, 86, 189, 108, 102, 188, 111, 111, 111, 111, 111, 111, 245, 183, 241, 226, 191, 244, 252, 242, 256, 184, 257, 105, 147, 148, 149, 112, 185, 86, 150, 151, 113, 152, 86, 153, 154, 86, 114, 168, 86, 179, 180, 155, 105, 242, 247, 169, 264, 170, 115, 181, 171, 256, 182, 257, 172, 141, 113, 124, 249, 86, 142, 125, 126, 250, 127, 825, 128, 129, 256, 130, 257, 131, 265, 186, 79, 80, 81, 81, 81, 79, 132, 133, 134, 192, 80, 81, 81, 81, 192, 250, 86, 193, 81, 80, 81, 81, 81, 81, 86, 253, 135, 143, 278, 136, 81, 80, 82, 82, 82, 81, 258, 195, 196, 258, 86, 187, 195, 235, 235, 235, 235, 256, 86, 257, 256, 256, 257, 257, 416, 825, 137, 138, 197, 197, 197, 197, 197, 197, 204, 205, 256, 260, 257, 204, 825, 206, 238, 86, 238, 236, 206, 239, 239, 239, 239, 239, 239, 86, 825, 207, 207, 207, 207, 248, 242, 259, 256, 306, 257, 250, 206, 825, 825, 102, 296, 104, 104, 104, 104, 104, 104, 86, 241, 240, 86, 208, 825, 249, 206, 256, 242, 257, 105, 206, 206, 250, 270, 206, 206, 256, 86, 257, 272, 271, 141, 206, 86, 237, 206, 142, 206, 209, 206, 105, 210, 212, 86, 86, 273, 213, 214, 86, 275, 86, 215, 216, 274, 217, 86, 218, 86, 86, 86, 86, 276, 825, 86, 291, 219, 220, 221, 86, 297, 277, 86, 290, 289, 86, 86, 279, 86, 280, 300, 281, 282, 86, 298, 283, 222, 284, 294, 223, 292, 293, 285, 286, 287, 86, 288, 86, 86, 86, 302, 295, 86, 299, 347, 86, 348, 86, 86, 86, 303, 86, 312, 825, 304, 86, 305, 224, 228, 228, 228, 228, 228, 228, 309, 301, 307, 308, 311, 86, 86, 310, 86, 316, 319, 229, 230, 86, 86, 230, 86, 313, 86, 317, 141, 333, 86, 360, 825, 320, 231, 314, 315, 321, 86, 386, 229, 230, 322, 330, 318, 86, 230, 98, 98, 98, 98, 98, 98, 323, 86, 334, 86, 324, 326, 347, 347, 348, 348, 363, 229, 230, 327, 328, 230, 329, 86, 86, 204, 205, 325, 390, 348, 204, 347, 234, 348, 545, 195, 196, 86, 229, 230, 195, 347, 363, 348, 230, 192, 80, 81, 81, 81, 192, 349, 347, 193, 348, 373, 197, 197, 197, 197, 197, 197, 195, 196, 405, 86, 348, 195, 331, 196, 347, 825, 348, 331, 403, 332, 339, 339, 339, 339, 347, 373, 348, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 347, 350, 348, 347, 347, 348, 348, 104, 104, 104, 104, 104, 104, 340, 228, 228, 228, 228, 228, 228, 356, 256, 356, 257, 105, 357, 357, 357, 357, 357, 357, 229, 230, 229, 230, 230, 256, 230, 257, 248, 86, 86, 86, 86, 86, 105, 231, 392, 375, 402, 630, 86, 229, 230, 229, 230, 385, 358, 230, 387, 230, 239, 239, 239, 239, 239, 239, 361, 361, 361, 361, 361, 361, 238, 376, 238, 86, 398, 239, 239, 239, 239, 239, 239, 366, 230, 813, 825, 230, 104, 104, 104, 104, 104, 104, 86, 391, 86, 86, 362, 111, 111, 111, 111, 111, 111, 230, 368, 86, 369, 394, 230, 370, 388, 86, 389, 395, 396, 371, 86, 86, 248, 86, 86, 86, 86, 86, 408, 393, 399, 372, 86, 253, 404, 369, 409, 86, 397, 370, 400, 401, 86, 406, 407, 86, 86, 86, 86, 410, 86, 415, 411, 86, 86, 412, 418, 86, 86, 422, 86, 86, 420, 423, 419, 424, 413, 414, 86, 417, 86, 86, 421, 86, 86, 86, 86, 86, 86, 86, 426, 86, 425, 428, 429, 86, 427, 86, 431, 430, 436, 86, 86, 432, 141, 435, 86, 434, 86, 433, 441, 437, 86, 86, 86, 86, 86, 445, 438, 439, 440, 443, 444, 196, 442, 331, 196, 494, 446, 194, 331, 495, 332, 206, 206, 206, 206, 339, 339, 339, 339, 347, 347, 348, 348, 86, 825, 86, 357, 357, 357, 357, 357, 357, 467, 467, 467, 467, 467, 467, 479, 356, 86, 356, 497, 456, 357, 357, 357, 357, 357, 357, 230, 86, 86, 230, 228, 228, 228, 228, 228, 228, 498, 480, 501, 499, 468, 235, 235, 235, 235, 104, 104, 230, 86, 825, 471, 471, 230, 361, 361, 361, 361, 361, 361, 472, 473, 475, 359, 361, 361, 361, 361, 361, 361, 514, 86, 230, 86, 360, 230, 471, 471, 474, 366, 474, 86, 230, 475, 86, 230, 362, 504, 475, 86, 500, 86, 86, 230, 510, 505, 469, 825, 230, 496, 502, 812, 368, 230, 369, 503, 86, 370, 230, 475, 476, 825, 476, 371, 86, 477, 477, 477, 477, 477, 477, 86, 506, 507, 86, 372, 86, 86, 86, 369, 513, 86, 509, 370, 368, 86, 369, 86, 515, 370, 86, 511, 518, 508, 86, 481, 86, 478, 512, 86, 516, 86, 517, 86, 86, 86, 519, 372, 524, 86, 522, 369, 521, 526, 523, 370, 86, 520, 525, 527, 86, 86, 86, 86, 529, 86, 86, 528, 86, 86, 86, 533, 86, 86, 86, 531, 86, 540, 530, 86, 534, 532, 86, 543, 86, 549, 86, 536, 535, 537, 538, 541, 542, 544, 539, 86, 86, 86, 196, 548, 600, 471, 471, 546, 552, 551, 550, 206, 206, 206, 206, 472, 86, 547, 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, 471, 471, 574, 591, 471, 86, 230, 86, 86, 230, 86, 86, 230, 573, 86, 230, 86, 86, 592, 86, 468, 595, 593, 86, 597, 86, 569, 230, 574, 471, 594, 86, 230, 230, 599, 602, 596, 601, 230, 361, 361, 361, 361, 361, 361, 570, 603, 570, 611, 86, 571, 571, 571, 571, 571, 571, 477, 477, 477, 477, 477, 477, 575, 575, 575, 575, 575, 575, 476, 86, 476, 469, 86, 477, 477, 477, 477, 477, 477, 86, 576, 604, 572, 576, 598, 86, 86, 86, 86, 86, 605, 610, 86, 86, 577, 86, 86, 606, 609, 86, 607, 576, 612, 86, 613, 614, 576, 86, 86, 616, 617, 86, 618, 86, 615, 86, 86, 86, 86, 86, 620, 623, 86, 86, 619, 86, 621, 624, 622, 86, 627, 625, 86, 629, 86, 86, 628, 626, 86, 631, 86, 633, 86, 634, 86, 632, 86, 86, 635, 668, 86, 673, 636, 637, 467, 467, 467, 467, 467, 467, 571, 571, 571, 571, 571, 571, 655, 655, 655, 655, 655, 655, 570, 672, 570, 86, 86, 571, 571, 571, 571, 571, 571, 86, 576, 669, 569, 576, 575, 575, 575, 575, 575, 575, 86, 686, 670, 86, 656, 86, 676, 86, 86, 86, 86, 576, 576, 674, 666, 576, 576, 671, 575, 575, 575, 575, 575, 575, 675, 678, 577, 667, 86, 86, 679, 86, 86, 576, 86, 682, 576, 684, 576, 576, 86, 677, 86, 86, 86, 86, 680, 86, 86, 86, 657, 683, 687, 681, 86, 685, 86, 576, 86, 86, 688, 86, 576, 86, 86, 697, 689, 690, 693, 698, 691, 692, 696, 695, 86, 86, 700, 86, 86, 86, 86, 694, 720, 699, 655, 655, 655, 655, 655, 655, 655, 655, 655, 655, 655, 655, 714, 86, 719, 86, 86, 726, 576, 716, 86, 576, 717, 715, 576, 718, 86, 576, 86, 721, 86, 727, 656, 86, 722, 730, 723, 724, 707, 576, 86, 86, 729, 725, 576, 576, 86, 86, 766, 728, 576, 575, 575, 575, 575, 575, 575, 86, 86, 86, 86, 731, 86, 86, 86, 86, 86, 738, 86, 86, 732, 733, 734, 86, 736, 86, 86, 735, 741, 86, 86, 740, 86, 657, 86, 86, 758, 756, 86, 737, 739, 655, 655, 655, 655, 655, 655, 755, 759, 754, 757, 86, 86, 763, 761, 86, 86, 86, 764, 765, 760, 86, 86, 86, 767, 762, 768, 86, 86, 86, 790, 86, 769, 707, 786, 86, 86, 86, 788, 86, 86, 86, 791, 86, 793, 86, 785, 86, 784, 783, 794, 787, 795, 86, 789, 86, 86, 86, 86, 792, 805, 806, 825, 825, 86, 807, 804, 808, 86, 86, 86, 810, 811, 86, 809, 86, 86, 86, 815, 814, 816, 86, 86, 86, 817, 818, 819, 86, 86, 86, 822, 821, 823, 803, 825, 820, 802, 825, 800, 825, 799, 825, 798, 825, 797, 86, 86, 86, 825, 782, 824, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 85, 825, 781, 85, 85, 85, 85, 85, 85, 139, 779, 825, 777, 139, 139, 139, 139, 139, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 199, 825, 775, 199, 199, 199, 199, 199, 199, 203, 825, 203, 203, 773, 203, 203, 203, 203, 203, 771, 203, 211, 86, 86, 211, 211, 211, 211, 211, 211, 211, 86, 211, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 246, 246, 246, 86, 86, 86, 246, 262, 86, 86, 262, 262, 262, 262, 262, 262, 266, 266, 86, 86, 86, 266, 268, 268, 86, 825, 753, 268, 335, 335, 751, 825, 825, 335, 337, 337, 748, 746, 744, 337, 341, 341, 825, 86, 86, 341, 343, 343, 86, 86, 86, 343, 345, 345, 86, 86, 713, 345, 352, 352, 710, 709, 200, 352, 354, 354, 703, 702, 639, 354, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 365, 365, 367, 367, 367, 367, 367, 86, 367, 246, 246, 246, 377, 377, 86, 86, 86, 377, 379, 379, 86, 86, 86, 379, 381, 381, 86, 86, 86, 381, 266, 266, 383, 383, 86, 86, 86, 383, 268, 268, 85, 86, 664, 85, 85, 85, 85, 85, 85, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 448, 448, 663, 661, 659, 448, 450, 450, 573, 654, 653, 450, 452, 452, 651, 649, 647, 452, 335, 335, 454, 454, 645, 643, 641, 454, 337, 337, 457, 457, 639, 86, 86, 457, 341, 341, 459, 459, 86, 86, 86, 459, 343, 343, 461, 461, 86, 86, 86, 461, 345, 345, 463, 463, 86, 86, 86, 463, 352, 352, 465, 465, 590, 588, 586, 465, 354, 354, 470, 470, 584, 470, 582, 470, 365, 365, 580, 365, 481, 365, 367, 367, 367, 367, 367, 578, 367, 482, 482, 578, 568, 566, 482, 484, 484, 462, 462, 564, 484, 486, 486, 562, 560, 558, 486, 377, 377, 488, 488, 556, 554, 86, 488, 379, 379, 490, 490, 86, 86, 86, 490, 381, 381, 492, 492, 86, 86, 86, 492, 383, 383, 85, 86, 493, 85, 85, 85, 85, 85, 85, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 553, 553, 491, 489, 487, 553, 448, 448, 555, 555, 485, 483, 466, 555, 450, 450, 557, 557, 464, 348, 348, 557, 452, 452, 559, 559, 462, 460, 458, 559, 454, 454, 561, 561, 455, 453, 451, 561, 457, 457, 563, 563, 449, 86, 86, 563, 459, 459, 461, 461, 86, 384, 382, 461, 565, 565, 380, 378, 263, 565, 463, 463, 567, 567, 258, 257, 374, 567, 465, 465, 470, 470, 374, 470, 245, 470, 367, 367, 364, 364, 233, 367, 579, 579, 359, 355, 353, 579, 482, 482, 581, 581, 351, 347, 346, 581, 484, 484, 583, 583, 344, 342, 338, 583, 486, 486, 585, 585, 336, 200, 196, 585, 488, 488, 587, 587, 86, 269, 267, 587, 490, 490, 589, 589, 263, 258, 261, 589, 492, 492, 85, 258, 256, 85, 85, 85, 85, 85, 85, 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, 640, 640, 255, 254, 233, 640, 553, 553, 642, 642, 227, 84, 84, 642, 555, 555, 644, 644, 86, 200, 198, 644, 557, 557, 646, 646, 84, 146, 140, 646, 559, 559, 648, 648, 121, 116, 86, 648, 561, 561, 650, 650, 825, 69, 69, 650, 563, 563, 652, 652, 825, 825, 825, 652, 565, 565, 85, 85, 825, 825, 825, 85, 567, 567, 470, 470, 825, 825, 825, 470, 658, 658, 825, 825, 825, 658, 579, 579, 660, 660, 825, 825, 825, 660, 581, 581, 662, 662, 825, 825, 825, 662, 583, 583, 139, 139, 825, 825, 825, 139, 585, 585, 665, 665, 587, 587, 85, 825, 825, 85, 85, 85, 85, 85, 85, 589, 589, 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, 701, 701, 825, 825, 825, 701, 640, 640, 199, 199, 825, 825, 825, 199, 642, 642, 704, 704, 644, 644, 199, 825, 825, 199, 199, 199, 199, 199, 199, 646, 646, 705, 705, 648, 648, 650, 650, 706, 706, 652, 652, 85, 85, 708, 708, 825, 825, 825, 708, 658, 658, 262, 262, 825, 825, 825, 262, 660, 660, 711, 711, 662, 662, 139, 139, 712, 712, 825, 825, 825, 712, 85, 825, 825, 85, 85, 85, 85, 85, 85, 742, 742, 701, 701, 743, 743, 825, 825, 825, 743, 745, 745, 825, 825, 825, 745, 747, 747, 825, 825, 825, 747, 749, 749, 750, 750, 825, 825, 825, 750, 752, 752, 825, 825, 825, 752, 770, 770, 825, 825, 825, 770, 772, 772, 825, 825, 825, 772, 774, 774, 825, 825, 825, 774, 776, 776, 825, 825, 825, 776, 778, 778, 825, 825, 825, 778, 780, 780, 825, 825, 825, 780, 589, 589, 825, 825, 825, 589, 796, 796, 825, 825, 825, 796, 646, 646, 825, 825, 825, 646, 650, 650, 825, 825, 825, 650, 85, 85, 825, 825, 825, 85, 801, 801, 825, 825, 825, 801, 139, 139, 825, 825, 825, 139, 199, 199, 825, 825, 825, 199, 11, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825 } ; static yyconst flex_int16_t yy_chk[2653] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 48, 9, 10, 512, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 48, 42, 53, 28, 27, 28, 28, 28, 28, 28, 28, 512, 824, 25, 29, 25, 27, 27, 27, 29, 53, 35, 7, 8, 9, 10, 40, 42, 55, 29, 30, 40, 30, 30, 30, 30, 30, 30, 35, 47, 35, 35, 125, 49, 125, 50, 55, 56, 49, 30, 63, 51, 55, 30, 50, 49, 56, 72, 30, 30, 47, 49, 47, 50, 30, 54, 51, 50, 51, 40, 30, 60, 40, 86, 61, 54, 30, 51, 107, 113, 823, 822, 54, 72, 30, 58, 61, 30, 31, 60, 31, 31, 31, 31, 31, 31, 108, 58, 106, 86, 63, 107, 113, 106, 126, 58, 126, 31, 45, 45, 45, 31, 58, 57, 45, 45, 31, 45, 52, 45, 45, 821, 31, 52, 45, 57, 57, 45, 31, 106, 108, 52, 140, 52, 31, 57, 52, 128, 57, 128, 52, 59, 31, 38, 112, 819, 59, 38, 38, 112, 38, 114, 38, 38, 131, 38, 131, 38, 140, 59, 79, 79, 79, 79, 79, 79, 38, 38, 38, 66, 66, 66, 66, 66, 66, 112, 154, 66, 81, 81, 81, 81, 81, 81, 59, 114, 38, 59, 154, 38, 82, 82, 82, 82, 82, 82, 129, 67, 67, 130, 818, 59, 67, 103, 103, 103, 103, 133, 298, 133, 129, 130, 129, 130, 298, 109, 38, 38, 67, 67, 67, 67, 67, 67, 76, 76, 134, 134, 134, 76, 103, 76, 105, 171, 105, 103, 76, 105, 105, 105, 105, 105, 105, 161, 109, 76, 76, 76, 76, 109, 110, 132, 132, 171, 132, 115, 76, 813, 103, 104, 161, 104, 104, 104, 104, 104, 104, 147, 110, 105, 148, 76, 109, 115, 76, 136, 110, 136, 104, 76, 76, 115, 147, 76, 76, 138, 149, 138, 148, 147, 143, 76, 151, 104, 76, 143, 76, 76, 76, 104, 76, 84, 152, 150, 149, 84, 84, 153, 151, 157, 84, 84, 150, 84, 158, 84, 156, 165, 162, 163, 152, 812, 808, 158, 84, 84, 84, 159, 162, 153, 155, 157, 156, 143, 164, 155, 167, 155, 165, 155, 155, 160, 163, 155, 84, 155, 160, 84, 159, 159, 155, 155, 155, 168, 155, 169, 170, 172, 167, 160, 166, 164, 213, 173, 213, 177, 806, 175, 168, 176, 177, 236, 169, 179, 170, 84, 98, 98, 98, 98, 98, 98, 175, 166, 172, 173, 176, 181, 178, 175, 180, 179, 181, 98, 98, 271, 183, 98, 182, 178, 184, 180, 186, 200, 189, 236, 803, 181, 98, 178, 178, 182, 185, 271, 98, 98, 183, 189, 180, 187, 98, 102, 102, 102, 102, 102, 102, 184, 188, 200, 440, 185, 187, 214, 215, 214, 215, 241, 102, 102, 187, 188, 102, 188, 275, 186, 204, 204, 186, 275, 217, 204, 218, 102, 218, 440, 193, 193, 287, 102, 102, 193, 217, 241, 217, 102, 192, 192, 192, 192, 192, 192, 219, 219, 192, 219, 249, 193, 193, 193, 193, 193, 193, 195, 195, 287, 285, 216, 195, 197, 197, 220, 802, 220, 197, 285, 197, 207, 207, 207, 207, 216, 249, 216, 195, 195, 195, 195, 195, 195, 197, 197, 197, 197, 197, 197, 221, 221, 221, 223, 224, 223, 224, 237, 237, 237, 237, 237, 237, 207, 228, 228, 228, 228, 228, 228, 229, 259, 229, 259, 237, 229, 229, 229, 229, 229, 229, 228, 228, 234, 234, 228, 260, 234, 260, 237, 541, 272, 277, 270, 284, 237, 228, 277, 263, 284, 541, 281, 228, 228, 234, 234, 270, 229, 228, 272, 234, 238, 238, 238, 238, 238, 238, 239, 239, 239, 239, 239, 239, 240, 263, 240, 276, 281, 240, 240, 240, 240, 240, 240, 246, 239, 801, 800, 239, 248, 248, 248, 248, 248, 248, 279, 276, 273, 274, 239, 253, 253, 253, 253, 253, 253, 239, 246, 278, 246, 279, 239, 246, 273, 282, 274, 279, 279, 246, 280, 286, 248, 291, 283, 288, 290, 292, 291, 278, 282, 246, 294, 253, 286, 246, 292, 295, 280, 246, 283, 283, 293, 288, 290, 296, 297, 300, 301, 293, 299, 297, 294, 302, 304, 295, 300, 303, 305, 304, 306, 307, 302, 305, 301, 306, 296, 296, 308, 299, 309, 314, 303, 311, 312, 313, 315, 316, 317, 319, 307, 318, 306, 309, 311, 320, 308, 321, 313, 312, 318, 324, 322, 314, 325, 317, 326, 316, 327, 315, 324, 319, 329, 330, 328, 386, 385, 329, 320, 321, 322, 327, 328, 332, 326, 331, 331, 385, 330, 332, 331, 386, 331, 339, 339, 339, 339, 340, 340, 340, 340, 349, 350, 349, 350, 388, 799, 325, 356, 356, 356, 356, 356, 356, 357, 357, 357, 357, 357, 357, 370, 358, 392, 358, 388, 339, 358, 358, 358, 358, 358, 358, 357, 389, 390, 357, 359, 359, 359, 359, 359, 359, 389, 370, 392, 390, 357, 360, 360, 360, 360, 360, 360, 357, 403, 798, 365, 366, 357, 361, 361, 361, 361, 361, 361, 365, 366, 372, 359, 362, 362, 362, 362, 362, 362, 403, 395, 361, 396, 360, 361, 365, 366, 368, 367, 372, 391, 362, 368, 387, 362, 361, 395, 372, 400, 391, 393, 394, 361, 400, 396, 362, 797, 361, 387, 393, 796, 367, 362, 367, 394, 397, 367, 362, 368, 369, 371, 369, 367, 399, 369, 369, 369, 369, 369, 369, 398, 397, 397, 402, 367, 401, 404, 408, 367, 402, 405, 399, 367, 371, 415, 371, 406, 404, 371, 413, 401, 408, 398, 410, 371, 412, 369, 401, 420, 405, 414, 406, 416, 417, 421, 410, 371, 415, 422, 414, 371, 413, 417, 414, 371, 423, 412, 416, 420, 424, 425, 426, 428, 422, 430, 431, 421, 435, 432, 433, 426, 434, 436, 443, 424, 438, 435, 423, 437, 428, 425, 442, 438, 445, 443, 439, 431, 430, 432, 433, 436, 437, 439, 434, 441, 446, 504, 447, 442, 504, 473, 470, 441, 447, 446, 445, 456, 456, 456, 456, 470, 494, 441, 467, 467, 467, 467, 467, 467, 468, 468, 468, 468, 468, 468, 473, 470, 474, 494, 472, 495, 467, 497, 499, 467, 498, 501, 468, 472, 500, 468, 506, 505, 495, 794, 467, 499, 497, 503, 501, 507, 468, 467, 474, 472, 498, 515, 467, 468, 503, 506, 500, 505, 468, 469, 469, 469, 469, 469, 469, 471, 507, 471, 515, 793, 471, 471, 471, 471, 471, 471, 476, 476, 476, 476, 476, 476, 477, 477, 477, 477, 477, 477, 478, 514, 478, 469, 508, 478, 478, 478, 478, 478, 478, 502, 477, 508, 471, 477, 502, 509, 510, 511, 522, 513, 509, 514, 523, 516, 477, 524, 520, 510, 513, 517, 511, 477, 516, 525, 517, 520, 477, 527, 528, 523, 524, 529, 525, 531, 522, 536, 532, 537, 534, 538, 528, 532, 535, 543, 527, 540, 529, 534, 531, 544, 537, 535, 542, 540, 546, 549, 538, 536, 547, 542, 550, 544, 592, 546, 597, 543, 791, 790, 547, 592, 596, 597, 549, 550, 569, 569, 569, 569, 569, 569, 570, 570, 570, 570, 570, 570, 571, 571, 571, 571, 571, 571, 572, 596, 572, 610, 593, 572, 572, 572, 572, 572, 572, 594, 571, 593, 569, 571, 575, 575, 575, 575, 575, 575, 595, 610, 594, 600, 571, 598, 600, 599, 603, 591, 602, 571, 575, 598, 591, 575, 571, 595, 577, 577, 577, 577, 577, 577, 599, 602, 575, 591, 601, 604, 603, 605, 606, 575, 607, 606, 577, 608, 575, 577, 609, 601, 612, 611, 613, 615, 604, 616, 620, 617, 577, 607, 611, 605, 621, 609, 623, 577, 627, 634, 612, 637, 577, 626, 608, 627, 613, 615, 620, 634, 616, 617, 626, 623, 636, 666, 637, 669, 672, 673, 680, 621, 673, 636, 655, 655, 655, 655, 655, 655, 656, 656, 656, 656, 656, 656, 666, 667, 672, 670, 675, 680, 655, 669, 671, 655, 670, 667, 656, 671, 674, 656, 678, 674, 677, 681, 655, 683, 675, 684, 677, 678, 656, 655, 679, 732, 683, 679, 655, 656, 682, 696, 732, 682, 656, 657, 657, 657, 657, 657, 657, 686, 685, 681, 684, 685, 688, 687, 689, 691, 693, 696, 697, 700, 686, 687, 688, 699, 691, 723, 722, 689, 700, 718, 719, 699, 720, 657, 724, 721, 722, 720, 783, 693, 697, 707, 707, 707, 707, 707, 707, 719, 723, 718, 721, 725, 726, 727, 725, 729, 731, 735, 729, 731, 724, 733, 754, 734, 733, 726, 734, 756, 757, 759, 763, 758, 735, 707, 758, 760, 762, 766, 760, 764, 727, 767, 764, 769, 767, 784, 757, 768, 756, 754, 768, 759, 769, 785, 762, 763, 787, 789, 786, 766, 785, 786, 782, 781, 788, 787, 784, 788, 792, 795, 804, 792, 795, 805, 789, 814, 815, 807, 805, 804, 807, 809, 810, 811, 809, 810, 811, 816, 820, 817, 816, 815, 817, 780, 779, 814, 778, 777, 776, 775, 774, 773, 772, 771, 770, 765, 761, 755, 753, 752, 820, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 828, 828, 828, 828, 828, 828, 828, 828, 828, 828, 828, 828, 829, 751, 750, 829, 829, 829, 829, 829, 829, 830, 749, 748, 747, 830, 830, 830, 830, 830, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 832, 746, 745, 832, 832, 832, 832, 832, 832, 833, 744, 833, 833, 743, 833, 833, 833, 833, 833, 742, 833, 834, 741, 740, 834, 834, 834, 834, 834, 834, 834, 739, 834, 835, 835, 835, 835, 835, 835, 835, 835, 835, 835, 835, 835, 836, 836, 836, 738, 737, 736, 836, 837, 730, 728, 837, 837, 837, 837, 837, 837, 838, 838, 717, 716, 715, 838, 839, 839, 714, 713, 712, 839, 840, 840, 711, 710, 709, 840, 841, 841, 706, 705, 704, 841, 842, 842, 703, 698, 695, 842, 843, 843, 694, 692, 690, 843, 844, 844, 676, 668, 665, 844, 845, 845, 660, 658, 646, 845, 846, 846, 642, 640, 638, 846, 847, 847, 847, 847, 847, 847, 847, 847, 847, 847, 847, 847, 848, 848, 849, 849, 849, 849, 849, 635, 849, 850, 850, 850, 851, 851, 633, 632, 631, 851, 852, 852, 630, 629, 628, 852, 853, 853, 625, 624, 622, 853, 854, 854, 855, 855, 619, 618, 614, 855, 856, 856, 857, 589, 585, 857, 857, 857, 857, 857, 857, 858, 858, 858, 858, 858, 858, 858, 858, 858, 858, 858, 858, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 860, 860, 583, 581, 579, 860, 861, 861, 573, 567, 565, 861, 862, 862, 563, 561, 559, 862, 863, 863, 864, 864, 557, 555, 553, 864, 865, 865, 866, 866, 552, 551, 548, 866, 867, 867, 868, 868, 545, 539, 533, 868, 869, 869, 870, 870, 530, 526, 521, 870, 871, 871, 872, 872, 519, 518, 496, 872, 873, 873, 874, 874, 492, 490, 488, 874, 875, 875, 876, 876, 486, 876, 484, 876, 877, 877, 482, 877, 481, 877, 878, 878, 878, 878, 878, 480, 878, 879, 879, 479, 465, 463, 879, 880, 880, 462, 461, 459, 880, 881, 881, 457, 454, 452, 881, 882, 882, 883, 883, 450, 448, 444, 883, 884, 884, 885, 885, 429, 427, 419, 885, 886, 886, 887, 887, 418, 411, 409, 887, 888, 888, 889, 407, 383, 889, 889, 889, 889, 889, 889, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 891, 891, 381, 379, 377, 891, 892, 892, 893, 893, 376, 375, 354, 893, 894, 894, 895, 895, 352, 351, 347, 895, 896, 896, 897, 897, 345, 343, 341, 897, 898, 898, 899, 899, 337, 335, 334, 899, 900, 900, 901, 901, 333, 323, 310, 901, 902, 902, 903, 903, 289, 268, 266, 903, 904, 904, 265, 264, 262, 904, 905, 905, 906, 906, 261, 256, 252, 906, 907, 907, 908, 908, 251, 908, 247, 908, 909, 909, 244, 243, 232, 909, 910, 910, 231, 226, 225, 910, 911, 911, 912, 912, 222, 212, 210, 912, 913, 913, 914, 914, 209, 208, 202, 914, 915, 915, 916, 916, 201, 199, 194, 916, 917, 917, 918, 918, 174, 145, 144, 918, 919, 919, 920, 920, 139, 137, 135, 920, 921, 921, 922, 127, 124, 922, 922, 922, 922, 922, 922, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 924, 924, 123, 119, 100, 924, 925, 925, 926, 926, 97, 94, 92, 926, 927, 927, 928, 928, 85, 71, 69, 928, 929, 929, 930, 930, 65, 44, 39, 930, 931, 931, 932, 932, 36, 33, 18, 932, 933, 933, 934, 934, 11, 4, 3, 934, 935, 935, 936, 936, 0, 0, 0, 936, 937, 937, 938, 938, 0, 0, 0, 938, 939, 939, 940, 940, 0, 0, 0, 940, 941, 941, 0, 0, 0, 941, 942, 942, 943, 943, 0, 0, 0, 943, 944, 944, 945, 945, 0, 0, 0, 945, 946, 946, 947, 947, 0, 0, 0, 947, 948, 948, 949, 949, 950, 950, 951, 0, 0, 951, 951, 951, 951, 951, 951, 952, 952, 953, 953, 953, 953, 953, 953, 953, 953, 953, 953, 953, 953, 954, 954, 0, 0, 0, 954, 955, 955, 956, 956, 0, 0, 0, 956, 957, 957, 958, 958, 959, 959, 960, 0, 0, 960, 960, 960, 960, 960, 960, 961, 961, 962, 962, 963, 963, 964, 964, 965, 965, 966, 966, 967, 967, 968, 968, 0, 0, 0, 968, 969, 969, 970, 970, 0, 0, 0, 970, 971, 971, 972, 972, 973, 973, 974, 974, 975, 975, 0, 0, 0, 975, 976, 0, 0, 976, 976, 976, 976, 976, 976, 977, 977, 978, 978, 979, 979, 0, 0, 0, 979, 980, 980, 0, 0, 0, 980, 981, 981, 0, 0, 0, 981, 982, 982, 983, 983, 0, 0, 0, 983, 984, 984, 0, 0, 0, 984, 985, 985, 0, 0, 0, 985, 986, 986, 0, 0, 0, 986, 987, 987, 0, 0, 0, 987, 988, 988, 0, 0, 0, 988, 989, 989, 0, 0, 0, 989, 990, 990, 0, 0, 0, 990, 991, 991, 0, 0, 0, 991, 992, 992, 0, 0, 0, 992, 993, 993, 0, 0, 0, 993, 994, 994, 0, 0, 0, 994, 995, 995, 0, 0, 0, 995, 996, 996, 0, 0, 0, 996, 997, 997, 0, 0, 0, 997, 998, 998, 0, 0, 0, 998, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[172] = { 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, 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, }; 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 : Fri Jun 19 11:10:14 2015 * Update Count : 392 */ #line 20 "lex.ll" // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been // performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g., // line-number directives) and C/C++ style comments, which are ignored. //**************************** Includes and Defines **************************** #include #include "lex.h" #include "ParseNode.h" #include "parser.h" // YACC generated definitions based on C++ grammar char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define RETURN_LOCN(x) yylval.tok.loc.file = yyfilename; yylval.tok.loc.line = yylineno; return( x ) #define RETURN_VAL(x) yylval.tok.str = new std::string( yytext ); RETURN_LOCN( x ) #define RETURN_CHAR(x) yylval.tok.str = NULL; RETURN_LOCN( x ) #define RETURN_STR(x) yylval.tok.str = strtext; RETURN_LOCN( x ) #define WHITE_RETURN(x) // do nothing #define NEWLINE_RETURN() WHITE_RETURN( '\n' ) #define ASCIIOP_RETURN() RETURN_CHAR( (int)yytext[0] ) // single character operator #define NAMEDOP_RETURN(x) RETURN_VAL( x ) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL( x ) // numeric constant #define KEYWORD_RETURN(x) RETURN_CHAR( x ) // keyword #define IDENTIFIER_RETURN() RETURN_VAL( (typedefTable.isIdentifier( yytext ) ? IDENTIFIER : typedefTable.isTypedef( yytext ) ? TYPEDEFname : TYPEGENname ) ) #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) void rm_underscore() { // remove underscores in numeric constant int j = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[j] = yytext[i]; j += 1; } // if } // for yyleng = j; yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // operators #line 1451 "Parser/lex.cc" #define INITIAL 0 #define COMMENT 1 #define BKQUOTE 2 #define QUOTE 3 #define STRING 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 136 "lex.ll" /* line directives */ #line 1646 "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 >= 826 ) 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] != 2568 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 138 "lex.ll" { /* " stop highlighting */ char *end_num; char *begin_string, *end_string; char *filename; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { end_string = strchr( begin_string + 1, '"' ); if ( end_string ) { length = end_string - begin_string - 1; filename = new char[ length + 1 ]; memcpy( filename, begin_string + 1, length ); filename[ length ] = '\0'; //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 161 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 164 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 165 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 166 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments (ALSO HANDLED BY CPP) */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 169 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 172 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 173 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 174 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 177 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 178 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 18: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 19: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 21: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 22: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 23: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 24: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 25: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 26: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 28: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 29: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 30: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 31: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 33: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(CONTEXT); } // CFA YY_BREAK case 34: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 35: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 36: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 37: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 38: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 39: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 40: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 41: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 42: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 43: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 44: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 45: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 46: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 47: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 48: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 50: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 51: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 52: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 53: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 54: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 55: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 56: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 57: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 58: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 59: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 61: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 62: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 64: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 65: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 66: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 67: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 68: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 69: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 70: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 71: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 72: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 73: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 76: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 77: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 78: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 79: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 80: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 81: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 82: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 83: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(TYPE); } // CFA YY_BREAK case 84: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 85: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 86: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 87: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 88: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 89: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 90: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 91: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 92: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 95: YY_RULE_SETUP #line 264 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 96: YY_RULE_SETUP #line 265 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 97: YY_RULE_SETUP #line 266 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 98: YY_RULE_SETUP #line 267 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 99: YY_RULE_SETUP #line 268 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 100: YY_RULE_SETUP #line 271 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 101: YY_RULE_SETUP #line 272 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 102: YY_RULE_SETUP #line 273 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 103: YY_RULE_SETUP #line 274 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 104: YY_RULE_SETUP #line 275 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 105: YY_RULE_SETUP #line 276 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 106: YY_RULE_SETUP #line 277 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 107: YY_RULE_SETUP #line 280 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 108: YY_RULE_SETUP #line 281 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 109: /* rule 109 can match eol */ YY_RULE_SETUP #line 282 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 110: YY_RULE_SETUP #line 286 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 111: YY_RULE_SETUP #line 287 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 112: /* rule 112 can match eol */ YY_RULE_SETUP #line 288 "lex.ll" { BEGIN 0; *strtext += std::string( yytext ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 113: YY_RULE_SETUP #line 292 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 114: /* rule 114 can match eol */ YY_RULE_SETUP #line 293 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 115: YY_RULE_SETUP #line 294 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 116: YY_RULE_SETUP #line 297 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 117: YY_RULE_SETUP #line 298 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 118: YY_RULE_SETUP #line 299 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 119: YY_RULE_SETUP #line 300 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 120: YY_RULE_SETUP #line 301 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 121: YY_RULE_SETUP #line 302 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 122: YY_RULE_SETUP #line 303 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 123: YY_RULE_SETUP #line 304 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 305 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 125: YY_RULE_SETUP #line 306 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 126: YY_RULE_SETUP #line 307 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 127: YY_RULE_SETUP #line 310 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 128: YY_RULE_SETUP #line 311 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 129: YY_RULE_SETUP #line 312 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 130: YY_RULE_SETUP #line 313 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 131: YY_RULE_SETUP #line 316 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 317 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 133: YY_RULE_SETUP #line 318 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 134: YY_RULE_SETUP #line 319 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 135: YY_RULE_SETUP #line 320 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 136: YY_RULE_SETUP #line 321 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 137: YY_RULE_SETUP #line 322 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 138: YY_RULE_SETUP #line 323 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 324 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 325 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 331 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 146: YY_RULE_SETUP #line 332 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 147: YY_RULE_SETUP #line 333 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 148: YY_RULE_SETUP #line 334 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 149: YY_RULE_SETUP #line 335 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 150: YY_RULE_SETUP #line 336 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 151: YY_RULE_SETUP #line 337 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 152: YY_RULE_SETUP #line 338 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 153: YY_RULE_SETUP #line 339 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 154: YY_RULE_SETUP #line 340 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 155: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 156: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 157: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 158: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 159: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 160: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 161: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 162: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 163: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 164: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 165: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK /* CFA, operator identifier */ case 166: YY_RULE_SETUP #line 354 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 167: YY_RULE_SETUP #line 355 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 168: YY_RULE_SETUP #line 356 "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 169: YY_RULE_SETUP #line 383 "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 170: YY_RULE_SETUP #line 395 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 171: YY_RULE_SETUP #line 397 "lex.ll" ECHO; YY_BREAK #line 2675 "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 >= 826 ) 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 >= 826 ) 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 == 825); 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 397 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //