#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 183 #define YY_END_OF_BUFFER 184 /* 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[895] = { 0, 0, 0, 0, 0, 0, 0, 118, 118, 121, 121, 184, 182, 7, 9, 8, 141, 120, 103, 146, 149, 117, 128, 129, 144, 142, 132, 143, 135, 145, 108, 109, 110, 133, 134, 151, 153, 152, 154, 182, 103, 126, 182, 127, 147, 103, 105, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 130, 150, 131, 148, 7, 182, 4, 4, 183, 106, 183, 107, 118, 119, 125, 121, 122, 7, 9, 0, 8, 158, 177, 103, 0, 170, 140, 163, 171, 168, 155, 166, 156, 167, 165, 0, 114, 3, 0, 169, 113, 111, 0, 0, 111, 111, 0, 0, 111, 110, 110, 110, 0, 110, 138, 139, 137, 159, 161, 157, 162, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 176, 0, 120, 117, 103, 0, 0, 173, 0, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 38, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 57, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 172, 164, 7, 0, 0, 0, 2, 0, 5, 106, 0, 0, 0, 118, 0, 124, 123, 123, 0, 0, 0, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 136, 114, 115, 0, 115, 115, 0, 0, 6, 115, 111, 0, 0, 0, 115, 0, 111, 111, 111, 111, 0, 112, 0, 0, 110, 110, 110, 110, 0, 174, 175, 0, 180, 178, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 103, 17, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 14, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 51, 103, 103, 103, 64, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 90, 103, 103, 103, 103, 103, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 123, 0, 0, 0, 0, 0, 123, 0, 0, 181, 0, 0, 0, 0, 0, 0, 0, 115, 0, 115, 0, 115, 0, 115, 0, 0, 115, 0, 111, 111, 0, 0, 112, 112, 0, 112, 0, 112, 110, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 179, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 21, 103, 24, 103, 27, 103, 103, 103, 103, 103, 103, 103, 41, 103, 43, 103, 103, 103, 103, 103, 103, 103, 56, 103, 67, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 98, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 123, 0, 0, 0, 0, 0, 115, 0, 0, 0, 0, 0, 0, 0, 112, 112, 0, 116, 0, 112, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 103, 22, 103, 103, 103, 103, 103, 103, 103, 15, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 23, 25, 103, 32, 103, 103, 103, 103, 40, 103, 103, 103, 103, 49, 103, 103, 54, 103, 103, 71, 103, 103, 103, 77, 103, 103, 103, 103, 103, 87, 89, 103, 103, 95, 103, 103, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 0, 0, 112, 116, 116, 116, 116, 0, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 0, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 59, 103, 103, 103, 103, 103, 103, 103, 103, 28, 103, 103, 103, 39, 42, 45, 103, 103, 52, 103, 61, 68, 103, 103, 76, 78, 81, 82, 84, 85, 103, 103, 92, 103, 103, 0, 1, 0, 0, 0, 0, 0, 0, 106, 0, 0, 0, 123, 0, 0, 0, 0, 116, 0, 116, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 103, 18, 103, 103, 103, 103, 103, 103, 103, 16, 103, 103, 103, 33, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 36, 37, 103, 48, 53, 103, 103, 103, 91, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 60, 62, 65, 103, 103, 79, 93, 103, 103, 35, 103, 47, 72, 73, 103, 96, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 69, 103, 103, 12, 103, 103, 30, 34, 103, 103, 103, 66, 103, 103, 103, 103, 103, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 103, 103, 103, 103, 103, 103, 103, 50, 63, 74, 80, 94, 100, 103, 103, 103, 0, 0, 0, 0, 0, 0, 0, 0, 103, 103, 13, 19, 103, 103, 31, 103, 103, 103, 26, 46, 88, 0, 0, 103, 103, 103, 103, 103, 103, 75, 101, 103, 86, 20, 103, 103, 44, 83, 103, 103, 103, 103, 103, 103, 103, 97, 70, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 11, 43, 11, 11, 44, 11, 45, 11, 46, 11, 47, 48, 49, 50, 11, 11, 51, 11, 11, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 11, 67, 68, 69, 70, 71, 72, 11, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[86] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 7, 7, 1, 1, 1, 8, 1, 1, 1, 9, 9, 9, 9, 9, 9, 4, 4, 10, 4, 11, 4, 4, 4, 10, 4, 1, 12, 1, 1, 13, 1, 9, 9, 9, 9, 9, 9, 4, 4, 4, 4, 10, 4, 4, 4, 11, 4, 4, 4, 10, 4, 4, 4, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[1069] = { 0, 0, 84, 2307, 2305, 94, 0, 177, 178, 179, 180, 2319, 2845, 191, 2845, 197, 55, 2845, 2265, 60, 173, 2845, 2845, 2845, 56, 188, 2845, 191, 189, 204, 216, 275, 0, 2284, 2845, 216, 2283, 152, 344, 155, 220, 2845, 159, 2845, 217, 226, 2845, 185, 154, 212, 251, 237, 270, 235, 257, 241, 205, 193, 305, 314, 333, 238, 228, 2845, 225, 2845, 2278, 402, 390, 2845, 2287, 2845, 2255, 235, 2845, 0, 2845, 426, 0, 2845, 417, 2845, 439, 451, 2845, 498, 2254, 264, 2845, 2845, 2845, 2845, 2845, 2271, 2845, 2268, 2845, 2845, 2278, 559, 2845, 2295, 2845, 438, 444, 511, 534, 289, 253, 197, 380, 305, 0, 319, 280, 198, 322, 2845, 2845, 2845, 2265, 2845, 2845, 2845, 2263, 2260, 218, 255, 2273, 298, 350, 368, 312, 440, 398, 405, 2254, 441, 2203, 446, 2232, 2845, 335, 2845, 2845, 468, 2226, 2223, 2845, 2196, 439, 282, 433, 372, 281, 437, 434, 428, 570, 444, 466, 464, 469, 475, 321, 492, 438, 471, 445, 474, 512, 489, 503, 496, 521, 276, 515, 516, 2224, 526, 510, 519, 525, 543, 522, 560, 553, 523, 561, 551, 544, 599, 582, 593, 584, 2845, 2845, 660, 651, 2272, 666, 2845, 678, 2845, 2219, 607, 2213, 2212, 0, 693, 2845, 2845, 684, 2211, 2209, 2206, 0, 2227, 578, 608, 617, 654, 679, 650, 683, 684, 687, 2224, 690, 691, 2201, 2199, 2845, 0, 683, 710, 686, 700, 2179, 2230, 2845, 730, 722, 427, 747, 756, 787, 770, 621, 2845, 2188, 2161, 0, 795, 2205, 796, 700, 2845, 2181, 2156, 809, 2845, 2845, 2188, 2845, 2845, 728, 733, 2165, 2163, 701, 2159, 2158, 2156, 0, 2153, 0, 2122, 736, 746, 747, 716, 689, 748, 566, 789, 659, 801, 751, 754, 785, 776, 787, 808, 796, 739, 711, 806, 2152, 807, 815, 817, 821, 809, 819, 827, 830, 831, 832, 833, 834, 839, 840, 841, 842, 846, 853, 854, 844, 847, 855, 2151, 860, 862, 861, 866, 864, 867, 869, 870, 872, 873, 874, 878, 875, 883, 2149, 882, 928, 885, 888, 894, 899, 892, 956, 958, 2143, 2140, 2139, 0, 2138, 0, 945, 949, 2136, 0, 2133, 0, 2132, 0, 2153, 2845, 930, 944, 2131, 2126, 0, 2125, 0, 2845, 959, 979, 970, 2845, 985, 1025, 2124, 1001, 1047, 2122, 2845, 2845, 943, 987, 1033, 986, 1072, 310, 1064, 987, 2845, 2845, 2119, 2115, 2111, 0, 2109, 0, 2107, 0, 2104, 0, 2845, 913, 947, 964, 966, 1005, 927, 1049, 939, 1051, 968, 991, 986, 1041, 1053, 1003, 1059, 1063, 1066, 1023, 1064, 1062, 1065, 978, 2105, 1072, 2103, 1078, 2100, 1071, 1074, 1076, 1080, 1091, 1093, 1095, 2097, 1094, 2096, 1082, 1098, 1099, 1100, 1101, 1105, 1106, 2095, 1107, 2093, 1110, 1112, 1111, 1117, 1118, 1113, 1119, 1123, 1126, 1127, 1129, 1130, 1131, 1140, 1142, 1143, 2090, 1144, 1147, 1195, 2084, 0, 2083, 0, 2082, 0, 2080, 0, 1190, 2077, 0, 2074, 0, 2073, 2072, 2070, 0, 2067, 0, 1197, 2064, 1203, 1219, 1205, 1244, 1210, 1202, 1200, 2845, 1260, 1278, 1271, 2075, 2050, 2060, 2057, 0, 2054, 0, 2053, 0, 2052, 0, 2050, 0, 2047, 0, 1164, 1152, 2047, 1184, 1182, 1226, 1157, 1227, 1196, 1254, 1146, 1237, 1255, 1256, 1204, 1258, 1271, 1261, 1260, 1292, 1274, 1262, 1277, 1278, 1280, 2046, 1186, 1289, 2045, 1279, 1282, 1290, 1295, 2043, 1299, 1300, 1301, 1303, 2040, 1306, 1302, 2037, 1310, 1311, 2036, 1309, 1312, 1315, 2035, 1220, 1314, 1316, 1322, 1326, 1333, 2033, 1328, 1329, 2030, 1330, 1335, 2029, 2078, 2023, 0, 2020, 0, 2019, 0, 2018, 0, 2016, 0, 1983, 0, 1981, 0, 1980, 0, 1379, 1385, 1413, 1396, 1977, 2845, 1402, 1351, 1389, 1403, 1974, 2845, 1973, 0, 1972, 0, 1970, 0, 1967, 0, 0, 0, 1967, 0, 1390, 1336, 1397, 1365, 1345, 1392, 1393, 1409, 1381, 1407, 1412, 1414, 1419, 1420, 1422, 1424, 1427, 1431, 926, 1429, 1432, 1438, 1433, 1435, 1440, 1966, 1437, 1441, 1445, 1965, 1963, 1960, 1450, 1453, 1959, 1455, 1958, 1956, 1456, 1459, 1953, 1952, 1951, 1949, 1942, 1940, 1458, 1461, 1939, 1464, 1462, 1986, 2845, 1929, 0, 1925, 0, 0, 0, 1924, 0, 0, 0, 2845, 0, 0, 0, 0, 1511, 1918, 2845, 2845, 1517, 1917, 0, 1916, 0, 0, 0, 0, 1914, 1474, 1468, 1914, 1443, 1493, 1498, 1476, 1504, 1505, 1494, 1913, 1334, 1509, 1506, 1510, 1511, 1545, 1525, 1518, 1543, 1530, 1523, 1529, 1531, 1534, 1535, 1539, 1912, 1910, 1540, 1907, 1906, 1542, 1538, 1544, 1905, 1546, 1550, 0, 0, 0, 1900, 1897, 1896, 1596, 0, 1895, 1893, 1890, 1889, 1888, 1889, 1886, 1885, 1884, 1552, 1557, 1573, 1549, 1551, 1553, 1575, 1555, 1577, 1582, 1607, 1882, 1583, 1879, 1584, 1589, 1585, 1590, 1591, 1594, 1878, 1597, 1877, 1875, 1872, 1598, 1871, 1870, 1865, 1862, 1861, 1860, 1858, 1851, 1849, 1848, 1845, 1844, 1843, 1841, 1600, 1827, 1601, 1605, 1608, 1602, 1609, 1610, 1818, 1614, 1629, 1615, 1817, 1604, 1616, 1625, 1630, 1380, 1631, 1633, 1811, 1804, 1801, 1794, 1792, 1791, 1770, 1769, 1768, 1761, 1759, 1758, 1716, 1716, 1634, 1636, 1635, 1637, 1640, 1641, 1645, 1715, 1713, 1647, 1712, 1711, 1648, 1652, 1653, 1654, 1703, 1701, 1700, 1698, 1696, 1476, 1472, 1343, 1657, 1667, 1259, 1656, 1660, 1668, 1150, 1671, 1675, 1676, 1031, 1027, 793, 752, 675, 1669, 1677, 1680, 1681, 1682, 1684, 645, 607, 1686, 487, 441, 1688, 1690, 394, 357, 1693, 1694, 1695, 1697, 1696, 1698, 1700, 233, 137, 2845, 1773, 1786, 1799, 1809, 1819, 1832, 1842, 1855, 1868, 1881, 1889, 1899, 1906, 1913, 1920, 1927, 1934, 1941, 1948, 1955, 1962, 1969, 1973, 1981, 1987, 1994, 2001, 2008, 2015, 2018, 2025, 2031, 2044, 2057, 2064, 2071, 2078, 2085, 2088, 2095, 2098, 2105, 2108, 2115, 2118, 2125, 2128, 2135, 2138, 2145, 2148, 2155, 2163, 2170, 2177, 2184, 2191, 2194, 2201, 2204, 2211, 2214, 2221, 2227, 2240, 2247, 2254, 2257, 2264, 2267, 2274, 2277, 2284, 2287, 2294, 2297, 2304, 2307, 2314, 2321, 2324, 2331, 2334, 2341, 2348, 2355, 2358, 2365, 2368, 2375, 2378, 2385, 2388, 2395, 2398, 2405, 2411, 2424, 2431, 2438, 2441, 2448, 2451, 2458, 2461, 2468, 2471, 2478, 2481, 2488, 2491, 2498, 2501, 2508, 2511, 2518, 2525, 2528, 2535, 2538, 2545, 2548, 2555, 2558, 2561, 2567, 2574, 2583, 2590, 2597, 2600, 2607, 2610, 2613, 2619, 2626, 2629, 2632, 2635, 2638, 2641, 2644, 2647, 2654, 2657, 2664, 2667, 2670, 2673, 2676, 2686, 2693, 2696, 2699, 2702, 2709, 2716, 2723, 2726, 2733, 2740, 2747, 2754, 2761, 2768, 2775, 2782, 2789, 2796, 2803, 2810, 2817, 2824, 2831 } ; static yyconst flex_int16_t yy_def[1069] = { 0, 894, 1, 895, 895, 894, 5, 896, 896, 897, 897, 894, 894, 894, 894, 894, 894, 894, 898, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 31, 894, 894, 894, 894, 894, 894, 899, 898, 894, 894, 894, 894, 898, 894, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 894, 894, 894, 894, 894, 900, 894, 894, 894, 901, 894, 894, 902, 894, 894, 903, 894, 894, 894, 894, 894, 894, 894, 898, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 904, 894, 894, 30, 894, 894, 894, 894, 905, 30, 894, 31, 894, 894, 31, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 906, 894, 894, 894, 894, 898, 907, 908, 894, 894, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 894, 894, 894, 900, 900, 900, 894, 900, 894, 901, 894, 909, 910, 902, 894, 894, 894, 894, 911, 912, 913, 903, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 914, 915, 894, 99, 894, 894, 894, 894, 99, 904, 894, 99, 110, 242, 894, 894, 894, 894, 894, 894, 894, 894, 916, 917, 918, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 919, 894, 920, 921, 922, 923, 924, 925, 894, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 927, 928, 929, 930, 931, 932, 933, 934, 894, 894, 935, 936, 937, 938, 939, 940, 894, 894, 894, 894, 894, 941, 942, 943, 944, 894, 894, 894, 894, 894, 894, 894, 375, 894, 371, 378, 894, 894, 945, 946, 947, 894, 894, 894, 947, 894, 894, 894, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 894, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 894, 968, 969, 970, 971, 972, 972, 973, 974, 975, 976, 894, 490, 894, 894, 977, 894, 977, 894, 894, 894, 894, 894, 894, 894, 894, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 894, 894, 894, 894, 1009, 894, 599, 894, 894, 894, 603, 894, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1022, 894, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 894, 1033, 1034, 1035, 1036, 894, 689, 894, 894, 894, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 894, 1052, 1037, 1039, 1053, 1054, 1044, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1055, 1056, 1049, 1057, 1050, 1058, 1051, 1059, 1060, 1053, 1061, 1054, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1062, 1055, 1063, 1056, 1064, 1057, 1065, 1058, 1066, 1059, 1067, 1060, 1061, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1068, 1062, 1063, 1064, 1065, 1039, 1066, 1067, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1068, 1039, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 0, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894 } ; static yyconst flex_int16_t yy_nxt[2931] = { 0, 12, 13, 14, 15, 15, 15, 13, 16, 17, 12, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 36, 37, 38, 39, 18, 18, 18, 18, 18, 18, 18, 18, 40, 18, 18, 18, 18, 18, 40, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 56, 18, 57, 58, 59, 60, 61, 62, 18, 18, 18, 63, 64, 65, 66, 67, 84, 92, 85, 85, 67, 88, 89, 68, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 72, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 71, 73, 71, 71, 72, 74, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 71, 71, 71, 71, 76, 76, 79, 79, 123, 124, 90, 141, 79, 79, 87, 76, 76, 80, 81, 82, 82, 82, 80, 82, 81, 83, 83, 83, 82, 91, 93, 87, 142, 146, 98, 95, 99, 99, 99, 99, 99, 99, 252, 894, 94, 100, 85, 96, 97, 85, 101, 161, 118, 143, 77, 77, 77, 77, 144, 147, 102, 103, 87, 104, 104, 104, 104, 105, 105, 119, 87, 120, 121, 148, 263, 149, 264, 254, 260, 183, 106, 195, 87, 159, 107, 160, 150, 151, 152, 87, 108, 109, 153, 154, 162, 155, 110, 87, 156, 157, 145, 163, 106, 87, 182, 87, 158, 164, 111, 206, 87, 263, 87, 264, 87, 87, 108, 194, 87, 109, 103, 250, 112, 112, 112, 112, 112, 112, 87, 169, 177, 170, 196, 193, 87, 207, 180, 165, 230, 106, 171, 166, 181, 113, 178, 251, 167, 87, 258, 114, 168, 179, 172, 87, 263, 115, 264, 248, 87, 87, 173, 106, 174, 249, 231, 175, 143, 116, 263, 176, 264, 144, 259, 317, 283, 114, 125, 280, 503, 249, 126, 127, 87, 128, 191, 129, 130, 256, 131, 249, 132, 87, 265, 257, 184, 185, 257, 248, 87, 133, 134, 135, 504, 188, 186, 249, 263, 187, 264, 271, 87, 189, 265, 145, 256, 305, 200, 201, 190, 257, 136, 200, 257, 137, 263, 894, 264, 192, 197, 81, 82, 82, 82, 197, 87, 272, 198, 202, 202, 202, 202, 202, 202, 80, 81, 82, 82, 82, 80, 87, 138, 139, 209, 210, 263, 894, 264, 209, 282, 211, 255, 263, 267, 264, 211, 82, 81, 82, 82, 82, 82, 87, 894, 212, 212, 212, 212, 82, 81, 83, 83, 83, 82, 894, 211, 241, 241, 241, 241, 241, 241, 242, 242, 242, 242, 266, 263, 263, 264, 264, 213, 143, 263, 211, 264, 87, 144, 377, 211, 211, 87, 87, 211, 211, 87, 87, 87, 286, 87, 894, 211, 87, 87, 211, 243, 211, 214, 211, 281, 215, 217, 278, 284, 285, 218, 219, 307, 298, 279, 220, 221, 87, 222, 87, 223, 87, 87, 894, 87, 309, 300, 87, 87, 224, 225, 226, 103, 303, 105, 105, 105, 105, 105, 105, 87, 299, 87, 301, 302, 87, 304, 308, 310, 87, 227, 106, 245, 228, 245, 306, 87, 246, 246, 246, 246, 246, 246, 87, 313, 87, 315, 244, 87, 87, 311, 314, 87, 106, 87, 87, 87, 323, 87, 87, 322, 229, 233, 233, 233, 233, 233, 233, 312, 333, 247, 319, 316, 328, 320, 318, 87, 87, 234, 235, 236, 321, 237, 236, 87, 324, 87, 325, 143, 335, 360, 331, 361, 87, 87, 238, 337, 326, 327, 87, 236, 235, 236, 87, 329, 237, 332, 236, 287, 288, 289, 336, 290, 291, 334, 87, 292, 87, 293, 409, 360, 330, 361, 294, 295, 296, 87, 297, 339, 360, 343, 361, 87, 200, 201, 338, 340, 346, 200, 341, 87, 342, 197, 81, 82, 82, 82, 197, 200, 201, 198, 380, 361, 200, 202, 202, 202, 202, 202, 202, 344, 201, 360, 347, 361, 344, 360, 345, 361, 202, 202, 202, 202, 202, 202, 209, 210, 380, 87, 361, 209, 202, 202, 202, 202, 202, 202, 352, 352, 352, 352, 360, 87, 361, 362, 360, 360, 361, 361, 360, 363, 361, 360, 360, 361, 361, 369, 369, 370, 369, 370, 894, 411, 371, 371, 371, 371, 371, 371, 373, 353, 373, 87, 103, 373, 242, 242, 242, 242, 369, 390, 392, 369, 375, 375, 375, 375, 375, 375, 407, 263, 373, 264, 373, 87, 263, 372, 264, 373, 87, 105, 105, 105, 105, 105, 105, 390, 393, 243, 246, 246, 246, 246, 246, 246, 406, 376, 106, 245, 87, 245, 424, 87, 246, 246, 246, 246, 246, 246, 87, 87, 87, 403, 255, 87, 423, 408, 87, 894, 106, 378, 378, 378, 378, 378, 378, 383, 404, 405, 105, 105, 105, 105, 105, 105, 416, 234, 415, 236, 87, 237, 236, 112, 112, 112, 112, 112, 112, 87, 385, 87, 386, 87, 379, 418, 387, 87, 410, 236, 87, 236, 388, 255, 237, 87, 236, 419, 420, 422, 87, 87, 87, 87, 389, 417, 260, 421, 386, 87, 412, 87, 387, 87, 427, 87, 413, 414, 425, 426, 428, 87, 429, 430, 87, 87, 87, 87, 87, 434, 435, 431, 436, 87, 87, 87, 87, 438, 87, 439, 87, 87, 432, 433, 441, 443, 437, 87, 87, 87, 440, 442, 444, 445, 87, 87, 87, 447, 87, 448, 87, 87, 449, 87, 87, 450, 87, 87, 87, 87, 446, 451, 87, 453, 452, 458, 87, 87, 143, 87, 454, 457, 87, 456, 455, 464, 87, 462, 87, 459, 463, 460, 721, 87, 461, 466, 467, 465, 468, 344, 201, 469, 201, 360, 344, 361, 345, 87, 199, 211, 211, 211, 211, 352, 352, 352, 352, 360, 518, 361, 87, 87, 87, 371, 371, 371, 371, 371, 371, 370, 495, 370, 523, 87, 371, 371, 371, 371, 371, 371, 496, 87, 479, 490, 490, 490, 490, 490, 490, 233, 233, 233, 233, 233, 233, 525, 495, 519, 87, 234, 87, 236, 87, 237, 236, 242, 242, 242, 242, 105, 105, 498, 87, 520, 495, 527, 491, 499, 499, 521, 87, 236, 374, 236, 497, 87, 237, 542, 236, 375, 375, 375, 375, 375, 375, 383, 498, 87, 377, 87, 495, 528, 529, 499, 499, 234, 235, 236, 522, 237, 236, 378, 378, 378, 378, 378, 378, 87, 385, 533, 386, 87, 376, 538, 387, 87, 894, 236, 235, 236, 388, 500, 237, 500, 236, 87, 501, 501, 501, 501, 501, 501, 389, 87, 379, 87, 386, 87, 530, 385, 387, 386, 524, 87, 526, 387, 87, 87, 87, 87, 87, 505, 535, 531, 532, 87, 87, 540, 87, 502, 87, 534, 87, 389, 87, 536, 87, 386, 541, 539, 543, 387, 537, 547, 544, 87, 545, 87, 87, 87, 546, 549, 87, 87, 87, 87, 553, 548, 551, 87, 87, 87, 550, 552, 87, 87, 87, 87, 555, 559, 557, 87, 87, 87, 554, 562, 556, 87, 560, 558, 87, 87, 567, 87, 87, 87, 563, 561, 570, 566, 571, 564, 565, 569, 87, 568, 87, 87, 87, 201, 87, 87, 574, 630, 87, 580, 87, 573, 577, 572, 579, 87, 575, 576, 211, 211, 211, 211, 87, 622, 578, 490, 490, 490, 490, 490, 490, 375, 375, 375, 375, 375, 375, 626, 645, 621, 87, 234, 87, 236, 87, 237, 236, 378, 378, 378, 378, 378, 378, 495, 87, 602, 495, 623, 491, 628, 624, 495, 87, 236, 492, 236, 496, 598, 237, 598, 236, 601, 599, 599, 599, 599, 599, 599, 87, 495, 493, 602, 495, 634, 87, 87, 662, 495, 501, 501, 501, 501, 501, 501, 500, 87, 500, 625, 627, 501, 501, 501, 501, 501, 501, 600, 603, 603, 603, 603, 603, 603, 87, 87, 87, 631, 87, 87, 87, 87, 87, 639, 604, 629, 605, 635, 606, 605, 632, 87, 637, 638, 87, 633, 636, 87, 87, 87, 87, 607, 87, 640, 641, 644, 605, 643, 605, 87, 87, 606, 87, 605, 642, 87, 647, 648, 646, 87, 87, 87, 87, 87, 650, 649, 87, 656, 651, 87, 87, 87, 87, 653, 87, 87, 87, 652, 654, 657, 658, 655, 87, 664, 663, 660, 87, 667, 87, 87, 87, 659, 661, 87, 87, 87, 87, 668, 666, 669, 762, 691, 691, 704, 665, 87, 894, 670, 671, 490, 490, 490, 490, 490, 490, 599, 599, 599, 599, 599, 599, 598, 707, 598, 691, 87, 599, 599, 599, 599, 599, 599, 603, 603, 603, 603, 603, 603, 706, 691, 87, 87, 597, 689, 689, 689, 689, 689, 689, 692, 87, 692, 87, 87, 692, 702, 844, 87, 711, 604, 709, 605, 691, 606, 605, 607, 705, 87, 703, 87, 712, 692, 87, 692, 87, 708, 690, 710, 692, 87, 87, 605, 87, 605, 87, 713, 606, 87, 605, 87, 719, 87, 87, 87, 715, 87, 714, 87, 87, 717, 87, 87, 716, 87, 722, 87, 718, 724, 720, 727, 87, 725, 723, 87, 730, 87, 87, 726, 87, 87, 728, 87, 87, 729, 87, 734, 735, 736, 87, 755, 731, 737, 733, 738, 87, 894, 87, 739, 754, 869, 732, 689, 689, 689, 689, 689, 689, 603, 603, 603, 603, 603, 603, 87, 87, 753, 758, 604, 87, 605, 756, 606, 605, 757, 87, 87, 87, 759, 760, 87, 87, 87, 761, 765, 690, 764, 767, 770, 87, 605, 693, 605, 763, 87, 606, 87, 605, 769, 768, 87, 87, 87, 766, 771, 87, 87, 772, 773, 87, 87, 87, 774, 87, 87, 87, 87, 87, 775, 777, 87, 87, 87, 87, 87, 783, 87, 776, 87, 778, 784, 781, 801, 780, 779, 800, 782, 689, 689, 689, 689, 689, 689, 797, 87, 798, 87, 802, 87, 799, 807, 805, 804, 87, 87, 87, 87, 808, 809, 811, 87, 87, 87, 803, 812, 87, 806, 810, 87, 87, 746, 87, 87, 87, 838, 87, 87, 813, 87, 87, 87, 87, 833, 835, 836, 87, 87, 87, 814, 839, 841, 815, 816, 831, 832, 834, 87, 840, 830, 842, 87, 87, 87, 837, 87, 87, 87, 87, 87, 857, 843, 87, 87, 845, 856, 861, 87, 858, 87, 87, 846, 863, 864, 87, 87, 87, 855, 87, 87, 859, 872, 87, 865, 862, 867, 860, 866, 870, 87, 87, 87, 873, 87, 871, 874, 875, 87, 87, 87, 876, 877, 87, 87, 87, 880, 87, 882, 87, 883, 87, 878, 87, 881, 879, 87, 87, 87, 87, 87, 87, 894, 87, 894, 887, 894, 894, 886, 868, 888, 884, 885, 893, 87, 87, 87, 891, 87, 87, 889, 890, 894, 892, 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, 894, 854, 86, 894, 86, 86, 86, 86, 86, 140, 853, 894, 851, 140, 140, 140, 140, 140, 140, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 204, 894, 850, 204, 894, 204, 204, 204, 204, 204, 208, 849, 208, 208, 894, 208, 208, 208, 208, 208, 208, 848, 208, 216, 87, 87, 216, 216, 216, 216, 216, 216, 216, 216, 87, 216, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 239, 253, 253, 894, 253, 829, 894, 828, 253, 269, 826, 894, 269, 824, 269, 269, 269, 269, 269, 273, 894, 273, 822, 894, 820, 273, 275, 818, 275, 87, 87, 87, 275, 348, 87, 348, 87, 87, 87, 348, 350, 87, 350, 87, 87, 87, 350, 354, 87, 354, 894, 796, 794, 354, 356, 894, 356, 894, 791, 789, 356, 358, 787, 358, 87, 87, 87, 358, 365, 87, 365, 87, 87, 87, 365, 367, 752, 367, 749, 748, 746, 367, 382, 205, 382, 384, 384, 742, 384, 384, 384, 741, 384, 253, 253, 673, 253, 269, 87, 87, 269, 87, 269, 269, 269, 269, 269, 394, 87, 394, 87, 87, 87, 394, 396, 87, 396, 87, 87, 87, 396, 398, 87, 398, 87, 87, 87, 398, 273, 700, 273, 400, 699, 400, 697, 695, 693, 400, 275, 601, 275, 86, 688, 687, 86, 685, 86, 86, 86, 86, 86, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 471, 683, 471, 681, 679, 677, 471, 473, 675, 473, 673, 87, 87, 473, 475, 87, 475, 87, 87, 87, 475, 348, 87, 348, 477, 87, 477, 87, 87, 87, 477, 350, 620, 350, 480, 618, 480, 616, 614, 612, 480, 354, 610, 354, 482, 505, 482, 608, 608, 597, 482, 356, 596, 356, 484, 594, 484, 485, 485, 592, 484, 358, 590, 358, 486, 588, 486, 586, 584, 582, 486, 365, 87, 365, 488, 87, 488, 87, 87, 87, 488, 367, 87, 367, 494, 87, 494, 87, 494, 517, 494, 382, 515, 382, 513, 382, 511, 382, 384, 384, 509, 384, 384, 384, 507, 384, 506, 493, 506, 492, 489, 487, 506, 508, 361, 508, 361, 485, 483, 508, 510, 481, 510, 478, 476, 474, 510, 394, 472, 394, 512, 87, 512, 87, 87, 402, 512, 396, 401, 396, 514, 399, 514, 397, 395, 270, 514, 398, 265, 398, 516, 264, 516, 391, 391, 252, 516, 400, 381, 400, 86, 381, 240, 86, 374, 86, 86, 86, 86, 86, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, 581, 368, 581, 366, 364, 360, 581, 471, 359, 471, 583, 357, 583, 355, 351, 349, 583, 473, 205, 473, 585, 201, 585, 87, 277, 276, 585, 475, 274, 475, 587, 270, 587, 265, 268, 265, 587, 477, 263, 477, 589, 262, 589, 261, 240, 232, 589, 480, 85, 480, 591, 85, 591, 87, 205, 203, 591, 482, 85, 482, 484, 122, 484, 117, 87, 894, 484, 593, 70, 593, 70, 894, 894, 593, 486, 894, 486, 595, 894, 595, 894, 894, 894, 595, 488, 894, 488, 494, 894, 494, 894, 494, 894, 494, 384, 894, 384, 894, 894, 894, 384, 609, 894, 609, 894, 894, 894, 609, 506, 894, 506, 611, 894, 611, 894, 894, 894, 611, 508, 894, 508, 613, 894, 613, 894, 894, 894, 613, 510, 894, 510, 615, 894, 615, 894, 894, 894, 615, 512, 894, 512, 617, 894, 617, 894, 894, 894, 617, 514, 894, 514, 619, 894, 619, 894, 894, 894, 619, 516, 894, 516, 86, 894, 894, 86, 894, 86, 86, 86, 86, 86, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 674, 894, 674, 894, 894, 894, 674, 581, 894, 581, 676, 894, 676, 894, 894, 894, 676, 583, 894, 583, 678, 894, 678, 894, 894, 894, 678, 585, 894, 585, 680, 894, 680, 894, 894, 894, 680, 587, 894, 587, 682, 894, 682, 894, 894, 894, 682, 589, 894, 589, 684, 894, 684, 894, 894, 894, 684, 591, 894, 591, 686, 894, 686, 894, 894, 894, 686, 593, 894, 593, 86, 894, 86, 894, 894, 894, 86, 595, 894, 595, 494, 894, 494, 894, 894, 894, 494, 694, 894, 694, 894, 894, 894, 694, 609, 894, 609, 696, 894, 696, 894, 894, 894, 696, 611, 894, 611, 698, 894, 698, 894, 894, 894, 698, 613, 894, 613, 140, 894, 140, 894, 894, 894, 140, 615, 894, 615, 701, 894, 701, 617, 894, 617, 86, 894, 894, 86, 894, 86, 86, 86, 86, 86, 619, 894, 619, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 672, 740, 894, 740, 894, 894, 894, 740, 674, 894, 674, 204, 894, 204, 894, 894, 894, 204, 676, 894, 676, 743, 894, 743, 678, 894, 678, 204, 894, 894, 204, 894, 204, 204, 204, 204, 204, 680, 894, 680, 744, 894, 744, 682, 894, 682, 684, 894, 684, 745, 894, 745, 686, 894, 686, 86, 894, 86, 747, 894, 747, 894, 894, 894, 747, 694, 894, 694, 269, 894, 269, 894, 894, 894, 269, 696, 894, 696, 750, 894, 750, 698, 894, 698, 140, 894, 140, 751, 894, 751, 894, 894, 894, 751, 86, 894, 894, 86, 894, 86, 86, 86, 86, 86, 785, 894, 785, 740, 894, 740, 204, 894, 204, 786, 894, 786, 894, 894, 894, 786, 788, 894, 788, 894, 894, 894, 788, 790, 894, 790, 894, 894, 894, 790, 792, 894, 792, 793, 894, 793, 894, 894, 894, 793, 795, 894, 795, 894, 894, 894, 795, 817, 894, 817, 894, 894, 894, 817, 819, 894, 819, 894, 894, 894, 819, 821, 894, 821, 894, 894, 894, 821, 823, 894, 823, 894, 894, 894, 823, 825, 894, 825, 894, 894, 894, 825, 827, 894, 827, 894, 894, 894, 827, 619, 894, 619, 894, 894, 894, 619, 847, 894, 847, 894, 894, 894, 847, 680, 894, 680, 894, 894, 894, 680, 684, 894, 684, 894, 894, 894, 684, 86, 894, 86, 894, 894, 894, 86, 852, 894, 852, 894, 894, 894, 852, 140, 894, 140, 894, 894, 894, 140, 204, 894, 204, 894, 894, 894, 204, 11, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894 } ; static yyconst flex_int16_t yy_chk[2931] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 39, 9, 10, 893, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 48, 39, 42, 28, 27, 28, 28, 28, 28, 28, 28, 109, 115, 25, 29, 25, 27, 27, 27, 29, 48, 35, 40, 7, 8, 9, 10, 40, 42, 29, 30, 47, 30, 30, 30, 30, 30, 30, 35, 57, 35, 35, 44, 126, 44, 126, 109, 115, 57, 30, 64, 56, 47, 30, 47, 45, 45, 45, 49, 30, 30, 45, 45, 49, 45, 30, 40, 45, 45, 40, 49, 30, 45, 56, 62, 45, 49, 30, 73, 892, 127, 53, 127, 51, 61, 30, 62, 55, 30, 31, 108, 31, 31, 31, 31, 31, 31, 50, 51, 53, 51, 64, 61, 54, 73, 55, 50, 87, 31, 51, 50, 55, 31, 54, 108, 50, 52, 114, 31, 50, 54, 52, 175, 129, 31, 129, 107, 154, 151, 52, 31, 52, 107, 87, 52, 60, 31, 132, 52, 132, 60, 114, 175, 154, 31, 38, 151, 387, 111, 38, 38, 58, 38, 60, 38, 38, 113, 38, 107, 38, 59, 130, 113, 58, 58, 116, 111, 164, 38, 38, 38, 387, 59, 58, 111, 130, 58, 130, 142, 60, 59, 131, 60, 116, 164, 68, 68, 59, 113, 38, 68, 116, 38, 131, 110, 131, 60, 67, 67, 67, 67, 67, 67, 884, 142, 67, 68, 68, 68, 68, 68, 68, 80, 80, 80, 80, 80, 80, 153, 38, 38, 77, 77, 134, 110, 134, 77, 153, 77, 110, 135, 135, 135, 77, 82, 82, 82, 82, 82, 82, 883, 243, 77, 77, 77, 77, 83, 83, 83, 83, 83, 83, 110, 77, 103, 103, 103, 103, 103, 103, 104, 104, 104, 104, 133, 133, 137, 133, 137, 77, 145, 139, 77, 139, 157, 145, 243, 77, 77, 152, 156, 77, 77, 155, 166, 150, 157, 880, 104, 77, 159, 168, 77, 104, 77, 77, 77, 152, 77, 85, 150, 155, 156, 85, 85, 166, 159, 150, 85, 85, 161, 85, 160, 85, 145, 162, 104, 167, 168, 161, 169, 163, 85, 85, 85, 105, 163, 105, 105, 105, 105, 105, 105, 879, 160, 171, 162, 162, 165, 163, 167, 169, 173, 85, 105, 106, 85, 106, 165, 172, 106, 106, 106, 106, 106, 106, 180, 171, 170, 173, 105, 176, 177, 170, 172, 181, 105, 174, 184, 187, 181, 182, 179, 180, 85, 99, 99, 99, 99, 99, 99, 170, 187, 106, 177, 174, 184, 179, 176, 183, 190, 99, 99, 99, 179, 99, 99, 189, 182, 186, 183, 191, 189, 218, 186, 218, 185, 188, 99, 190, 183, 183, 284, 99, 99, 99, 158, 185, 99, 186, 99, 158, 158, 158, 189, 158, 158, 188, 192, 158, 194, 158, 284, 219, 185, 219, 158, 158, 158, 193, 158, 192, 220, 194, 220, 191, 198, 198, 191, 192, 205, 198, 193, 877, 193, 197, 197, 197, 197, 197, 197, 200, 200, 197, 248, 221, 200, 198, 198, 198, 198, 198, 198, 202, 202, 223, 205, 223, 202, 221, 202, 221, 200, 200, 200, 200, 200, 200, 209, 209, 248, 876, 222, 209, 202, 202, 202, 202, 202, 202, 212, 212, 212, 212, 222, 286, 222, 224, 224, 225, 224, 225, 226, 226, 226, 228, 229, 228, 229, 234, 234, 235, 236, 235, 869, 286, 235, 235, 235, 235, 235, 235, 237, 212, 237, 282, 242, 237, 242, 242, 242, 242, 234, 256, 270, 236, 241, 241, 241, 241, 241, 241, 282, 266, 237, 266, 237, 296, 267, 235, 267, 237, 281, 244, 244, 244, 244, 244, 244, 256, 270, 242, 245, 245, 245, 245, 245, 245, 281, 241, 244, 247, 278, 247, 296, 295, 247, 247, 247, 247, 247, 247, 279, 280, 283, 278, 244, 288, 295, 283, 289, 868, 244, 246, 246, 246, 246, 246, 246, 253, 279, 280, 255, 255, 255, 255, 255, 255, 289, 246, 288, 246, 291, 246, 246, 260, 260, 260, 260, 260, 260, 290, 253, 292, 253, 285, 246, 291, 253, 867, 285, 246, 294, 246, 253, 255, 246, 287, 246, 292, 292, 294, 297, 299, 293, 303, 253, 290, 260, 293, 253, 300, 287, 301, 253, 304, 300, 302, 287, 287, 297, 299, 301, 305, 302, 303, 306, 307, 308, 309, 310, 306, 307, 304, 308, 311, 312, 313, 314, 310, 318, 311, 315, 319, 305, 305, 313, 315, 309, 316, 317, 320, 312, 314, 316, 317, 322, 324, 323, 318, 326, 319, 325, 327, 320, 328, 329, 322, 330, 331, 332, 334, 317, 323, 333, 325, 324, 330, 337, 335, 338, 339, 326, 329, 340, 328, 327, 337, 343, 334, 341, 331, 335, 332, 639, 342, 333, 340, 341, 339, 342, 344, 344, 343, 345, 362, 344, 362, 344, 403, 345, 352, 352, 352, 352, 353, 353, 353, 353, 363, 403, 363, 639, 408, 338, 370, 370, 370, 370, 370, 370, 372, 382, 372, 408, 410, 372, 372, 372, 372, 372, 372, 382, 404, 352, 371, 371, 371, 371, 371, 371, 374, 374, 374, 374, 374, 374, 410, 382, 404, 405, 371, 406, 371, 412, 371, 371, 377, 377, 377, 377, 377, 377, 385, 425, 405, 383, 412, 371, 385, 389, 406, 414, 371, 374, 371, 383, 413, 371, 425, 371, 375, 375, 375, 375, 375, 375, 384, 389, 417, 377, 407, 383, 413, 414, 385, 389, 375, 375, 375, 407, 375, 375, 378, 378, 378, 378, 378, 378, 421, 384, 417, 384, 866, 375, 421, 384, 865, 388, 375, 375, 375, 384, 386, 375, 386, 375, 415, 386, 386, 386, 386, 386, 386, 384, 409, 378, 411, 384, 416, 415, 388, 384, 388, 409, 418, 411, 388, 423, 419, 422, 424, 420, 388, 419, 416, 416, 431, 427, 423, 432, 386, 433, 418, 429, 388, 434, 420, 441, 388, 424, 422, 427, 388, 420, 433, 429, 435, 431, 436, 439, 437, 432, 435, 442, 443, 444, 445, 441, 434, 437, 446, 447, 449, 436, 439, 451, 453, 452, 456, 443, 447, 445, 454, 455, 457, 442, 452, 444, 458, 449, 446, 459, 460, 457, 461, 462, 463, 453, 451, 460, 456, 461, 454, 455, 459, 464, 458, 465, 466, 468, 470, 528, 469, 464, 528, 861, 470, 519, 463, 466, 462, 469, 524, 464, 465, 479, 479, 479, 479, 518, 519, 468, 490, 490, 490, 490, 490, 490, 492, 492, 492, 492, 492, 492, 524, 544, 518, 522, 490, 521, 490, 544, 490, 490, 493, 493, 493, 493, 493, 493, 497, 526, 498, 494, 521, 490, 526, 522, 496, 532, 490, 492, 490, 494, 495, 490, 495, 490, 496, 495, 495, 495, 495, 495, 495, 567, 497, 493, 498, 494, 532, 523, 525, 567, 496, 500, 500, 500, 500, 500, 500, 502, 529, 502, 523, 525, 502, 502, 502, 502, 502, 502, 495, 501, 501, 501, 501, 501, 501, 527, 530, 531, 529, 533, 857, 536, 535, 539, 537, 501, 527, 501, 533, 501, 501, 530, 534, 535, 536, 538, 531, 534, 540, 541, 547, 542, 501, 548, 538, 539, 542, 501, 541, 501, 545, 549, 501, 537, 501, 540, 550, 547, 548, 545, 552, 553, 554, 558, 555, 550, 549, 557, 558, 552, 563, 560, 561, 564, 554, 568, 565, 569, 553, 555, 560, 561, 557, 570, 569, 568, 564, 571, 572, 574, 575, 577, 563, 565, 572, 713, 578, 622, 574, 571, 575, 713, 604, 604, 622, 570, 625, 854, 577, 578, 597, 597, 597, 597, 597, 597, 598, 598, 598, 598, 598, 598, 600, 625, 600, 604, 624, 600, 600, 600, 600, 600, 600, 603, 603, 603, 603, 603, 603, 624, 605, 814, 629, 597, 599, 599, 599, 599, 599, 599, 606, 621, 606, 626, 627, 606, 621, 814, 623, 629, 599, 627, 599, 605, 599, 599, 603, 623, 630, 621, 628, 630, 606, 631, 606, 632, 626, 599, 628, 606, 633, 634, 599, 635, 599, 636, 631, 599, 637, 599, 640, 637, 638, 641, 643, 633, 644, 632, 647, 642, 635, 645, 648, 634, 705, 640, 649, 636, 642, 638, 645, 653, 643, 641, 654, 649, 656, 659, 644, 667, 660, 647, 668, 671, 648, 670, 659, 660, 667, 703, 705, 653, 668, 656, 670, 702, 853, 708, 671, 703, 852, 654, 689, 689, 689, 689, 689, 689, 693, 693, 693, 693, 693, 693, 706, 711, 702, 708, 689, 707, 689, 706, 689, 689, 707, 709, 710, 715, 709, 710, 714, 716, 717, 711, 716, 689, 715, 718, 721, 720, 689, 693, 689, 714, 723, 689, 719, 689, 720, 719, 724, 722, 725, 717, 722, 726, 727, 723, 724, 735, 728, 731, 725, 734, 721, 736, 718, 738, 726, 728, 760, 739, 761, 757, 762, 738, 764, 727, 758, 731, 739, 735, 761, 734, 731, 760, 736, 746, 746, 746, 746, 746, 746, 757, 759, 758, 763, 762, 765, 759, 767, 765, 764, 766, 769, 771, 773, 769, 771, 773, 772, 774, 775, 763, 774, 776, 766, 772, 778, 782, 746, 797, 799, 802, 807, 810, 800, 775, 767, 801, 803, 804, 801, 803, 804, 806, 808, 811, 776, 808, 811, 778, 782, 799, 800, 802, 812, 810, 797, 812, 807, 813, 815, 806, 816, 831, 833, 832, 834, 833, 813, 835, 836, 815, 832, 836, 837, 834, 840, 843, 816, 840, 843, 844, 845, 846, 831, 858, 855, 835, 858, 859, 844, 837, 846, 835, 845, 855, 856, 860, 870, 859, 862, 856, 860, 862, 863, 864, 871, 863, 864, 872, 873, 874, 872, 875, 874, 878, 875, 881, 870, 882, 873, 871, 885, 886, 887, 889, 888, 890, 851, 891, 850, 885, 849, 848, 882, 847, 886, 878, 881, 891, 842, 841, 839, 889, 838, 830, 887, 888, 829, 890, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 895, 896, 896, 896, 896, 896, 896, 896, 896, 896, 896, 896, 896, 896, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 897, 898, 828, 827, 898, 826, 898, 898, 898, 898, 898, 899, 825, 824, 823, 899, 899, 899, 899, 899, 899, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 901, 822, 821, 901, 820, 901, 901, 901, 901, 901, 902, 819, 902, 902, 818, 902, 902, 902, 902, 902, 902, 817, 902, 903, 809, 805, 903, 903, 903, 903, 903, 903, 903, 903, 798, 903, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 905, 905, 796, 905, 795, 794, 793, 905, 906, 792, 791, 906, 790, 906, 906, 906, 906, 906, 907, 789, 907, 788, 787, 786, 907, 908, 785, 908, 784, 783, 781, 908, 909, 780, 909, 779, 777, 770, 909, 910, 768, 910, 756, 755, 754, 910, 911, 753, 911, 752, 751, 750, 911, 912, 749, 912, 748, 745, 744, 912, 913, 743, 913, 737, 733, 732, 913, 914, 730, 914, 729, 712, 704, 914, 915, 701, 915, 696, 694, 690, 915, 916, 680, 916, 917, 917, 676, 917, 917, 917, 674, 917, 918, 918, 672, 918, 919, 669, 666, 919, 665, 919, 919, 919, 919, 919, 920, 664, 920, 663, 662, 661, 920, 921, 658, 921, 657, 655, 652, 921, 922, 651, 922, 650, 646, 619, 922, 923, 615, 923, 924, 613, 924, 611, 609, 607, 924, 925, 601, 925, 926, 595, 593, 926, 591, 926, 926, 926, 926, 926, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 929, 589, 929, 587, 585, 583, 929, 930, 581, 930, 580, 579, 576, 930, 931, 573, 931, 566, 562, 559, 931, 932, 556, 932, 933, 551, 933, 546, 543, 520, 933, 934, 516, 934, 935, 514, 935, 512, 510, 508, 935, 936, 506, 936, 937, 505, 937, 504, 503, 491, 937, 938, 488, 938, 939, 486, 939, 485, 484, 482, 939, 940, 480, 940, 941, 477, 941, 475, 473, 471, 941, 942, 467, 942, 943, 450, 943, 448, 440, 438, 943, 944, 430, 944, 945, 428, 945, 426, 945, 400, 945, 946, 398, 946, 396, 946, 394, 946, 947, 947, 393, 947, 947, 947, 392, 947, 948, 379, 948, 376, 367, 365, 948, 949, 364, 949, 360, 358, 356, 949, 950, 354, 950, 350, 348, 347, 950, 951, 346, 951, 952, 336, 952, 321, 298, 277, 952, 953, 275, 953, 954, 273, 954, 272, 271, 269, 954, 955, 268, 955, 956, 263, 956, 259, 258, 254, 956, 957, 251, 957, 958, 250, 239, 958, 238, 958, 958, 958, 958, 958, 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, 959, 960, 231, 960, 230, 227, 217, 960, 961, 215, 961, 962, 214, 962, 213, 207, 206, 962, 963, 204, 963, 964, 199, 964, 178, 149, 147, 964, 965, 146, 965, 966, 140, 966, 138, 136, 128, 966, 967, 125, 967, 968, 124, 968, 120, 101, 98, 968, 969, 95, 969, 970, 93, 970, 86, 72, 70, 970, 971, 66, 971, 972, 36, 972, 33, 18, 11, 972, 973, 4, 973, 3, 0, 0, 973, 974, 0, 974, 975, 0, 975, 0, 0, 0, 975, 976, 0, 976, 977, 0, 977, 0, 977, 0, 977, 978, 0, 978, 0, 0, 0, 978, 979, 0, 979, 0, 0, 0, 979, 980, 0, 980, 981, 0, 981, 0, 0, 0, 981, 982, 0, 982, 983, 0, 983, 0, 0, 0, 983, 984, 0, 984, 985, 0, 985, 0, 0, 0, 985, 986, 0, 986, 987, 0, 987, 0, 0, 0, 987, 988, 0, 988, 989, 0, 989, 0, 0, 0, 989, 990, 0, 990, 991, 0, 0, 991, 0, 991, 991, 991, 991, 991, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, 993, 0, 993, 0, 0, 0, 993, 994, 0, 994, 995, 0, 995, 0, 0, 0, 995, 996, 0, 996, 997, 0, 997, 0, 0, 0, 997, 998, 0, 998, 999, 0, 999, 0, 0, 0, 999, 1000, 0, 1000, 1001, 0, 1001, 0, 0, 0, 1001, 1002, 0, 1002, 1003, 0, 1003, 0, 0, 0, 1003, 1004, 0, 1004, 1005, 0, 1005, 0, 0, 0, 1005, 1006, 0, 1006, 1007, 0, 1007, 0, 0, 0, 1007, 1008, 0, 1008, 1009, 0, 1009, 0, 0, 0, 1009, 1010, 0, 1010, 0, 0, 0, 1010, 1011, 0, 1011, 1012, 0, 1012, 0, 0, 0, 1012, 1013, 0, 1013, 1014, 0, 1014, 0, 0, 0, 1014, 1015, 0, 1015, 1016, 0, 1016, 0, 0, 0, 1016, 1017, 0, 1017, 1018, 0, 1018, 1019, 0, 1019, 1020, 0, 0, 1020, 0, 1020, 1020, 1020, 1020, 1020, 1021, 0, 1021, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1022, 1023, 0, 1023, 0, 0, 0, 1023, 1024, 0, 1024, 1025, 0, 1025, 0, 0, 0, 1025, 1026, 0, 1026, 1027, 0, 1027, 1028, 0, 1028, 1029, 0, 0, 1029, 0, 1029, 1029, 1029, 1029, 1029, 1030, 0, 1030, 1031, 0, 1031, 1032, 0, 1032, 1033, 0, 1033, 1034, 0, 1034, 1035, 0, 1035, 1036, 0, 1036, 1037, 0, 1037, 0, 0, 0, 1037, 1038, 0, 1038, 1039, 0, 1039, 0, 0, 0, 1039, 1040, 0, 1040, 1041, 0, 1041, 1042, 0, 1042, 1043, 0, 1043, 1044, 0, 1044, 0, 0, 0, 1044, 1045, 0, 0, 1045, 0, 1045, 1045, 1045, 1045, 1045, 1046, 0, 1046, 1047, 0, 1047, 1048, 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, 1053, 0, 1053, 0, 0, 0, 1053, 1054, 0, 1054, 0, 0, 0, 1054, 1055, 0, 1055, 0, 0, 0, 1055, 1056, 0, 1056, 0, 0, 0, 1056, 1057, 0, 1057, 0, 0, 0, 1057, 1058, 0, 1058, 0, 0, 0, 1058, 1059, 0, 1059, 0, 0, 0, 1059, 1060, 0, 1060, 0, 0, 0, 1060, 1061, 0, 1061, 0, 0, 0, 1061, 1062, 0, 1062, 0, 0, 0, 1062, 1063, 0, 1063, 0, 0, 0, 1063, 1064, 0, 1064, 0, 0, 0, 1064, 1065, 0, 1065, 0, 0, 0, 1065, 1066, 0, 1066, 0, 0, 0, 1066, 1067, 0, 1067, 0, 0, 0, 1067, 1068, 0, 1068, 0, 0, 0, 1068, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, 894 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[184] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.ll" /* * Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo * * The contents of this file are covered under the licence agreement in the * file "LICENCE" distributed with Cforall. * * lex.l -- * * Author : Peter A. Buhr * Created On : Sat Sep 22 08:58:10 2001 * Last Modified By : Peter A. Buhr * Last Modified On : Wed Oct 26 17:32:30 2016 * Update Count : 499 */ #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 // FILENAME_MAX #include "lex.h" #include "parser.h" // YACC generated definitions based on C++ grammar #include "ParseNode.h" #include "TypedefTable.h" char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define RETURN_LOCN(x) yylval.tok.loc.file = yyfilename; yylval.tok.loc.line = yylineno; return( x ) #define RETURN_VAL(x) yylval.tok.str = new std::string( yytext ); RETURN_LOCN( x ) #define RETURN_CHAR(x) yylval.tok.str = nullptr; 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_CHAR( x ) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL( x ) // numeric constant #define KEYWORD_RETURN(x) RETURN_CHAR( x ) // keyword #define IDENTIFIER_RETURN() RETURN_VAL( typedefTable.isKind( yytext ) ) #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) void rm_underscore() { // Remove underscores in numeric constant by copying the non-underscore characters to the front of the string. yyleng = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[yyleng] = yytext[i]; yyleng += 1; } // if } // for yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // GCC: D (double), DL (long double) and iI (imaginary) suffixes //floating_suffix "_"?([fFdD]|[lL]|[D][L])|([iI][lLfFdD])|([lLfFdD][iI])) // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // overloadable operators // op_binary_not_over "?"|"->"|"."|"&&"|"||"|"@=" // operator {op_unary_pre_post}|{op_binary_over}|{op_binary_not_over} #line 1538 "Parser/lex.cc" #define INITIAL 0 #define COMMENT 1 #define BKQUOTE 2 #define QUOTE 3 #define STRING 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 138 "lex.ll" /* line directives */ #line 1733 "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 >= 895 ) 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] != 2845 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 140 "lex.ll" { /* " stop highlighting */ static char filename[FILENAME_MAX]; // temporarily store current source-file name char *end_num; char *begin_string, *end_string; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { // file name ? end_string = strchr( begin_string + 1, '"' ); // look for ending delimiter assert( end_string ); // closing quote ? length = end_string - begin_string - 1; // file-name length without quotes or sentinel assert( length < FILENAME_MAX ); // room for sentinel ? memcpy( &filename, begin_string + 1, length ); // copy file name from yytext filename[ length ] = '\0'; // terminate string with sentinel //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 162 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 165 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 166 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 167 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments (ALSO HANDLED BY CPP) */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 170 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 173 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 174 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 175 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 178 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 36: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 37: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 38: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 39: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 40: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 41: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 42: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 43: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 44: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 45: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 46: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 47: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(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(OTYPE); } // CFA 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(TRAIT); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TRY); } // 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(VALIST); } // GCC YY_BREAK case 98: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 99: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VOLATILE); } 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(VOLATILE); } // GCC YY_BREAK case 102: YY_RULE_SETUP #line 270 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 103: YY_RULE_SETUP #line 273 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 104: YY_RULE_SETUP #line 274 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 105: YY_RULE_SETUP #line 275 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 106: YY_RULE_SETUP #line 276 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 107: YY_RULE_SETUP #line 277 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 108: YY_RULE_SETUP #line 280 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 109: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA 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(INTEGERconstant); } YY_BREAK case 113: YY_RULE_SETUP #line 285 "lex.ll" { NUMERIC_RETURN(REALDECIMALconstant); } // must appear before floating_constant YY_BREAK case 114: YY_RULE_SETUP #line 286 "lex.ll" { NUMERIC_RETURN(REALFRACTIONconstant); } // must appear before floating_constant YY_BREAK case 115: YY_RULE_SETUP #line 287 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 116: YY_RULE_SETUP #line 288 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 117: YY_RULE_SETUP #line 291 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string( yytext, yyleng ); } YY_BREAK case 118: YY_RULE_SETUP #line 292 "lex.ll" { strtext->append( yytext, yyleng ); } YY_BREAK case 119: /* rule 119 can match eol */ YY_RULE_SETUP #line 293 "lex.ll" { BEGIN 0; strtext->append( yytext, yyleng ); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 120: YY_RULE_SETUP #line 297 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string( yytext, yyleng ); } YY_BREAK case 121: YY_RULE_SETUP #line 298 "lex.ll" { strtext->append( yytext, yyleng ); } YY_BREAK case 122: /* rule 122 can match eol */ YY_RULE_SETUP #line 299 "lex.ll" { BEGIN 0; strtext->append( yytext, yyleng ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 123: YY_RULE_SETUP #line 303 "lex.ll" { rm_underscore(); strtext->append( yytext, yyleng ); } YY_BREAK case 124: /* rule 124 can match eol */ YY_RULE_SETUP #line 304 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 125: YY_RULE_SETUP #line 305 "lex.ll" { strtext->append( yytext, yyleng ); } // unknown escape character YY_BREAK /* punctuation */ 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(); } 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" { ASCIIOP_RETURN(); } YY_BREAK case 134: YY_RULE_SETUP #line 316 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 135: YY_RULE_SETUP #line 317 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 136: YY_RULE_SETUP #line 318 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 137: YY_RULE_SETUP #line 321 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 138: YY_RULE_SETUP #line 322 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 139: YY_RULE_SETUP #line 323 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 140: YY_RULE_SETUP #line 324 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ 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 338 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 153: YY_RULE_SETUP #line 339 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 154: YY_RULE_SETUP #line 340 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 155: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 156: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 157: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 158: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 159: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 160: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 161: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 162: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 163: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 164: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 165: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 166: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 167: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 168: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 169: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 170: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 171: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 172: YY_RULE_SETUP #line 359 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 173: YY_RULE_SETUP #line 360 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 174: YY_RULE_SETUP #line 361 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 175: YY_RULE_SETUP #line 362 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 176: YY_RULE_SETUP #line 364 "lex.ll" { NAMEDOP_RETURN(ATassign); } // CFA YY_BREAK /* CFA, operator identifier */ case 177: YY_RULE_SETUP #line 367 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 178: YY_RULE_SETUP #line 368 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 179: YY_RULE_SETUP #line 369 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 180: YY_RULE_SETUP #line 370 "lex.ll" { IDENTIFIER_RETURN(); } // binary YY_BREAK /* This rule handles ambiguous cases with operator identifiers, e.g., "int *?*?()", where the string "*?*?" can be lexed as "*"/"?*?" or "*?"/"*?". Since it is common practise to put a unary operator juxtaposed to an identifier, e.g., "*i", users will be annoyed if they cannot do this with respect to operator identifiers. Even with this special hack, there are 5 general cases that cannot be handled. The first case is for the function-call identifier "?()": int * ?()(); // declaration: space required after '*' * ?()(); // expression: space required after '*' Without the space, the string "*?()" is ambiguous without N character look ahead; it requires scanning ahead to determine if there is a '(', which is the start of an argument/parameter list. The 4 remaining cases occur in expressions: i++?i:0; // space required before '?' i--?i:0; // space required before '?' i?++i:0; // space required after '?' i?--i:0; // space required after '?' In the first two cases, the string "i++?" is ambiguous, where this string can be lexed as "i"/"++?" or "i++"/"?"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. In the second two cases, the string "?++x" is ambiguous, where this string can be lexed as "?++"/"x" or "?"/"++x"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. */ case 181: YY_RULE_SETUP #line 397 "lex.ll" { // 1 or 2 character unary operator ? int i = yytext[1] == '?' ? 1 : 2; yyless( i ); // put back characters up to first '?' if ( i > 1 ) { NAMEDOP_RETURN( yytext[0] == '+' ? ICR : DECR ); } else { ASCIIOP_RETURN(); } // if } YY_BREAK /* unknown characters */ case 182: YY_RULE_SETUP #line 409 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 183: YY_RULE_SETUP #line 411 "lex.ll" ECHO; YY_BREAK #line 2821 "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 >= 895 ) 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 >= 895 ) 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 == 894); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) yylineno++; ; return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ /* We do not touch yylineno unless the option is enabled. */ yylineno = 1; (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 411 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //