#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 180 #define YY_END_OF_BUFFER 181 /* 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[888] = { 0, 0, 0, 0, 0, 0, 0, 115, 115, 118, 118, 181, 179, 7, 9, 8, 138, 117, 102, 143, 146, 114, 125, 126, 141, 139, 129, 140, 132, 142, 107, 108, 109, 130, 131, 148, 150, 149, 151, 179, 102, 123, 179, 124, 144, 102, 104, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 127, 147, 128, 145, 7, 179, 4, 4, 180, 105, 180, 106, 115, 116, 122, 118, 119, 7, 9, 0, 8, 155, 174, 102, 0, 167, 137, 160, 168, 165, 152, 163, 153, 164, 162, 0, 112, 3, 0, 166, 112, 110, 0, 0, 110, 110, 0, 0, 110, 109, 109, 109, 0, 109, 135, 136, 134, 156, 158, 154, 159, 157, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 173, 0, 117, 114, 102, 0, 0, 170, 0, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 38, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 56, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 169, 161, 7, 0, 0, 0, 2, 0, 5, 105, 0, 0, 0, 115, 0, 121, 120, 120, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 133, 112, 112, 0, 112, 112, 112, 0, 6, 112, 110, 0, 0, 0, 112, 0, 110, 110, 110, 110, 0, 111, 0, 0, 109, 109, 109, 109, 0, 171, 172, 0, 177, 175, 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 0, 0, 102, 17, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 14, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 50, 102, 102, 102, 63, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 89, 102, 102, 102, 102, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 120, 0, 0, 178, 0, 0, 0, 0, 0, 0, 0, 112, 0, 112, 0, 112, 0, 0, 112, 112, 110, 110, 0, 0, 111, 111, 0, 111, 0, 111, 109, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 21, 102, 24, 102, 27, 102, 102, 102, 102, 102, 102, 102, 41, 102, 43, 102, 102, 102, 102, 102, 102, 102, 55, 102, 66, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 97, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 112, 112, 0, 0, 0, 0, 0, 111, 111, 0, 113, 0, 111, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 22, 102, 102, 102, 102, 102, 102, 102, 15, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 23, 25, 102, 32, 102, 102, 102, 102, 40, 102, 102, 102, 102, 48, 102, 102, 53, 102, 102, 70, 102, 102, 102, 76, 102, 102, 102, 102, 102, 86, 88, 102, 102, 94, 102, 102, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 111, 113, 113, 113, 113, 113, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 58, 102, 102, 102, 102, 102, 102, 102, 102, 28, 102, 102, 102, 39, 42, 45, 102, 102, 51, 102, 60, 67, 102, 102, 75, 77, 80, 81, 83, 84, 102, 102, 91, 102, 102, 0, 1, 0, 0, 0, 0, 0, 0, 105, 0, 0, 0, 120, 0, 0, 0, 0, 113, 113, 113, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 18, 102, 102, 102, 102, 102, 102, 102, 16, 102, 102, 102, 33, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 36, 37, 102, 47, 52, 102, 102, 102, 90, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 54, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 59, 61, 64, 102, 102, 78, 92, 102, 102, 35, 46, 71, 72, 102, 95, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 68, 102, 102, 12, 102, 102, 30, 34, 102, 102, 102, 65, 102, 102, 102, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 102, 102, 102, 102, 102, 102, 102, 49, 62, 73, 79, 93, 99, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 13, 19, 102, 102, 31, 102, 102, 102, 26, 87, 0, 0, 102, 102, 102, 102, 102, 102, 74, 100, 102, 85, 20, 102, 102, 44, 82, 102, 102, 102, 102, 102, 102, 102, 96, 69, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 39, 41, 11, 42, 11, 11, 43, 11, 44, 11, 45, 11, 46, 47, 48, 49, 11, 11, 50, 11, 11, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 11, 66, 67, 68, 69, 70, 71, 11, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[85] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 7, 7, 1, 1, 1, 8, 1, 1, 1, 9, 9, 9, 9, 9, 4, 4, 10, 4, 11, 4, 4, 4, 10, 4, 1, 12, 1, 1, 13, 1, 9, 9, 9, 9, 9, 9, 4, 4, 4, 4, 10, 4, 4, 4, 11, 4, 4, 4, 10, 4, 4, 4, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[1062] = { 0, 0, 83, 2268, 2265, 93, 0, 175, 176, 177, 178, 2279, 2798, 189, 2798, 195, 54, 2798, 2226, 59, 171, 2798, 2798, 2798, 55, 186, 2798, 189, 187, 202, 214, 272, 0, 2244, 2798, 214, 2243, 150, 340, 153, 222, 2798, 157, 2798, 215, 224, 2798, 207, 181, 221, 249, 235, 289, 155, 255, 218, 231, 206, 266, 256, 323, 259, 192, 2798, 252, 2798, 2238, 377, 342, 2798, 2249, 2798, 2218, 241, 2798, 0, 2798, 421, 0, 2798, 393, 2798, 399, 405, 2798, 492, 2216, 276, 2798, 2798, 2798, 2798, 2798, 2231, 2798, 2228, 2798, 2798, 2240, 552, 2798, 2257, 2798, 413, 393, 437, 493, 377, 318, 195, 430, 382, 0, 384, 321, 196, 427, 2798, 2798, 2798, 2226, 2798, 2798, 2798, 2223, 2220, 304, 342, 2235, 381, 435, 422, 400, 455, 440, 494, 2216, 469, 2165, 497, 2193, 2798, 432, 2798, 2798, 521, 2187, 2186, 2798, 2159, 470, 414, 436, 325, 254, 463, 480, 486, 563, 274, 482, 484, 487, 495, 234, 489, 341, 488, 490, 377, 507, 497, 501, 503, 514, 515, 506, 529, 2186, 531, 537, 505, 518, 536, 534, 538, 559, 575, 571, 577, 574, 599, 590, 581, 592, 2798, 2798, 662, 668, 2232, 674, 2798, 680, 2798, 2180, 583, 2176, 2175, 0, 671, 2798, 2798, 686, 2173, 2170, 2167, 0, 2189, 568, 615, 618, 695, 694, 627, 654, 628, 683, 2186, 686, 687, 2163, 2160, 2798, 0, 680, 712, 703, 682, 2157, 2208, 2798, 711, 0, 702, 756, 762, 795, 774, 604, 2798, 2167, 2141, 0, 803, 2167, 780, 684, 2798, 2143, 2118, 804, 2798, 2798, 2148, 2798, 2798, 724, 728, 2126, 2126, 694, 2122, 2120, 2117, 0, 2114, 0, 2085, 679, 682, 696, 423, 722, 757, 703, 758, 741, 799, 764, 725, 789, 697, 774, 788, 792, 760, 784, 795, 2115, 809, 797, 816, 196, 804, 812, 817, 823, 829, 632, 831, 832, 836, 819, 837, 833, 840, 844, 847, 843, 853, 851, 2113, 854, 855, 856, 859, 857, 858, 860, 861, 867, 863, 866, 868, 873, 874, 2110, 877, 716, 882, 883, 884, 888, 894, 947, 944, 2104, 2103, 2102, 0, 2100, 0, 934, 939, 2097, 0, 2094, 0, 2093, 0, 2113, 2798, 934, 935, 2092, 2087, 0, 2086, 0, 2798, 947, 967, 958, 2798, 973, 988, 1012, 2085, 2798, 2798, 932, 962, 999, 975, 1033, 912, 1020, 956, 2798, 2798, 2083, 2080, 2079, 0, 2078, 0, 2076, 0, 2073, 0, 2798, 956, 936, 978, 950, 994, 1010, 1016, 973, 1019, 1020, 1024, 1012, 1029, 1030, 1026, 1027, 1032, 1038, 1044, 1031, 1051, 1049, 1041, 2072, 1055, 2068, 1054, 2066, 1057, 1058, 1059, 974, 1061, 1064, 1065, 2064, 1070, 2061, 1063, 1071, 1073, 1075, 1076, 1081, 1077, 2059, 1082, 2057, 1084, 1087, 1089, 1092, 1094, 1095, 1100, 1090, 1098, 1106, 1115, 1102, 1103, 1116, 1104, 1118, 2054, 1119, 1123, 1169, 2048, 0, 2047, 0, 2046, 0, 2044, 0, 1164, 2041, 0, 2038, 0, 2037, 2036, 2034, 0, 2031, 0, 1171, 2028, 1177, 1137, 1197, 1164, 1112, 1131, 2798, 1216, 1230, 1256, 2039, 2014, 2024, 2021, 0, 2018, 0, 2017, 0, 2016, 0, 2014, 0, 2011, 0, 1159, 1164, 2011, 1160, 1178, 1182, 1133, 1194, 1208, 1185, 541, 1199, 1197, 1215, 1193, 1209, 1211, 1225, 1210, 1254, 1235, 1237, 1239, 1241, 1242, 2010, 1252, 1248, 2009, 1249, 1253, 1255, 1251, 2007, 1258, 1261, 1262, 1264, 2004, 1265, 1271, 2001, 1263, 1273, 2000, 1269, 1275, 1277, 1999, 1281, 1283, 1285, 1284, 1286, 1296, 1997, 1295, 1287, 1994, 1299, 1300, 1991, 2039, 1986, 0, 1984, 0, 1981, 0, 1980, 0, 1979, 0, 1977, 0, 1974, 0, 1973, 0, 1336, 1346, 1369, 1357, 1972, 2798, 1375, 1311, 1347, 1313, 1970, 2798, 1937, 0, 1935, 0, 1934, 0, 1931, 0, 0, 0, 1931, 0, 1353, 1354, 1305, 1302, 1335, 1363, 1366, 1367, 1364, 586, 1370, 1365, 1374, 1368, 1376, 1369, 1385, 1380, 1166, 1392, 1394, 1327, 1395, 1396, 1399, 1930, 1398, 1400, 1401, 1929, 1927, 1924, 1403, 1402, 1921, 1409, 1920, 1919, 1406, 1404, 1917, 1914, 1913, 1912, 1910, 1907, 1416, 1417, 1906, 1419, 1405, 1954, 2798, 1900, 0, 1897, 0, 0, 0, 1896, 0, 0, 0, 2798, 0, 0, 0, 0, 1459, 1889, 2798, 2798, 1465, 1885, 0, 1869, 0, 0, 0, 0, 1868, 1424, 1442, 1870, 1444, 1447, 1443, 1451, 1453, 1455, 1457, 1868, 1459, 1460, 1476, 1461, 1463, 1494, 1477, 1478, 1504, 1483, 1482, 1481, 1488, 1490, 1491, 1492, 1865, 1864, 1493, 1863, 1861, 1497, 1496, 1499, 1858, 1500, 1502, 0, 0, 0, 1854, 1853, 1851, 1550, 0, 1848, 1847, 1846, 1844, 1841, 1843, 1842, 1840, 1837, 1507, 1513, 1505, 1514, 1509, 1515, 1528, 1506, 1531, 1533, 1562, 1836, 1536, 1835, 1537, 1541, 1544, 1549, 1542, 1543, 1833, 1830, 1829, 1828, 1550, 1826, 1823, 1819, 1818, 1816, 1813, 1812, 1811, 1809, 1802, 1800, 1799, 1796, 1795, 1551, 1797, 1554, 1556, 1555, 1559, 1560, 1561, 1795, 1565, 1592, 1568, 1778, 1569, 1576, 1577, 1584, 1570, 1572, 1766, 1765, 1762, 1755, 1752, 1745, 1743, 1742, 1721, 1720, 1719, 1712, 1710, 1712, 1582, 1587, 1595, 1590, 1589, 1597, 1585, 1670, 1669, 1601, 1666, 1665, 1605, 1606, 1609, 1660, 1659, 1655, 1654, 1651, 1650, 1649, 1593, 1610, 1611, 1412, 1614, 1612, 1620, 1337, 1621, 1623, 1627, 1000, 928, 896, 778, 1628, 1629, 1631, 1632, 1633, 1635, 709, 628, 1637, 373, 338, 1639, 1640, 337, 257, 1641, 1643, 1645, 1647, 1646, 1649, 1651, 200, 136, 2798, 1723, 1736, 1749, 1759, 1769, 1782, 1792, 1805, 1818, 1831, 1839, 1849, 1856, 1863, 1870, 1877, 1884, 1891, 1898, 1905, 1912, 1925, 1932, 1936, 1944, 1947, 1954, 1961, 1968, 1971, 1978, 1984, 1997, 2010, 2017, 2024, 2031, 2038, 2041, 2048, 2051, 2058, 2061, 2068, 2071, 2078, 2081, 2088, 2091, 2098, 2101, 2108, 2116, 2123, 2130, 2137, 2144, 2147, 2154, 2157, 2164, 2167, 2174, 2180, 2193, 2200, 2207, 2210, 2217, 2220, 2227, 2230, 2237, 2240, 2247, 2250, 2257, 2260, 2267, 2274, 2277, 2284, 2287, 2294, 2301, 2308, 2311, 2318, 2321, 2328, 2331, 2338, 2341, 2348, 2351, 2358, 2364, 2377, 2384, 2391, 2394, 2401, 2404, 2411, 2414, 2421, 2424, 2431, 2434, 2441, 2444, 2451, 2454, 2461, 2464, 2471, 2478, 2481, 2488, 2491, 2498, 2501, 2508, 2511, 2514, 2520, 2527, 2536, 2543, 2550, 2553, 2560, 2563, 2566, 2572, 2579, 2582, 2585, 2588, 2591, 2594, 2597, 2600, 2607, 2610, 2617, 2620, 2623, 2626, 2629, 2639, 2646, 2649, 2652, 2655, 2662, 2669, 2676, 2679, 2686, 2693, 2700, 2707, 2714, 2721, 2728, 2735, 2742, 2749, 2756, 2763, 2770, 2777, 2784 } ; static yyconst flex_int16_t yy_def[1062] = { 0, 887, 1, 888, 888, 887, 5, 889, 889, 890, 890, 887, 887, 887, 887, 887, 887, 887, 891, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 31, 887, 887, 887, 887, 887, 887, 892, 891, 887, 887, 887, 887, 891, 887, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 887, 887, 887, 887, 887, 893, 887, 887, 887, 894, 887, 887, 895, 887, 887, 896, 887, 887, 887, 887, 887, 887, 887, 891, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 897, 887, 99, 30, 887, 887, 887, 887, 898, 30, 887, 31, 887, 887, 31, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 899, 887, 887, 887, 887, 891, 900, 901, 887, 887, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 887, 887, 887, 893, 893, 893, 887, 893, 887, 894, 887, 902, 903, 895, 887, 887, 887, 887, 904, 905, 906, 896, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 907, 908, 887, 99, 887, 887, 887, 887, 99, 909, 887, 887, 104, 104, 887, 887, 887, 887, 887, 887, 887, 887, 910, 911, 912, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 899, 887, 913, 914, 915, 916, 917, 918, 887, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 920, 921, 922, 923, 924, 925, 926, 927, 887, 887, 928, 929, 930, 931, 932, 933, 887, 887, 887, 887, 887, 934, 935, 936, 937, 887, 887, 887, 887, 887, 887, 887, 371, 376, 887, 887, 938, 939, 940, 887, 887, 887, 940, 887, 887, 887, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 887, 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, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 887, 961, 962, 963, 964, 965, 965, 966, 967, 968, 969, 887, 488, 887, 970, 887, 970, 887, 887, 887, 887, 887, 887, 887, 887, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 887, 887, 887, 887, 1002, 887, 596, 887, 887, 887, 600, 887, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1015, 887, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 887, 1026, 1027, 1028, 1029, 887, 686, 887, 887, 887, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 887, 1045, 1030, 1032, 1046, 1047, 1037, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1048, 1049, 1042, 1050, 1043, 1051, 1044, 1052, 1053, 1046, 1054, 1047, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1055, 1048, 1056, 1049, 1057, 1050, 1058, 1051, 1059, 1052, 1060, 1053, 1054, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1061, 1055, 1056, 1057, 1058, 1032, 1059, 1060, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1061, 1032, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 0, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887 } ; static yyconst flex_int16_t yy_nxt[2883] = { 0, 12, 13, 14, 15, 15, 15, 13, 16, 17, 12, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 36, 37, 38, 39, 18, 18, 18, 18, 18, 18, 18, 40, 18, 18, 18, 18, 18, 40, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 56, 18, 57, 58, 59, 60, 61, 62, 18, 18, 18, 63, 64, 65, 66, 67, 84, 92, 85, 85, 67, 88, 89, 68, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 72, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 71, 73, 71, 71, 72, 74, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 71, 71, 71, 71, 76, 76, 79, 79, 123, 124, 90, 141, 79, 79, 87, 76, 76, 80, 81, 82, 82, 82, 80, 82, 81, 83, 83, 83, 82, 91, 93, 142, 146, 87, 98, 95, 99, 99, 99, 99, 99, 99, 252, 887, 94, 100, 85, 96, 97, 85, 101, 177, 118, 77, 77, 77, 77, 143, 147, 87, 102, 103, 144, 104, 104, 104, 104, 105, 105, 119, 87, 120, 121, 148, 87, 149, 254, 260, 87, 161, 106, 427, 194, 107, 87, 87, 150, 151, 152, 108, 109, 153, 154, 183, 155, 110, 87, 156, 157, 87, 87, 106, 87, 145, 162, 158, 159, 111, 160, 87, 195, 163, 87, 87, 180, 108, 206, 164, 109, 103, 181, 112, 112, 112, 112, 112, 112, 87, 169, 305, 170, 182, 87, 87, 87, 87, 165, 87, 106, 171, 166, 113, 207, 178, 87, 167, 188, 114, 283, 168, 179, 230, 87, 115, 189, 193, 184, 185, 143, 106, 196, 190, 263, 144, 264, 116, 186, 87, 298, 187, 200, 201, 172, 114, 125, 200, 191, 231, 126, 127, 173, 128, 174, 129, 130, 175, 131, 250, 132, 176, 258, 202, 202, 202, 202, 202, 202, 133, 134, 135, 263, 87, 264, 87, 145, 197, 81, 82, 82, 82, 197, 251, 282, 198, 259, 87, 87, 136, 192, 87, 137, 80, 81, 82, 82, 82, 80, 82, 81, 82, 82, 82, 82, 82, 81, 83, 83, 83, 82, 263, 307, 264, 242, 242, 242, 242, 248, 138, 139, 209, 210, 87, 249, 256, 209, 87, 211, 249, 263, 257, 264, 211, 99, 99, 99, 99, 99, 99, 265, 887, 212, 212, 212, 212, 243, 248, 310, 887, 249, 265, 263, 211, 264, 249, 103, 257, 105, 105, 105, 105, 105, 105, 87, 263, 241, 264, 213, 887, 263, 211, 264, 87, 257, 106, 211, 211, 887, 271, 211, 211, 280, 255, 266, 263, 87, 264, 211, 404, 244, 211, 256, 211, 214, 211, 106, 215, 217, 263, 257, 264, 218, 219, 281, 272, 887, 220, 221, 245, 222, 245, 223, 87, 246, 246, 246, 246, 246, 246, 87, 224, 225, 226, 263, 267, 264, 263, 143, 264, 87, 284, 87, 144, 87, 278, 87, 87, 87, 87, 87, 227, 279, 300, 228, 87, 247, 87, 286, 306, 303, 87, 285, 87, 299, 87, 87, 87, 301, 302, 323, 308, 311, 304, 87, 87, 314, 309, 87, 313, 315, 87, 229, 233, 233, 233, 233, 233, 233, 87, 312, 87, 316, 318, 87, 317, 87, 87, 87, 234, 235, 87, 236, 237, 627, 324, 320, 325, 360, 329, 361, 319, 328, 321, 322, 238, 143, 326, 327, 87, 234, 235, 234, 87, 331, 236, 330, 237, 287, 288, 289, 87, 290, 291, 87, 87, 292, 87, 293, 332, 346, 87, 335, 294, 295, 296, 87, 297, 333, 709, 87, 334, 87, 337, 341, 360, 342, 361, 360, 87, 361, 378, 338, 339, 336, 343, 347, 360, 360, 361, 361, 340, 197, 81, 82, 82, 82, 197, 200, 201, 198, 209, 210, 200, 200, 201, 209, 378, 87, 200, 344, 201, 87, 362, 360, 344, 361, 345, 434, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 352, 352, 352, 352, 361, 361, 360, 363, 361, 360, 360, 361, 361, 369, 887, 369, 143, 360, 360, 361, 361, 370, 87, 370, 388, 87, 371, 371, 371, 371, 371, 371, 353, 373, 390, 401, 369, 373, 369, 87, 87, 234, 235, 402, 236, 237, 87, 263, 375, 264, 388, 263, 87, 264, 373, 416, 373, 403, 372, 87, 391, 373, 234, 235, 234, 87, 407, 236, 87, 237, 105, 105, 105, 105, 105, 105, 246, 246, 246, 246, 246, 246, 405, 245, 87, 245, 414, 106, 246, 246, 246, 246, 246, 246, 105, 105, 105, 105, 105, 105, 87, 87, 255, 87, 409, 406, 408, 87, 106, 376, 376, 376, 376, 376, 376, 381, 421, 87, 112, 112, 112, 112, 112, 112, 887, 234, 255, 87, 236, 237, 413, 87, 87, 417, 418, 87, 419, 383, 87, 384, 87, 377, 87, 385, 420, 425, 234, 87, 234, 386, 260, 236, 87, 237, 422, 87, 423, 410, 415, 87, 87, 387, 87, 411, 412, 384, 87, 428, 426, 385, 424, 432, 87, 429, 87, 87, 87, 433, 438, 87, 87, 430, 431, 87, 436, 437, 87, 87, 441, 439, 87, 440, 442, 435, 87, 443, 87, 87, 87, 87, 87, 87, 87, 87, 87, 445, 87, 447, 448, 87, 87, 87, 444, 449, 446, 451, 87, 87, 450, 456, 87, 455, 452, 454, 453, 87, 87, 87, 457, 462, 461, 87, 458, 459, 460, 465, 466, 87, 201, 464, 344, 201, 887, 463, 199, 344, 500, 345, 211, 211, 211, 211, 467, 352, 352, 352, 352, 360, 360, 361, 361, 371, 371, 371, 371, 371, 371, 370, 492, 370, 501, 87, 371, 371, 371, 371, 371, 371, 493, 87, 477, 488, 488, 488, 488, 488, 488, 233, 233, 233, 233, 233, 233, 87, 492, 516, 496, 234, 492, 87, 236, 237, 242, 242, 242, 242, 105, 105, 494, 495, 515, 381, 518, 489, 495, 496, 87, 87, 234, 374, 234, 87, 496, 236, 492, 237, 376, 376, 376, 376, 376, 376, 887, 383, 375, 384, 517, 87, 522, 385, 545, 496, 497, 87, 497, 386, 519, 498, 498, 498, 498, 498, 498, 87, 383, 87, 384, 387, 377, 87, 385, 384, 87, 87, 520, 385, 502, 87, 521, 87, 87, 523, 87, 87, 87, 87, 524, 526, 387, 499, 532, 87, 384, 525, 87, 527, 385, 87, 531, 528, 529, 530, 87, 535, 87, 536, 533, 87, 87, 539, 87, 87, 87, 534, 87, 537, 87, 87, 87, 541, 546, 538, 540, 87, 87, 544, 87, 548, 87, 87, 87, 542, 547, 543, 87, 87, 550, 87, 549, 556, 87, 552, 87, 87, 554, 87, 551, 87, 87, 559, 553, 87, 557, 87, 555, 87, 87, 87, 492, 87, 558, 565, 564, 560, 566, 561, 567, 562, 87, 87, 563, 87, 87, 201, 573, 568, 87, 571, 570, 577, 569, 599, 574, 492, 492, 576, 87, 572, 211, 211, 211, 211, 718, 493, 575, 488, 488, 488, 488, 488, 488, 376, 376, 376, 376, 376, 376, 599, 623, 492, 492, 234, 87, 87, 236, 237, 595, 87, 595, 87, 598, 596, 596, 596, 596, 596, 596, 489, 620, 618, 619, 87, 234, 490, 234, 87, 492, 236, 87, 237, 498, 498, 498, 498, 498, 498, 87, 87, 622, 626, 87, 621, 87, 597, 600, 600, 600, 600, 600, 600, 624, 87, 87, 87, 87, 629, 625, 631, 87, 633, 601, 632, 628, 602, 603, 497, 635, 497, 87, 636, 498, 498, 498, 498, 498, 498, 604, 630, 87, 634, 87, 601, 87, 601, 87, 87, 602, 637, 603, 642, 641, 87, 87, 640, 87, 87, 87, 87, 87, 639, 643, 87, 638, 647, 87, 87, 87, 87, 87, 644, 648, 645, 87, 646, 87, 654, 87, 650, 87, 653, 87, 649, 651, 652, 87, 655, 87, 87, 87, 87, 87, 657, 659, 664, 656, 661, 660, 658, 87, 87, 666, 663, 87, 87, 688, 87, 688, 665, 87, 662, 488, 488, 488, 488, 488, 488, 668, 702, 703, 667, 596, 596, 596, 596, 596, 596, 595, 688, 595, 688, 87, 596, 596, 596, 596, 596, 596, 689, 87, 721, 87, 689, 594, 686, 686, 686, 686, 686, 686, 600, 600, 600, 600, 600, 600, 704, 87, 87, 689, 601, 689, 699, 602, 603, 701, 689, 87, 87, 87, 87, 87, 87, 87, 87, 700, 687, 706, 87, 707, 87, 601, 604, 601, 87, 708, 602, 710, 603, 87, 705, 711, 716, 712, 713, 715, 87, 714, 87, 87, 87, 717, 87, 87, 87, 87, 87, 87, 87, 87, 87, 719, 724, 87, 727, 732, 87, 722, 720, 731, 87, 87, 723, 87, 736, 725, 726, 728, 87, 733, 730, 734, 735, 729, 686, 686, 686, 686, 686, 686, 600, 600, 600, 600, 600, 600, 87, 87, 87, 750, 601, 87, 754, 602, 603, 87, 751, 87, 753, 87, 756, 87, 757, 87, 87, 87, 687, 87, 762, 759, 764, 601, 690, 601, 752, 755, 602, 760, 603, 758, 87, 87, 87, 767, 765, 87, 87, 87, 763, 761, 768, 766, 87, 770, 87, 87, 87, 87, 87, 769, 87, 87, 771, 87, 87, 774, 87, 772, 87, 87, 87, 87, 779, 87, 795, 780, 773, 87, 87, 87, 775, 776, 777, 797, 778, 686, 686, 686, 686, 686, 686, 793, 87, 796, 794, 87, 800, 87, 801, 803, 87, 87, 798, 804, 805, 87, 87, 87, 87, 799, 802, 807, 806, 87, 87, 87, 808, 743, 87, 87, 87, 809, 828, 87, 87, 87, 87, 830, 831, 87, 810, 833, 87, 87, 87, 834, 87, 811, 827, 826, 87, 87, 825, 836, 837, 829, 87, 832, 87, 87, 839, 87, 840, 87, 87, 835, 87, 838, 850, 87, 887, 87, 851, 852, 855, 87, 856, 849, 857, 87, 87, 853, 858, 87, 87, 87, 87, 854, 87, 859, 864, 865, 860, 863, 87, 87, 866, 87, 868, 867, 869, 87, 87, 87, 870, 87, 87, 87, 873, 87, 875, 87, 876, 87, 87, 87, 874, 87, 872, 87, 87, 87, 871, 87, 880, 87, 887, 862, 887, 879, 881, 887, 887, 877, 878, 886, 887, 861, 884, 87, 87, 882, 883, 87, 87, 885, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 86, 87, 887, 86, 887, 86, 86, 86, 86, 86, 140, 848, 887, 847, 140, 140, 140, 140, 140, 140, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 204, 887, 845, 204, 887, 204, 204, 204, 204, 204, 208, 844, 208, 208, 887, 208, 208, 208, 208, 208, 208, 843, 208, 216, 887, 842, 216, 216, 216, 216, 216, 216, 216, 216, 87, 216, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 253, 253, 87, 253, 87, 887, 824, 253, 269, 887, 823, 269, 821, 269, 269, 269, 269, 269, 273, 887, 273, 819, 887, 817, 273, 275, 887, 275, 815, 813, 87, 275, 348, 87, 348, 87, 87, 87, 348, 350, 87, 350, 87, 87, 87, 350, 354, 87, 354, 87, 87, 887, 354, 356, 792, 356, 790, 887, 887, 356, 358, 787, 358, 785, 783, 87, 358, 365, 87, 365, 87, 87, 87, 365, 367, 87, 367, 87, 749, 746, 367, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 380, 745, 380, 382, 382, 743, 382, 382, 382, 205, 382, 253, 253, 739, 253, 392, 738, 392, 670, 87, 87, 392, 394, 87, 394, 87, 87, 87, 394, 396, 87, 396, 87, 87, 87, 396, 273, 87, 273, 398, 87, 398, 87, 87, 87, 398, 275, 697, 275, 86, 696, 694, 86, 692, 86, 86, 86, 86, 86, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 469, 690, 469, 598, 685, 684, 469, 471, 682, 471, 680, 678, 676, 471, 473, 674, 473, 672, 670, 87, 473, 348, 87, 348, 475, 87, 475, 87, 87, 87, 475, 350, 87, 350, 478, 87, 478, 87, 87, 87, 478, 354, 617, 354, 480, 615, 480, 613, 611, 609, 480, 356, 607, 356, 482, 502, 482, 605, 605, 594, 482, 358, 593, 358, 484, 591, 484, 483, 483, 589, 484, 365, 587, 365, 486, 585, 486, 583, 581, 579, 486, 367, 87, 367, 491, 87, 491, 87, 491, 87, 491, 380, 87, 380, 87, 380, 87, 380, 382, 382, 87, 382, 382, 382, 514, 382, 503, 512, 503, 510, 508, 506, 503, 505, 504, 505, 490, 487, 485, 505, 507, 361, 507, 361, 483, 481, 507, 392, 479, 392, 509, 476, 509, 474, 472, 470, 509, 394, 87, 394, 511, 87, 511, 87, 400, 399, 511, 396, 397, 396, 513, 395, 513, 393, 270, 265, 513, 398, 264, 398, 86, 389, 389, 86, 252, 86, 86, 86, 86, 86, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, 578, 379, 578, 379, 240, 374, 578, 469, 368, 469, 580, 366, 580, 364, 360, 359, 580, 471, 357, 471, 582, 355, 582, 351, 349, 205, 582, 473, 201, 473, 584, 87, 584, 277, 276, 274, 584, 475, 270, 475, 586, 265, 586, 268, 265, 263, 586, 478, 262, 478, 588, 261, 588, 240, 232, 85, 588, 480, 85, 480, 482, 87, 482, 205, 203, 85, 482, 590, 122, 590, 117, 87, 887, 590, 484, 70, 484, 592, 70, 592, 887, 887, 887, 592, 486, 887, 486, 491, 887, 491, 887, 491, 887, 491, 382, 887, 382, 887, 887, 887, 382, 606, 887, 606, 887, 887, 887, 606, 503, 887, 503, 608, 887, 608, 887, 887, 887, 608, 505, 887, 505, 610, 887, 610, 887, 887, 887, 610, 507, 887, 507, 612, 887, 612, 887, 887, 887, 612, 509, 887, 509, 614, 887, 614, 887, 887, 887, 614, 511, 887, 511, 616, 887, 616, 887, 887, 887, 616, 513, 887, 513, 86, 887, 887, 86, 887, 86, 86, 86, 86, 86, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 671, 887, 671, 887, 887, 887, 671, 578, 887, 578, 673, 887, 673, 887, 887, 887, 673, 580, 887, 580, 675, 887, 675, 887, 887, 887, 675, 582, 887, 582, 677, 887, 677, 887, 887, 887, 677, 584, 887, 584, 679, 887, 679, 887, 887, 887, 679, 586, 887, 586, 681, 887, 681, 887, 887, 887, 681, 588, 887, 588, 683, 887, 683, 887, 887, 887, 683, 590, 887, 590, 86, 887, 86, 887, 887, 887, 86, 592, 887, 592, 491, 887, 491, 887, 887, 887, 491, 691, 887, 691, 887, 887, 887, 691, 606, 887, 606, 693, 887, 693, 887, 887, 887, 693, 608, 887, 608, 695, 887, 695, 887, 887, 887, 695, 610, 887, 610, 140, 887, 140, 887, 887, 887, 140, 612, 887, 612, 698, 887, 698, 614, 887, 614, 86, 887, 887, 86, 887, 86, 86, 86, 86, 86, 616, 887, 616, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 737, 887, 737, 887, 887, 887, 737, 671, 887, 671, 204, 887, 204, 887, 887, 887, 204, 673, 887, 673, 740, 887, 740, 675, 887, 675, 204, 887, 887, 204, 887, 204, 204, 204, 204, 204, 677, 887, 677, 741, 887, 741, 679, 887, 679, 681, 887, 681, 742, 887, 742, 683, 887, 683, 86, 887, 86, 744, 887, 744, 887, 887, 887, 744, 691, 887, 691, 269, 887, 269, 887, 887, 887, 269, 693, 887, 693, 747, 887, 747, 695, 887, 695, 140, 887, 140, 748, 887, 748, 887, 887, 887, 748, 86, 887, 887, 86, 887, 86, 86, 86, 86, 86, 781, 887, 781, 737, 887, 737, 204, 887, 204, 782, 887, 782, 887, 887, 887, 782, 784, 887, 784, 887, 887, 887, 784, 786, 887, 786, 887, 887, 887, 786, 788, 887, 788, 789, 887, 789, 887, 887, 887, 789, 791, 887, 791, 887, 887, 887, 791, 812, 887, 812, 887, 887, 887, 812, 814, 887, 814, 887, 887, 887, 814, 816, 887, 816, 887, 887, 887, 816, 818, 887, 818, 887, 887, 887, 818, 820, 887, 820, 887, 887, 887, 820, 822, 887, 822, 887, 887, 887, 822, 616, 887, 616, 887, 887, 887, 616, 841, 887, 841, 887, 887, 887, 841, 677, 887, 677, 887, 887, 887, 677, 681, 887, 681, 887, 887, 887, 681, 86, 887, 86, 887, 887, 887, 86, 846, 887, 846, 887, 887, 887, 846, 140, 887, 140, 887, 887, 887, 140, 204, 887, 204, 887, 887, 887, 204, 11, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887 } ; static yyconst flex_int16_t yy_chk[2883] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 39, 9, 10, 886, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 39, 42, 53, 28, 27, 28, 28, 28, 28, 28, 28, 109, 115, 25, 29, 25, 27, 27, 27, 29, 53, 35, 7, 8, 9, 10, 40, 42, 48, 29, 30, 40, 30, 30, 30, 30, 30, 30, 35, 62, 35, 35, 44, 302, 44, 109, 115, 885, 48, 30, 302, 62, 30, 57, 47, 45, 45, 45, 30, 30, 45, 45, 57, 45, 30, 55, 45, 45, 49, 40, 30, 45, 40, 49, 45, 47, 30, 47, 56, 64, 49, 164, 51, 55, 30, 73, 49, 30, 31, 55, 31, 31, 31, 31, 31, 31, 50, 51, 164, 51, 56, 154, 54, 59, 877, 50, 61, 31, 51, 50, 31, 73, 54, 58, 50, 59, 31, 154, 50, 54, 87, 159, 31, 59, 61, 58, 58, 60, 31, 64, 59, 126, 60, 126, 31, 58, 52, 159, 58, 68, 68, 52, 31, 38, 68, 60, 87, 38, 38, 52, 38, 52, 38, 38, 52, 38, 108, 38, 52, 114, 68, 68, 68, 68, 68, 68, 38, 38, 38, 127, 60, 127, 153, 60, 67, 67, 67, 67, 67, 67, 108, 153, 67, 114, 876, 873, 38, 60, 166, 38, 80, 80, 80, 80, 80, 80, 82, 82, 82, 82, 82, 82, 83, 83, 83, 83, 83, 83, 129, 166, 129, 104, 104, 104, 104, 107, 38, 38, 77, 77, 872, 107, 113, 77, 169, 77, 111, 132, 113, 132, 77, 103, 103, 103, 103, 103, 103, 131, 104, 77, 77, 77, 77, 104, 111, 169, 110, 107, 130, 131, 77, 131, 111, 105, 113, 105, 105, 105, 105, 105, 105, 151, 130, 103, 130, 77, 104, 134, 77, 134, 281, 116, 105, 77, 77, 110, 142, 77, 77, 151, 110, 133, 133, 152, 133, 77, 281, 105, 77, 116, 77, 77, 77, 105, 77, 85, 137, 116, 137, 85, 85, 152, 142, 110, 85, 85, 106, 85, 106, 85, 155, 106, 106, 106, 106, 106, 106, 150, 85, 85, 85, 135, 135, 135, 139, 145, 139, 156, 155, 160, 145, 161, 150, 157, 162, 167, 165, 168, 85, 150, 161, 85, 163, 106, 171, 157, 165, 163, 172, 156, 173, 160, 181, 176, 170, 162, 162, 181, 167, 170, 163, 174, 175, 172, 168, 182, 171, 173, 145, 85, 99, 99, 99, 99, 99, 99, 177, 170, 179, 174, 176, 184, 175, 183, 180, 185, 99, 99, 525, 99, 99, 525, 182, 179, 183, 218, 185, 218, 177, 184, 179, 180, 99, 191, 183, 183, 186, 99, 99, 99, 158, 186, 99, 185, 99, 158, 158, 158, 188, 158, 158, 190, 187, 158, 189, 158, 186, 205, 193, 189, 158, 158, 158, 627, 158, 187, 627, 192, 188, 194, 190, 193, 219, 193, 219, 220, 191, 220, 248, 191, 192, 189, 194, 205, 223, 225, 223, 225, 192, 197, 197, 197, 197, 197, 197, 198, 198, 197, 209, 209, 198, 200, 200, 209, 248, 870, 200, 202, 202, 308, 224, 224, 202, 224, 202, 308, 198, 198, 198, 198, 198, 198, 200, 200, 200, 200, 200, 200, 202, 202, 202, 202, 202, 202, 212, 212, 212, 212, 221, 222, 226, 226, 226, 228, 229, 228, 229, 234, 243, 237, 338, 222, 221, 222, 221, 235, 278, 235, 256, 279, 235, 235, 235, 235, 235, 235, 212, 236, 270, 278, 234, 236, 237, 280, 291, 241, 241, 279, 241, 241, 284, 266, 243, 266, 256, 267, 869, 267, 236, 291, 236, 280, 235, 338, 270, 236, 241, 241, 241, 282, 284, 241, 289, 241, 244, 244, 244, 244, 244, 244, 245, 245, 245, 245, 245, 245, 282, 247, 286, 247, 289, 244, 247, 247, 247, 247, 247, 247, 255, 255, 255, 255, 255, 255, 283, 285, 244, 295, 286, 283, 285, 288, 244, 246, 246, 246, 246, 246, 246, 253, 295, 292, 260, 260, 260, 260, 260, 260, 862, 246, 255, 296, 246, 246, 288, 293, 290, 292, 292, 294, 293, 253, 297, 253, 300, 246, 287, 253, 294, 300, 246, 303, 246, 253, 260, 246, 299, 246, 296, 304, 297, 287, 290, 301, 305, 253, 312, 287, 287, 253, 306, 303, 301, 253, 299, 306, 307, 304, 309, 310, 314, 307, 312, 311, 313, 305, 305, 315, 310, 311, 318, 316, 315, 313, 317, 314, 316, 309, 320, 317, 319, 322, 323, 324, 326, 327, 325, 328, 329, 318, 331, 320, 322, 332, 330, 333, 317, 323, 319, 325, 334, 335, 324, 330, 337, 329, 326, 328, 327, 339, 340, 341, 331, 337, 335, 342, 332, 333, 334, 341, 342, 343, 345, 340, 344, 344, 861, 339, 345, 344, 385, 344, 352, 352, 352, 352, 343, 353, 353, 353, 353, 362, 363, 362, 363, 370, 370, 370, 370, 370, 370, 372, 380, 372, 385, 860, 372, 372, 372, 372, 372, 372, 380, 402, 352, 371, 371, 371, 371, 371, 371, 374, 374, 374, 374, 374, 374, 404, 380, 402, 387, 371, 381, 401, 371, 371, 375, 375, 375, 375, 375, 375, 381, 383, 401, 382, 404, 371, 387, 383, 408, 432, 371, 374, 371, 403, 387, 371, 381, 371, 376, 376, 376, 376, 376, 376, 386, 382, 375, 382, 403, 405, 408, 382, 432, 383, 384, 859, 384, 382, 405, 384, 384, 384, 384, 384, 384, 406, 386, 412, 386, 382, 376, 407, 386, 382, 409, 410, 406, 382, 386, 411, 407, 415, 416, 409, 413, 414, 420, 417, 410, 412, 386, 384, 417, 418, 386, 411, 423, 413, 386, 419, 416, 414, 414, 415, 422, 419, 421, 420, 418, 427, 425, 423, 429, 430, 431, 418, 433, 421, 439, 434, 435, 427, 433, 422, 425, 437, 440, 431, 441, 435, 442, 443, 445, 429, 434, 430, 444, 447, 439, 449, 437, 445, 450, 441, 451, 456, 443, 452, 440, 453, 454, 450, 442, 457, 447, 455, 444, 460, 461, 463, 494, 458, 449, 456, 455, 451, 457, 452, 458, 453, 459, 462, 454, 464, 466, 468, 463, 459, 467, 462, 461, 468, 460, 495, 464, 491, 494, 467, 521, 462, 477, 477, 477, 477, 636, 491, 466, 488, 488, 488, 488, 488, 488, 490, 490, 490, 490, 490, 490, 495, 521, 491, 493, 488, 515, 518, 488, 488, 492, 516, 492, 636, 493, 492, 492, 492, 492, 492, 492, 488, 518, 515, 516, 519, 488, 490, 488, 520, 493, 488, 524, 488, 497, 497, 497, 497, 497, 497, 529, 522, 520, 524, 527, 519, 526, 492, 498, 498, 498, 498, 498, 498, 522, 523, 530, 533, 531, 527, 523, 529, 528, 531, 498, 530, 526, 498, 498, 499, 533, 499, 532, 534, 499, 499, 499, 499, 499, 499, 498, 528, 535, 532, 536, 498, 537, 498, 538, 539, 498, 535, 498, 541, 539, 542, 544, 538, 547, 541, 545, 534, 546, 537, 542, 549, 536, 547, 550, 551, 557, 552, 554, 544, 549, 545, 560, 546, 555, 557, 558, 551, 561, 555, 562, 550, 552, 554, 564, 558, 565, 567, 566, 568, 572, 561, 564, 569, 560, 566, 565, 562, 571, 569, 572, 568, 574, 575, 601, 621, 603, 571, 620, 567, 594, 594, 594, 594, 594, 594, 575, 620, 621, 574, 595, 595, 595, 595, 595, 595, 597, 601, 597, 603, 639, 597, 597, 597, 597, 597, 597, 602, 622, 639, 855, 602, 594, 596, 596, 596, 596, 596, 596, 600, 600, 600, 600, 600, 600, 622, 618, 619, 602, 596, 602, 618, 596, 596, 619, 602, 623, 626, 629, 624, 625, 631, 633, 628, 618, 596, 624, 630, 625, 632, 596, 600, 596, 635, 626, 596, 628, 596, 634, 623, 629, 634, 630, 631, 633, 637, 632, 638, 640, 641, 635, 644, 642, 645, 646, 651, 650, 657, 668, 656, 637, 642, 653, 646, 657, 851, 640, 638, 656, 664, 665, 641, 667, 668, 644, 645, 650, 699, 664, 653, 665, 667, 651, 686, 686, 686, 686, 686, 686, 690, 690, 690, 690, 690, 690, 700, 704, 702, 699, 686, 703, 704, 686, 686, 705, 700, 706, 703, 707, 706, 708, 707, 710, 711, 713, 686, 714, 713, 710, 715, 686, 690, 686, 702, 705, 686, 711, 686, 708, 712, 716, 717, 718, 716, 721, 720, 719, 714, 712, 719, 717, 722, 721, 723, 724, 725, 728, 715, 720, 732, 731, 722, 733, 735, 725, 736, 723, 718, 756, 761, 754, 735, 758, 756, 736, 724, 755, 757, 759, 728, 731, 732, 758, 733, 743, 743, 743, 743, 743, 743, 754, 760, 757, 755, 762, 761, 763, 762, 764, 766, 768, 759, 766, 768, 769, 772, 773, 770, 760, 763, 770, 769, 771, 778, 793, 771, 743, 795, 797, 796, 772, 797, 798, 799, 800, 764, 799, 800, 802, 773, 803, 804, 806, 810, 804, 811, 778, 796, 795, 807, 808, 793, 807, 808, 798, 826, 802, 809, 832, 810, 827, 811, 830, 829, 806, 803, 809, 827, 828, 848, 831, 828, 829, 831, 835, 832, 826, 835, 838, 839, 830, 838, 840, 849, 850, 853, 830, 852, 839, 850, 852, 840, 849, 854, 856, 853, 857, 856, 854, 857, 858, 863, 864, 858, 865, 866, 867, 865, 868, 867, 871, 868, 874, 875, 878, 866, 879, 864, 880, 882, 881, 863, 883, 878, 884, 847, 846, 845, 875, 879, 844, 843, 871, 874, 884, 842, 841, 882, 837, 836, 880, 881, 834, 833, 883, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, 891, 825, 824, 891, 823, 891, 891, 891, 891, 891, 892, 822, 821, 820, 892, 892, 892, 892, 892, 892, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 894, 819, 818, 894, 817, 894, 894, 894, 894, 894, 895, 816, 895, 895, 815, 895, 895, 895, 895, 895, 895, 814, 895, 896, 813, 812, 896, 896, 896, 896, 896, 896, 896, 896, 805, 896, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 898, 898, 801, 898, 794, 792, 791, 898, 899, 790, 789, 899, 788, 899, 899, 899, 899, 899, 900, 787, 900, 786, 785, 784, 900, 901, 783, 901, 782, 781, 780, 901, 902, 779, 902, 777, 776, 775, 902, 903, 774, 903, 767, 765, 753, 903, 904, 752, 904, 751, 750, 749, 904, 905, 748, 905, 747, 746, 745, 905, 906, 742, 906, 741, 740, 734, 906, 907, 730, 907, 729, 727, 726, 907, 908, 709, 908, 701, 698, 693, 908, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 910, 691, 910, 911, 911, 687, 911, 911, 911, 677, 911, 912, 912, 673, 912, 913, 671, 913, 669, 666, 663, 913, 914, 662, 914, 661, 660, 659, 914, 915, 658, 915, 655, 654, 652, 915, 916, 649, 916, 917, 648, 917, 647, 643, 616, 917, 918, 612, 918, 919, 610, 608, 919, 606, 919, 919, 919, 919, 919, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 922, 604, 922, 598, 592, 590, 922, 923, 588, 923, 586, 584, 582, 923, 924, 580, 924, 578, 577, 576, 924, 925, 573, 925, 926, 570, 926, 563, 559, 556, 926, 927, 553, 927, 928, 548, 928, 543, 540, 517, 928, 929, 513, 929, 930, 511, 930, 509, 507, 505, 930, 931, 503, 931, 932, 502, 932, 501, 500, 489, 932, 933, 486, 933, 934, 484, 934, 483, 482, 480, 934, 935, 478, 935, 936, 475, 936, 473, 471, 469, 936, 937, 465, 937, 938, 448, 938, 446, 938, 438, 938, 939, 436, 939, 428, 939, 426, 939, 940, 940, 424, 940, 940, 940, 398, 940, 941, 396, 941, 394, 392, 391, 941, 942, 390, 942, 377, 367, 365, 942, 943, 364, 943, 360, 358, 356, 943, 944, 354, 944, 945, 350, 945, 348, 347, 346, 945, 946, 336, 946, 947, 321, 947, 298, 277, 275, 947, 948, 273, 948, 949, 272, 949, 271, 269, 268, 949, 950, 263, 950, 951, 259, 258, 951, 254, 951, 951, 951, 951, 951, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 952, 953, 251, 953, 250, 239, 238, 953, 954, 231, 954, 955, 230, 955, 227, 217, 215, 955, 956, 214, 956, 957, 213, 957, 207, 206, 204, 957, 958, 199, 958, 959, 178, 959, 149, 147, 146, 959, 960, 140, 960, 961, 138, 961, 136, 128, 125, 961, 962, 124, 962, 963, 120, 963, 101, 98, 95, 963, 964, 93, 964, 965, 86, 965, 72, 70, 66, 965, 966, 36, 966, 33, 18, 11, 966, 967, 4, 967, 968, 3, 968, 0, 0, 0, 968, 969, 0, 969, 970, 0, 970, 0, 970, 0, 970, 971, 0, 971, 0, 0, 0, 971, 972, 0, 972, 0, 0, 0, 972, 973, 0, 973, 974, 0, 974, 0, 0, 0, 974, 975, 0, 975, 976, 0, 976, 0, 0, 0, 976, 977, 0, 977, 978, 0, 978, 0, 0, 0, 978, 979, 0, 979, 980, 0, 980, 0, 0, 0, 980, 981, 0, 981, 982, 0, 982, 0, 0, 0, 982, 983, 0, 983, 984, 0, 0, 984, 0, 984, 984, 984, 984, 984, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 986, 0, 986, 0, 0, 0, 986, 987, 0, 987, 988, 0, 988, 0, 0, 0, 988, 989, 0, 989, 990, 0, 990, 0, 0, 0, 990, 991, 0, 991, 992, 0, 992, 0, 0, 0, 992, 993, 0, 993, 994, 0, 994, 0, 0, 0, 994, 995, 0, 995, 996, 0, 996, 0, 0, 0, 996, 997, 0, 997, 998, 0, 998, 0, 0, 0, 998, 999, 0, 999, 1000, 0, 1000, 0, 0, 0, 1000, 1001, 0, 1001, 1002, 0, 1002, 0, 0, 0, 1002, 1003, 0, 1003, 0, 0, 0, 1003, 1004, 0, 1004, 1005, 0, 1005, 0, 0, 0, 1005, 1006, 0, 1006, 1007, 0, 1007, 0, 0, 0, 1007, 1008, 0, 1008, 1009, 0, 1009, 0, 0, 0, 1009, 1010, 0, 1010, 1011, 0, 1011, 1012, 0, 1012, 1013, 0, 0, 1013, 0, 1013, 1013, 1013, 1013, 1013, 1014, 0, 1014, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1016, 0, 1016, 0, 0, 0, 1016, 1017, 0, 1017, 1018, 0, 1018, 0, 0, 0, 1018, 1019, 0, 1019, 1020, 0, 1020, 1021, 0, 1021, 1022, 0, 0, 1022, 0, 1022, 1022, 1022, 1022, 1022, 1023, 0, 1023, 1024, 0, 1024, 1025, 0, 1025, 1026, 0, 1026, 1027, 0, 1027, 1028, 0, 1028, 1029, 0, 1029, 1030, 0, 1030, 0, 0, 0, 1030, 1031, 0, 1031, 1032, 0, 1032, 0, 0, 0, 1032, 1033, 0, 1033, 1034, 0, 1034, 1035, 0, 1035, 1036, 0, 1036, 1037, 0, 1037, 0, 0, 0, 1037, 1038, 0, 0, 1038, 0, 1038, 1038, 1038, 1038, 1038, 1039, 0, 1039, 1040, 0, 1040, 1041, 0, 1041, 1042, 0, 1042, 0, 0, 0, 1042, 1043, 0, 1043, 0, 0, 0, 1043, 1044, 0, 1044, 0, 0, 0, 1044, 1045, 0, 1045, 1046, 0, 1046, 0, 0, 0, 1046, 1047, 0, 1047, 0, 0, 0, 1047, 1048, 0, 1048, 0, 0, 0, 1048, 1049, 0, 1049, 0, 0, 0, 1049, 1050, 0, 1050, 0, 0, 0, 1050, 1051, 0, 1051, 0, 0, 0, 1051, 1052, 0, 1052, 0, 0, 0, 1052, 1053, 0, 1053, 0, 0, 0, 1053, 1054, 0, 1054, 0, 0, 0, 1054, 1055, 0, 1055, 0, 0, 0, 1055, 1056, 0, 1056, 0, 0, 0, 1056, 1057, 0, 1057, 0, 0, 0, 1057, 1058, 0, 1058, 0, 0, 0, 1058, 1059, 0, 1059, 0, 0, 0, 1059, 1060, 0, 1060, 0, 0, 0, 1060, 1061, 0, 1061, 0, 0, 0, 1061, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[181] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; 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 : Wed Mar 2 18:07:20 2016 * Update Count : 434 */ #line 20 "lex.ll" // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been // performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g., // line-number directives) and C/C++ style comments, which are ignored. //**************************** Includes and Defines **************************** #include #include "lex.h" #include "ParseNode.h" #include "parser.h" // YACC generated definitions based on C++ grammar char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define RETURN_LOCN(x) yylval.tok.loc.file = yyfilename; yylval.tok.loc.line = yylineno; return( x ) #define RETURN_VAL(x) yylval.tok.str = new std::string( yytext ); RETURN_LOCN( x ) #define RETURN_CHAR(x) yylval.tok.str = NULL; RETURN_LOCN( x ) #define RETURN_STR(x) yylval.tok.str = strtext; RETURN_LOCN( x ) #define WHITE_RETURN(x) // do nothing #define NEWLINE_RETURN() WHITE_RETURN( '\n' ) #define ASCIIOP_RETURN() RETURN_CHAR( (int)yytext[0] ) // single character operator #define NAMEDOP_RETURN(x) RETURN_VAL( x ) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL( x ) // numeric constant #define KEYWORD_RETURN(x) RETURN_CHAR( x ) // keyword #define IDENTIFIER_RETURN() RETURN_VAL( (typedefTable.isIdentifier( yytext ) ? IDENTIFIER : typedefTable.isTypedef( yytext ) ? TYPEDEFname : TYPEGENname ) ) #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) void rm_underscore() { // remove underscores in numeric constant int j = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[j] = yytext[i]; j += 1; } // if } // for yyleng = j; yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // GCC: D (double), LD (long double) and iI (imaginary) suffixes // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // operators #line 1523 "Parser/lex.cc" #define INITIAL 0 #define COMMENT 1 #define BKQUOTE 2 #define QUOTE 3 #define STRING 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 137 "lex.ll" /* line directives */ #line 1718 "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 >= 888 ) 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] != 2798 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 139 "lex.ll" { /* " stop highlighting */ char *end_num; char *begin_string, *end_string; char *filename; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { end_string = strchr( begin_string + 1, '"' ); if ( end_string ) { length = end_string - begin_string - 1; filename = new char[ length + 1 ]; memcpy( filename, begin_string + 1, length ); filename[ length ] = '\0'; //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 162 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 165 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 166 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 167 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments (ALSO HANDLED BY CPP) */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 170 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 173 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 174 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 175 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 178 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 36: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 37: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 38: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 39: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 40: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 41: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 42: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 43: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 44: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 45: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 46: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 47: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 49: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 50: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 51: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 52: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 53: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 54: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 55: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 56: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 57: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 58: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 59: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 61: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 62: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 64: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 65: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 67: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 68: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 69: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 70: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(OTYPE); } // CFA YY_BREAK case 71: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 72: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 73: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 76: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 77: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 78: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 79: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 80: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 81: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 82: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 83: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 84: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 85: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 86: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 87: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 88: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(TRAIT); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 91: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 92: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 95: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 96: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(VALIST); } // GCC YY_BREAK case 97: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 98: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 99: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 100: YY_RULE_SETUP #line 268 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 101: YY_RULE_SETUP #line 269 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 102: YY_RULE_SETUP #line 272 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 103: YY_RULE_SETUP #line 273 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 104: YY_RULE_SETUP #line 274 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 105: YY_RULE_SETUP #line 275 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 106: YY_RULE_SETUP #line 276 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 107: YY_RULE_SETUP #line 279 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 108: YY_RULE_SETUP #line 280 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 109: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 110: YY_RULE_SETUP #line 282 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 111: YY_RULE_SETUP #line 283 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 112: YY_RULE_SETUP #line 284 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 113: YY_RULE_SETUP #line 285 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 114: YY_RULE_SETUP #line 288 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 115: YY_RULE_SETUP #line 289 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 116: /* rule 116 can match eol */ YY_RULE_SETUP #line 290 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 117: YY_RULE_SETUP #line 294 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 118: YY_RULE_SETUP #line 295 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 119: /* rule 119 can match eol */ YY_RULE_SETUP #line 296 "lex.ll" { BEGIN 0; *strtext += std::string( yytext ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 120: YY_RULE_SETUP #line 300 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 121: /* rule 121 can match eol */ YY_RULE_SETUP #line 301 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 122: YY_RULE_SETUP #line 302 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 123: YY_RULE_SETUP #line 305 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 306 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 125: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 126: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 127: YY_RULE_SETUP #line 309 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 128: YY_RULE_SETUP #line 310 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 129: YY_RULE_SETUP #line 311 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 130: YY_RULE_SETUP #line 312 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 131: YY_RULE_SETUP #line 313 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 314 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 133: YY_RULE_SETUP #line 315 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 134: YY_RULE_SETUP #line 318 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 135: YY_RULE_SETUP #line 319 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 136: YY_RULE_SETUP #line 320 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 137: YY_RULE_SETUP #line 321 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 138: YY_RULE_SETUP #line 324 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 325 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 146: YY_RULE_SETUP #line 332 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 147: YY_RULE_SETUP #line 333 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 148: YY_RULE_SETUP #line 334 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 149: YY_RULE_SETUP #line 335 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 150: YY_RULE_SETUP #line 336 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 151: YY_RULE_SETUP #line 337 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 152: YY_RULE_SETUP #line 339 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 153: YY_RULE_SETUP #line 340 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 154: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 155: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 156: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 157: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 158: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 159: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 160: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 161: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 162: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 163: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 164: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 165: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 166: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 167: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 168: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 169: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 170: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 171: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 172: YY_RULE_SETUP #line 359 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 173: YY_RULE_SETUP #line 361 "lex.ll" { NAMEDOP_RETURN(ATassign); } YY_BREAK /* CFA, operator identifier */ case 174: YY_RULE_SETUP #line 364 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 175: YY_RULE_SETUP #line 365 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 176: YY_RULE_SETUP #line 366 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 177: YY_RULE_SETUP #line 367 "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 178: YY_RULE_SETUP #line 394 "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 179: YY_RULE_SETUP #line 406 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 180: YY_RULE_SETUP #line 408 "lex.ll" ECHO; YY_BREAK #line 2792 "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 >= 888 ) 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 >= 888 ) 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 == 887); 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 408 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //