#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 170 #define YY_END_OF_BUFFER 171 /* 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[822] = { 0, 0, 0, 0, 0, 0, 0, 108, 108, 111, 111, 171, 169, 7, 9, 8, 130, 110, 95, 135, 138, 107, 117, 118, 133, 131, 121, 132, 124, 134, 100, 101, 102, 122, 123, 140, 142, 141, 143, 169, 95, 115, 169, 116, 136, 95, 97, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 119, 139, 120, 137, 7, 169, 4, 4, 170, 98, 170, 99, 108, 109, 114, 111, 112, 7, 9, 0, 8, 147, 165, 95, 0, 159, 129, 152, 160, 157, 144, 155, 145, 156, 154, 0, 105, 3, 0, 158, 105, 103, 0, 0, 103, 103, 0, 0, 103, 102, 102, 102, 0, 102, 127, 128, 126, 148, 150, 146, 151, 149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 0, 110, 107, 95, 0, 0, 162, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 36, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 53, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 161, 153, 7, 0, 0, 0, 2, 0, 5, 98, 0, 0, 0, 108, 113, 113, 0, 0, 0, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 105, 0, 105, 0, 0, 6, 0, 103, 0, 0, 0, 105, 0, 103, 103, 103, 103, 0, 104, 0, 0, 102, 102, 102, 102, 0, 163, 164, 0, 167, 166, 0, 0, 0, 96, 0, 0, 0, 0, 0, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 14, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 47, 95, 95, 95, 60, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 82, 95, 95, 95, 95, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 113, 0, 0, 168, 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, 0, 0, 105, 0, 103, 103, 0, 0, 104, 104, 0, 104, 0, 104, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 20, 95, 23, 95, 25, 95, 95, 95, 95, 95, 95, 39, 40, 95, 95, 95, 95, 95, 95, 95, 52, 95, 63, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 83, 95, 95, 90, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 105, 0, 0, 0, 0, 0, 0, 104, 104, 0, 106, 0, 104, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 21, 95, 95, 95, 95, 95, 95, 95, 15, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 22, 24, 95, 30, 95, 95, 95, 95, 38, 95, 95, 95, 45, 95, 95, 50, 95, 95, 95, 95, 95, 71, 95, 95, 95, 95, 95, 81, 95, 95, 88, 95, 95, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 0, 0, 104, 106, 106, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 55, 95, 95, 95, 95, 95, 95, 95, 26, 95, 95, 95, 37, 42, 95, 95, 48, 95, 57, 64, 95, 95, 70, 72, 75, 76, 78, 79, 95, 85, 95, 95, 0, 1, 0, 0, 0, 0, 0, 0, 98, 0, 0, 0, 113, 0, 0, 0, 0, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 17, 95, 95, 95, 95, 95, 95, 95, 16, 95, 95, 31, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 33, 95, 35, 95, 44, 49, 95, 95, 84, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 27, 51, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 56, 58, 61, 95, 95, 73, 86, 95, 34, 43, 66, 67, 89, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 65, 95, 95, 12, 95, 28, 32, 95, 95, 95, 62, 95, 95, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 95, 95, 95, 95, 95, 95, 46, 59, 68, 74, 87, 92, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 13, 18, 29, 95, 95, 95, 0, 0, 95, 95, 95, 95, 69, 93, 95, 80, 19, 41, 77, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 11, 43, 11, 11, 44, 11, 45, 11, 46, 11, 11, 47, 48, 49, 11, 11, 50, 11, 11, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 11, 66, 67, 68, 69, 70, 71, 11, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[85] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 8, 8, 1, 1, 1, 1, 1, 9, 1, 10, 10, 10, 10, 10, 10, 4, 4, 11, 4, 12, 4, 4, 13, 4, 1, 14, 1, 1, 15, 1, 16, 16, 10, 10, 16, 16, 4, 4, 4, 4, 11, 4, 17, 4, 12, 17, 4, 17, 13, 17, 4, 17, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[996] = { 0, 0, 83, 2185, 2183, 93, 0, 175, 176, 177, 178, 2195, 3520, 189, 3520, 195, 54, 3520, 2142, 59, 171, 3520, 3520, 3520, 55, 186, 3520, 189, 187, 202, 214, 272, 0, 2160, 3520, 214, 2160, 150, 340, 2138, 222, 3520, 157, 3520, 2154, 277, 3520, 192, 133, 196, 198, 204, 271, 155, 218, 181, 200, 266, 238, 210, 224, 282, 3520, 223, 3520, 2151, 372, 361, 3520, 2162, 3520, 2131, 229, 3520, 0, 3520, 374, 0, 3520, 399, 3520, 405, 411, 3520, 445, 2130, 234, 3520, 3520, 3520, 3520, 3520, 2146, 3520, 2141, 3520, 3520, 2153, 505, 3520, 2170, 3520, 550, 401, 414, 462, 262, 240, 280, 443, 380, 0, 305, 241, 335, 399, 3520, 3520, 3520, 2140, 3520, 3520, 3520, 2138, 2134, 215, 310, 2149, 327, 333, 349, 361, 399, 400, 411, 2130, 427, 2080, 436, 2110, 317, 3520, 3520, 483, 2105, 2100, 3520, 439, 376, 431, 420, 368, 432, 421, 448, 557, 442, 451, 453, 463, 452, 455, 398, 251, 459, 466, 344, 467, 456, 474, 464, 298, 468, 488, 2102, 490, 492, 496, 506, 498, 502, 499, 518, 529, 507, 532, 533, 535, 543, 3520, 3520, 632, 625, 2150, 638, 3520, 665, 3520, 2100, 514, 2095, 2091, 0, 3520, 631, 2090, 2089, 2088, 0, 2110, 565, 581, 589, 626, 639, 643, 647, 648, 651, 2106, 662, 663, 2080, 2079, 3520, 675, 686, 3520, 2078, 2129, 3520, 677, 0, 571, 700, 722, 739, 750, 571, 3520, 2086, 2059, 0, 738, 2104, 772, 594, 3520, 2080, 2056, 791, 3520, 3520, 2088, 3520, 3520, 673, 688, 2067, 2063, 659, 2059, 2058, 2057, 0, 2055, 0, 691, 555, 681, 536, 541, 700, 717, 701, 719, 755, 702, 708, 736, 752, 733, 750, 727, 729, 760, 2053, 771, 774, 772, 773, 782, 783, 784, 785, 618, 788, 786, 787, 791, 793, 792, 799, 809, 796, 798, 810, 2052, 811, 812, 813, 817, 818, 820, 819, 821, 824, 825, 828, 829, 2051, 833, 834, 832, 835, 844, 838, 904, 726, 2047, 2045, 2040, 0, 2039, 0, 891, 895, 2038, 0, 2037, 0, 2035, 0, 2011, 3520, 876, 890, 1989, 1986, 0, 1983, 0, 902, 908, 930, 914, 953, 959, 965, 3520, 3520, 952, 958, 973, 922, 1027, 845, 1012, 898, 3520, 3520, 1982, 1981, 1980, 0, 1979, 0, 1977, 0, 1972, 0, 899, 891, 893, 944, 949, 909, 950, 960, 964, 953, 978, 983, 991, 989, 972, 979, 997, 851, 871, 1010, 1013, 1014, 1974, 1020, 1973, 1016, 1972, 922, 1017, 1024, 1018, 1023, 1036, 1970, 1966, 1022, 1025, 1040, 1026, 1043, 1044, 1050, 1965, 1046, 1964, 1049, 1052, 1051, 1054, 1053, 1056, 1060, 1057, 1061, 1062, 1066, 1076, 1079, 1077, 1963, 1067, 1081, 1129, 1959, 0, 1957, 0, 1952, 0, 1951, 0, 1126, 1950, 0, 1949, 0, 1947, 1942, 1941, 0, 1940, 0, 1130, 1136, 1181, 1123, 1192, 1124, 1101, 1090, 3520, 1198, 1204, 1215, 1950, 1925, 1932, 1931, 0, 1930, 0, 1929, 0, 1927, 0, 1923, 0, 1922, 0, 1114, 1116, 1924, 1115, 1121, 1123, 1137, 1134, 1144, 1082, 500, 1162, 1185, 1192, 1083, 1194, 1124, 1148, 164, 1197, 1198, 1200, 1201, 1203, 1923, 1922, 1202, 1920, 1205, 1209, 1212, 1215, 1914, 1216, 1138, 1221, 1909, 1222, 1218, 1904, 1225, 1229, 1228, 1230, 1232, 1903, 1239, 1235, 1241, 1240, 1242, 1902, 1244, 1246, 1901, 1251, 1252, 1900, 1947, 1873, 0, 1872, 0, 1871, 0, 1870, 0, 1868, 0, 1863, 0, 1862, 0, 1861, 0, 1298, 1304, 1310, 1321, 1860, 3520, 1332, 3520, 1356, 3520, 1858, 0, 1853, 0, 1852, 0, 1851, 0, 0, 0, 1853, 0, 1318, 1257, 1258, 1298, 1300, 1291, 1259, 1255, 1309, 912, 1333, 1319, 1288, 1322, 1290, 1337, 1338, 1343, 1341, 1344, 1349, 1350, 1351, 1851, 1352, 1353, 1357, 1846, 1845, 1360, 1354, 1844, 1361, 1843, 1841, 1363, 1362, 1836, 1835, 1834, 1833, 1831, 1826, 1365, 1825, 1377, 1367, 1873, 3520, 1820, 0, 1818, 0, 0, 0, 1816, 0, 0, 0, 3520, 0, 0, 0, 0, 1416, 1422, 1467, 1812, 0, 1811, 0, 0, 0, 0, 1810, 1383, 1399, 1811, 1384, 1400, 1401, 1402, 1412, 1413, 1385, 1806, 1417, 1418, 1421, 1428, 1448, 1430, 1435, 1454, 1447, 1445, 1451, 1436, 1452, 1805, 1453, 1804, 1434, 1803, 1801, 1455, 1456, 1796, 1460, 1463, 0, 0, 1792, 1791, 1790, 1788, 1508, 0, 1777, 1774, 1773, 1769, 1768, 1770, 1769, 1767, 1743, 1466, 1471, 1464, 1461, 1467, 1473, 1474, 1487, 1485, 1516, 1732, 1491, 1731, 1492, 1497, 1499, 1503, 1493, 1727, 1724, 1723, 1722, 1720, 1718, 1713, 1708, 1699, 1696, 1686, 1683, 1682, 1655, 1654, 1653, 1652, 1651, 1501, 1644, 1505, 1507, 1509, 1510, 1514, 1641, 1513, 1540, 1518, 1640, 1519, 1520, 1524, 1529, 1583, 1582, 1581, 1580, 1579, 1578, 1577, 1576, 1575, 1574, 1573, 1572, 1571, 1573, 1522, 1530, 1533, 1535, 1539, 1534, 1571, 1570, 1545, 1370, 1315, 1546, 1258, 1257, 1129, 1082, 984, 983, 982, 944, 1547, 1550, 916, 1554, 758, 1558, 1559, 1560, 677, 676, 1552, 1553, 1564, 1566, 635, 595, 1565, 544, 419, 236, 165, 3520, 1639, 1656, 1673, 1687, 1701, 1718, 1732, 1749, 1764, 1781, 1798, 1810, 1823, 1834, 1844, 1854, 1864, 1874, 1884, 1894, 1904, 1914, 1930, 1941, 1952, 1963, 1973, 1983, 1993, 2003, 2013, 2023, 2036, 2053, 2070, 2081, 2091, 2101, 2111, 2121, 2131, 2141, 2151, 2161, 2171, 2181, 2191, 2201, 2211, 2221, 2231, 2241, 2251, 2262, 2272, 2282, 2292, 2302, 2312, 2322, 2332, 2342, 2352, 2362, 2375, 2392, 2403, 2413, 2423, 2433, 2443, 2453, 2463, 2473, 2483, 2493, 2503, 2513, 2523, 2533, 2543, 2553, 2563, 2573, 2583, 2593, 2603, 2613, 2623, 2633, 2643, 2653, 2663, 2673, 2683, 2693, 2703, 2716, 2733, 2744, 2754, 2764, 2774, 2784, 2794, 2804, 2814, 2824, 2834, 2844, 2854, 2864, 2874, 2884, 2894, 2904, 2914, 2924, 2934, 2944, 2954, 2964, 2974, 2984, 2994, 3004, 3017, 3028, 3044, 3055, 3065, 3075, 3085, 3095, 3105, 3118, 3129, 3139, 3149, 3159, 3169, 3179, 3189, 3199, 3209, 3219, 3229, 3239, 3249, 3259, 3269, 3282, 3293, 3303, 3313, 3323, 3333, 3343, 3353, 3363, 3373, 3383, 3393, 3403, 3413, 3423, 3433, 3443, 3453, 3463, 3473, 3483, 3493, 3503 } ; static yyconst flex_int16_t yy_def[996] = { 0, 821, 1, 822, 822, 821, 5, 823, 823, 824, 824, 821, 821, 821, 821, 821, 821, 821, 825, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 31, 821, 821, 821, 821, 821, 821, 826, 825, 821, 821, 821, 821, 825, 821, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 821, 821, 821, 821, 821, 827, 821, 821, 821, 828, 821, 821, 829, 821, 830, 831, 821, 821, 821, 821, 821, 821, 821, 825, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 832, 821, 821, 30, 821, 821, 821, 821, 833, 30, 821, 31, 821, 821, 31, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 834, 821, 821, 821, 825, 835, 836, 821, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 821, 821, 821, 827, 827, 827, 821, 827, 821, 828, 821, 837, 838, 829, 821, 821, 839, 840, 841, 831, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 842, 843, 821, 821, 821, 821, 225, 844, 821, 821, 103, 103, 821, 821, 821, 821, 821, 821, 821, 821, 845, 846, 847, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 834, 821, 848, 849, 850, 851, 852, 853, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 855, 856, 857, 858, 859, 860, 861, 862, 821, 821, 863, 864, 865, 866, 867, 868, 821, 821, 821, 821, 821, 869, 870, 871, 872, 821, 821, 821, 821, 821, 821, 821, 821, 821, 873, 874, 875, 821, 821, 821, 875, 821, 821, 821, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 821, 896, 897, 898, 899, 900, 900, 901, 902, 903, 904, 821, 821, 821, 905, 821, 905, 821, 821, 821, 821, 821, 821, 821, 821, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 821, 821, 821, 821, 937, 821, 821, 821, 821, 821, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 948, 950, 821, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 821, 961, 962, 963, 964, 821, 821, 821, 965, 966, 967, 968, 969, 970, 971, 972, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 974, 975, 953, 976, 977, 978, 821, 979, 965, 967, 980, 981, 972, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 982, 983, 976, 984, 977, 985, 978, 986, 987, 980, 988, 981, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 989, 982, 990, 983, 991, 984, 992, 985, 993, 986, 994, 987, 988, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 995, 989, 990, 991, 992, 967, 993, 994, 973, 973, 973, 973, 973, 973, 973, 973, 995, 967, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 0, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821 } ; static yyconst flex_int16_t yy_nxt[3605] = { 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, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 18, 18, 56, 57, 58, 59, 60, 61, 18, 18, 18, 62, 63, 64, 65, 66, 83, 91, 84, 84, 66, 87, 88, 67, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 72, 70, 70, 71, 73, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 70, 70, 70, 75, 75, 78, 78, 122, 123, 89, 86, 78, 78, 604, 75, 75, 79, 80, 81, 81, 81, 79, 81, 80, 82, 82, 82, 81, 90, 92, 158, 144, 86, 97, 94, 98, 98, 98, 98, 98, 98, 86, 86, 93, 99, 84, 95, 96, 84, 100, 173, 117, 76, 76, 76, 76, 141, 145, 86, 101, 102, 142, 103, 103, 103, 103, 104, 104, 118, 86, 119, 120, 253, 86, 254, 86, 176, 86, 159, 105, 189, 86, 177, 106, 162, 160, 178, 86, 107, 108, 156, 161, 157, 163, 109, 86, 165, 164, 166, 86, 105, 86, 143, 200, 186, 174, 110, 167, 222, 240, 248, 141, 175, 86, 107, 86, 142, 108, 102, 187, 111, 111, 111, 111, 111, 111, 242, 183, 86, 201, 190, 238, 241, 249, 223, 184, 239, 105, 147, 148, 149, 112, 185, 86, 150, 151, 113, 152, 86, 153, 154, 295, 114, 168, 86, 179, 180, 155, 105, 86, 244, 169, 239, 170, 115, 181, 171, 253, 182, 254, 172, 188, 113, 124, 246, 86, 255, 125, 126, 247, 127, 821, 128, 129, 253, 130, 254, 131, 194, 195, 253, 261, 254, 194, 255, 303, 132, 133, 134, 191, 80, 81, 81, 81, 191, 247, 253, 192, 254, 196, 196, 196, 196, 196, 196, 250, 135, 262, 253, 136, 254, 86, 204, 204, 204, 204, 79, 80, 81, 81, 81, 79, 81, 80, 81, 81, 81, 81, 81, 80, 82, 82, 82, 81, 298, 86, 137, 138, 205, 232, 232, 232, 232, 86, 239, 256, 253, 253, 254, 254, 102, 272, 104, 104, 104, 104, 104, 104, 253, 257, 254, 269, 238, 247, 206, 86, 821, 207, 209, 105, 239, 233, 210, 211, 253, 294, 254, 212, 213, 821, 214, 246, 215, 253, 234, 254, 86, 86, 86, 247, 105, 216, 217, 218, 821, 235, 271, 235, 86, 86, 236, 236, 236, 236, 236, 236, 86, 141, 821, 86, 274, 219, 142, 245, 220, 86, 270, 273, 86, 86, 86, 267, 86, 86, 291, 286, 86, 275, 268, 288, 86, 86, 237, 86, 86, 86, 821, 292, 300, 293, 287, 86, 221, 225, 225, 225, 225, 225, 225, 302, 86, 289, 290, 296, 297, 86, 299, 86, 301, 86, 226, 227, 304, 86, 227, 86, 86, 86, 309, 86, 596, 316, 306, 86, 86, 228, 308, 305, 329, 307, 314, 226, 227, 313, 310, 86, 317, 227, 98, 98, 98, 98, 98, 98, 311, 312, 86, 315, 318, 86, 86, 320, 86, 86, 330, 226, 227, 821, 86, 227, 86, 86, 343, 322, 344, 324, 319, 325, 321, 384, 231, 323, 86, 326, 86, 385, 226, 227, 343, 276, 344, 277, 227, 278, 279, 359, 343, 280, 344, 281, 382, 356, 194, 195, 282, 283, 284, 194, 285, 191, 80, 81, 81, 81, 191, 194, 195, 192, 369, 344, 194, 359, 86, 196, 196, 196, 196, 196, 196, 335, 335, 335, 335, 343, 344, 344, 196, 196, 196, 196, 196, 196, 327, 195, 369, 86, 343, 327, 344, 328, 343, 412, 344, 345, 343, 343, 344, 344, 343, 346, 344, 336, 86, 196, 196, 196, 196, 196, 196, 343, 343, 344, 344, 225, 225, 225, 225, 225, 225, 352, 253, 352, 254, 371, 353, 353, 353, 353, 353, 353, 226, 227, 226, 227, 227, 253, 227, 254, 104, 104, 104, 104, 104, 104, 195, 228, 821, 821, 86, 372, 193, 226, 227, 226, 227, 105, 354, 227, 86, 227, 236, 236, 236, 236, 236, 236, 383, 86, 86, 86, 245, 381, 386, 388, 362, 86, 105, 357, 357, 357, 357, 357, 357, 235, 86, 235, 86, 393, 236, 236, 236, 236, 236, 236, 86, 227, 86, 364, 227, 365, 86, 394, 366, 86, 387, 398, 389, 400, 367, 358, 104, 104, 104, 104, 104, 104, 227, 86, 395, 86, 368, 227, 86, 401, 365, 86, 399, 86, 366, 111, 111, 111, 111, 111, 111, 396, 397, 390, 86, 86, 86, 86, 245, 391, 392, 402, 404, 406, 405, 86, 86, 86, 86, 86, 86, 86, 403, 411, 86, 86, 86, 250, 414, 86, 418, 86, 86, 416, 408, 407, 415, 419, 409, 410, 413, 417, 86, 86, 86, 86, 86, 420, 422, 423, 86, 86, 86, 86, 86, 425, 424, 86, 86, 427, 426, 86, 86, 432, 421, 86, 86, 86, 86, 431, 475, 86, 428, 430, 429, 437, 440, 86, 439, 433, 436, 434, 441, 435, 86, 438, 442, 327, 195, 343, 509, 344, 327, 476, 328, 203, 203, 203, 203, 335, 335, 335, 335, 343, 86, 344, 353, 353, 353, 353, 353, 353, 463, 463, 463, 463, 463, 463, 225, 225, 225, 225, 225, 225, 86, 510, 86, 452, 471, 352, 227, 352, 86, 227, 353, 353, 353, 353, 353, 353, 491, 492, 86, 490, 464, 86, 470, 470, 672, 86, 355, 227, 471, 495, 471, 86, 227, 232, 232, 232, 232, 104, 104, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 357, 362, 516, 86, 471, 467, 821, 227, 86, 86, 227, 467, 86, 227, 468, 356, 227, 494, 496, 86, 469, 358, 493, 86, 364, 499, 365, 465, 227, 366, 467, 86, 498, 227, 227, 367, 467, 86, 86, 227, 821, 497, 86, 506, 821, 809, 821, 368, 86, 505, 86, 365, 472, 500, 472, 366, 86, 473, 473, 473, 473, 473, 473, 364, 501, 365, 502, 503, 366, 86, 504, 507, 86, 86, 477, 86, 86, 86, 508, 86, 511, 86, 86, 86, 86, 86, 368, 515, 513, 474, 365, 512, 518, 514, 366, 86, 519, 521, 517, 86, 520, 523, 86, 86, 522, 86, 524, 526, 86, 86, 86, 86, 86, 86, 525, 86, 86, 527, 529, 86, 86, 86, 530, 528, 536, 86, 86, 539, 540, 538, 533, 531, 532, 534, 535, 86, 86, 537, 86, 195, 86, 86, 86, 542, 821, 548, 570, 545, 546, 547, 541, 600, 595, 543, 467, 544, 203, 203, 203, 203, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, 570, 86, 86, 86, 467, 467, 227, 467, 86, 227, 86, 86, 227, 468, 569, 227, 588, 589, 587, 821, 464, 86, 602, 591, 86, 86, 565, 227, 590, 467, 467, 86, 227, 227, 593, 86, 594, 616, 227, 357, 357, 357, 357, 357, 357, 566, 592, 566, 603, 86, 567, 567, 567, 567, 567, 567, 473, 473, 473, 473, 473, 473, 571, 571, 571, 571, 571, 571, 472, 597, 472, 465, 86, 473, 473, 473, 473, 473, 473, 86, 572, 86, 568, 572, 86, 86, 601, 86, 86, 86, 86, 598, 86, 605, 573, 609, 86, 608, 610, 86, 599, 572, 86, 86, 607, 86, 572, 606, 86, 86, 619, 614, 86, 612, 613, 86, 86, 86, 611, 86, 615, 620, 86, 617, 618, 621, 86, 86, 86, 86, 623, 86, 626, 86, 625, 627, 624, 622, 86, 86, 630, 629, 86, 631, 86, 86, 86, 821, 808, 628, 670, 664, 633, 669, 665, 632, 463, 463, 463, 463, 463, 463, 567, 567, 567, 567, 567, 567, 651, 651, 651, 651, 651, 651, 566, 86, 566, 86, 86, 567, 567, 567, 567, 567, 567, 86, 572, 86, 565, 572, 571, 571, 571, 571, 571, 571, 86, 675, 666, 677, 652, 668, 86, 680, 667, 86, 86, 572, 572, 86, 662, 572, 572, 671, 571, 571, 571, 571, 571, 571, 86, 674, 573, 663, 86, 86, 676, 678, 86, 572, 86, 86, 572, 673, 572, 572, 86, 86, 86, 86, 86, 86, 679, 681, 86, 683, 653, 86, 86, 86, 86, 682, 86, 572, 86, 684, 693, 86, 572, 692, 685, 686, 694, 687, 86, 691, 688, 689, 690, 696, 86, 86, 86, 695, 651, 651, 651, 651, 651, 651, 651, 651, 651, 651, 651, 651, 86, 86, 86, 86, 718, 710, 572, 714, 713, 572, 711, 712, 572, 86, 86, 572, 716, 717, 86, 86, 652, 723, 86, 715, 719, 721, 703, 572, 720, 86, 726, 86, 572, 572, 724, 86, 86, 86, 572, 571, 571, 571, 571, 571, 571, 725, 86, 730, 86, 86, 722, 727, 86, 86, 86, 86, 86, 86, 733, 728, 729, 86, 86, 732, 86, 86, 731, 86, 86, 736, 752, 653, 86, 737, 86, 86, 734, 753, 754, 735, 651, 651, 651, 651, 651, 651, 86, 750, 86, 751, 759, 757, 86, 86, 86, 760, 761, 755, 86, 758, 86, 756, 86, 763, 86, 762, 86, 764, 86, 765, 86, 86, 703, 782, 86, 86, 786, 86, 784, 86, 86, 86, 787, 86, 789, 86, 781, 780, 790, 779, 86, 86, 785, 783, 86, 86, 86, 802, 801, 791, 86, 86, 788, 804, 800, 803, 86, 86, 86, 806, 807, 86, 805, 86, 86, 86, 811, 810, 812, 86, 86, 86, 813, 814, 815, 86, 86, 86, 818, 817, 819, 86, 86, 816, 86, 821, 821, 799, 821, 798, 821, 796, 821, 795, 821, 794, 821, 793, 820, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 85, 86, 86, 85, 85, 86, 85, 85, 85, 85, 85, 85, 85, 85, 139, 821, 778, 821, 777, 775, 139, 139, 139, 139, 139, 139, 139, 139, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 198, 821, 773, 198, 198, 821, 198, 198, 198, 198, 198, 198, 198, 198, 202, 771, 202, 202, 821, 202, 202, 202, 202, 202, 202, 202, 202, 769, 202, 202, 202, 203, 767, 203, 86, 203, 86, 203, 86, 86, 86, 203, 203, 86, 203, 203, 208, 86, 86, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 86, 208, 208, 208, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 243, 243, 243, 86, 243, 86, 86, 821, 749, 243, 243, 259, 747, 821, 259, 259, 821, 259, 259, 259, 259, 259, 259, 259, 259, 263, 263, 744, 263, 742, 740, 821, 86, 263, 263, 265, 265, 86, 265, 86, 86, 86, 86, 265, 265, 331, 331, 86, 331, 709, 706, 705, 199, 331, 331, 333, 333, 699, 333, 698, 635, 86, 86, 333, 333, 337, 337, 86, 337, 86, 86, 86, 86, 337, 337, 339, 339, 86, 339, 86, 86, 86, 86, 339, 339, 341, 341, 86, 341, 86, 660, 659, 657, 341, 341, 348, 348, 655, 348, 569, 650, 649, 647, 348, 348, 350, 350, 645, 350, 643, 641, 639, 637, 350, 350, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 361, 361, 635, 361, 86, 86, 86, 86, 86, 361, 363, 363, 363, 86, 363, 363, 363, 363, 86, 363, 363, 243, 243, 243, 86, 243, 86, 86, 86, 586, 584, 243, 373, 373, 582, 373, 580, 578, 576, 477, 373, 373, 375, 375, 574, 375, 574, 564, 562, 458, 375, 375, 377, 377, 458, 377, 560, 558, 556, 554, 377, 377, 263, 263, 552, 263, 550, 86, 86, 86, 86, 263, 379, 379, 86, 379, 86, 86, 86, 489, 379, 379, 265, 265, 487, 265, 485, 483, 481, 479, 462, 265, 85, 460, 344, 85, 85, 344, 85, 85, 85, 85, 85, 85, 85, 85, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 444, 444, 458, 444, 456, 454, 451, 449, 444, 444, 446, 446, 447, 446, 445, 86, 86, 86, 446, 446, 448, 448, 380, 448, 378, 376, 374, 260, 448, 448, 331, 331, 255, 331, 254, 370, 370, 242, 360, 331, 450, 450, 360, 450, 230, 355, 351, 349, 450, 450, 333, 333, 347, 333, 343, 342, 340, 338, 334, 333, 453, 453, 332, 453, 199, 195, 86, 266, 453, 453, 337, 337, 264, 337, 260, 255, 258, 255, 253, 337, 455, 455, 252, 455, 251, 230, 224, 84, 455, 455, 339, 339, 84, 339, 86, 199, 197, 84, 146, 339, 457, 457, 140, 457, 121, 116, 86, 821, 457, 457, 341, 341, 69, 341, 69, 821, 821, 821, 821, 341, 459, 459, 821, 459, 821, 821, 821, 821, 459, 459, 348, 348, 821, 348, 821, 821, 821, 821, 821, 348, 461, 461, 821, 461, 821, 821, 821, 821, 461, 461, 350, 350, 821, 350, 821, 821, 821, 821, 821, 350, 466, 466, 821, 466, 821, 466, 821, 821, 466, 466, 361, 361, 821, 361, 821, 361, 821, 821, 361, 361, 363, 363, 363, 821, 363, 363, 363, 363, 821, 363, 363, 478, 478, 821, 478, 821, 821, 821, 821, 478, 478, 480, 480, 821, 480, 821, 821, 821, 821, 480, 480, 482, 482, 821, 482, 821, 821, 821, 821, 482, 482, 373, 373, 821, 373, 821, 821, 821, 821, 821, 373, 484, 484, 821, 484, 821, 821, 821, 821, 484, 484, 375, 375, 821, 375, 821, 821, 821, 821, 821, 375, 486, 486, 821, 486, 821, 821, 821, 821, 486, 486, 377, 377, 821, 377, 821, 821, 821, 821, 821, 377, 488, 488, 821, 488, 821, 821, 821, 821, 488, 488, 379, 379, 821, 379, 821, 821, 821, 821, 821, 379, 85, 821, 821, 85, 85, 821, 85, 85, 85, 85, 85, 85, 85, 85, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 549, 549, 821, 549, 821, 821, 821, 821, 549, 549, 444, 444, 821, 444, 821, 821, 821, 821, 821, 444, 551, 551, 821, 551, 821, 821, 821, 821, 551, 551, 446, 446, 821, 446, 821, 821, 821, 821, 821, 446, 553, 553, 821, 553, 821, 821, 821, 821, 553, 553, 448, 448, 821, 448, 821, 821, 821, 821, 821, 448, 555, 555, 821, 555, 821, 821, 821, 821, 555, 555, 450, 450, 821, 450, 821, 821, 821, 821, 821, 450, 557, 557, 821, 557, 821, 821, 821, 821, 557, 557, 453, 453, 821, 453, 821, 821, 821, 821, 821, 453, 559, 559, 821, 559, 821, 821, 821, 821, 559, 559, 455, 455, 821, 455, 821, 821, 821, 821, 821, 455, 457, 457, 821, 457, 821, 821, 821, 821, 457, 457, 561, 561, 821, 561, 821, 821, 821, 821, 561, 561, 459, 459, 821, 459, 821, 821, 821, 821, 821, 459, 563, 563, 821, 563, 821, 821, 821, 821, 563, 563, 461, 461, 821, 461, 821, 821, 821, 821, 821, 461, 466, 466, 821, 466, 821, 466, 821, 821, 466, 466, 363, 363, 821, 363, 821, 821, 821, 821, 363, 363, 575, 575, 821, 575, 821, 821, 821, 821, 575, 575, 478, 478, 821, 478, 821, 821, 821, 821, 821, 478, 577, 577, 821, 577, 821, 821, 821, 821, 577, 577, 480, 480, 821, 480, 821, 821, 821, 821, 821, 480, 579, 579, 821, 579, 821, 821, 821, 821, 579, 579, 482, 482, 821, 482, 821, 821, 821, 821, 821, 482, 581, 581, 821, 581, 821, 821, 821, 821, 581, 581, 484, 484, 821, 484, 821, 821, 821, 821, 821, 484, 583, 583, 821, 583, 821, 821, 821, 821, 583, 583, 486, 486, 821, 486, 821, 821, 821, 821, 821, 486, 585, 585, 821, 585, 821, 821, 821, 821, 585, 585, 488, 488, 821, 488, 821, 821, 821, 821, 821, 488, 85, 821, 821, 85, 85, 821, 85, 85, 85, 85, 85, 85, 85, 85, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 636, 636, 821, 636, 821, 821, 821, 821, 636, 636, 549, 549, 821, 549, 821, 821, 821, 821, 821, 549, 638, 638, 821, 638, 821, 821, 821, 821, 638, 638, 551, 551, 821, 551, 821, 821, 821, 821, 821, 551, 640, 640, 821, 640, 821, 821, 821, 821, 640, 640, 553, 553, 821, 553, 821, 821, 821, 821, 821, 553, 642, 642, 821, 642, 821, 821, 821, 821, 642, 642, 555, 555, 821, 555, 821, 821, 821, 821, 821, 555, 644, 644, 821, 644, 821, 821, 821, 821, 644, 644, 557, 557, 821, 557, 821, 821, 821, 821, 821, 557, 646, 646, 821, 646, 821, 821, 821, 821, 646, 646, 559, 559, 821, 559, 821, 821, 821, 821, 821, 559, 648, 648, 821, 648, 821, 821, 821, 821, 648, 648, 561, 561, 821, 561, 821, 821, 821, 821, 821, 561, 85, 85, 821, 85, 821, 821, 821, 821, 85, 85, 563, 563, 821, 563, 821, 821, 821, 821, 821, 563, 466, 466, 821, 466, 821, 821, 821, 821, 466, 466, 654, 654, 821, 654, 821, 821, 821, 821, 654, 654, 575, 575, 821, 575, 821, 821, 821, 821, 821, 575, 656, 656, 821, 656, 821, 821, 821, 821, 656, 656, 577, 577, 821, 577, 821, 821, 821, 821, 821, 577, 658, 658, 821, 658, 821, 821, 821, 821, 658, 658, 579, 579, 821, 579, 821, 821, 821, 821, 821, 579, 139, 139, 821, 139, 821, 821, 821, 821, 139, 139, 581, 581, 821, 581, 821, 821, 821, 821, 821, 581, 661, 661, 821, 661, 821, 821, 821, 821, 821, 661, 583, 583, 821, 583, 821, 821, 821, 821, 821, 583, 85, 821, 821, 85, 85, 821, 85, 85, 85, 85, 85, 85, 85, 85, 585, 585, 821, 585, 821, 821, 821, 821, 821, 585, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 697, 697, 821, 697, 821, 821, 821, 821, 697, 697, 636, 636, 821, 636, 821, 821, 821, 821, 821, 636, 198, 198, 821, 198, 821, 821, 821, 821, 198, 198, 638, 638, 821, 638, 821, 821, 821, 821, 821, 638, 700, 700, 821, 700, 821, 821, 821, 821, 821, 700, 640, 640, 821, 640, 821, 821, 821, 821, 821, 640, 198, 821, 821, 198, 198, 821, 198, 198, 198, 198, 198, 198, 198, 198, 642, 642, 821, 642, 821, 821, 821, 821, 821, 642, 701, 701, 821, 701, 821, 821, 821, 821, 821, 701, 644, 644, 821, 644, 821, 821, 821, 821, 821, 644, 646, 646, 821, 646, 821, 821, 821, 821, 821, 646, 702, 702, 821, 702, 821, 821, 821, 821, 821, 702, 648, 648, 821, 648, 821, 821, 821, 821, 821, 648, 85, 85, 821, 85, 821, 821, 821, 821, 821, 85, 704, 704, 821, 704, 821, 821, 821, 821, 704, 704, 654, 654, 821, 654, 821, 821, 821, 821, 821, 654, 259, 259, 821, 259, 821, 821, 821, 821, 259, 259, 656, 656, 821, 656, 821, 821, 821, 821, 821, 656, 707, 707, 821, 707, 821, 821, 821, 821, 821, 707, 658, 658, 821, 658, 821, 821, 821, 821, 821, 658, 139, 139, 821, 139, 821, 821, 821, 821, 821, 139, 708, 708, 821, 708, 821, 821, 821, 821, 708, 708, 85, 821, 821, 85, 85, 821, 85, 85, 85, 85, 85, 85, 85, 85, 738, 738, 821, 738, 821, 821, 821, 821, 821, 738, 697, 697, 821, 697, 821, 821, 821, 821, 821, 697, 739, 739, 821, 739, 821, 821, 821, 821, 739, 739, 741, 741, 821, 741, 821, 821, 821, 821, 741, 741, 743, 743, 821, 743, 821, 821, 821, 821, 743, 743, 745, 745, 821, 745, 821, 821, 821, 821, 821, 745, 746, 746, 821, 746, 821, 821, 821, 821, 746, 746, 748, 748, 821, 748, 821, 821, 821, 821, 748, 748, 766, 766, 821, 766, 821, 821, 821, 821, 766, 766, 768, 768, 821, 768, 821, 821, 821, 821, 768, 768, 770, 770, 821, 770, 821, 821, 821, 821, 770, 770, 772, 772, 821, 772, 821, 821, 821, 821, 772, 772, 774, 774, 821, 774, 821, 821, 821, 821, 774, 774, 776, 776, 821, 776, 821, 821, 821, 821, 776, 776, 585, 585, 821, 585, 821, 821, 821, 821, 585, 585, 792, 792, 821, 792, 821, 821, 821, 821, 792, 792, 642, 642, 821, 642, 821, 821, 821, 821, 642, 642, 646, 646, 821, 646, 821, 821, 821, 821, 646, 646, 85, 85, 821, 85, 821, 821, 821, 821, 85, 85, 797, 797, 821, 797, 821, 821, 821, 821, 797, 797, 139, 139, 821, 139, 821, 821, 821, 821, 139, 139, 198, 198, 821, 198, 821, 821, 821, 821, 198, 198, 11, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821 } ; static yyconst flex_int16_t yy_chk[3605] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 48, 9, 10, 508, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 48, 42, 53, 28, 27, 28, 28, 28, 28, 28, 28, 508, 820, 25, 29, 25, 27, 27, 27, 29, 53, 35, 7, 8, 9, 10, 40, 42, 55, 29, 30, 40, 30, 30, 30, 30, 30, 30, 35, 47, 35, 35, 125, 49, 125, 50, 55, 56, 49, 30, 63, 51, 55, 30, 50, 49, 56, 59, 30, 30, 47, 49, 47, 50, 30, 54, 51, 50, 51, 40, 30, 60, 40, 72, 59, 54, 30, 51, 86, 107, 113, 45, 54, 819, 30, 58, 45, 30, 31, 60, 31, 31, 31, 31, 31, 31, 108, 58, 163, 72, 63, 106, 107, 113, 86, 58, 106, 31, 45, 45, 45, 31, 58, 57, 45, 45, 31, 45, 52, 45, 45, 163, 31, 52, 45, 57, 57, 45, 31, 61, 108, 52, 106, 52, 31, 57, 52, 126, 57, 126, 52, 61, 31, 38, 112, 171, 129, 38, 38, 112, 38, 114, 38, 38, 128, 38, 128, 38, 67, 67, 129, 140, 129, 67, 130, 171, 38, 38, 38, 66, 66, 66, 66, 66, 66, 112, 130, 66, 130, 67, 67, 67, 67, 67, 67, 114, 38, 140, 131, 38, 131, 166, 76, 76, 76, 76, 79, 79, 79, 79, 79, 79, 81, 81, 81, 81, 81, 81, 82, 82, 82, 82, 82, 82, 166, 151, 38, 38, 76, 103, 103, 103, 103, 148, 110, 132, 132, 133, 132, 133, 104, 151, 104, 104, 104, 104, 104, 104, 134, 134, 134, 148, 110, 115, 76, 162, 103, 76, 84, 104, 110, 103, 84, 84, 136, 162, 136, 84, 84, 109, 84, 115, 84, 138, 104, 138, 818, 150, 153, 115, 104, 84, 84, 84, 103, 105, 150, 105, 149, 152, 105, 105, 105, 105, 105, 105, 147, 143, 109, 156, 153, 84, 143, 109, 84, 154, 149, 152, 157, 160, 158, 147, 161, 168, 160, 156, 164, 154, 147, 158, 159, 170, 105, 165, 167, 172, 109, 160, 168, 161, 157, 169, 84, 98, 98, 98, 98, 98, 98, 170, 143, 159, 159, 164, 165, 173, 167, 175, 169, 176, 98, 98, 172, 177, 98, 179, 181, 500, 177, 180, 500, 181, 175, 178, 184, 98, 176, 173, 199, 175, 180, 98, 98, 179, 178, 182, 181, 98, 102, 102, 102, 102, 102, 102, 178, 178, 183, 180, 182, 185, 186, 184, 187, 270, 199, 102, 102, 233, 271, 102, 188, 817, 210, 186, 210, 187, 183, 187, 185, 270, 102, 186, 268, 188, 155, 271, 102, 102, 211, 155, 211, 155, 102, 155, 155, 238, 212, 155, 212, 155, 268, 233, 192, 192, 155, 155, 155, 192, 155, 191, 191, 191, 191, 191, 191, 194, 194, 191, 246, 213, 194, 238, 815, 192, 192, 192, 192, 192, 192, 204, 204, 204, 204, 213, 214, 213, 194, 194, 194, 194, 194, 194, 196, 196, 246, 295, 214, 196, 214, 196, 215, 295, 215, 216, 216, 217, 216, 217, 218, 218, 218, 204, 814, 196, 196, 196, 196, 196, 196, 220, 221, 220, 221, 225, 225, 225, 225, 225, 225, 226, 256, 226, 256, 260, 226, 226, 226, 226, 226, 226, 225, 225, 231, 231, 225, 257, 231, 257, 234, 234, 234, 234, 234, 234, 328, 225, 809, 808, 269, 260, 328, 225, 225, 231, 231, 234, 226, 225, 267, 231, 235, 235, 235, 235, 235, 235, 269, 272, 274, 277, 234, 267, 272, 274, 243, 278, 234, 236, 236, 236, 236, 236, 236, 237, 273, 237, 275, 277, 237, 237, 237, 237, 237, 237, 283, 236, 284, 243, 236, 243, 281, 278, 243, 279, 273, 281, 275, 283, 243, 236, 245, 245, 245, 245, 245, 245, 236, 282, 279, 280, 243, 236, 276, 284, 243, 804, 282, 285, 243, 250, 250, 250, 250, 250, 250, 280, 280, 276, 287, 289, 290, 288, 245, 276, 276, 285, 288, 290, 289, 291, 292, 293, 294, 297, 298, 296, 287, 294, 299, 301, 300, 250, 297, 304, 301, 305, 302, 299, 292, 291, 298, 302, 293, 293, 296, 300, 303, 306, 308, 309, 310, 303, 304, 305, 311, 312, 314, 313, 315, 308, 306, 316, 317, 310, 309, 318, 319, 315, 303, 323, 321, 322, 324, 314, 366, 326, 311, 313, 312, 321, 324, 325, 323, 316, 319, 317, 325, 318, 398, 322, 326, 327, 327, 345, 398, 345, 327, 366, 327, 335, 335, 335, 335, 336, 336, 336, 336, 346, 399, 346, 352, 352, 352, 352, 352, 352, 353, 353, 353, 353, 353, 353, 355, 355, 355, 355, 355, 355, 382, 399, 383, 335, 368, 354, 353, 354, 381, 353, 354, 354, 354, 354, 354, 354, 382, 383, 386, 381, 353, 596, 368, 364, 596, 802, 355, 353, 364, 386, 368, 408, 353, 356, 356, 356, 356, 356, 356, 357, 357, 357, 357, 357, 357, 358, 358, 358, 358, 358, 358, 363, 408, 384, 364, 361, 799, 357, 385, 387, 357, 362, 390, 358, 361, 356, 358, 385, 387, 388, 362, 357, 384, 389, 363, 390, 363, 358, 357, 363, 361, 395, 389, 357, 358, 363, 362, 391, 396, 358, 367, 388, 392, 396, 798, 797, 796, 363, 394, 395, 393, 363, 365, 391, 365, 363, 397, 365, 365, 365, 365, 365, 365, 367, 392, 367, 393, 393, 367, 400, 394, 397, 401, 402, 367, 406, 409, 411, 397, 404, 400, 416, 412, 410, 417, 419, 367, 406, 402, 365, 367, 401, 410, 404, 367, 413, 410, 412, 409, 418, 411, 416, 420, 421, 413, 424, 417, 419, 426, 422, 428, 427, 430, 429, 418, 431, 433, 420, 422, 432, 434, 435, 424, 421, 431, 436, 441, 434, 435, 433, 428, 426, 427, 429, 430, 437, 439, 432, 438, 443, 442, 499, 504, 437, 795, 443, 470, 439, 441, 442, 436, 504, 499, 437, 469, 438, 452, 452, 452, 452, 463, 463, 463, 463, 463, 463, 464, 464, 464, 464, 464, 464, 470, 490, 493, 491, 466, 468, 463, 469, 494, 463, 495, 506, 464, 466, 468, 464, 491, 493, 490, 794, 463, 497, 506, 495, 496, 524, 464, 463, 494, 466, 468, 498, 463, 464, 497, 507, 498, 524, 464, 465, 465, 465, 465, 465, 465, 467, 496, 467, 507, 501, 467, 467, 467, 467, 467, 467, 472, 472, 472, 472, 472, 472, 473, 473, 473, 473, 473, 473, 474, 501, 474, 465, 502, 474, 474, 474, 474, 474, 474, 503, 473, 505, 467, 473, 509, 510, 505, 511, 512, 516, 513, 502, 518, 509, 473, 513, 519, 512, 516, 520, 503, 473, 521, 523, 511, 528, 473, 510, 525, 527, 528, 521, 530, 519, 520, 532, 531, 533, 518, 534, 523, 530, 537, 525, 527, 531, 536, 539, 538, 540, 533, 542, 537, 543, 536, 538, 534, 532, 545, 546, 542, 540, 594, 543, 588, 589, 593, 793, 792, 539, 594, 588, 546, 593, 589, 545, 565, 565, 565, 565, 565, 565, 566, 566, 566, 566, 566, 566, 567, 567, 567, 567, 567, 567, 568, 599, 568, 601, 592, 568, 568, 568, 568, 568, 568, 590, 567, 591, 565, 567, 571, 571, 571, 571, 571, 571, 595, 599, 590, 601, 567, 592, 790, 604, 591, 587, 598, 567, 571, 600, 587, 571, 567, 595, 573, 573, 573, 573, 573, 573, 597, 598, 571, 587, 602, 603, 600, 602, 605, 571, 604, 606, 573, 597, 571, 573, 607, 608, 609, 611, 612, 617, 603, 605, 613, 607, 573, 616, 619, 623, 622, 606, 630, 573, 633, 608, 623, 789, 573, 622, 609, 611, 630, 612, 632, 619, 613, 616, 617, 633, 662, 665, 671, 632, 651, 651, 651, 651, 651, 651, 652, 652, 652, 652, 652, 652, 663, 666, 667, 668, 671, 662, 651, 667, 666, 651, 663, 665, 652, 669, 670, 652, 669, 670, 673, 674, 651, 677, 675, 668, 673, 675, 652, 651, 674, 676, 680, 678, 651, 652, 678, 689, 679, 684, 652, 653, 653, 653, 653, 653, 653, 679, 682, 684, 681, 677, 676, 681, 683, 685, 687, 680, 692, 693, 689, 682, 683, 695, 717, 687, 696, 716, 685, 714, 718, 695, 716, 653, 715, 696, 719, 720, 692, 717, 718, 693, 703, 703, 703, 703, 703, 703, 722, 714, 721, 715, 723, 721, 725, 727, 731, 725, 727, 719, 728, 722, 729, 720, 750, 729, 730, 728, 752, 730, 753, 731, 754, 755, 703, 754, 758, 756, 759, 723, 756, 760, 762, 763, 760, 780, 763, 764, 753, 752, 764, 750, 765, 781, 758, 755, 782, 785, 783, 782, 781, 765, 784, 759, 762, 784, 780, 783, 788, 791, 800, 788, 791, 801, 785, 810, 811, 803, 801, 800, 803, 805, 806, 807, 805, 806, 807, 812, 816, 813, 812, 811, 813, 787, 786, 810, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 816, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 825, 761, 757, 825, 825, 751, 825, 825, 825, 825, 825, 825, 825, 825, 826, 749, 748, 747, 746, 745, 826, 826, 826, 826, 826, 826, 826, 826, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, 828, 744, 743, 828, 828, 742, 828, 828, 828, 828, 828, 828, 828, 828, 829, 741, 829, 829, 740, 829, 829, 829, 829, 829, 829, 829, 829, 739, 829, 829, 829, 830, 738, 830, 737, 830, 736, 830, 735, 734, 733, 830, 830, 732, 830, 830, 831, 726, 724, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 713, 831, 831, 831, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, 833, 833, 833, 712, 833, 711, 710, 709, 708, 833, 833, 834, 707, 706, 834, 834, 705, 834, 834, 834, 834, 834, 834, 834, 834, 835, 835, 702, 835, 701, 700, 699, 694, 835, 835, 836, 836, 691, 836, 690, 688, 686, 672, 836, 836, 837, 837, 664, 837, 661, 656, 654, 642, 837, 837, 838, 838, 638, 838, 636, 634, 631, 629, 838, 838, 839, 839, 628, 839, 627, 626, 625, 624, 839, 839, 840, 840, 621, 840, 620, 618, 615, 614, 840, 840, 841, 841, 610, 841, 585, 581, 579, 577, 841, 841, 842, 842, 575, 842, 569, 563, 561, 559, 842, 842, 843, 843, 557, 843, 555, 553, 551, 549, 843, 843, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, 845, 845, 548, 845, 547, 544, 541, 535, 529, 845, 846, 846, 846, 526, 846, 846, 846, 846, 522, 846, 846, 847, 847, 847, 517, 847, 515, 514, 492, 488, 486, 847, 848, 848, 484, 848, 482, 480, 478, 477, 848, 848, 849, 849, 476, 849, 475, 461, 459, 458, 849, 849, 850, 850, 457, 850, 455, 453, 450, 448, 850, 850, 851, 851, 446, 851, 444, 440, 425, 423, 415, 851, 852, 852, 414, 852, 407, 405, 403, 379, 852, 852, 853, 853, 377, 853, 375, 373, 372, 371, 350, 853, 854, 348, 347, 854, 854, 343, 854, 854, 854, 854, 854, 854, 854, 854, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 857, 857, 341, 857, 339, 337, 333, 331, 857, 857, 858, 858, 330, 858, 329, 320, 307, 286, 858, 858, 859, 859, 265, 859, 263, 262, 261, 259, 859, 859, 860, 860, 258, 860, 253, 249, 248, 244, 241, 860, 861, 861, 240, 861, 229, 228, 223, 222, 861, 861, 862, 862, 219, 862, 209, 207, 206, 205, 201, 862, 863, 863, 200, 863, 198, 193, 174, 145, 863, 863, 864, 864, 144, 864, 139, 137, 135, 127, 124, 864, 865, 865, 123, 865, 119, 100, 97, 94, 865, 865, 866, 866, 92, 866, 85, 71, 69, 65, 44, 866, 867, 867, 39, 867, 36, 33, 18, 11, 867, 867, 868, 868, 4, 868, 3, 0, 0, 0, 0, 868, 869, 869, 0, 869, 0, 0, 0, 0, 869, 869, 870, 870, 0, 870, 0, 0, 0, 0, 0, 870, 871, 871, 0, 871, 0, 0, 0, 0, 871, 871, 872, 872, 0, 872, 0, 0, 0, 0, 0, 872, 873, 873, 0, 873, 0, 873, 0, 0, 873, 873, 874, 874, 0, 874, 0, 874, 0, 0, 874, 874, 875, 875, 875, 0, 875, 875, 875, 875, 0, 875, 875, 876, 876, 0, 876, 0, 0, 0, 0, 876, 876, 877, 877, 0, 877, 0, 0, 0, 0, 877, 877, 878, 878, 0, 878, 0, 0, 0, 0, 878, 878, 879, 879, 0, 879, 0, 0, 0, 0, 0, 879, 880, 880, 0, 880, 0, 0, 0, 0, 880, 880, 881, 881, 0, 881, 0, 0, 0, 0, 0, 881, 882, 882, 0, 882, 0, 0, 0, 0, 882, 882, 883, 883, 0, 883, 0, 0, 0, 0, 0, 883, 884, 884, 0, 884, 0, 0, 0, 0, 884, 884, 885, 885, 0, 885, 0, 0, 0, 0, 0, 885, 886, 0, 0, 886, 886, 0, 886, 886, 886, 886, 886, 886, 886, 886, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 887, 888, 888, 0, 888, 0, 0, 0, 0, 888, 888, 889, 889, 0, 889, 0, 0, 0, 0, 0, 889, 890, 890, 0, 890, 0, 0, 0, 0, 890, 890, 891, 891, 0, 891, 0, 0, 0, 0, 0, 891, 892, 892, 0, 892, 0, 0, 0, 0, 892, 892, 893, 893, 0, 893, 0, 0, 0, 0, 0, 893, 894, 894, 0, 894, 0, 0, 0, 0, 894, 894, 895, 895, 0, 895, 0, 0, 0, 0, 0, 895, 896, 896, 0, 896, 0, 0, 0, 0, 896, 896, 897, 897, 0, 897, 0, 0, 0, 0, 0, 897, 898, 898, 0, 898, 0, 0, 0, 0, 898, 898, 899, 899, 0, 899, 0, 0, 0, 0, 0, 899, 900, 900, 0, 900, 0, 0, 0, 0, 900, 900, 901, 901, 0, 901, 0, 0, 0, 0, 901, 901, 902, 902, 0, 902, 0, 0, 0, 0, 0, 902, 903, 903, 0, 903, 0, 0, 0, 0, 903, 903, 904, 904, 0, 904, 0, 0, 0, 0, 0, 904, 905, 905, 0, 905, 0, 905, 0, 0, 905, 905, 906, 906, 0, 906, 0, 0, 0, 0, 906, 906, 907, 907, 0, 907, 0, 0, 0, 0, 907, 907, 908, 908, 0, 908, 0, 0, 0, 0, 0, 908, 909, 909, 0, 909, 0, 0, 0, 0, 909, 909, 910, 910, 0, 910, 0, 0, 0, 0, 0, 910, 911, 911, 0, 911, 0, 0, 0, 0, 911, 911, 912, 912, 0, 912, 0, 0, 0, 0, 0, 912, 913, 913, 0, 913, 0, 0, 0, 0, 913, 913, 914, 914, 0, 914, 0, 0, 0, 0, 0, 914, 915, 915, 0, 915, 0, 0, 0, 0, 915, 915, 916, 916, 0, 916, 0, 0, 0, 0, 0, 916, 917, 917, 0, 917, 0, 0, 0, 0, 917, 917, 918, 918, 0, 918, 0, 0, 0, 0, 0, 918, 919, 0, 0, 919, 919, 0, 919, 919, 919, 919, 919, 919, 919, 919, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 921, 921, 0, 921, 0, 0, 0, 0, 921, 921, 922, 922, 0, 922, 0, 0, 0, 0, 0, 922, 923, 923, 0, 923, 0, 0, 0, 0, 923, 923, 924, 924, 0, 924, 0, 0, 0, 0, 0, 924, 925, 925, 0, 925, 0, 0, 0, 0, 925, 925, 926, 926, 0, 926, 0, 0, 0, 0, 0, 926, 927, 927, 0, 927, 0, 0, 0, 0, 927, 927, 928, 928, 0, 928, 0, 0, 0, 0, 0, 928, 929, 929, 0, 929, 0, 0, 0, 0, 929, 929, 930, 930, 0, 930, 0, 0, 0, 0, 0, 930, 931, 931, 0, 931, 0, 0, 0, 0, 931, 931, 932, 932, 0, 932, 0, 0, 0, 0, 0, 932, 933, 933, 0, 933, 0, 0, 0, 0, 933, 933, 934, 934, 0, 934, 0, 0, 0, 0, 0, 934, 935, 935, 0, 935, 0, 0, 0, 0, 935, 935, 936, 936, 0, 936, 0, 0, 0, 0, 0, 936, 937, 937, 0, 937, 0, 0, 0, 0, 937, 937, 938, 938, 0, 938, 0, 0, 0, 0, 938, 938, 939, 939, 0, 939, 0, 0, 0, 0, 0, 939, 940, 940, 0, 940, 0, 0, 0, 0, 940, 940, 941, 941, 0, 941, 0, 0, 0, 0, 0, 941, 942, 942, 0, 942, 0, 0, 0, 0, 942, 942, 943, 943, 0, 943, 0, 0, 0, 0, 0, 943, 944, 944, 0, 944, 0, 0, 0, 0, 944, 944, 945, 945, 0, 945, 0, 0, 0, 0, 0, 945, 946, 946, 0, 946, 0, 0, 0, 0, 0, 946, 947, 947, 0, 947, 0, 0, 0, 0, 0, 947, 948, 0, 0, 948, 948, 0, 948, 948, 948, 948, 948, 948, 948, 948, 949, 949, 0, 949, 0, 0, 0, 0, 0, 949, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 950, 951, 951, 0, 951, 0, 0, 0, 0, 951, 951, 952, 952, 0, 952, 0, 0, 0, 0, 0, 952, 953, 953, 0, 953, 0, 0, 0, 0, 953, 953, 954, 954, 0, 954, 0, 0, 0, 0, 0, 954, 955, 955, 0, 955, 0, 0, 0, 0, 0, 955, 956, 956, 0, 956, 0, 0, 0, 0, 0, 956, 957, 0, 0, 957, 957, 0, 957, 957, 957, 957, 957, 957, 957, 957, 958, 958, 0, 958, 0, 0, 0, 0, 0, 958, 959, 959, 0, 959, 0, 0, 0, 0, 0, 959, 960, 960, 0, 960, 0, 0, 0, 0, 0, 960, 961, 961, 0, 961, 0, 0, 0, 0, 0, 961, 962, 962, 0, 962, 0, 0, 0, 0, 0, 962, 963, 963, 0, 963, 0, 0, 0, 0, 0, 963, 964, 964, 0, 964, 0, 0, 0, 0, 0, 964, 965, 965, 0, 965, 0, 0, 0, 0, 965, 965, 966, 966, 0, 966, 0, 0, 0, 0, 0, 966, 967, 967, 0, 967, 0, 0, 0, 0, 967, 967, 968, 968, 0, 968, 0, 0, 0, 0, 0, 968, 969, 969, 0, 969, 0, 0, 0, 0, 0, 969, 970, 970, 0, 970, 0, 0, 0, 0, 0, 970, 971, 971, 0, 971, 0, 0, 0, 0, 0, 971, 972, 972, 0, 972, 0, 0, 0, 0, 972, 972, 973, 0, 0, 973, 973, 0, 973, 973, 973, 973, 973, 973, 973, 973, 974, 974, 0, 974, 0, 0, 0, 0, 0, 974, 975, 975, 0, 975, 0, 0, 0, 0, 0, 975, 976, 976, 0, 976, 0, 0, 0, 0, 976, 976, 977, 977, 0, 977, 0, 0, 0, 0, 977, 977, 978, 978, 0, 978, 0, 0, 0, 0, 978, 978, 979, 979, 0, 979, 0, 0, 0, 0, 0, 979, 980, 980, 0, 980, 0, 0, 0, 0, 980, 980, 981, 981, 0, 981, 0, 0, 0, 0, 981, 981, 982, 982, 0, 982, 0, 0, 0, 0, 982, 982, 983, 983, 0, 983, 0, 0, 0, 0, 983, 983, 984, 984, 0, 984, 0, 0, 0, 0, 984, 984, 985, 985, 0, 985, 0, 0, 0, 0, 985, 985, 986, 986, 0, 986, 0, 0, 0, 0, 986, 986, 987, 987, 0, 987, 0, 0, 0, 0, 987, 987, 988, 988, 0, 988, 0, 0, 0, 0, 988, 988, 989, 989, 0, 989, 0, 0, 0, 0, 989, 989, 990, 990, 0, 990, 0, 0, 0, 0, 990, 990, 991, 991, 0, 991, 0, 0, 0, 0, 991, 991, 992, 992, 0, 992, 0, 0, 0, 0, 992, 992, 993, 993, 0, 993, 0, 0, 0, 0, 993, 993, 994, 994, 0, 994, 0, 0, 0, 0, 994, 994, 995, 995, 0, 995, 0, 0, 0, 0, 995, 995, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[171] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.ll" /* * Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo * * The contents of this file are covered under the licence agreement in the * file "LICENCE" distributed with Cforall. * * lex.l -- * * Author : Peter A. Buhr * Created On : Sat Sep 22 08:58:10 2001 * Last Modified By : Peter A. Buhr * Last Modified On : Wed Jun 3 22:24:07 2015 * Update Count : 336 */ #line 19 "lex.ll" // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive // have been performed and removed from the source. The only exceptions are preprocessor directives passed to // the compiler (e.g., line-number directives) and C/C++ style comments, which are ignored. //**************************** Includes and Defines **************************** #include #include "lex.h" #include "ParseNode.h" #include "parser.h" // YACC generated definitions based on C++ grammar char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define WHITE_RETURN(x) // do nothing #define NEWLINE_RETURN() WHITE_RETURN('\n') #define RETURN_VAL(x) yylval.tok.str = new std::string(yytext); \ yylval.tok.loc.file = yyfilename; \ yylval.tok.loc.line = yylineno; \ return(x) #define RETURN_STR(x) yylval.tok.str = strtext; \ yylval.tok.loc.file = yyfilename; \ yylval.tok.loc.line = yylineno; \ return(x) #define KEYWORD_RETURN(x) RETURN_VAL(x) // keyword #define IDENTIFIER_RETURN() RETURN_VAL((typedefTable.isIdentifier(yytext) ? IDENTIFIER : typedefTable.isTypedef(yytext) ? TYPEDEFname : TYPEGENname)) //#define ATTRIBUTE_RETURN() RETURN_VAL((typedefTable.isIdentifier(yytext) ? ATTR_IDENTIFIER : typedefTable.isTypedef(yytext) ? ATTR_TYPEDEFname : ATTR_TYPEGENname)) #define ATTRIBUTE_RETURN() RETURN_VAL(ATTR_IDENTIFIER) #define ASCIIOP_RETURN() RETURN_VAL((int)yytext[0]) // single character operator #define NAMEDOP_RETURN(x) RETURN_VAL(x) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL(x) // numeric constant void rm_underscore() { // remove underscores in numeric constant int j = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[j] = yytext[i]; j += 1; } // if } // for yyleng = j; yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // operators #line 1668 "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 static void yyunput (int c,char *buf_ptr ); #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 140 "lex.ll" /* line directives */ #line 1865 "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 >= 822 ) 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] != 3520 ); 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 142 "lex.ll" { /* " stop highlighting */ char *end_num; char *begin_string, *end_string; char *filename; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { end_string = strchr( begin_string + 1, '"' ); if ( end_string ) { length = end_string - begin_string - 1; filename = new char[ length + 1 ]; memcpy( filename, begin_string + 1, length ); filename[ length ] = '\0'; //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 165 "lex.ll" ; YY_BREAK /* ignore C style comments */ case 3: YY_RULE_SETUP #line 168 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 169 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 170 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 173 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 176 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 177 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 178 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 18: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 19: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 21: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 22: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 23: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 24: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 25: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 26: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 28: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 29: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 30: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 31: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 33: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(CONTEXT); } // CFA YY_BREAK case 34: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 35: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 36: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 37: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 38: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 39: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 40: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 41: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 42: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 43: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 44: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 45: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 46: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 47: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 48: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 50: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 51: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 52: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 53: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 54: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 55: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 56: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 57: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 58: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 59: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 61: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 62: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 64: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 65: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 66: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 67: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 68: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 69: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 70: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 71: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 72: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 73: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 76: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 77: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 78: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 79: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 80: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 81: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 82: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 83: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(TYPE); } // CFA YY_BREAK case 84: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 85: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 86: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 87: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 88: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 89: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 90: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 91: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 92: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 95: YY_RULE_SETUP #line 268 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 96: YY_RULE_SETUP #line 269 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 97: YY_RULE_SETUP #line 270 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 98: YY_RULE_SETUP #line 271 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 99: YY_RULE_SETUP #line 272 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 100: YY_RULE_SETUP #line 275 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 101: YY_RULE_SETUP #line 276 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 102: YY_RULE_SETUP #line 277 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 103: YY_RULE_SETUP #line 278 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 104: YY_RULE_SETUP #line 279 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 105: YY_RULE_SETUP #line 280 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 106: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 107: YY_RULE_SETUP #line 284 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 108: YY_RULE_SETUP #line 285 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 109: /* rule 109 can match eol */ YY_RULE_SETUP #line 286 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 110: YY_RULE_SETUP #line 290 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 111: YY_RULE_SETUP #line 291 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 112: /* rule 112 can match eol */ YY_RULE_SETUP #line 292 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ case 113: YY_RULE_SETUP #line 295 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 114: YY_RULE_SETUP #line 296 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 115: YY_RULE_SETUP #line 299 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 116: YY_RULE_SETUP #line 300 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 117: YY_RULE_SETUP #line 301 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 118: YY_RULE_SETUP #line 302 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 119: YY_RULE_SETUP #line 303 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 120: YY_RULE_SETUP #line 304 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 121: YY_RULE_SETUP #line 305 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 122: YY_RULE_SETUP #line 306 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 123: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 125: YY_RULE_SETUP #line 309 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 126: YY_RULE_SETUP #line 312 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 127: YY_RULE_SETUP #line 313 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 128: YY_RULE_SETUP #line 314 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 129: YY_RULE_SETUP #line 315 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 130: YY_RULE_SETUP #line 318 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 131: YY_RULE_SETUP #line 319 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 320 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 133: YY_RULE_SETUP #line 321 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 134: YY_RULE_SETUP #line 322 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 135: YY_RULE_SETUP #line 323 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 136: YY_RULE_SETUP #line 324 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 137: YY_RULE_SETUP #line 325 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 138: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 333 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 145: YY_RULE_SETUP #line 334 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 146: YY_RULE_SETUP #line 335 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 147: YY_RULE_SETUP #line 336 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 148: YY_RULE_SETUP #line 337 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 149: YY_RULE_SETUP #line 338 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 150: YY_RULE_SETUP #line 339 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 151: YY_RULE_SETUP #line 340 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 152: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 153: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 154: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 155: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 156: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 157: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 158: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 159: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 160: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 161: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 162: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 163: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 164: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK /* CFA, operator identifier */ case 165: YY_RULE_SETUP #line 356 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 166: YY_RULE_SETUP #line 357 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 167: YY_RULE_SETUP #line 358 "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 168: YY_RULE_SETUP #line 385 "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 169: YY_RULE_SETUP #line 397 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 170: YY_RULE_SETUP #line 399 "lex.ll" ECHO; YY_BREAK #line 2887 "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 >= 822 ) 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 >= 822 ) 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 == 821); return yy_is_jam ? 0 : yy_current_state; } static void yyunput (int c, register char * yy_bp ) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int number_to_move = (yy_n_chars) + 2; register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; if ( c == '\n' ){ --yylineno; } (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } #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 399 "lex.ll" // Local Variables: // // fill-column: 110 // // tab-width: 4 // // mode: c++ // // compile-command: "make install" // // End: //