#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 185 #define YY_END_OF_BUFFER 186 /* 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[905] = { 0, 0, 0, 0, 0, 0, 0, 120, 120, 123, 123, 186, 184, 7, 9, 8, 143, 122, 105, 148, 151, 119, 130, 131, 146, 144, 134, 145, 137, 147, 110, 111, 112, 135, 136, 153, 155, 154, 156, 184, 105, 128, 184, 129, 149, 105, 107, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 132, 152, 133, 150, 7, 184, 4, 4, 185, 108, 185, 109, 120, 121, 127, 123, 124, 7, 9, 0, 8, 160, 179, 105, 0, 172, 142, 165, 173, 170, 157, 168, 158, 169, 167, 0, 116, 3, 0, 171, 115, 113, 0, 0, 113, 113, 0, 0, 113, 112, 112, 112, 0, 112, 140, 141, 139, 161, 163, 159, 164, 162, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 178, 0, 122, 119, 105, 0, 0, 175, 0, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 38, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 57, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 174, 166, 7, 0, 0, 0, 2, 0, 5, 108, 0, 0, 0, 120, 0, 126, 125, 125, 0, 0, 0, 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 116, 117, 0, 117, 117, 0, 0, 6, 117, 113, 0, 0, 0, 117, 0, 113, 113, 113, 113, 0, 114, 0, 0, 112, 112, 112, 112, 0, 176, 177, 0, 182, 180, 0, 0, 0, 106, 0, 0, 0, 0, 0, 0, 0, 0, 105, 17, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 14, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 51, 105, 105, 105, 64, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 91, 105, 105, 105, 105, 105, 105, 105, 105, 0, 0, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 125, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 117, 0, 117, 0, 117, 0, 117, 0, 0, 117, 0, 113, 113, 0, 0, 114, 114, 0, 114, 0, 114, 112, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 181, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 21, 105, 24, 105, 27, 105, 105, 105, 105, 105, 105, 105, 41, 105, 43, 105, 105, 105, 105, 105, 105, 105, 56, 105, 67, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 99, 105, 105, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 117, 0, 0, 0, 0, 0, 0, 0, 114, 114, 0, 118, 0, 114, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 105, 22, 105, 105, 105, 105, 105, 105, 105, 15, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 23, 25, 105, 32, 105, 105, 105, 105, 40, 105, 105, 105, 105, 49, 105, 105, 54, 105, 105, 71, 72, 105, 105, 105, 78, 105, 105, 105, 105, 105, 88, 90, 105, 105, 96, 105, 105, 103, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 118, 0, 0, 114, 118, 118, 118, 118, 0, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 59, 105, 105, 105, 105, 105, 105, 105, 105, 28, 105, 105, 105, 39, 42, 45, 105, 105, 52, 105, 61, 68, 105, 105, 77, 79, 82, 83, 85, 86, 105, 105, 93, 105, 105, 104, 0, 1, 0, 0, 0, 0, 0, 0, 108, 0, 0, 0, 125, 0, 0, 0, 0, 118, 0, 118, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 105, 18, 105, 105, 105, 105, 105, 105, 105, 16, 105, 105, 105, 33, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 36, 37, 105, 48, 53, 105, 105, 105, 92, 105, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 60, 62, 65, 105, 105, 80, 94, 105, 105, 35, 105, 47, 73, 74, 105, 97, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 69, 105, 105, 12, 105, 105, 30, 34, 105, 105, 105, 66, 105, 105, 105, 105, 105, 105, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 105, 105, 105, 105, 105, 105, 105, 50, 63, 75, 81, 95, 101, 105, 105, 105, 0, 0, 0, 0, 0, 0, 0, 0, 105, 105, 13, 19, 105, 105, 31, 105, 105, 105, 26, 46, 89, 0, 0, 105, 105, 105, 105, 105, 105, 76, 102, 105, 87, 20, 105, 105, 44, 84, 105, 105, 105, 105, 105, 105, 105, 98, 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[1079] = { 0, 0, 84, 2323, 2322, 94, 0, 177, 178, 179, 180, 2338, 2866, 191, 2866, 197, 55, 2866, 2283, 60, 173, 2866, 2866, 2866, 56, 188, 2866, 191, 189, 204, 216, 275, 0, 2300, 2866, 216, 2298, 152, 344, 155, 220, 2866, 159, 2866, 217, 226, 2866, 185, 154, 212, 251, 237, 270, 235, 257, 241, 279, 193, 305, 314, 333, 238, 228, 227, 2866, 225, 2866, 2295, 402, 390, 2866, 2306, 2866, 2273, 235, 2866, 0, 2866, 426, 0, 2866, 417, 2866, 439, 451, 2866, 498, 2270, 264, 2866, 2866, 2866, 2866, 2866, 2286, 2866, 2285, 2866, 2866, 2297, 559, 2866, 2313, 2866, 438, 444, 511, 534, 289, 253, 197, 380, 305, 0, 319, 280, 198, 322, 2866, 2866, 2866, 2281, 2866, 2866, 2866, 2278, 2277, 218, 312, 2292, 350, 459, 368, 398, 440, 405, 448, 2272, 441, 2219, 458, 2247, 2866, 335, 2866, 2866, 321, 2243, 2242, 2866, 2214, 444, 297, 433, 372, 425, 454, 434, 461, 570, 455, 468, 385, 474, 475, 494, 492, 489, 464, 488, 491, 513, 503, 430, 521, 517, 519, 516, 522, 2240, 526, 523, 276, 460, 524, 542, 555, 554, 561, 325, 558, 584, 552, 600, 586, 593, 588, 595, 2866, 2866, 667, 655, 2287, 682, 2866, 688, 2866, 2236, 590, 2232, 2230, 0, 648, 2866, 2866, 675, 2227, 2224, 2223, 0, 2246, 578, 631, 654, 685, 698, 660, 689, 670, 692, 2242, 695, 701, 2200, 2198, 2866, 0, 693, 720, 685, 711, 2197, 2247, 2866, 737, 745, 666, 757, 763, 797, 780, 599, 2866, 2203, 2178, 0, 805, 2224, 806, 617, 2866, 2199, 2172, 819, 2866, 2866, 2203, 2866, 2866, 707, 722, 2182, 2182, 699, 2177, 2174, 2171, 0, 2170, 0, 2141, 743, 724, 739, 689, 741, 720, 623, 759, 762, 804, 681, 795, 749, 746, 799, 801, 765, 784, 803, 811, 2170, 814, 818, 827, 831, 817, 821, 833, 835, 841, 842, 834, 843, 844, 845, 847, 849, 857, 858, 860, 851, 859, 866, 2167, 867, 868, 869, 871, 873, 874, 763, 875, 876, 880, 881, 884, 887, 888, 885, 2164, 891, 936, 894, 897, 905, 899, 901, 902, 965, 961, 2160, 2159, 2157, 0, 2154, 0, 952, 956, 2153, 0, 2152, 0, 2150, 0, 2169, 2866, 951, 952, 2148, 2145, 0, 2143, 0, 2866, 967, 986, 978, 2866, 992, 1032, 2140, 1008, 1054, 2136, 2866, 2866, 915, 951, 1040, 993, 1079, 956, 1071, 994, 2866, 2866, 2132, 2130, 2128, 0, 2125, 0, 2123, 0, 2121, 0, 2866, 935, 969, 973, 968, 1012, 975, 1056, 992, 1058, 997, 1032, 993, 1000, 1060, 1061, 1066, 1070, 1073, 1030, 1071, 1069, 1072, 1078, 2121, 700, 2118, 1085, 2117, 1079, 1081, 1089, 1087, 1098, 1096, 1099, 2116, 1101, 2114, 1105, 1106, 1107, 1109, 1112, 1113, 1114, 2111, 1115, 2108, 1117, 1119, 1120, 1118, 1124, 1126, 1121, 1136, 1130, 1134, 1135, 1149, 1137, 1138, 1150, 1152, 1153, 2107, 1151, 1154, 1167, 1205, 2103, 0, 2101, 0, 2098, 0, 2095, 0, 1204, 2094, 0, 2093, 0, 2091, 2088, 2085, 0, 2084, 0, 1208, 2083, 1214, 1230, 1216, 1255, 1221, 1172, 1169, 2866, 1271, 1289, 1282, 2093, 2066, 2075, 2074, 0, 2073, 0, 2071, 0, 2068, 0, 2065, 0, 2064, 0, 1190, 1159, 2066, 1193, 1195, 1197, 1212, 1237, 1231, 1265, 1248, 1266, 1267, 1213, 1268, 1269, 1283, 1270, 1271, 234, 1285, 1273, 1274, 1287, 1293, 2064, 1306, 1301, 2061, 1290, 1303, 1305, 1308, 2058, 1312, 1309, 1311, 1313, 2057, 1314, 1319, 2056, 1316, 1322, 2054, 2051, 1315, 1327, 1330, 2050, 1333, 1332, 1336, 1334, 1338, 1345, 2049, 1335, 1348, 2047, 1346, 1349, 2044, 1351, 2093, 2039, 0, 2037, 0, 2004, 0, 2002, 0, 2001, 0, 1998, 0, 1995, 0, 1994, 0, 1394, 1404, 1428, 1415, 1993, 2866, 1421, 1370, 1391, 1419, 1991, 2866, 1988, 0, 1985, 0, 1984, 0, 1983, 0, 0, 0, 1984, 0, 1352, 1406, 1408, 1359, 1354, 1409, 1415, 1412, 1411, 1423, 1433, 1425, 1430, 1435, 1437, 1439, 1448, 1442, 1449, 1440, 1444, 1453, 1450, 1452, 1456, 1981, 1458, 1460, 1463, 1980, 1979, 1977, 1466, 1467, 1974, 1470, 1973, 1972, 1469, 1473, 1970, 1963, 1961, 1960, 1957, 1953, 1475, 1479, 1949, 1476, 1477, 1945, 1992, 2866, 1938, 0, 1937, 0, 0, 0, 1938, 0, 0, 0, 2866, 0, 0, 0, 0, 1525, 1932, 2866, 2866, 1531, 1931, 0, 1930, 0, 0, 0, 0, 1928, 1488, 1483, 1928, 1491, 1507, 1518, 1490, 1519, 1521, 1508, 1927, 1525, 1529, 1527, 1541, 1530, 1384, 1543, 1539, 1558, 1547, 1549, 1512, 1545, 1552, 1553, 1554, 1926, 1924, 1557, 1921, 1920, 1556, 1537, 1560, 1919, 1561, 1564, 0, 0, 0, 1914, 1911, 1910, 1612, 0, 1909, 1907, 1904, 1903, 1902, 1903, 1900, 1899, 1898, 1568, 1572, 1566, 1577, 1590, 1570, 1578, 1579, 1591, 1596, 1625, 1896, 1598, 1893, 1599, 1603, 1604, 1608, 1606, 1612, 1892, 1613, 1891, 1889, 1886, 1614, 1885, 1884, 1879, 1872, 1870, 1869, 1866, 1865, 1864, 1862, 1845, 1836, 1835, 1832, 1616, 1828, 1617, 1622, 1620, 1619, 1624, 1626, 1825, 1628, 1644, 1630, 1818, 1631, 1639, 1645, 1647, 1634, 1649, 1651, 1813, 1812, 1791, 1790, 1789, 1782, 1780, 1779, 1737, 1735, 1733, 1732, 1730, 1732, 1652, 1654, 1655, 1657, 1659, 1662, 1663, 1731, 1729, 1668, 1727, 1724, 1669, 1670, 1664, 1675, 1719, 1718, 1671, 1629, 1564, 1468, 1350, 1269, 1678, 1681, 1239, 1682, 1688, 1689, 1238, 1690, 1692, 1696, 1206, 1171, 1157, 1035, 1031, 1691, 1697, 1700, 1704, 1702, 1706, 998, 560, 1701, 527, 395, 1707, 1710, 357, 300, 1708, 1713, 1715, 1718, 1716, 1719, 1720, 233, 137, 2866, 1794, 1807, 1820, 1830, 1840, 1853, 1863, 1876, 1889, 1902, 1910, 1920, 1927, 1934, 1941, 1948, 1955, 1962, 1969, 1976, 1983, 1990, 1994, 2002, 2008, 2015, 2022, 2029, 2036, 2039, 2046, 2052, 2065, 2078, 2085, 2092, 2099, 2106, 2109, 2116, 2119, 2126, 2129, 2136, 2139, 2146, 2149, 2156, 2159, 2166, 2169, 2176, 2184, 2191, 2198, 2205, 2212, 2215, 2222, 2225, 2232, 2235, 2242, 2248, 2261, 2268, 2275, 2278, 2285, 2288, 2295, 2298, 2305, 2308, 2315, 2318, 2325, 2328, 2335, 2342, 2345, 2352, 2355, 2362, 2369, 2376, 2379, 2386, 2389, 2396, 2399, 2406, 2409, 2416, 2419, 2426, 2432, 2445, 2452, 2459, 2462, 2469, 2472, 2479, 2482, 2489, 2492, 2499, 2502, 2509, 2512, 2519, 2522, 2529, 2532, 2539, 2546, 2549, 2556, 2559, 2566, 2569, 2576, 2579, 2582, 2588, 2595, 2604, 2611, 2618, 2621, 2628, 2631, 2634, 2640, 2647, 2650, 2653, 2656, 2659, 2662, 2665, 2668, 2675, 2678, 2685, 2688, 2691, 2694, 2697, 2707, 2714, 2717, 2720, 2723, 2730, 2737, 2744, 2747, 2754, 2761, 2768, 2775, 2782, 2789, 2796, 2803, 2810, 2817, 2824, 2831, 2838, 2845, 2852 } ; static yyconst flex_int16_t yy_def[1079] = { 0, 904, 1, 905, 905, 904, 5, 906, 906, 907, 907, 904, 904, 904, 904, 904, 904, 904, 908, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 31, 904, 904, 904, 904, 904, 904, 909, 908, 904, 904, 904, 904, 908, 904, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 904, 904, 904, 904, 904, 910, 904, 904, 904, 911, 904, 904, 912, 904, 904, 913, 904, 904, 904, 904, 904, 904, 904, 908, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 914, 904, 904, 30, 904, 904, 904, 904, 915, 30, 904, 31, 904, 904, 31, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 916, 904, 904, 904, 904, 908, 917, 918, 904, 904, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 904, 904, 904, 910, 910, 910, 904, 910, 904, 911, 904, 919, 920, 912, 904, 904, 904, 904, 921, 922, 923, 913, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 924, 925, 904, 100, 904, 904, 904, 904, 100, 914, 904, 100, 111, 245, 904, 904, 904, 904, 904, 904, 904, 904, 926, 927, 928, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 929, 904, 930, 931, 932, 933, 934, 935, 904, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 937, 938, 939, 940, 941, 942, 943, 944, 904, 904, 945, 946, 947, 948, 949, 950, 904, 904, 904, 904, 904, 951, 952, 953, 954, 904, 904, 904, 904, 904, 904, 904, 380, 904, 376, 383, 904, 904, 955, 956, 957, 904, 904, 904, 957, 904, 904, 904, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 904, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 904, 978, 979, 980, 981, 982, 982, 983, 984, 985, 986, 904, 497, 904, 904, 987, 904, 987, 904, 904, 904, 904, 904, 904, 904, 904, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 904, 904, 904, 904, 1019, 904, 608, 904, 904, 904, 612, 904, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1032, 904, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 904, 1043, 1044, 1045, 1046, 904, 699, 904, 904, 904, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 904, 1062, 1047, 1049, 1063, 1064, 1054, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1065, 1066, 1059, 1067, 1060, 1068, 1061, 1069, 1070, 1063, 1071, 1064, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1072, 1065, 1073, 1066, 1074, 1067, 1075, 1068, 1076, 1069, 1077, 1070, 1071, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1078, 1072, 1073, 1074, 1075, 1049, 1076, 1077, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1078, 1049, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 0, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904 } ; static yyconst flex_int16_t yy_nxt[2952] = { 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, 63, 64, 65, 66, 67, 68, 85, 93, 86, 86, 68, 89, 90, 69, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 73, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 72, 74, 72, 72, 73, 75, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 72, 72, 72, 72, 77, 77, 80, 80, 124, 125, 91, 142, 80, 80, 88, 77, 77, 81, 82, 83, 83, 83, 81, 83, 82, 84, 84, 84, 83, 92, 94, 88, 143, 147, 99, 96, 100, 100, 100, 100, 100, 100, 255, 904, 95, 101, 86, 97, 98, 86, 102, 162, 119, 144, 78, 78, 78, 78, 145, 148, 103, 104, 88, 105, 105, 105, 105, 106, 106, 120, 88, 121, 122, 149, 266, 150, 267, 257, 263, 185, 107, 198, 648, 160, 108, 161, 151, 152, 153, 88, 109, 110, 154, 155, 163, 156, 111, 88, 157, 158, 146, 164, 107, 88, 88, 88, 159, 165, 112, 209, 88, 88, 88, 197, 88, 88, 109, 196, 88, 110, 104, 253, 113, 113, 113, 113, 113, 113, 88, 170, 178, 171, 199, 195, 88, 210, 181, 166, 233, 107, 172, 167, 182, 114, 179, 254, 168, 88, 261, 115, 169, 180, 173, 88, 144, 116, 88, 251, 326, 145, 174, 107, 175, 252, 234, 176, 144, 117, 266, 177, 267, 145, 262, 183, 88, 115, 126, 88, 184, 252, 127, 128, 88, 129, 193, 130, 131, 259, 132, 252, 133, 88, 283, 260, 186, 187, 260, 251, 88, 134, 135, 136, 88, 190, 188, 252, 266, 189, 267, 274, 88, 191, 268, 146, 259, 337, 203, 204, 192, 260, 137, 203, 260, 138, 266, 904, 267, 194, 200, 82, 83, 83, 83, 200, 88, 275, 201, 205, 205, 205, 205, 205, 205, 81, 82, 83, 83, 83, 81, 88, 139, 140, 212, 213, 266, 904, 267, 212, 285, 214, 258, 266, 88, 267, 214, 83, 82, 83, 83, 83, 83, 303, 88, 215, 215, 215, 215, 83, 82, 84, 84, 84, 83, 904, 214, 244, 244, 244, 244, 244, 244, 245, 245, 245, 245, 269, 266, 266, 267, 267, 216, 268, 88, 214, 266, 270, 267, 88, 214, 214, 88, 88, 214, 214, 266, 266, 267, 267, 286, 904, 214, 88, 317, 214, 246, 214, 217, 214, 284, 218, 220, 88, 88, 288, 221, 222, 281, 88, 88, 223, 224, 88, 225, 282, 226, 88, 327, 904, 301, 287, 289, 88, 88, 227, 228, 229, 104, 306, 106, 106, 106, 106, 106, 106, 311, 88, 88, 302, 88, 88, 307, 88, 304, 305, 230, 107, 248, 231, 248, 309, 88, 249, 249, 249, 249, 249, 249, 310, 308, 313, 88, 247, 312, 88, 88, 314, 88, 107, 88, 88, 88, 88, 316, 88, 88, 232, 236, 236, 236, 236, 236, 236, 319, 315, 250, 318, 320, 325, 323, 88, 321, 322, 237, 238, 239, 324, 240, 239, 328, 88, 329, 88, 88, 144, 365, 88, 366, 88, 88, 241, 330, 331, 333, 335, 239, 238, 239, 88, 341, 240, 332, 239, 290, 291, 292, 338, 293, 294, 336, 334, 295, 88, 296, 88, 351, 88, 339, 297, 298, 299, 88, 300, 88, 385, 212, 213, 343, 88, 347, 212, 342, 203, 204, 345, 344, 346, 203, 365, 340, 366, 352, 395, 348, 200, 82, 83, 83, 83, 200, 385, 88, 201, 205, 205, 205, 205, 205, 205, 203, 204, 365, 904, 366, 203, 349, 204, 365, 395, 366, 349, 414, 350, 357, 357, 357, 357, 365, 366, 366, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 365, 366, 366, 367, 365, 382, 366, 365, 368, 366, 365, 374, 366, 365, 358, 366, 365, 88, 366, 374, 374, 375, 266, 375, 267, 88, 376, 376, 376, 376, 376, 376, 397, 378, 374, 378, 88, 266, 378, 267, 420, 411, 374, 380, 380, 380, 380, 380, 380, 104, 550, 245, 245, 245, 245, 378, 88, 378, 398, 377, 88, 413, 378, 106, 106, 106, 106, 106, 106, 249, 249, 249, 249, 249, 249, 88, 381, 88, 409, 88, 107, 248, 88, 248, 246, 88, 249, 249, 249, 249, 249, 249, 408, 410, 412, 88, 258, 423, 88, 88, 415, 88, 107, 383, 383, 383, 383, 383, 383, 388, 427, 422, 106, 106, 106, 106, 106, 106, 416, 237, 88, 239, 461, 240, 239, 113, 113, 113, 113, 113, 113, 88, 390, 428, 391, 88, 384, 88, 392, 88, 88, 239, 426, 239, 393, 258, 240, 88, 239, 421, 88, 424, 425, 88, 88, 417, 394, 88, 263, 432, 391, 418, 419, 88, 392, 430, 429, 88, 431, 88, 88, 88, 433, 435, 434, 436, 439, 88, 88, 88, 88, 88, 440, 88, 441, 88, 444, 88, 443, 442, 437, 438, 446, 88, 88, 88, 88, 445, 448, 449, 447, 450, 88, 88, 88, 88, 452, 88, 457, 88, 88, 88, 88, 453, 455, 454, 88, 88, 451, 456, 88, 88, 459, 88, 88, 464, 458, 88, 144, 463, 88, 462, 460, 88, 469, 88, 470, 88, 88, 465, 474, 88, 468, 466, 502, 467, 472, 204, 471, 473, 349, 204, 475, 202, 503, 349, 476, 350, 214, 214, 214, 214, 357, 357, 357, 357, 365, 365, 366, 366, 502, 88, 88, 376, 376, 376, 376, 376, 376, 375, 502, 375, 525, 510, 376, 376, 376, 376, 376, 376, 504, 486, 497, 497, 497, 497, 497, 497, 236, 236, 236, 236, 236, 236, 88, 88, 502, 511, 237, 88, 239, 88, 240, 239, 245, 245, 245, 245, 106, 106, 505, 526, 530, 528, 527, 498, 506, 506, 88, 88, 239, 379, 239, 88, 88, 240, 88, 239, 380, 380, 380, 380, 380, 380, 388, 505, 534, 382, 88, 537, 532, 536, 506, 506, 237, 238, 239, 529, 240, 239, 383, 383, 383, 383, 383, 383, 88, 390, 88, 391, 904, 381, 545, 392, 904, 904, 239, 238, 239, 393, 507, 240, 507, 239, 535, 508, 508, 508, 508, 508, 508, 394, 88, 384, 88, 391, 88, 88, 390, 392, 391, 531, 88, 533, 392, 88, 88, 88, 88, 88, 512, 542, 538, 539, 88, 88, 547, 88, 509, 540, 541, 88, 394, 88, 543, 88, 391, 548, 546, 549, 392, 544, 88, 551, 88, 88, 552, 88, 554, 553, 556, 88, 88, 88, 558, 88, 555, 557, 88, 88, 88, 88, 559, 88, 88, 88, 88, 88, 562, 566, 88, 560, 88, 564, 561, 570, 88, 563, 567, 565, 88, 88, 88, 88, 88, 571, 568, 569, 578, 574, 572, 575, 573, 577, 576, 88, 88, 88, 88, 88, 88, 204, 579, 88, 582, 88, 581, 589, 580, 587, 585, 502, 611, 88, 583, 584, 588, 88, 631, 586, 214, 214, 214, 214, 497, 497, 497, 497, 497, 497, 380, 380, 380, 380, 380, 380, 88, 502, 611, 88, 237, 88, 239, 88, 240, 239, 383, 383, 383, 383, 383, 383, 88, 630, 632, 502, 634, 498, 88, 88, 502, 633, 239, 499, 239, 503, 607, 240, 607, 239, 610, 608, 608, 608, 608, 608, 608, 88, 642, 500, 635, 502, 637, 88, 88, 88, 502, 508, 508, 508, 508, 508, 508, 507, 88, 507, 636, 639, 508, 508, 508, 508, 508, 508, 609, 612, 612, 612, 612, 612, 612, 88, 88, 88, 88, 88, 88, 88, 904, 88, 88, 613, 638, 614, 644, 615, 614, 646, 641, 88, 647, 88, 640, 88, 645, 643, 88, 651, 616, 88, 649, 650, 652, 614, 653, 614, 654, 88, 615, 88, 614, 88, 88, 656, 88, 88, 655, 88, 88, 88, 88, 88, 88, 659, 657, 88, 658, 660, 88, 662, 665, 666, 661, 88, 663, 664, 88, 667, 88, 88, 88, 88, 88, 668, 88, 676, 669, 671, 672, 673, 677, 88, 88, 670, 88, 88, 675, 88, 88, 904, 88, 777, 674, 712, 678, 88, 701, 701, 680, 679, 497, 497, 497, 497, 497, 497, 713, 717, 716, 681, 608, 608, 608, 608, 608, 608, 607, 701, 607, 701, 88, 608, 608, 608, 608, 608, 608, 612, 612, 612, 612, 612, 612, 606, 699, 699, 699, 699, 699, 699, 701, 702, 88, 702, 88, 88, 702, 88, 88, 714, 613, 88, 614, 715, 615, 614, 720, 731, 719, 88, 616, 88, 722, 702, 721, 702, 88, 700, 718, 88, 702, 88, 614, 88, 614, 88, 88, 615, 88, 614, 88, 725, 723, 724, 88, 88, 88, 729, 88, 88, 727, 732, 88, 726, 88, 730, 88, 728, 734, 88, 733, 737, 88, 88, 735, 88, 88, 879, 740, 88, 736, 88, 88, 88, 744, 88, 745, 738, 739, 88, 746, 748, 741, 743, 88, 747, 88, 88, 749, 764, 742, 699, 699, 699, 699, 699, 699, 612, 612, 612, 612, 612, 612, 88, 88, 763, 768, 613, 88, 614, 766, 615, 614, 765, 88, 88, 783, 88, 769, 767, 770, 88, 771, 88, 700, 88, 88, 772, 780, 614, 703, 614, 774, 88, 615, 88, 614, 88, 773, 88, 775, 88, 778, 88, 779, 88, 781, 776, 88, 88, 88, 784, 88, 88, 88, 791, 88, 88, 782, 787, 88, 785, 88, 904, 88, 793, 88, 809, 88, 794, 786, 788, 790, 88, 88, 88, 789, 792, 699, 699, 699, 699, 699, 699, 807, 808, 88, 88, 810, 812, 815, 813, 88, 817, 88, 88, 811, 818, 819, 88, 88, 814, 88, 821, 88, 816, 820, 822, 88, 88, 88, 756, 88, 88, 848, 88, 88, 823, 88, 843, 88, 88, 88, 845, 88, 846, 88, 88, 904, 849, 88, 824, 825, 826, 841, 88, 842, 844, 851, 840, 88, 88, 847, 88, 852, 88, 854, 88, 88, 850, 88, 88, 853, 88, 867, 88, 855, 866, 88, 88, 88, 871, 868, 856, 88, 88, 88, 873, 874, 865, 904, 88, 876, 869, 88, 875, 872, 88, 88, 870, 877, 882, 881, 880, 88, 88, 88, 88, 88, 885, 884, 886, 88, 88, 883, 887, 88, 88, 88, 890, 88, 892, 88, 88, 88, 893, 88, 888, 889, 88, 891, 88, 88, 897, 88, 88, 88, 904, 878, 894, 88, 896, 898, 88, 895, 88, 903, 88, 88, 904, 901, 904, 864, 899, 904, 900, 863, 902, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 87, 904, 861, 87, 904, 87, 87, 87, 87, 87, 141, 860, 904, 859, 141, 141, 141, 141, 141, 141, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 207, 904, 858, 207, 88, 207, 207, 207, 207, 207, 211, 88, 211, 211, 88, 211, 211, 211, 211, 211, 211, 904, 211, 219, 839, 904, 219, 219, 219, 219, 219, 219, 219, 219, 838, 219, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 256, 256, 836, 256, 904, 834, 904, 256, 272, 832, 904, 272, 830, 272, 272, 272, 272, 272, 276, 828, 276, 88, 88, 88, 276, 278, 88, 278, 88, 88, 88, 278, 353, 88, 353, 88, 88, 88, 353, 355, 88, 355, 904, 806, 804, 355, 359, 904, 359, 904, 801, 799, 359, 361, 797, 361, 88, 88, 88, 361, 363, 88, 363, 88, 88, 88, 363, 370, 762, 370, 759, 758, 756, 370, 372, 208, 372, 752, 751, 683, 372, 387, 88, 387, 389, 389, 88, 389, 389, 389, 88, 389, 256, 256, 88, 256, 272, 88, 88, 272, 88, 272, 272, 272, 272, 272, 399, 88, 399, 88, 88, 88, 399, 401, 88, 401, 88, 88, 88, 401, 403, 88, 403, 710, 709, 707, 403, 276, 705, 276, 405, 703, 405, 610, 698, 697, 405, 278, 695, 278, 87, 693, 691, 87, 689, 87, 87, 87, 87, 87, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 478, 687, 478, 685, 683, 88, 478, 480, 88, 480, 88, 88, 88, 480, 482, 88, 482, 88, 88, 88, 482, 353, 88, 353, 484, 88, 484, 88, 629, 627, 484, 355, 625, 355, 487, 623, 487, 621, 619, 512, 487, 359, 617, 359, 489, 617, 489, 606, 605, 603, 489, 361, 492, 361, 491, 492, 491, 601, 599, 597, 491, 363, 595, 363, 493, 593, 493, 591, 88, 88, 493, 370, 88, 370, 495, 88, 495, 88, 88, 88, 495, 372, 88, 372, 501, 524, 501, 522, 501, 520, 501, 387, 518, 387, 516, 387, 514, 387, 389, 389, 500, 389, 389, 389, 499, 389, 513, 496, 513, 494, 366, 366, 513, 515, 492, 515, 490, 488, 485, 515, 517, 483, 517, 481, 479, 88, 517, 399, 88, 399, 519, 88, 519, 407, 406, 404, 519, 401, 402, 401, 521, 400, 521, 273, 268, 267, 521, 403, 396, 403, 523, 396, 523, 255, 386, 386, 523, 405, 243, 405, 87, 379, 373, 87, 371, 87, 87, 87, 87, 87, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 590, 369, 590, 365, 364, 362, 590, 478, 360, 478, 592, 356, 592, 354, 208, 204, 592, 480, 88, 480, 594, 280, 594, 279, 277, 273, 594, 482, 268, 482, 596, 271, 596, 268, 266, 265, 596, 484, 264, 484, 598, 243, 598, 235, 86, 86, 598, 487, 88, 487, 600, 208, 600, 206, 86, 123, 600, 489, 118, 489, 491, 88, 491, 904, 71, 71, 491, 602, 904, 602, 904, 904, 904, 602, 493, 904, 493, 604, 904, 604, 904, 904, 904, 604, 495, 904, 495, 501, 904, 501, 904, 501, 904, 501, 389, 904, 389, 904, 904, 904, 389, 618, 904, 618, 904, 904, 904, 618, 513, 904, 513, 620, 904, 620, 904, 904, 904, 620, 515, 904, 515, 622, 904, 622, 904, 904, 904, 622, 517, 904, 517, 624, 904, 624, 904, 904, 904, 624, 519, 904, 519, 626, 904, 626, 904, 904, 904, 626, 521, 904, 521, 628, 904, 628, 904, 904, 904, 628, 523, 904, 523, 87, 904, 904, 87, 904, 87, 87, 87, 87, 87, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 684, 904, 684, 904, 904, 904, 684, 590, 904, 590, 686, 904, 686, 904, 904, 904, 686, 592, 904, 592, 688, 904, 688, 904, 904, 904, 688, 594, 904, 594, 690, 904, 690, 904, 904, 904, 690, 596, 904, 596, 692, 904, 692, 904, 904, 904, 692, 598, 904, 598, 694, 904, 694, 904, 904, 904, 694, 600, 904, 600, 696, 904, 696, 904, 904, 904, 696, 602, 904, 602, 87, 904, 87, 904, 904, 904, 87, 604, 904, 604, 501, 904, 501, 904, 904, 904, 501, 704, 904, 704, 904, 904, 904, 704, 618, 904, 618, 706, 904, 706, 904, 904, 904, 706, 620, 904, 620, 708, 904, 708, 904, 904, 904, 708, 622, 904, 622, 141, 904, 141, 904, 904, 904, 141, 624, 904, 624, 711, 904, 711, 626, 904, 626, 87, 904, 904, 87, 904, 87, 87, 87, 87, 87, 628, 904, 628, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, 750, 904, 750, 904, 904, 904, 750, 684, 904, 684, 207, 904, 207, 904, 904, 904, 207, 686, 904, 686, 753, 904, 753, 688, 904, 688, 207, 904, 904, 207, 904, 207, 207, 207, 207, 207, 690, 904, 690, 754, 904, 754, 692, 904, 692, 694, 904, 694, 755, 904, 755, 696, 904, 696, 87, 904, 87, 757, 904, 757, 904, 904, 904, 757, 704, 904, 704, 272, 904, 272, 904, 904, 904, 272, 706, 904, 706, 760, 904, 760, 708, 904, 708, 141, 904, 141, 761, 904, 761, 904, 904, 904, 761, 87, 904, 904, 87, 904, 87, 87, 87, 87, 87, 795, 904, 795, 750, 904, 750, 207, 904, 207, 796, 904, 796, 904, 904, 904, 796, 798, 904, 798, 904, 904, 904, 798, 800, 904, 800, 904, 904, 904, 800, 802, 904, 802, 803, 904, 803, 904, 904, 904, 803, 805, 904, 805, 904, 904, 904, 805, 827, 904, 827, 904, 904, 904, 827, 829, 904, 829, 904, 904, 904, 829, 831, 904, 831, 904, 904, 904, 831, 833, 904, 833, 904, 904, 904, 833, 835, 904, 835, 904, 904, 904, 835, 837, 904, 837, 904, 904, 904, 837, 628, 904, 628, 904, 904, 904, 628, 857, 904, 857, 904, 904, 904, 857, 690, 904, 690, 904, 904, 904, 690, 694, 904, 694, 904, 904, 904, 694, 87, 904, 87, 904, 904, 904, 87, 862, 904, 862, 904, 904, 904, 862, 141, 904, 141, 904, 904, 904, 141, 207, 904, 207, 904, 904, 904, 207, 11, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904 } ; static yyconst flex_int16_t yy_chk[2952] = { 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, 903, 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, 110, 116, 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, 127, 44, 127, 110, 116, 57, 30, 65, 544, 47, 30, 47, 45, 45, 45, 49, 30, 30, 45, 45, 49, 45, 30, 40, 45, 45, 40, 49, 30, 45, 63, 62, 45, 49, 30, 74, 902, 544, 53, 63, 51, 61, 30, 62, 55, 30, 31, 109, 31, 31, 31, 31, 31, 31, 50, 51, 53, 51, 65, 61, 54, 74, 55, 50, 88, 31, 51, 50, 55, 31, 54, 109, 50, 52, 115, 31, 50, 54, 52, 182, 146, 31, 56, 108, 182, 146, 52, 31, 52, 108, 88, 52, 60, 31, 128, 52, 128, 60, 115, 56, 152, 31, 38, 894, 56, 112, 38, 38, 58, 38, 60, 38, 38, 114, 38, 108, 38, 59, 152, 114, 58, 58, 117, 112, 146, 38, 38, 38, 189, 59, 58, 112, 130, 58, 130, 143, 60, 59, 132, 60, 117, 189, 69, 69, 59, 114, 38, 69, 117, 38, 132, 111, 132, 60, 68, 68, 68, 68, 68, 68, 893, 143, 68, 69, 69, 69, 69, 69, 69, 81, 81, 81, 81, 81, 81, 154, 38, 38, 78, 78, 133, 111, 133, 78, 154, 78, 111, 135, 162, 135, 78, 83, 83, 83, 83, 83, 83, 162, 890, 78, 78, 78, 78, 84, 84, 84, 84, 84, 84, 111, 78, 104, 104, 104, 104, 104, 104, 105, 105, 105, 105, 134, 134, 138, 134, 138, 78, 131, 155, 78, 136, 136, 136, 173, 78, 78, 153, 157, 78, 78, 140, 131, 140, 131, 155, 105, 78, 151, 173, 78, 105, 78, 78, 78, 153, 78, 86, 156, 160, 157, 86, 86, 151, 183, 158, 86, 86, 168, 86, 151, 86, 161, 183, 105, 160, 156, 158, 163, 164, 86, 86, 86, 106, 164, 106, 106, 106, 106, 106, 106, 168, 169, 167, 161, 170, 166, 164, 165, 163, 163, 86, 106, 107, 86, 107, 166, 172, 107, 107, 107, 107, 107, 107, 167, 165, 170, 171, 106, 169, 177, 175, 171, 176, 106, 174, 178, 181, 184, 172, 180, 889, 86, 100, 100, 100, 100, 100, 100, 175, 171, 107, 174, 176, 181, 180, 185, 177, 178, 100, 100, 100, 180, 100, 100, 184, 192, 185, 187, 186, 193, 221, 190, 221, 887, 188, 100, 185, 185, 187, 188, 100, 100, 100, 159, 192, 100, 186, 100, 159, 159, 159, 190, 159, 159, 188, 187, 159, 191, 159, 194, 208, 196, 191, 159, 159, 159, 195, 159, 197, 251, 212, 212, 194, 193, 196, 212, 193, 201, 201, 195, 194, 195, 201, 222, 191, 222, 208, 259, 197, 200, 200, 200, 200, 200, 200, 251, 287, 200, 201, 201, 201, 201, 201, 201, 203, 203, 223, 246, 223, 203, 205, 205, 226, 259, 226, 205, 287, 205, 215, 215, 215, 215, 228, 224, 228, 203, 203, 203, 203, 203, 203, 205, 205, 205, 205, 205, 205, 224, 225, 224, 227, 227, 246, 227, 229, 229, 229, 231, 239, 231, 225, 215, 225, 232, 291, 232, 237, 237, 238, 269, 238, 269, 284, 238, 238, 238, 238, 238, 238, 273, 240, 239, 240, 432, 270, 240, 270, 291, 284, 237, 244, 244, 244, 244, 244, 244, 245, 432, 245, 245, 245, 245, 240, 286, 240, 273, 238, 282, 286, 240, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 283, 244, 285, 282, 281, 247, 250, 294, 250, 245, 293, 250, 250, 250, 250, 250, 250, 281, 283, 285, 288, 247, 294, 289, 331, 288, 297, 247, 249, 249, 249, 249, 249, 249, 256, 297, 293, 258, 258, 258, 258, 258, 258, 289, 249, 298, 249, 331, 249, 249, 263, 263, 263, 263, 263, 263, 292, 256, 298, 256, 295, 249, 296, 256, 299, 290, 249, 296, 249, 256, 258, 249, 300, 249, 292, 302, 295, 295, 306, 303, 290, 256, 307, 263, 303, 256, 290, 290, 304, 256, 300, 299, 305, 302, 308, 312, 309, 304, 306, 305, 307, 309, 310, 311, 313, 314, 315, 310, 316, 311, 317, 314, 321, 313, 312, 308, 308, 316, 318, 319, 322, 320, 315, 318, 319, 317, 320, 323, 325, 326, 327, 321, 328, 327, 329, 330, 332, 333, 322, 325, 323, 334, 335, 320, 326, 336, 339, 329, 337, 338, 334, 328, 341, 342, 333, 343, 332, 330, 344, 339, 346, 341, 347, 348, 335, 346, 345, 338, 336, 387, 337, 344, 350, 343, 345, 349, 349, 347, 350, 387, 349, 348, 349, 357, 357, 357, 357, 358, 358, 358, 358, 367, 368, 367, 368, 387, 408, 342, 375, 375, 375, 375, 375, 375, 377, 388, 377, 408, 392, 377, 377, 377, 377, 377, 377, 388, 357, 376, 376, 376, 376, 376, 376, 379, 379, 379, 379, 379, 379, 411, 409, 388, 392, 376, 410, 376, 413, 376, 376, 382, 382, 382, 382, 382, 382, 390, 409, 413, 411, 410, 376, 390, 394, 415, 419, 376, 379, 376, 417, 886, 376, 420, 376, 380, 380, 380, 380, 380, 380, 389, 394, 417, 382, 412, 420, 415, 419, 390, 394, 380, 380, 380, 412, 380, 380, 383, 383, 383, 383, 383, 383, 426, 389, 418, 389, 879, 380, 426, 389, 878, 393, 380, 380, 380, 389, 391, 380, 391, 380, 418, 391, 391, 391, 391, 391, 391, 389, 414, 383, 416, 389, 421, 422, 393, 389, 393, 414, 423, 416, 393, 428, 424, 427, 429, 425, 393, 424, 421, 421, 430, 436, 428, 437, 391, 422, 423, 434, 393, 439, 425, 438, 393, 429, 427, 430, 393, 425, 441, 434, 440, 442, 436, 444, 438, 437, 440, 446, 447, 448, 442, 449, 439, 441, 450, 451, 452, 454, 444, 456, 459, 457, 458, 462, 448, 452, 460, 446, 461, 450, 447, 458, 464, 449, 454, 451, 465, 466, 463, 468, 469, 459, 456, 457, 466, 462, 460, 463, 461, 465, 464, 467, 470, 474, 471, 472, 475, 477, 467, 877, 470, 526, 469, 477, 468, 475, 472, 504, 505, 476, 470, 471, 476, 876, 526, 474, 486, 486, 486, 486, 497, 497, 497, 497, 497, 497, 499, 499, 499, 499, 499, 499, 525, 504, 505, 528, 497, 529, 497, 530, 497, 497, 500, 500, 500, 500, 500, 500, 875, 525, 528, 501, 530, 497, 531, 538, 503, 529, 497, 499, 497, 501, 502, 497, 502, 497, 503, 502, 502, 502, 502, 502, 502, 533, 538, 500, 531, 501, 533, 532, 871, 867, 503, 507, 507, 507, 507, 507, 507, 509, 535, 509, 532, 535, 509, 509, 509, 509, 509, 509, 502, 508, 508, 508, 508, 508, 508, 534, 536, 537, 539, 540, 542, 543, 864, 546, 547, 508, 534, 508, 540, 508, 508, 542, 537, 541, 543, 545, 536, 548, 541, 539, 554, 547, 508, 549, 545, 546, 548, 508, 549, 508, 551, 552, 508, 555, 508, 556, 551, 554, 557, 560, 552, 561, 559, 562, 564, 571, 567, 557, 555, 565, 556, 559, 568, 561, 565, 567, 560, 572, 562, 564, 573, 568, 576, 575, 578, 582, 577, 571, 579, 580, 572, 575, 576, 577, 582, 580, 585, 573, 583, 586, 579, 588, 630, 863, 634, 728, 578, 630, 583, 633, 613, 613, 586, 585, 606, 606, 606, 606, 606, 606, 630, 634, 633, 588, 607, 607, 607, 607, 607, 607, 609, 614, 609, 613, 728, 609, 609, 609, 609, 609, 609, 612, 612, 612, 612, 612, 612, 606, 608, 608, 608, 608, 608, 608, 614, 615, 631, 615, 632, 635, 615, 638, 637, 631, 608, 636, 608, 632, 608, 608, 637, 648, 636, 639, 612, 641, 639, 615, 638, 615, 642, 608, 635, 640, 615, 643, 608, 644, 608, 645, 649, 608, 647, 608, 650, 642, 640, 641, 646, 648, 652, 646, 653, 651, 644, 649, 654, 643, 656, 647, 657, 645, 651, 658, 650, 654, 662, 663, 652, 668, 665, 862, 658, 669, 653, 676, 679, 680, 668, 677, 669, 656, 657, 713, 676, 679, 662, 665, 712, 677, 718, 715, 680, 713, 663, 699, 699, 699, 699, 699, 699, 703, 703, 703, 703, 703, 703, 716, 721, 712, 718, 699, 734, 699, 716, 699, 699, 715, 717, 719, 734, 720, 719, 717, 720, 723, 721, 725, 699, 724, 727, 723, 731, 699, 703, 699, 725, 745, 699, 730, 699, 726, 724, 729, 726, 735, 729, 732, 730, 733, 732, 727, 736, 737, 738, 735, 744, 741, 731, 745, 746, 748, 733, 738, 749, 736, 769, 861, 767, 748, 772, 769, 768, 749, 737, 741, 744, 770, 773, 774, 741, 746, 756, 756, 756, 756, 756, 756, 767, 768, 771, 775, 770, 772, 775, 773, 776, 777, 779, 781, 771, 779, 781, 782, 783, 774, 785, 783, 784, 776, 782, 784, 786, 788, 792, 756, 807, 809, 817, 812, 811, 785, 810, 811, 813, 777, 814, 813, 816, 814, 818, 820, 860, 818, 824, 786, 788, 792, 809, 821, 810, 812, 821, 807, 817, 822, 816, 823, 822, 825, 824, 826, 841, 820, 842, 843, 823, 844, 843, 845, 825, 842, 846, 847, 855, 846, 844, 826, 850, 853, 854, 850, 853, 841, 859, 856, 855, 845, 865, 854, 847, 866, 868, 845, 856, 868, 866, 865, 869, 870, 872, 880, 873, 872, 870, 873, 874, 881, 869, 874, 882, 888, 884, 882, 883, 884, 885, 891, 895, 885, 892, 880, 881, 896, 883, 897, 899, 895, 898, 900, 901, 858, 857, 888, 852, 892, 896, 851, 891, 849, 901, 848, 840, 839, 899, 838, 837, 897, 836, 898, 835, 900, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 905, 906, 906, 906, 906, 906, 906, 906, 906, 906, 906, 906, 906, 906, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 908, 834, 833, 908, 832, 908, 908, 908, 908, 908, 909, 831, 830, 829, 909, 909, 909, 909, 909, 909, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 911, 828, 827, 911, 819, 911, 911, 911, 911, 911, 912, 815, 912, 912, 808, 912, 912, 912, 912, 912, 912, 806, 912, 913, 805, 804, 913, 913, 913, 913, 913, 913, 913, 913, 803, 913, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 915, 915, 802, 915, 801, 800, 799, 915, 916, 798, 797, 916, 796, 916, 916, 916, 916, 916, 917, 795, 917, 794, 793, 791, 917, 918, 790, 918, 789, 787, 780, 918, 919, 778, 919, 766, 765, 764, 919, 920, 763, 920, 762, 761, 760, 920, 921, 759, 921, 758, 755, 754, 921, 922, 753, 922, 747, 743, 742, 922, 923, 740, 923, 739, 722, 714, 923, 924, 711, 924, 706, 704, 700, 924, 925, 690, 925, 686, 684, 682, 925, 926, 681, 926, 927, 927, 678, 927, 927, 927, 675, 927, 928, 928, 674, 928, 929, 673, 672, 929, 671, 929, 929, 929, 929, 929, 930, 670, 930, 667, 666, 664, 930, 931, 661, 931, 660, 659, 655, 931, 932, 628, 932, 624, 622, 620, 932, 933, 618, 933, 934, 616, 934, 610, 604, 602, 934, 935, 600, 935, 936, 598, 596, 936, 594, 936, 936, 936, 936, 936, 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 939, 592, 939, 590, 589, 587, 939, 940, 584, 940, 581, 574, 570, 940, 941, 569, 941, 566, 563, 558, 941, 942, 553, 942, 943, 550, 943, 527, 523, 521, 943, 944, 519, 944, 945, 517, 945, 515, 513, 512, 945, 946, 511, 946, 947, 510, 947, 498, 495, 493, 947, 948, 492, 948, 949, 491, 949, 489, 487, 484, 949, 950, 482, 950, 951, 480, 951, 478, 473, 455, 951, 952, 453, 952, 953, 445, 953, 443, 435, 433, 953, 954, 431, 954, 955, 405, 955, 403, 955, 401, 955, 956, 399, 956, 398, 956, 397, 956, 957, 957, 384, 957, 957, 957, 381, 957, 958, 372, 958, 370, 369, 365, 958, 959, 363, 959, 361, 359, 355, 959, 960, 353, 960, 352, 351, 340, 960, 961, 324, 961, 962, 301, 962, 280, 278, 276, 962, 963, 275, 963, 964, 274, 964, 272, 271, 266, 964, 965, 262, 965, 966, 261, 966, 257, 254, 253, 966, 967, 242, 967, 968, 241, 234, 968, 233, 968, 968, 968, 968, 968, 969, 969, 969, 969, 969, 969, 969, 969, 969, 969, 969, 969, 969, 970, 230, 970, 220, 218, 217, 970, 971, 216, 971, 972, 210, 972, 209, 207, 202, 972, 973, 179, 973, 974, 150, 974, 148, 147, 141, 974, 975, 139, 975, 976, 137, 976, 129, 126, 125, 976, 977, 121, 977, 978, 102, 978, 99, 96, 94, 978, 979, 87, 979, 980, 73, 980, 71, 67, 36, 980, 981, 33, 981, 982, 18, 982, 11, 4, 3, 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, 987, 0, 987, 988, 0, 988, 0, 0, 0, 988, 989, 0, 989, 0, 0, 0, 989, 990, 0, 990, 991, 0, 991, 0, 0, 0, 991, 992, 0, 992, 993, 0, 993, 0, 0, 0, 993, 994, 0, 994, 995, 0, 995, 0, 0, 0, 995, 996, 0, 996, 997, 0, 997, 0, 0, 0, 997, 998, 0, 998, 999, 0, 999, 0, 0, 0, 999, 1000, 0, 1000, 1001, 0, 0, 1001, 0, 1001, 1001, 1001, 1001, 1001, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1003, 0, 1003, 0, 0, 0, 1003, 1004, 0, 1004, 1005, 0, 1005, 0, 0, 0, 1005, 1006, 0, 1006, 1007, 0, 1007, 0, 0, 0, 1007, 1008, 0, 1008, 1009, 0, 1009, 0, 0, 0, 1009, 1010, 0, 1010, 1011, 0, 1011, 0, 0, 0, 1011, 1012, 0, 1012, 1013, 0, 1013, 0, 0, 0, 1013, 1014, 0, 1014, 1015, 0, 1015, 0, 0, 0, 1015, 1016, 0, 1016, 1017, 0, 1017, 0, 0, 0, 1017, 1018, 0, 1018, 1019, 0, 1019, 0, 0, 0, 1019, 1020, 0, 1020, 0, 0, 0, 1020, 1021, 0, 1021, 1022, 0, 1022, 0, 0, 0, 1022, 1023, 0, 1023, 1024, 0, 1024, 0, 0, 0, 1024, 1025, 0, 1025, 1026, 0, 1026, 0, 0, 0, 1026, 1027, 0, 1027, 1028, 0, 1028, 1029, 0, 1029, 1030, 0, 0, 1030, 0, 1030, 1030, 1030, 1030, 1030, 1031, 0, 1031, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1033, 0, 1033, 0, 0, 0, 1033, 1034, 0, 1034, 1035, 0, 1035, 0, 0, 0, 1035, 1036, 0, 1036, 1037, 0, 1037, 1038, 0, 1038, 1039, 0, 0, 1039, 0, 1039, 1039, 1039, 1039, 1039, 1040, 0, 1040, 1041, 0, 1041, 1042, 0, 1042, 1043, 0, 1043, 1044, 0, 1044, 1045, 0, 1045, 1046, 0, 1046, 1047, 0, 1047, 0, 0, 0, 1047, 1048, 0, 1048, 1049, 0, 1049, 0, 0, 0, 1049, 1050, 0, 1050, 1051, 0, 1051, 1052, 0, 1052, 1053, 0, 1053, 1054, 0, 1054, 0, 0, 0, 1054, 1055, 0, 0, 1055, 0, 1055, 1055, 1055, 1055, 1055, 1056, 0, 1056, 1057, 0, 1057, 1058, 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, 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, 1069, 0, 1069, 0, 0, 0, 1069, 1070, 0, 1070, 0, 0, 0, 1070, 1071, 0, 1071, 0, 0, 0, 1071, 1072, 0, 1072, 0, 0, 0, 1072, 1073, 0, 1073, 0, 0, 0, 1073, 1074, 0, 1074, 0, 0, 0, 1074, 1075, 0, 1075, 0, 0, 0, 1075, 1076, 0, 1076, 0, 0, 0, 1076, 1077, 0, 1077, 0, 0, 0, 1077, 1078, 0, 1078, 0, 0, 0, 1078, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[186] = { 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, 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 : Tue Nov 29 11:32:00 2016 * Update Count : 501 */ #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 1547 "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 1742 "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 >= 905 ) 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] != 2866 ); 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" { NUMERIC_RETURN(ONE_T); } // CFA YY_BREAK case 72: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(OTYPE); } // CFA YY_BREAK case 73: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 74: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 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(RESTRICT); } // GCC YY_BREAK case 77: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 78: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 79: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(SIGNED); } 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(SIGNED); } // GCC YY_BREAK case 82: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 83: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 84: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 85: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 86: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 87: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 88: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TRAIT); } // CFA YY_BREAK case 91: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 92: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } 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(TYPEOF); } // GCC YY_BREAK case 96: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 97: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 98: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(VALIST); } // GCC YY_BREAK case 99: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 100: YY_RULE_SETUP #line 268 "lex.ll" { KEYWORD_RETURN(VOLATILE); } 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(VOLATILE); } // GCC YY_BREAK case 103: YY_RULE_SETUP #line 271 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK case 104: YY_RULE_SETUP #line 272 "lex.ll" { NUMERIC_RETURN(ZERO_T); } // CFA YY_BREAK /* identifier */ case 105: YY_RULE_SETUP #line 275 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 106: YY_RULE_SETUP #line 276 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 107: YY_RULE_SETUP #line 277 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 108: YY_RULE_SETUP #line 278 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 109: YY_RULE_SETUP #line 279 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 110: YY_RULE_SETUP #line 282 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 111: YY_RULE_SETUP #line 283 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA 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(INTEGERconstant); } YY_BREAK case 114: YY_RULE_SETUP #line 286 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 115: YY_RULE_SETUP #line 287 "lex.ll" { NUMERIC_RETURN(REALDECIMALconstant); } // must appear before floating_constant YY_BREAK case 116: YY_RULE_SETUP #line 288 "lex.ll" { NUMERIC_RETURN(REALFRACTIONconstant); } // must appear before floating_constant YY_BREAK case 117: YY_RULE_SETUP #line 289 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 118: YY_RULE_SETUP #line 290 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 119: YY_RULE_SETUP #line 293 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string( yytext, yyleng ); } YY_BREAK case 120: YY_RULE_SETUP #line 294 "lex.ll" { strtext->append( yytext, yyleng ); } YY_BREAK case 121: /* rule 121 can match eol */ YY_RULE_SETUP #line 295 "lex.ll" { BEGIN 0; strtext->append( yytext, yyleng ); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 122: YY_RULE_SETUP #line 299 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string( yytext, yyleng ); } YY_BREAK case 123: YY_RULE_SETUP #line 300 "lex.ll" { strtext->append( yytext, yyleng ); } YY_BREAK case 124: /* rule 124 can match eol */ YY_RULE_SETUP #line 301 "lex.ll" { BEGIN 0; strtext->append( yytext, yyleng ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 125: YY_RULE_SETUP #line 305 "lex.ll" { rm_underscore(); strtext->append( yytext, yyleng ); } YY_BREAK case 126: /* rule 126 can match eol */ YY_RULE_SETUP #line 306 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 127: YY_RULE_SETUP #line 307 "lex.ll" { strtext->append( yytext, yyleng ); } // unknown escape character YY_BREAK /* punctuation */ 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(); } 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(); } // also operator YY_BREAK case 135: YY_RULE_SETUP #line 317 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 136: YY_RULE_SETUP #line 318 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 137: YY_RULE_SETUP #line 319 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 138: YY_RULE_SETUP #line 320 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ 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 case 141: YY_RULE_SETUP #line 325 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 142: YY_RULE_SETUP #line 326 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ 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 341 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 156: YY_RULE_SETUP #line 342 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 157: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 158: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 159: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 160: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 161: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 162: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 163: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 164: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 165: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 166: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 167: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 168: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 169: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 170: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 171: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 172: YY_RULE_SETUP #line 359 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 173: YY_RULE_SETUP #line 360 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 174: YY_RULE_SETUP #line 361 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 175: YY_RULE_SETUP #line 362 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 176: YY_RULE_SETUP #line 363 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 177: YY_RULE_SETUP #line 364 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 178: YY_RULE_SETUP #line 366 "lex.ll" { NAMEDOP_RETURN(ATassign); } // CFA YY_BREAK /* CFA, operator identifier */ case 179: YY_RULE_SETUP #line 369 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 180: YY_RULE_SETUP #line 370 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 181: YY_RULE_SETUP #line 371 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 182: YY_RULE_SETUP #line 372 "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 183: YY_RULE_SETUP #line 399 "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 184: YY_RULE_SETUP #line 411 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 185: YY_RULE_SETUP #line 413 "lex.ll" ECHO; YY_BREAK #line 2840 "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 >= 905 ) 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 >= 905 ) 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 == 904); 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 413 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //