#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[884] = { 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, 39, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 57, 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, 51, 102, 102, 102, 64, 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, 42, 102, 44, 102, 102, 102, 102, 102, 102, 102, 56, 102, 67, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 90, 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, 102, 41, 102, 102, 102, 102, 49, 102, 102, 54, 102, 102, 102, 102, 102, 102, 77, 102, 102, 102, 102, 102, 87, 102, 102, 95, 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, 59, 102, 102, 102, 102, 102, 102, 102, 102, 28, 102, 102, 102, 102, 40, 43, 46, 102, 102, 52, 102, 61, 68, 102, 102, 102, 76, 78, 81, 82, 84, 85, 102, 102, 92, 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, 35, 102, 37, 38, 102, 48, 53, 102, 102, 102, 102, 91, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 60, 62, 65, 102, 102, 79, 93, 102, 102, 36, 47, 70, 72, 73, 102, 96, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 69, 102, 102, 12, 102, 102, 30, 34, 102, 102, 102, 66, 102, 102, 102, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 102, 102, 102, 102, 102, 102, 102, 50, 63, 74, 80, 94, 99, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 13, 19, 102, 31, 102, 102, 102, 26, 88, 0, 0, 102, 102, 102, 102, 102, 75, 100, 102, 86, 20, 102, 45, 83, 102, 102, 102, 102, 71, 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[1058] = { 0, 0, 83, 2252, 2249, 93, 0, 175, 176, 177, 178, 2263, 2799, 189, 2799, 195, 54, 2799, 2210, 59, 171, 2799, 2799, 2799, 55, 186, 2799, 189, 187, 202, 214, 272, 0, 2228, 2799, 214, 2227, 150, 340, 153, 222, 2799, 157, 2799, 215, 224, 2799, 207, 181, 221, 249, 235, 289, 155, 255, 218, 196, 257, 312, 256, 323, 259, 192, 2799, 185, 2799, 2222, 377, 342, 2799, 2231, 2799, 2200, 241, 2799, 0, 2799, 421, 0, 2799, 393, 2799, 399, 405, 2799, 492, 2199, 256, 2799, 2799, 2799, 2799, 2799, 2215, 2799, 2212, 2799, 2799, 2222, 552, 2799, 2239, 2799, 413, 393, 437, 493, 377, 263, 195, 430, 276, 0, 382, 318, 231, 400, 2799, 2799, 2799, 2209, 2799, 2799, 2799, 2207, 2204, 302, 306, 2217, 356, 395, 422, 400, 455, 440, 469, 2198, 494, 2148, 495, 2177, 2799, 384, 2799, 2799, 521, 2171, 2168, 2799, 2141, 414, 424, 463, 470, 274, 480, 341, 485, 495, 401, 432, 484, 490, 513, 482, 520, 486, 506, 487, 488, 533, 532, 534, 535, 541, 231, 536, 544, 2169, 553, 547, 545, 548, 569, 570, 546, 572, 571, 573, 551, 576, 622, 581, 583, 586, 2799, 2799, 653, 659, 2216, 665, 2799, 692, 2799, 2164, 590, 2158, 2157, 0, 668, 2799, 2799, 655, 2156, 2154, 2134, 0, 2155, 664, 668, 671, 679, 689, 672, 693, 680, 696, 2152, 699, 700, 2128, 2125, 2799, 0, 599, 717, 707, 611, 2124, 2175, 2799, 715, 0, 486, 738, 760, 777, 803, 673, 2799, 2133, 2106, 0, 791, 2149, 783, 677, 2799, 2126, 2101, 824, 2799, 2799, 2132, 2799, 2799, 704, 715, 2110, 2108, 704, 2104, 2103, 2101, 0, 2098, 0, 2067, 708, 582, 719, 729, 687, 738, 597, 739, 742, 801, 740, 765, 746, 766, 791, 804, 707, 789, 793, 803, 2097, 811, 812, 761, 818, 813, 819, 824, 826, 830, 828, 699, 832, 836, 838, 839, 840, 844, 847, 851, 843, 850, 853, 2096, 492, 857, 858, 861, 859, 860, 864, 863, 867, 865, 869, 871, 870, 2094, 877, 918, 878, 882, 889, 885, 891, 948, 943, 2088, 2087, 2086, 0, 2084, 0, 936, 940, 2081, 0, 2080, 0, 2079, 0, 2098, 2799, 922, 935, 2076, 2070, 0, 2066, 0, 2799, 948, 969, 959, 2799, 975, 990, 1014, 2064, 2799, 2799, 933, 935, 1001, 976, 1034, 938, 1028, 960, 2799, 2799, 2062, 2059, 2057, 0, 2055, 0, 2052, 0, 2049, 0, 2799, 958, 955, 901, 976, 1003, 980, 1013, 974, 1014, 968, 1011, 1018, 1015, 1029, 1026, 1032, 1030, 1034, 1033, 1036, 1041, 1042, 1038, 2051, 1044, 2050, 1054, 2048, 1055, 1059, 1060, 1062, 1064, 1063, 1065, 2045, 1067, 2042, 1068, 1071, 1072, 1075, 1077, 1079, 1080, 2041, 1083, 2040, 1084, 1086, 1090, 1094, 1096, 1091, 1101, 1102, 1104, 1098, 1108, 1103, 1118, 1106, 1119, 2038, 1109, 1112, 1176, 2032, 0, 2029, 0, 2028, 0, 2027, 0, 1166, 2025, 0, 2022, 0, 2019, 2018, 2017, 0, 2015, 0, 1170, 2012, 1176, 1162, 1196, 1163, 1139, 1166, 2799, 1219, 1229, 1255, 2021, 1996, 2007, 2005, 0, 2002, 0, 1999, 0, 1998, 0, 1997, 0, 1995, 0, 1159, 1122, 1995, 1196, 1134, 1174, 1153, 1184, 1124, 1177, 1206, 1198, 1207, 1214, 1213, 1208, 1210, 1224, 1212, 1264, 1238, 1240, 1241, 1243, 1245, 1992, 1254, 1246, 1991, 1249, 1251, 1256, 1257, 1260, 1990, 1261, 1259, 1253, 1263, 1988, 1266, 1274, 1985, 1273, 1277, 1267, 1280, 1283, 1284, 1984, 1285, 805, 1287, 1288, 1291, 1298, 1290, 1295, 1983, 1297, 1300, 1981, 2027, 1974, 0, 1973, 0, 1971, 0, 1938, 0, 1936, 0, 1935, 0, 1932, 0, 1929, 0, 1344, 1350, 1377, 1361, 1928, 2799, 1367, 1317, 1367, 1318, 1927, 2799, 1925, 0, 1922, 0, 1919, 0, 1918, 0, 0, 0, 1920, 0, 1355, 1304, 1356, 1344, 1328, 1346, 1359, 1363, 1361, 1306, 1376, 1362, 1379, 1374, 1381, 1383, 1388, 1386, 1399, 1393, 1395, 1397, 1400, 1401, 1402, 1918, 1404, 1407, 1409, 1410, 1915, 1914, 1913, 1412, 1413, 1911, 1416, 1908, 1907, 1417, 1420, 1414, 1906, 1904, 1901, 1897, 1893, 1889, 1425, 1427, 1873, 1436, 1424, 1921, 2799, 1868, 0, 1866, 0, 0, 0, 1866, 0, 0, 0, 2799, 0, 0, 0, 0, 1475, 1862, 2799, 2799, 1481, 1861, 0, 1859, 0, 0, 0, 0, 1856, 1422, 1428, 1858, 1441, 1461, 1458, 1444, 1469, 1470, 1442, 1857, 1471, 1474, 1480, 1476, 1475, 1509, 1491, 1486, 1507, 1497, 1492, 1493, 1498, 1499, 1502, 1855, 1504, 1852, 1851, 1503, 1850, 1848, 1506, 1510, 1511, 1514, 1845, 1517, 1515, 0, 0, 0, 1841, 1840, 1838, 1565, 0, 1835, 1834, 1833, 1831, 1828, 1830, 1829, 1827, 1824, 1522, 1527, 1529, 1528, 1521, 1532, 1545, 1520, 1547, 1548, 1576, 1823, 1551, 1822, 1553, 1552, 1557, 1563, 1558, 1564, 1820, 1817, 1816, 1815, 1813, 1565, 1806, 1804, 1800, 1797, 1796, 1795, 1793, 1776, 1767, 1766, 1763, 1756, 1753, 1746, 1567, 1747, 1569, 1571, 1572, 1570, 1574, 1578, 1746, 1579, 1605, 1582, 1725, 1584, 1583, 1593, 1591, 1595, 1598, 1721, 1720, 1713, 1711, 1710, 1668, 1664, 1663, 1662, 1661, 1660, 1659, 1657, 1657, 1599, 1601, 1604, 1603, 1609, 1610, 1602, 1655, 1654, 1615, 1519, 1518, 1621, 1616, 1617, 1456, 1309, 1183, 1122, 998, 934, 770, 653, 1622, 1623, 655, 1629, 1630, 621, 1633, 1634, 1635, 585, 537, 436, 395, 1639, 1641, 1642, 1643, 1644, 362, 322, 1646, 270, 232, 1648, 203, 199, 1649, 1650, 1652, 1651, 136, 2799, 1724, 1737, 1750, 1760, 1770, 1783, 1793, 1806, 1819, 1832, 1840, 1850, 1857, 1864, 1871, 1878, 1885, 1892, 1899, 1906, 1913, 1926, 1933, 1937, 1945, 1948, 1955, 1962, 1969, 1972, 1979, 1985, 1998, 2011, 2018, 2025, 2032, 2039, 2042, 2049, 2052, 2059, 2062, 2069, 2072, 2079, 2082, 2089, 2092, 2099, 2102, 2109, 2117, 2124, 2131, 2138, 2145, 2148, 2155, 2158, 2165, 2168, 2175, 2181, 2194, 2201, 2208, 2211, 2218, 2221, 2228, 2231, 2238, 2241, 2248, 2251, 2258, 2261, 2268, 2275, 2278, 2285, 2288, 2295, 2302, 2309, 2312, 2319, 2322, 2329, 2332, 2339, 2342, 2349, 2352, 2359, 2365, 2378, 2385, 2392, 2395, 2402, 2405, 2412, 2415, 2422, 2425, 2432, 2435, 2442, 2445, 2452, 2455, 2462, 2465, 2472, 2479, 2482, 2489, 2492, 2499, 2502, 2509, 2512, 2515, 2521, 2528, 2537, 2544, 2551, 2554, 2561, 2564, 2567, 2573, 2580, 2583, 2586, 2589, 2592, 2595, 2598, 2601, 2608, 2611, 2618, 2621, 2624, 2627, 2630, 2640, 2647, 2650, 2653, 2656, 2663, 2670, 2677, 2680, 2687, 2694, 2701, 2708, 2715, 2722, 2729, 2736, 2743, 2750, 2757, 2764, 2771, 2778, 2785 } ; static yyconst flex_int16_t yy_def[1058] = { 0, 883, 1, 884, 884, 883, 5, 885, 885, 886, 886, 883, 883, 883, 883, 883, 883, 883, 887, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 31, 883, 883, 883, 883, 883, 883, 888, 887, 883, 883, 883, 883, 887, 883, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 883, 883, 883, 883, 883, 889, 883, 883, 883, 890, 883, 883, 891, 883, 883, 892, 883, 883, 883, 883, 883, 883, 883, 887, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 893, 883, 99, 30, 883, 883, 883, 883, 894, 30, 883, 31, 883, 883, 31, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 895, 883, 883, 883, 883, 887, 896, 897, 883, 883, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 883, 883, 883, 889, 889, 889, 883, 889, 883, 890, 883, 898, 899, 891, 883, 883, 883, 883, 900, 901, 902, 892, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 903, 904, 883, 99, 883, 883, 883, 883, 99, 905, 883, 883, 104, 104, 883, 883, 883, 883, 883, 883, 883, 883, 906, 907, 908, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 895, 883, 909, 910, 911, 912, 913, 914, 883, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 916, 917, 918, 919, 920, 921, 922, 923, 883, 883, 924, 925, 926, 927, 928, 929, 883, 883, 883, 883, 883, 930, 931, 932, 933, 883, 883, 883, 883, 883, 883, 883, 370, 375, 883, 883, 934, 935, 936, 883, 883, 883, 936, 883, 883, 883, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 883, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 883, 957, 958, 959, 960, 961, 961, 962, 963, 964, 965, 883, 486, 883, 966, 883, 966, 883, 883, 883, 883, 883, 883, 883, 883, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 883, 883, 883, 883, 998, 883, 594, 883, 883, 883, 598, 883, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1011, 883, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 883, 1022, 1023, 1024, 1025, 883, 686, 883, 883, 883, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 883, 1041, 1026, 1028, 1042, 1043, 1033, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1044, 1045, 1038, 1046, 1039, 1047, 1040, 1048, 1049, 1042, 1050, 1043, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1051, 1044, 1052, 1045, 1053, 1046, 1054, 1047, 1055, 1048, 1056, 1049, 1050, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1057, 1051, 1052, 1053, 1054, 1028, 1055, 1056, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1057, 1028, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 0, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883 } ; static yyconst flex_int16_t yy_nxt[2884] = { 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, 195, 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, 87, 883, 161, 106, 87, 194, 107, 182, 87, 150, 151, 152, 108, 109, 153, 154, 196, 155, 110, 87, 156, 157, 87, 87, 106, 87, 145, 162, 158, 159, 111, 160, 87, 87, 163, 260, 87, 180, 108, 206, 164, 109, 103, 181, 112, 112, 112, 112, 112, 112, 87, 169, 317, 170, 230, 250, 87, 87, 87, 165, 87, 106, 171, 166, 113, 207, 178, 183, 167, 188, 114, 87, 168, 179, 249, 87, 115, 189, 193, 251, 231, 143, 106, 263, 190, 264, 144, 263, 116, 264, 87, 283, 248, 200, 201, 172, 114, 125, 200, 191, 249, 126, 127, 173, 128, 174, 129, 130, 175, 131, 258, 132, 176, 87, 202, 202, 202, 202, 202, 202, 133, 134, 135, 87, 87, 184, 185, 145, 197, 81, 82, 82, 82, 197, 259, 186, 198, 263, 187, 264, 136, 192, 87, 137, 80, 81, 82, 82, 82, 80, 82, 81, 82, 82, 82, 82, 82, 81, 83, 83, 83, 82, 265, 87, 285, 242, 242, 242, 242, 248, 138, 139, 209, 210, 256, 249, 263, 209, 264, 211, 257, 263, 271, 264, 211, 99, 99, 99, 99, 99, 99, 265, 883, 212, 212, 212, 212, 243, 257, 883, 883, 249, 87, 263, 211, 264, 257, 103, 272, 105, 105, 105, 105, 105, 105, 87, 256, 241, 298, 213, 883, 263, 211, 264, 257, 87, 106, 211, 211, 883, 278, 211, 211, 87, 255, 266, 263, 279, 264, 211, 883, 244, 211, 280, 211, 214, 211, 106, 215, 217, 263, 267, 264, 218, 219, 299, 883, 883, 220, 221, 245, 222, 245, 223, 87, 246, 246, 246, 246, 246, 246, 87, 224, 225, 226, 263, 263, 264, 264, 143, 282, 87, 281, 87, 144, 87, 87, 87, 87, 87, 374, 87, 227, 87, 300, 228, 87, 247, 286, 284, 305, 287, 288, 289, 447, 290, 291, 87, 307, 292, 310, 293, 301, 302, 87, 309, 294, 295, 296, 303, 297, 87, 87, 229, 233, 233, 233, 233, 233, 233, 308, 306, 304, 87, 87, 87, 87, 87, 87, 311, 234, 235, 87, 236, 237, 87, 87, 87, 87, 87, 314, 323, 87, 315, 87, 313, 238, 312, 329, 324, 316, 234, 235, 234, 318, 322, 236, 319, 237, 320, 87, 87, 87, 87, 87, 330, 321, 87, 331, 335, 143, 325, 87, 87, 87, 333, 87, 87, 345, 328, 368, 326, 327, 332, 334, 338, 336, 340, 87, 341, 342, 401, 368, 339, 197, 81, 82, 82, 82, 197, 200, 201, 198, 368, 346, 200, 200, 201, 406, 209, 210, 200, 87, 87, 209, 368, 337, 351, 351, 351, 351, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 343, 201, 359, 360, 360, 343, 359, 344, 360, 359, 359, 360, 360, 87, 883, 360, 352, 359, 359, 360, 360, 202, 202, 202, 202, 202, 202, 359, 377, 360, 361, 359, 387, 360, 359, 362, 360, 359, 359, 360, 360, 369, 263, 369, 264, 87, 370, 370, 370, 370, 370, 370, 372, 263, 377, 264, 372, 87, 387, 389, 234, 235, 404, 236, 237, 87, 87, 105, 105, 105, 105, 105, 105, 372, 419, 372, 434, 87, 371, 400, 372, 234, 235, 234, 106, 390, 236, 87, 237, 246, 246, 246, 246, 246, 246, 402, 87, 87, 87, 255, 87, 405, 407, 403, 87, 106, 375, 375, 375, 375, 375, 375, 105, 105, 105, 105, 105, 105, 380, 87, 408, 412, 234, 87, 87, 236, 237, 245, 425, 245, 414, 883, 246, 246, 246, 246, 246, 246, 376, 415, 382, 413, 383, 234, 255, 234, 384, 87, 236, 87, 237, 87, 385, 112, 112, 112, 112, 112, 112, 87, 420, 87, 87, 87, 386, 416, 417, 418, 383, 87, 87, 87, 384, 660, 409, 424, 87, 87, 421, 422, 410, 411, 87, 426, 87, 260, 87, 423, 87, 431, 87, 427, 433, 432, 87, 428, 87, 87, 87, 435, 436, 87, 87, 429, 430, 87, 438, 440, 87, 87, 441, 87, 437, 439, 442, 87, 87, 87, 87, 87, 444, 87, 87, 87, 446, 87, 445, 87, 87, 87, 448, 443, 450, 143, 455, 87, 87, 449, 454, 451, 87, 452, 453, 87, 460, 456, 459, 87, 464, 87, 457, 458, 201, 462, 461, 463, 343, 201, 199, 87, 359, 343, 360, 344, 465, 211, 211, 211, 211, 351, 351, 351, 351, 359, 515, 360, 87, 370, 370, 370, 370, 370, 370, 369, 490, 369, 490, 498, 370, 370, 370, 370, 370, 370, 491, 864, 492, 475, 486, 486, 486, 486, 486, 486, 233, 233, 233, 233, 233, 233, 490, 499, 490, 87, 234, 494, 87, 236, 237, 242, 242, 242, 242, 105, 105, 493, 87, 513, 380, 514, 487, 494, 87, 493, 87, 234, 373, 234, 87, 522, 236, 494, 237, 375, 375, 375, 375, 375, 375, 518, 382, 374, 383, 516, 520, 883, 384, 494, 495, 883, 495, 87, 385, 496, 496, 496, 496, 496, 496, 87, 517, 87, 87, 87, 386, 376, 87, 382, 383, 383, 519, 521, 384, 384, 87, 523, 525, 87, 87, 500, 87, 87, 87, 530, 87, 497, 87, 533, 524, 87, 87, 386, 87, 526, 527, 383, 528, 531, 529, 384, 535, 537, 87, 87, 532, 534, 538, 87, 87, 536, 87, 87, 87, 87, 539, 87, 87, 542, 545, 87, 87, 543, 547, 87, 540, 87, 546, 87, 87, 541, 548, 87, 87, 544, 87, 551, 549, 555, 87, 87, 553, 550, 87, 558, 87, 552, 87, 554, 556, 87, 87, 87, 87, 566, 87, 557, 87, 87, 563, 559, 87, 562, 560, 567, 561, 565, 87, 87, 564, 574, 87, 571, 87, 883, 569, 201, 568, 623, 572, 573, 490, 575, 87, 617, 570, 211, 211, 211, 211, 486, 486, 486, 486, 486, 486, 375, 375, 375, 375, 375, 375, 87, 619, 490, 490, 234, 490, 87, 236, 237, 593, 597, 593, 491, 596, 594, 594, 594, 594, 594, 594, 487, 87, 621, 616, 87, 234, 488, 234, 490, 490, 236, 87, 237, 883, 620, 624, 597, 496, 496, 496, 496, 496, 496, 87, 622, 87, 595, 598, 598, 598, 598, 598, 598, 87, 87, 87, 625, 87, 618, 87, 87, 87, 631, 599, 630, 626, 600, 601, 495, 627, 495, 87, 633, 496, 496, 496, 496, 496, 496, 602, 628, 629, 632, 634, 599, 87, 599, 87, 87, 600, 87, 601, 87, 87, 635, 640, 87, 639, 87, 638, 87, 87, 641, 87, 87, 637, 87, 87, 87, 636, 87, 87, 649, 87, 87, 643, 646, 647, 644, 645, 87, 87, 642, 648, 87, 650, 652, 87, 651, 653, 87, 87, 87, 654, 87, 87, 655, 87, 87, 664, 659, 661, 87, 657, 87, 87, 665, 87, 658, 656, 663, 87, 666, 87, 688, 688, 709, 662, 701, 883, 668, 667, 486, 486, 486, 486, 486, 486, 594, 594, 594, 594, 594, 594, 593, 87, 593, 688, 688, 594, 594, 594, 594, 594, 594, 598, 598, 598, 598, 598, 598, 87, 704, 87, 592, 686, 686, 686, 686, 686, 686, 689, 87, 87, 703, 689, 87, 699, 87, 87, 87, 599, 702, 706, 600, 601, 705, 602, 707, 718, 700, 87, 689, 87, 689, 708, 87, 687, 87, 689, 87, 711, 599, 87, 599, 87, 710, 600, 716, 601, 87, 712, 87, 713, 87, 714, 87, 87, 87, 87, 717, 87, 715, 721, 87, 719, 87, 87, 724, 87, 87, 87, 720, 87, 87, 722, 728, 87, 734, 87, 723, 87, 87, 725, 87, 87, 733, 726, 727, 729, 731, 735, 732, 87, 736, 753, 738, 730, 87, 87, 752, 87, 737, 686, 686, 686, 686, 686, 686, 598, 598, 598, 598, 598, 598, 87, 863, 760, 87, 599, 756, 757, 600, 601, 754, 755, 87, 87, 87, 758, 759, 87, 87, 87, 761, 687, 764, 87, 766, 769, 599, 690, 599, 87, 762, 600, 763, 601, 87, 87, 87, 767, 768, 765, 87, 87, 87, 770, 772, 87, 87, 87, 771, 87, 87, 773, 87, 87, 87, 774, 776, 87, 87, 778, 87, 87, 87, 87, 87, 87, 775, 783, 782, 777, 87, 87, 87, 779, 800, 87, 780, 798, 781, 686, 686, 686, 686, 686, 686, 796, 799, 797, 87, 803, 87, 87, 806, 804, 87, 87, 87, 807, 801, 808, 87, 87, 809, 810, 805, 802, 87, 87, 87, 811, 87, 745, 87, 87, 87, 87, 812, 87, 831, 87, 833, 87, 87, 836, 834, 87, 87, 87, 837, 839, 813, 814, 830, 829, 87, 832, 87, 828, 87, 840, 835, 87, 87, 841, 87, 87, 87, 87, 87, 838, 854, 853, 87, 87, 842, 855, 857, 843, 87, 87, 87, 859, 858, 852, 87, 87, 87, 860, 861, 862, 856, 866, 87, 87, 865, 867, 87, 87, 87, 869, 870, 871, 87, 868, 87, 87, 87, 87, 874, 87, 876, 87, 87, 87, 87, 87, 875, 87, 87, 873, 87, 879, 872, 883, 882, 883, 851, 883, 850, 883, 848, 877, 878, 881, 883, 880, 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, 847, 883, 86, 846, 86, 86, 86, 86, 86, 140, 883, 845, 87, 140, 140, 140, 140, 140, 140, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 204, 87, 87, 204, 883, 204, 204, 204, 204, 204, 208, 827, 208, 208, 883, 208, 208, 208, 208, 208, 208, 826, 208, 216, 824, 883, 216, 216, 216, 216, 216, 216, 216, 216, 822, 216, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 253, 253, 883, 253, 820, 883, 818, 253, 269, 816, 87, 269, 87, 269, 269, 269, 269, 269, 273, 87, 273, 87, 87, 87, 273, 275, 87, 275, 87, 87, 87, 275, 347, 87, 347, 87, 87, 883, 347, 349, 795, 349, 793, 883, 883, 349, 353, 790, 353, 788, 786, 87, 353, 355, 87, 355, 87, 87, 87, 355, 357, 87, 357, 87, 87, 751, 357, 364, 748, 364, 747, 745, 205, 364, 366, 741, 366, 740, 670, 87, 366, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 379, 87, 379, 381, 381, 87, 381, 381, 381, 87, 381, 253, 253, 87, 253, 391, 87, 391, 87, 87, 87, 391, 393, 87, 393, 87, 87, 87, 393, 395, 87, 395, 87, 697, 696, 395, 273, 694, 273, 397, 692, 397, 690, 596, 685, 397, 275, 684, 275, 86, 682, 680, 86, 678, 86, 86, 86, 86, 86, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 467, 676, 467, 674, 672, 670, 467, 469, 87, 469, 87, 87, 87, 469, 471, 87, 471, 87, 87, 87, 471, 347, 87, 347, 473, 615, 473, 613, 611, 609, 473, 349, 607, 349, 476, 605, 476, 500, 603, 603, 476, 353, 592, 353, 478, 591, 478, 589, 481, 481, 478, 355, 587, 355, 480, 585, 480, 583, 581, 579, 480, 357, 577, 357, 482, 87, 482, 87, 87, 87, 482, 364, 87, 364, 484, 87, 484, 87, 87, 512, 484, 366, 510, 366, 489, 508, 489, 506, 489, 504, 489, 379, 502, 379, 488, 379, 485, 379, 381, 381, 483, 381, 381, 381, 360, 381, 501, 360, 501, 481, 479, 477, 501, 503, 474, 503, 472, 470, 468, 503, 505, 87, 505, 87, 87, 399, 505, 391, 398, 391, 507, 396, 507, 394, 392, 270, 507, 393, 265, 393, 509, 264, 509, 388, 388, 252, 509, 395, 378, 395, 511, 378, 511, 240, 373, 367, 511, 397, 365, 397, 86, 363, 359, 86, 358, 86, 86, 86, 86, 86, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, 576, 356, 576, 354, 350, 348, 576, 467, 205, 467, 578, 201, 578, 87, 277, 276, 578, 469, 274, 469, 580, 270, 580, 265, 268, 265, 580, 471, 263, 471, 582, 262, 582, 261, 240, 232, 582, 473, 85, 473, 584, 85, 584, 87, 205, 203, 584, 476, 85, 476, 586, 122, 586, 117, 87, 883, 586, 478, 70, 478, 480, 70, 480, 883, 883, 883, 480, 588, 883, 588, 883, 883, 883, 588, 482, 883, 482, 590, 883, 590, 883, 883, 883, 590, 484, 883, 484, 489, 883, 489, 883, 489, 883, 489, 381, 883, 381, 883, 883, 883, 381, 604, 883, 604, 883, 883, 883, 604, 501, 883, 501, 606, 883, 606, 883, 883, 883, 606, 503, 883, 503, 608, 883, 608, 883, 883, 883, 608, 505, 883, 505, 610, 883, 610, 883, 883, 883, 610, 507, 883, 507, 612, 883, 612, 883, 883, 883, 612, 509, 883, 509, 614, 883, 614, 883, 883, 883, 614, 511, 883, 511, 86, 883, 883, 86, 883, 86, 86, 86, 86, 86, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 671, 883, 671, 883, 883, 883, 671, 576, 883, 576, 673, 883, 673, 883, 883, 883, 673, 578, 883, 578, 675, 883, 675, 883, 883, 883, 675, 580, 883, 580, 677, 883, 677, 883, 883, 883, 677, 582, 883, 582, 679, 883, 679, 883, 883, 883, 679, 584, 883, 584, 681, 883, 681, 883, 883, 883, 681, 586, 883, 586, 683, 883, 683, 883, 883, 883, 683, 588, 883, 588, 86, 883, 86, 883, 883, 883, 86, 590, 883, 590, 489, 883, 489, 883, 883, 883, 489, 691, 883, 691, 883, 883, 883, 691, 604, 883, 604, 693, 883, 693, 883, 883, 883, 693, 606, 883, 606, 695, 883, 695, 883, 883, 883, 695, 608, 883, 608, 140, 883, 140, 883, 883, 883, 140, 610, 883, 610, 698, 883, 698, 612, 883, 612, 86, 883, 883, 86, 883, 86, 86, 86, 86, 86, 614, 883, 614, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 669, 739, 883, 739, 883, 883, 883, 739, 671, 883, 671, 204, 883, 204, 883, 883, 883, 204, 673, 883, 673, 742, 883, 742, 675, 883, 675, 204, 883, 883, 204, 883, 204, 204, 204, 204, 204, 677, 883, 677, 743, 883, 743, 679, 883, 679, 681, 883, 681, 744, 883, 744, 683, 883, 683, 86, 883, 86, 746, 883, 746, 883, 883, 883, 746, 691, 883, 691, 269, 883, 269, 883, 883, 883, 269, 693, 883, 693, 749, 883, 749, 695, 883, 695, 140, 883, 140, 750, 883, 750, 883, 883, 883, 750, 86, 883, 883, 86, 883, 86, 86, 86, 86, 86, 784, 883, 784, 739, 883, 739, 204, 883, 204, 785, 883, 785, 883, 883, 883, 785, 787, 883, 787, 883, 883, 883, 787, 789, 883, 789, 883, 883, 883, 789, 791, 883, 791, 792, 883, 792, 883, 883, 883, 792, 794, 883, 794, 883, 883, 883, 794, 815, 883, 815, 883, 883, 883, 815, 817, 883, 817, 883, 883, 883, 817, 819, 883, 819, 883, 883, 883, 819, 821, 883, 821, 883, 883, 883, 821, 823, 883, 823, 883, 883, 883, 823, 825, 883, 825, 883, 883, 883, 825, 614, 883, 614, 883, 883, 883, 614, 844, 883, 844, 883, 883, 883, 844, 677, 883, 677, 883, 883, 883, 677, 681, 883, 681, 883, 883, 883, 681, 86, 883, 86, 883, 883, 883, 86, 849, 883, 849, 883, 883, 883, 849, 140, 883, 140, 883, 883, 883, 140, 204, 883, 204, 883, 883, 883, 204, 11, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883 } ; static yyconst flex_int16_t yy_chk[2884] = { 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, 882, 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, 64, 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, 56, 44, 109, 877, 115, 48, 30, 876, 62, 30, 56, 47, 45, 45, 45, 30, 30, 45, 45, 64, 45, 30, 55, 45, 45, 49, 40, 30, 45, 40, 49, 45, 47, 30, 47, 175, 874, 49, 115, 51, 55, 30, 73, 49, 30, 31, 55, 31, 31, 31, 31, 31, 31, 50, 51, 175, 51, 87, 108, 54, 59, 57, 50, 61, 31, 51, 50, 31, 73, 54, 57, 50, 59, 31, 873, 50, 54, 111, 154, 31, 59, 61, 108, 87, 60, 31, 126, 59, 126, 60, 127, 31, 127, 52, 154, 111, 68, 68, 52, 31, 38, 68, 60, 111, 38, 38, 52, 38, 52, 38, 38, 52, 38, 114, 38, 52, 58, 68, 68, 68, 68, 68, 68, 38, 38, 38, 871, 60, 58, 58, 60, 67, 67, 67, 67, 67, 67, 114, 58, 67, 129, 58, 129, 38, 60, 156, 38, 80, 80, 80, 80, 80, 80, 82, 82, 82, 82, 82, 82, 83, 83, 83, 83, 83, 83, 130, 870, 156, 104, 104, 104, 104, 107, 38, 38, 77, 77, 113, 107, 130, 77, 130, 77, 113, 132, 142, 132, 77, 103, 103, 103, 103, 103, 103, 131, 104, 77, 77, 77, 77, 104, 116, 864, 110, 107, 159, 131, 77, 131, 113, 105, 142, 105, 105, 105, 105, 105, 105, 150, 116, 103, 159, 77, 104, 134, 77, 134, 116, 151, 105, 77, 77, 110, 150, 77, 77, 160, 110, 133, 133, 150, 133, 77, 863, 105, 77, 151, 77, 77, 77, 105, 77, 85, 135, 135, 135, 85, 85, 160, 243, 110, 85, 85, 106, 85, 106, 85, 152, 106, 106, 106, 106, 106, 106, 153, 85, 85, 85, 137, 139, 137, 139, 145, 153, 155, 152, 164, 145, 161, 157, 166, 168, 169, 243, 162, 85, 322, 161, 85, 158, 106, 157, 155, 164, 158, 158, 158, 322, 158, 158, 167, 166, 158, 169, 158, 162, 162, 163, 168, 158, 158, 158, 163, 158, 165, 145, 85, 99, 99, 99, 99, 99, 99, 167, 165, 163, 171, 170, 172, 173, 176, 862, 170, 99, 99, 174, 99, 99, 177, 181, 185, 180, 182, 172, 181, 189, 173, 179, 171, 99, 170, 185, 182, 174, 99, 99, 99, 176, 180, 99, 177, 99, 179, 183, 184, 187, 186, 188, 185, 179, 190, 186, 189, 191, 183, 192, 279, 193, 187, 861, 194, 205, 184, 234, 183, 183, 186, 188, 192, 190, 193, 284, 193, 194, 279, 237, 192, 197, 197, 197, 197, 197, 197, 198, 198, 197, 234, 205, 198, 200, 200, 284, 209, 209, 200, 857, 191, 209, 237, 191, 212, 212, 212, 212, 198, 198, 198, 198, 198, 198, 200, 200, 200, 200, 200, 200, 202, 202, 218, 221, 218, 202, 219, 202, 219, 220, 223, 220, 223, 854, 851, 222, 212, 221, 225, 221, 225, 202, 202, 202, 202, 202, 202, 222, 248, 222, 224, 224, 256, 224, 226, 226, 226, 228, 229, 228, 229, 235, 266, 235, 266, 282, 235, 235, 235, 235, 235, 235, 236, 267, 248, 267, 236, 309, 256, 270, 241, 241, 282, 241, 241, 294, 278, 244, 244, 244, 244, 244, 244, 236, 294, 236, 309, 280, 235, 278, 236, 241, 241, 241, 244, 270, 241, 281, 241, 245, 245, 245, 245, 245, 245, 280, 283, 285, 288, 244, 286, 283, 285, 281, 290, 244, 246, 246, 246, 246, 246, 246, 255, 255, 255, 255, 255, 255, 253, 301, 286, 288, 246, 289, 291, 246, 246, 247, 301, 247, 290, 850, 247, 247, 247, 247, 247, 247, 246, 291, 253, 289, 253, 246, 255, 246, 253, 295, 246, 292, 246, 296, 253, 260, 260, 260, 260, 260, 260, 287, 295, 297, 293, 564, 253, 292, 292, 293, 253, 299, 300, 303, 253, 564, 287, 300, 302, 304, 296, 297, 287, 287, 305, 302, 306, 260, 308, 299, 307, 306, 310, 303, 308, 307, 311, 304, 312, 313, 314, 310, 311, 318, 315, 305, 305, 316, 313, 315, 319, 317, 316, 320, 312, 314, 317, 323, 324, 326, 327, 325, 318, 329, 328, 331, 320, 330, 319, 332, 334, 333, 323, 317, 325, 337, 330, 336, 338, 324, 329, 326, 339, 327, 328, 341, 336, 331, 334, 340, 341, 342, 332, 333, 344, 339, 338, 340, 343, 343, 344, 402, 361, 343, 361, 343, 342, 351, 351, 351, 351, 352, 352, 352, 352, 362, 402, 362, 337, 369, 369, 369, 369, 369, 369, 371, 379, 371, 380, 384, 371, 371, 371, 371, 371, 371, 379, 849, 380, 351, 370, 370, 370, 370, 370, 370, 373, 373, 373, 373, 373, 373, 379, 384, 380, 401, 370, 386, 400, 370, 370, 374, 374, 374, 374, 374, 374, 382, 409, 400, 381, 401, 370, 382, 407, 386, 403, 370, 373, 370, 405, 409, 370, 386, 370, 375, 375, 375, 375, 375, 375, 405, 381, 374, 381, 403, 407, 385, 381, 382, 383, 848, 383, 404, 381, 383, 383, 383, 383, 383, 383, 410, 404, 406, 408, 412, 381, 375, 411, 385, 381, 385, 406, 408, 381, 385, 414, 410, 412, 413, 416, 385, 415, 418, 417, 416, 419, 383, 422, 418, 411, 420, 421, 385, 424, 413, 413, 385, 414, 417, 415, 385, 420, 422, 426, 428, 417, 419, 424, 429, 430, 421, 431, 433, 432, 434, 426, 436, 438, 430, 432, 439, 440, 430, 434, 441, 428, 442, 433, 443, 444, 429, 436, 446, 448, 431, 449, 440, 438, 444, 450, 453, 442, 439, 451, 449, 452, 441, 457, 443, 446, 454, 455, 459, 456, 457, 461, 448, 458, 464, 454, 450, 465, 453, 451, 458, 452, 456, 460, 462, 455, 465, 514, 461, 521, 847, 460, 466, 459, 521, 462, 464, 492, 466, 517, 514, 460, 475, 475, 475, 475, 486, 486, 486, 486, 486, 486, 488, 488, 488, 488, 488, 488, 519, 517, 489, 491, 486, 492, 513, 486, 486, 490, 493, 490, 489, 491, 490, 490, 490, 490, 490, 490, 486, 518, 519, 513, 522, 486, 488, 486, 489, 491, 486, 520, 486, 846, 518, 522, 493, 495, 495, 495, 495, 495, 495, 516, 520, 524, 490, 496, 496, 496, 496, 496, 496, 523, 525, 528, 523, 529, 516, 531, 527, 526, 529, 496, 528, 524, 496, 496, 497, 525, 497, 530, 531, 497, 497, 497, 497, 497, 497, 496, 526, 527, 530, 532, 496, 533, 496, 534, 535, 496, 536, 496, 537, 540, 533, 539, 542, 537, 543, 536, 550, 539, 540, 544, 545, 535, 549, 546, 548, 534, 551, 532, 550, 553, 558, 543, 546, 548, 544, 545, 556, 554, 542, 549, 557, 551, 554, 559, 553, 556, 560, 561, 563, 557, 565, 566, 558, 569, 567, 568, 563, 565, 570, 560, 572, 568, 569, 573, 561, 559, 567, 617, 570, 625, 599, 601, 625, 566, 617, 845, 573, 572, 592, 592, 592, 592, 592, 592, 593, 593, 593, 593, 593, 593, 595, 620, 595, 599, 601, 595, 595, 595, 595, 595, 595, 598, 598, 598, 598, 598, 598, 619, 620, 621, 592, 594, 594, 594, 594, 594, 594, 600, 616, 618, 619, 600, 622, 616, 624, 627, 623, 594, 618, 622, 594, 594, 621, 598, 623, 634, 616, 629, 600, 626, 600, 624, 628, 594, 630, 600, 631, 627, 594, 633, 594, 632, 626, 594, 632, 594, 635, 628, 636, 629, 637, 630, 634, 638, 639, 640, 633, 642, 631, 637, 643, 635, 644, 645, 640, 649, 650, 657, 636, 652, 655, 638, 645, 656, 657, 699, 639, 668, 664, 642, 665, 700, 656, 643, 644, 649, 652, 664, 655, 667, 665, 700, 668, 650, 702, 708, 699, 705, 667, 686, 686, 686, 686, 686, 686, 690, 690, 690, 690, 690, 690, 704, 844, 708, 703, 686, 704, 705, 686, 686, 702, 703, 706, 707, 710, 706, 707, 711, 714, 713, 710, 686, 713, 712, 715, 718, 686, 690, 686, 717, 711, 686, 712, 686, 716, 720, 721, 716, 717, 714, 719, 722, 723, 719, 721, 724, 729, 726, 720, 732, 718, 722, 715, 733, 734, 723, 726, 735, 738, 732, 737, 840, 839, 763, 760, 756, 724, 738, 737, 729, 757, 759, 758, 733, 760, 761, 734, 758, 735, 745, 745, 745, 745, 745, 745, 756, 759, 757, 762, 763, 764, 765, 766, 764, 768, 771, 770, 768, 761, 770, 772, 774, 771, 772, 765, 762, 773, 775, 781, 773, 796, 745, 798, 801, 799, 800, 774, 802, 800, 766, 802, 803, 805, 806, 803, 807, 810, 809, 807, 810, 775, 781, 799, 798, 812, 801, 811, 796, 813, 811, 805, 814, 829, 812, 830, 835, 832, 831, 806, 809, 831, 830, 833, 834, 813, 832, 834, 814, 838, 842, 843, 838, 835, 829, 841, 852, 853, 841, 842, 843, 833, 853, 855, 856, 852, 855, 858, 859, 860, 858, 859, 860, 865, 856, 866, 867, 868, 869, 867, 872, 869, 875, 878, 879, 881, 880, 868, 837, 836, 866, 828, 878, 865, 827, 881, 826, 825, 824, 823, 822, 821, 872, 875, 880, 820, 879, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 887, 819, 818, 887, 817, 887, 887, 887, 887, 887, 888, 816, 815, 808, 888, 888, 888, 888, 888, 888, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, 890, 804, 797, 890, 795, 890, 890, 890, 890, 890, 891, 794, 891, 891, 793, 891, 891, 891, 891, 891, 891, 792, 891, 892, 791, 790, 892, 892, 892, 892, 892, 892, 892, 892, 789, 892, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 894, 894, 788, 894, 787, 786, 785, 894, 895, 784, 783, 895, 782, 895, 895, 895, 895, 895, 896, 780, 896, 779, 778, 777, 896, 897, 776, 897, 769, 767, 755, 897, 898, 754, 898, 753, 752, 751, 898, 899, 750, 899, 749, 748, 747, 899, 900, 744, 900, 743, 742, 736, 900, 901, 731, 901, 730, 728, 727, 901, 902, 725, 902, 709, 701, 698, 902, 903, 693, 903, 691, 687, 677, 903, 904, 673, 904, 671, 669, 666, 904, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 906, 663, 906, 907, 907, 662, 907, 907, 907, 661, 907, 908, 908, 660, 908, 909, 659, 909, 658, 654, 653, 909, 910, 651, 910, 648, 647, 646, 910, 911, 641, 911, 614, 610, 608, 911, 912, 606, 912, 913, 604, 913, 602, 596, 590, 913, 914, 588, 914, 915, 586, 584, 915, 582, 915, 915, 915, 915, 915, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 918, 580, 918, 578, 576, 575, 918, 919, 574, 919, 571, 562, 555, 919, 920, 552, 920, 547, 541, 538, 920, 921, 515, 921, 922, 511, 922, 509, 507, 505, 922, 923, 503, 923, 924, 501, 924, 500, 499, 498, 924, 925, 487, 925, 926, 484, 926, 482, 481, 480, 926, 927, 478, 927, 928, 476, 928, 473, 471, 469, 928, 929, 467, 929, 930, 463, 930, 447, 445, 437, 930, 931, 435, 931, 932, 427, 932, 425, 423, 397, 932, 933, 395, 933, 934, 393, 934, 391, 934, 390, 934, 935, 389, 935, 376, 935, 366, 935, 936, 936, 364, 936, 936, 936, 363, 936, 937, 359, 937, 357, 355, 353, 937, 938, 349, 938, 347, 346, 345, 938, 939, 335, 939, 321, 298, 277, 939, 940, 275, 940, 941, 273, 941, 272, 271, 269, 941, 942, 268, 942, 943, 263, 943, 259, 258, 254, 943, 944, 251, 944, 945, 250, 945, 239, 238, 231, 945, 946, 230, 946, 947, 227, 217, 947, 215, 947, 947, 947, 947, 947, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 949, 214, 949, 213, 207, 206, 949, 950, 204, 950, 951, 199, 951, 178, 149, 147, 951, 952, 146, 952, 953, 140, 953, 138, 136, 128, 953, 954, 125, 954, 955, 124, 955, 120, 101, 98, 955, 956, 95, 956, 957, 93, 957, 86, 72, 70, 957, 958, 66, 958, 959, 36, 959, 33, 18, 11, 959, 960, 4, 960, 961, 3, 961, 0, 0, 0, 961, 962, 0, 962, 0, 0, 0, 962, 963, 0, 963, 964, 0, 964, 0, 0, 0, 964, 965, 0, 965, 966, 0, 966, 0, 966, 0, 966, 967, 0, 967, 0, 0, 0, 967, 968, 0, 968, 0, 0, 0, 968, 969, 0, 969, 970, 0, 970, 0, 0, 0, 970, 971, 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, 0, 980, 0, 980, 980, 980, 980, 980, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, 982, 0, 982, 0, 0, 0, 982, 983, 0, 983, 984, 0, 984, 0, 0, 0, 984, 985, 0, 985, 986, 0, 986, 0, 0, 0, 986, 987, 0, 987, 988, 0, 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, 0, 0, 0, 999, 1000, 0, 1000, 1001, 0, 1001, 0, 0, 0, 1001, 1002, 0, 1002, 1003, 0, 1003, 0, 0, 0, 1003, 1004, 0, 1004, 1005, 0, 1005, 0, 0, 0, 1005, 1006, 0, 1006, 1007, 0, 1007, 1008, 0, 1008, 1009, 0, 0, 1009, 0, 1009, 1009, 1009, 1009, 1009, 1010, 0, 1010, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1012, 0, 1012, 0, 0, 0, 1012, 1013, 0, 1013, 1014, 0, 1014, 0, 0, 0, 1014, 1015, 0, 1015, 1016, 0, 1016, 1017, 0, 1017, 1018, 0, 0, 1018, 0, 1018, 1018, 1018, 1018, 1018, 1019, 0, 1019, 1020, 0, 1020, 1021, 0, 1021, 1022, 0, 1022, 1023, 0, 1023, 1024, 0, 1024, 1025, 0, 1025, 1026, 0, 1026, 0, 0, 0, 1026, 1027, 0, 1027, 1028, 0, 1028, 0, 0, 0, 1028, 1029, 0, 1029, 1030, 0, 1030, 1031, 0, 1031, 1032, 0, 1032, 1033, 0, 1033, 0, 0, 0, 1033, 1034, 0, 0, 1034, 0, 1034, 1034, 1034, 1034, 1034, 1035, 0, 1035, 1036, 0, 1036, 1037, 0, 1037, 1038, 0, 1038, 0, 0, 0, 1038, 1039, 0, 1039, 0, 0, 0, 1039, 1040, 0, 1040, 0, 0, 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, 0, 0, 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, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883 } ; /* 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 : Sat Jan 30 19:54:39 2016 * Update Count : 425 */ #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 1521 "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 1716 "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 >= 884 ) 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] != 2799 ); 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(CONTEXT); } // CFA YY_BREAK case 36: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 37: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 38: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 39: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 40: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 41: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 42: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 43: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 44: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 45: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 46: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 47: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 50: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 51: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 52: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 53: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 54: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 55: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 56: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 57: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 58: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 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(IMAGINARY); } // GCC YY_BREAK case 61: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 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(INLINE); } // GCC YY_BREAK case 64: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 65: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 67: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 68: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 69: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 70: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 71: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 72: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 73: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 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(RESTRICT); } // GCC YY_BREAK case 76: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 77: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 78: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SIGNED); } 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(SIGNED); } // GCC YY_BREAK case 81: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 82: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 83: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 84: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 85: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 86: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 87: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 88: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // 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(TYPE); } // CFA YY_BREAK case 91: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } 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(TYPEOF); } // GCC YY_BREAK case 95: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 96: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } 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 2790 "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 >= 884 ) 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 >= 884 ) 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 == 883); 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: //