#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 186 #define YY_END_OF_BUFFER 187 /* 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[909] = { 0, 0, 0, 0, 0, 0, 0, 121, 121, 124, 124, 187, 185, 7, 9, 8, 144, 123, 106, 149, 152, 120, 131, 132, 147, 145, 135, 146, 138, 148, 111, 112, 113, 136, 137, 154, 156, 155, 157, 185, 106, 129, 185, 130, 150, 106, 108, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 133, 153, 134, 151, 7, 185, 4, 4, 186, 109, 186, 110, 121, 122, 128, 124, 125, 7, 9, 0, 8, 161, 180, 106, 0, 173, 143, 166, 174, 171, 158, 169, 159, 170, 168, 0, 117, 3, 0, 172, 116, 114, 0, 0, 114, 114, 0, 0, 114, 113, 113, 113, 0, 113, 141, 142, 140, 162, 164, 160, 165, 163, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 107, 179, 0, 123, 120, 106, 0, 0, 176, 0, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 38, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 57, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 175, 167, 7, 0, 0, 0, 2, 0, 5, 109, 0, 0, 0, 121, 0, 127, 126, 126, 0, 0, 0, 124, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 139, 117, 118, 0, 118, 118, 0, 0, 6, 118, 114, 0, 0, 0, 118, 0, 114, 114, 114, 114, 0, 115, 0, 0, 113, 113, 113, 113, 0, 177, 178, 0, 183, 181, 0, 0, 0, 107, 0, 0, 0, 0, 0, 0, 0, 0, 106, 17, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 14, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 51, 106, 106, 106, 64, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 91, 106, 106, 106, 106, 106, 106, 106, 106, 106, 0, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, 0, 0, 126, 0, 0, 184, 0, 0, 0, 0, 0, 0, 0, 118, 0, 118, 0, 118, 0, 118, 0, 0, 118, 0, 114, 114, 0, 0, 115, 115, 0, 115, 0, 115, 113, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 182, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 21, 106, 24, 106, 27, 106, 106, 106, 106, 106, 106, 106, 41, 106, 43, 106, 106, 106, 106, 106, 106, 106, 56, 106, 67, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 100, 106, 106, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 0, 115, 115, 0, 119, 0, 115, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 106, 22, 106, 106, 106, 106, 106, 106, 106, 15, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 23, 25, 106, 32, 106, 106, 106, 106, 40, 106, 106, 106, 106, 49, 106, 106, 54, 106, 106, 71, 72, 106, 106, 106, 78, 106, 106, 106, 106, 106, 88, 90, 92, 106, 106, 97, 106, 106, 104, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 119, 0, 0, 115, 119, 119, 119, 119, 0, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 0, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 59, 106, 106, 106, 106, 106, 106, 106, 106, 28, 106, 106, 106, 39, 42, 45, 106, 106, 52, 106, 61, 68, 106, 106, 77, 79, 82, 83, 85, 86, 106, 106, 94, 106, 106, 105, 0, 1, 0, 0, 0, 0, 0, 0, 109, 0, 0, 0, 126, 0, 0, 0, 0, 119, 0, 119, 119, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 106, 18, 106, 106, 106, 106, 106, 106, 106, 16, 106, 106, 106, 33, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 36, 37, 106, 48, 53, 106, 106, 106, 93, 106, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 60, 62, 65, 106, 106, 80, 95, 106, 106, 35, 106, 47, 73, 74, 106, 98, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 69, 106, 106, 12, 106, 106, 30, 34, 106, 106, 106, 66, 106, 106, 106, 106, 106, 106, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 106, 106, 106, 106, 106, 106, 106, 50, 63, 75, 81, 96, 102, 106, 106, 106, 0, 0, 0, 0, 0, 0, 0, 0, 106, 106, 13, 19, 106, 106, 31, 106, 106, 106, 26, 46, 89, 0, 0, 106, 106, 106, 106, 106, 106, 76, 103, 106, 87, 20, 106, 106, 44, 84, 106, 106, 106, 106, 106, 106, 106, 99, 70, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 11, 43, 11, 11, 44, 11, 45, 11, 46, 11, 47, 48, 49, 50, 11, 11, 51, 11, 11, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 11, 67, 68, 69, 70, 71, 72, 11, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[86] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 7, 7, 1, 1, 1, 8, 1, 1, 1, 9, 9, 9, 9, 9, 9, 4, 4, 10, 4, 11, 4, 4, 4, 10, 4, 1, 12, 1, 1, 13, 1, 9, 9, 9, 9, 9, 9, 4, 4, 4, 4, 10, 4, 4, 4, 11, 4, 4, 4, 10, 4, 4, 4, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[1083] = { 0, 0, 84, 2330, 2327, 94, 0, 177, 178, 179, 180, 2341, 2877, 191, 2877, 197, 55, 2877, 2287, 60, 173, 2877, 2877, 2877, 56, 188, 2877, 191, 189, 204, 216, 275, 0, 2306, 2877, 216, 2305, 152, 344, 155, 220, 2877, 159, 2877, 217, 226, 2877, 185, 154, 212, 251, 237, 270, 235, 257, 241, 279, 193, 305, 314, 351, 238, 228, 227, 2877, 225, 2877, 2300, 406, 412, 2877, 2309, 2877, 2277, 235, 2877, 0, 2877, 439, 0, 2877, 426, 2877, 452, 464, 2877, 511, 2276, 264, 2877, 2877, 2877, 2877, 2877, 2293, 2877, 2290, 2877, 2877, 2300, 572, 2877, 2317, 2877, 451, 457, 524, 547, 298, 253, 197, 312, 279, 0, 342, 325, 198, 322, 2877, 2877, 2877, 2287, 2877, 2877, 2877, 2285, 2282, 218, 312, 2295, 350, 363, 368, 369, 391, 411, 417, 2276, 452, 2225, 453, 2254, 2877, 274, 2877, 2877, 438, 2248, 2245, 2877, 2218, 435, 282, 353, 277, 391, 419, 442, 320, 583, 451, 446, 443, 479, 469, 364, 472, 481, 454, 458, 484, 503, 493, 352, 506, 486, 453, 507, 509, 2246, 539, 532, 524, 516, 528, 556, 530, 540, 552, 553, 564, 574, 538, 576, 613, 573, 597, 602, 571, 2877, 2877, 668, 674, 2294, 680, 2877, 686, 2877, 2241, 603, 2235, 2234, 0, 683, 2877, 2877, 692, 2233, 2231, 2211, 0, 2233, 556, 627, 630, 662, 699, 688, 692, 693, 696, 2230, 700, 703, 2205, 2202, 2877, 0, 695, 726, 693, 701, 2201, 2253, 2877, 747, 742, 700, 753, 760, 793, 815, 746, 2877, 2210, 2183, 0, 802, 2227, 801, 754, 2877, 2203, 2178, 839, 2877, 2877, 2210, 2877, 2877, 709, 723, 2187, 2185, 755, 2181, 2180, 2178, 0, 2175, 0, 2144, 694, 736, 737, 741, 614, 739, 738, 742, 798, 807, 792, 802, 797, 746, 816, 748, 791, 824, 819, 826, 2174, 827, 830, 831, 440, 834, 838, 836, 843, 847, 849, 841, 850, 861, 853, 862, 851, 863, 865, 872, 864, 873, 874, 2173, 749, 875, 876, 878, 880, 881, 882, 884, 885, 886, 888, 889, 892, 898, 896, 2171, 899, 906, 944, 901, 907, 913, 917, 908, 911, 976, 977, 2165, 2164, 2163, 0, 2161, 0, 964, 968, 2158, 0, 2157, 0, 2156, 0, 2176, 2877, 964, 967, 2153, 2147, 0, 2143, 0, 2877, 979, 998, 990, 2877, 1004, 1044, 2141, 1020, 1066, 2139, 2877, 2877, 963, 1006, 1052, 1005, 1091, 968, 1083, 1006, 2877, 2877, 2136, 2134, 2132, 0, 2129, 0, 2126, 0, 2125, 0, 2877, 931, 981, 985, 928, 1024, 987, 1068, 958, 1070, 1060, 1010, 1005, 1072, 1083, 1022, 1078, 1082, 1088, 1042, 1084, 1081, 1089, 1097, 2127, 1090, 2125, 1095, 2122, 1093, 1091, 1109, 1101, 1111, 1115, 1116, 2119, 1118, 2118, 1119, 1120, 1121, 1123, 1126, 1127, 1128, 2117, 1129, 2115, 1131, 1134, 1135, 1132, 1138, 1140, 1143, 1148, 1149, 1150, 1152, 1155, 1151, 1161, 1164, 1166, 1168, 1169, 2112, 1170, 1172, 1175, 1221, 2106, 0, 2105, 0, 2104, 0, 2102, 0, 1216, 2099, 0, 2096, 0, 2095, 2094, 2092, 0, 2089, 0, 1223, 2086, 1229, 1245, 1231, 1270, 1236, 1186, 1185, 2877, 1286, 1304, 1297, 2097, 2072, 2082, 2079, 0, 2076, 0, 2075, 0, 2074, 0, 2072, 0, 2069, 0, 1190, 1210, 2069, 1191, 1227, 1212, 1230, 1253, 1246, 1254, 1280, 1281, 1282, 1284, 1228, 1287, 1286, 1288, 1285, 234, 1293, 1289, 1304, 1300, 1305, 2068, 1322, 1306, 2067, 1308, 1313, 1318, 1320, 2065, 1323, 1324, 1326, 1327, 2062, 1330, 1331, 2061, 1334, 1335, 2060, 2058, 1337, 1339, 1340, 2055, 1004, 1346, 1347, 1348, 1349, 1364, 2054, 2053, 1351, 1353, 2051, 1350, 1355, 2018, 1362, 2066, 2012, 0, 2009, 0, 2006, 0, 2005, 0, 2004, 0, 2002, 0, 1999, 0, 1996, 0, 1401, 1407, 1435, 1418, 1995, 2877, 1424, 1411, 1421, 1427, 1994, 2877, 1992, 0, 1989, 0, 1988, 0, 1987, 0, 0, 0, 1988, 0, 1412, 1422, 1419, 1387, 1369, 1416, 1433, 1436, 1403, 1446, 1441, 1431, 1432, 1451, 1452, 1455, 1456, 1457, 1486, 1460, 1461, 1462, 1464, 1463, 1467, 1985, 1465, 1468, 1470, 1984, 1983, 1981, 1472, 1466, 1974, 1478, 1972, 1971, 1480, 1484, 1968, 1964, 1960, 1956, 1953, 1952, 1487, 1494, 1951, 1497, 1483, 1949, 1996, 2877, 1942, 0, 1941, 0, 0, 0, 1942, 0, 0, 0, 2877, 0, 0, 0, 0, 1537, 1936, 2877, 2877, 1543, 1935, 0, 1934, 0, 0, 0, 0, 1932, 1499, 1519, 1932, 1500, 1524, 1530, 1501, 1502, 1533, 1537, 1931, 1532, 1541, 1534, 1539, 1544, 599, 1548, 1549, 1579, 1556, 1557, 1560, 1561, 1562, 1563, 1564, 1930, 1928, 1567, 1925, 1924, 1566, 1569, 1572, 1923, 1574, 1578, 0, 0, 0, 1918, 1915, 1914, 1624, 0, 1913, 1911, 1908, 1907, 1906, 1907, 1904, 1903, 1902, 1580, 1588, 1576, 1577, 1601, 1583, 1602, 1589, 1604, 1603, 1636, 1900, 1609, 1897, 1610, 1614, 1617, 1622, 1618, 1623, 1896, 1624, 1895, 1893, 1886, 1626, 1884, 1883, 1877, 1876, 1875, 1873, 1856, 1847, 1846, 1843, 1836, 1833, 1826, 1824, 1628, 1826, 1629, 1630, 1631, 1632, 1635, 1637, 1805, 1639, 1667, 1642, 1804, 1643, 1653, 1658, 1651, 1652, 1659, 1662, 1800, 1793, 1791, 1790, 1748, 1745, 1744, 1742, 1741, 1737, 1735, 1733, 1732, 1734, 1663, 1664, 1666, 1672, 1673, 1674, 1675, 1731, 1689, 1676, 1644, 1522, 1680, 1685, 1686, 1687, 1500, 1411, 1363, 1362, 1260, 1219, 1218, 1047, 1690, 1688, 1046, 1700, 1695, 1701, 924, 1704, 1708, 1709, 839, 794, 759, 702, 636, 1682, 1710, 1713, 1714, 1715, 1717, 638, 536, 1719, 488, 441, 1721, 1722, 408, 281, 1723, 1726, 1727, 1729, 1728, 1730, 1733, 233, 137, 2877, 1805, 1818, 1831, 1841, 1851, 1864, 1874, 1887, 1900, 1913, 1921, 1931, 1938, 1945, 1952, 1959, 1966, 1973, 1980, 1987, 1994, 2001, 2005, 2013, 2019, 2026, 2033, 2040, 2047, 2050, 2057, 2063, 2076, 2089, 2096, 2103, 2110, 2117, 2120, 2127, 2130, 2137, 2140, 2147, 2150, 2157, 2160, 2167, 2170, 2177, 2180, 2187, 2195, 2202, 2209, 2216, 2223, 2226, 2233, 2236, 2243, 2246, 2253, 2259, 2272, 2279, 2286, 2289, 2296, 2299, 2306, 2309, 2316, 2319, 2326, 2329, 2336, 2339, 2346, 2353, 2356, 2363, 2366, 2373, 2380, 2387, 2390, 2397, 2400, 2407, 2410, 2417, 2420, 2427, 2430, 2437, 2443, 2456, 2463, 2470, 2473, 2480, 2483, 2490, 2493, 2500, 2503, 2510, 2513, 2520, 2523, 2530, 2533, 2540, 2543, 2550, 2557, 2560, 2567, 2570, 2577, 2580, 2587, 2590, 2593, 2599, 2606, 2615, 2622, 2629, 2632, 2639, 2642, 2645, 2651, 2658, 2661, 2664, 2667, 2670, 2673, 2676, 2679, 2686, 2689, 2696, 2699, 2702, 2705, 2708, 2718, 2725, 2728, 2731, 2734, 2741, 2748, 2755, 2758, 2765, 2772, 2779, 2786, 2793, 2800, 2807, 2814, 2821, 2828, 2835, 2842, 2849, 2856, 2863 } ; static yyconst flex_int16_t yy_def[1083] = { 0, 908, 1, 909, 909, 908, 5, 910, 910, 911, 911, 908, 908, 908, 908, 908, 908, 908, 912, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 31, 908, 908, 908, 908, 908, 908, 913, 912, 908, 908, 908, 908, 912, 908, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 908, 908, 908, 908, 908, 914, 908, 908, 908, 915, 908, 908, 916, 908, 908, 917, 908, 908, 908, 908, 908, 908, 908, 912, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 918, 908, 908, 30, 908, 908, 908, 908, 919, 30, 908, 31, 908, 908, 31, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 920, 908, 908, 908, 908, 912, 921, 922, 908, 908, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 908, 908, 908, 914, 914, 914, 908, 914, 908, 915, 908, 923, 924, 916, 908, 908, 908, 908, 925, 926, 927, 917, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 928, 929, 908, 100, 908, 908, 908, 908, 100, 918, 908, 100, 111, 246, 908, 908, 908, 908, 908, 908, 908, 908, 930, 931, 932, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 933, 908, 934, 935, 936, 937, 938, 939, 908, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 940, 941, 942, 943, 944, 945, 946, 947, 948, 908, 908, 949, 950, 951, 952, 953, 954, 908, 908, 908, 908, 908, 955, 956, 957, 958, 908, 908, 908, 908, 908, 908, 908, 382, 908, 378, 385, 908, 908, 959, 960, 961, 908, 908, 908, 961, 908, 908, 908, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 908, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 908, 982, 983, 984, 985, 986, 986, 987, 988, 989, 990, 908, 500, 908, 908, 991, 908, 991, 908, 908, 908, 908, 908, 908, 908, 908, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 908, 908, 908, 908, 1023, 908, 612, 908, 908, 908, 616, 908, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1036, 908, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 908, 1047, 1048, 1049, 1050, 908, 703, 908, 908, 908, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 908, 1066, 1051, 1053, 1067, 1068, 1058, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1069, 1070, 1063, 1071, 1064, 1072, 1065, 1073, 1074, 1067, 1075, 1068, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1076, 1069, 1077, 1070, 1078, 1071, 1079, 1072, 1080, 1073, 1081, 1074, 1075, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1082, 1076, 1077, 1078, 1079, 1053, 1080, 1081, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1082, 1053, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 1059, 0, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908 } ; static yyconst flex_int16_t yy_nxt[2963] = { 0, 12, 13, 14, 15, 15, 15, 13, 16, 17, 12, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 36, 37, 38, 39, 18, 18, 18, 18, 18, 18, 18, 18, 40, 18, 18, 18, 18, 18, 40, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 56, 18, 57, 58, 59, 60, 61, 62, 18, 18, 63, 64, 65, 66, 67, 68, 85, 93, 86, 86, 68, 89, 90, 69, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 73, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 72, 74, 72, 72, 73, 75, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 72, 72, 72, 72, 77, 77, 80, 80, 124, 125, 91, 142, 80, 80, 88, 77, 77, 81, 82, 83, 83, 83, 81, 83, 82, 84, 84, 84, 83, 92, 94, 88, 143, 147, 99, 96, 100, 100, 100, 100, 100, 100, 256, 908, 95, 101, 86, 97, 98, 86, 102, 162, 119, 144, 78, 78, 78, 78, 145, 148, 103, 104, 88, 105, 105, 105, 105, 106, 106, 120, 88, 121, 122, 149, 267, 150, 268, 258, 264, 185, 107, 199, 652, 160, 108, 161, 151, 152, 153, 88, 109, 110, 154, 155, 163, 156, 111, 88, 157, 158, 146, 164, 107, 88, 88, 88, 159, 165, 112, 210, 88, 88, 88, 198, 88, 88, 109, 197, 88, 110, 104, 254, 113, 113, 113, 113, 113, 113, 88, 170, 178, 171, 200, 196, 88, 211, 181, 166, 234, 107, 172, 167, 182, 114, 179, 255, 168, 88, 275, 115, 169, 180, 173, 253, 88, 116, 88, 908, 88, 88, 174, 107, 175, 286, 235, 176, 252, 117, 267, 177, 268, 252, 253, 183, 276, 115, 126, 284, 184, 253, 127, 128, 88, 129, 144, 130, 131, 908, 132, 145, 133, 88, 259, 262, 186, 187, 261, 88, 253, 134, 135, 136, 194, 190, 188, 269, 267, 189, 268, 290, 260, 191, 269, 192, 260, 908, 261, 263, 193, 267, 137, 268, 261, 138, 267, 267, 268, 268, 88, 88, 88, 146, 201, 82, 83, 83, 83, 201, 204, 205, 202, 88, 261, 204, 318, 195, 270, 267, 285, 268, 139, 140, 81, 82, 83, 83, 83, 81, 309, 206, 206, 206, 206, 206, 206, 213, 214, 267, 88, 268, 213, 144, 215, 267, 271, 268, 145, 215, 83, 82, 83, 83, 83, 83, 287, 88, 216, 216, 216, 216, 83, 82, 84, 84, 84, 83, 88, 215, 245, 245, 245, 245, 245, 245, 246, 246, 246, 246, 267, 267, 268, 268, 88, 217, 288, 88, 215, 88, 88, 88, 88, 215, 215, 88, 436, 215, 215, 282, 88, 304, 88, 88, 908, 215, 283, 88, 215, 247, 215, 218, 215, 289, 219, 221, 302, 303, 88, 222, 223, 88, 321, 307, 224, 225, 312, 226, 88, 227, 88, 310, 908, 88, 313, 88, 308, 88, 228, 229, 230, 104, 88, 106, 106, 106, 106, 106, 106, 305, 306, 311, 88, 320, 314, 88, 88, 315, 88, 231, 107, 249, 232, 249, 317, 88, 250, 250, 250, 250, 250, 250, 319, 88, 328, 316, 248, 88, 327, 88, 323, 88, 107, 322, 367, 88, 368, 88, 88, 88, 233, 237, 237, 237, 237, 237, 237, 333, 326, 251, 334, 88, 88, 324, 329, 88, 336, 238, 239, 240, 325, 241, 240, 88, 342, 338, 330, 335, 144, 781, 88, 337, 88, 88, 242, 88, 331, 332, 340, 240, 239, 240, 88, 339, 241, 345, 240, 291, 292, 293, 350, 294, 295, 346, 343, 296, 88, 297, 88, 353, 341, 88, 298, 299, 300, 367, 301, 368, 367, 347, 368, 348, 88, 88, 349, 344, 201, 82, 83, 83, 83, 201, 204, 205, 202, 354, 368, 204, 204, 205, 414, 213, 214, 204, 351, 205, 213, 88, 908, 351, 367, 352, 368, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 359, 359, 359, 359, 368, 367, 908, 368, 369, 367, 367, 368, 368, 367, 370, 368, 367, 367, 368, 368, 367, 376, 368, 376, 376, 380, 267, 380, 268, 377, 380, 377, 88, 360, 378, 378, 378, 378, 378, 378, 267, 384, 268, 908, 376, 410, 376, 380, 104, 380, 246, 246, 246, 246, 380, 382, 382, 382, 382, 382, 382, 106, 106, 106, 106, 106, 106, 379, 250, 250, 250, 250, 250, 250, 88, 88, 88, 88, 107, 88, 88, 387, 415, 247, 88, 417, 88, 88, 383, 397, 399, 428, 411, 412, 259, 413, 416, 88, 457, 425, 107, 385, 385, 385, 385, 385, 385, 387, 390, 106, 106, 106, 106, 106, 106, 397, 400, 238, 249, 240, 249, 241, 240, 250, 250, 250, 250, 250, 250, 88, 88, 392, 88, 393, 386, 88, 88, 394, 429, 240, 88, 240, 259, 395, 241, 88, 240, 113, 113, 113, 113, 113, 113, 422, 88, 396, 418, 88, 423, 393, 419, 424, 88, 394, 88, 88, 420, 421, 88, 88, 426, 427, 88, 434, 88, 430, 88, 88, 435, 88, 264, 88, 432, 433, 431, 88, 441, 88, 88, 88, 442, 88, 437, 443, 438, 439, 440, 445, 444, 88, 88, 88, 88, 88, 449, 446, 450, 447, 451, 448, 88, 88, 88, 88, 88, 452, 88, 459, 88, 88, 88, 454, 88, 88, 88, 456, 88, 88, 458, 455, 88, 461, 453, 466, 88, 460, 88, 88, 144, 88, 465, 462, 464, 463, 88, 88, 88, 471, 467, 88, 468, 88, 469, 473, 470, 88, 472, 474, 475, 476, 477, 478, 88, 351, 205, 205, 88, 479, 351, 88, 352, 203, 215, 215, 215, 215, 359, 359, 359, 359, 528, 367, 88, 368, 367, 531, 368, 378, 378, 378, 378, 378, 378, 377, 505, 377, 88, 513, 378, 378, 378, 378, 378, 378, 506, 489, 500, 500, 500, 500, 500, 500, 237, 237, 237, 237, 237, 237, 535, 88, 505, 514, 238, 88, 240, 88, 241, 240, 246, 246, 246, 246, 106, 106, 508, 529, 533, 505, 530, 501, 509, 509, 88, 88, 240, 381, 240, 507, 88, 241, 675, 240, 382, 382, 382, 382, 382, 382, 390, 508, 88, 384, 88, 505, 538, 539, 509, 509, 238, 239, 240, 532, 241, 240, 385, 385, 385, 385, 385, 385, 88, 392, 543, 393, 88, 383, 548, 394, 908, 908, 240, 239, 240, 395, 510, 241, 510, 240, 88, 511, 511, 511, 511, 511, 511, 396, 88, 386, 88, 393, 88, 537, 392, 394, 393, 534, 88, 536, 394, 88, 88, 88, 88, 540, 515, 545, 88, 88, 88, 88, 550, 88, 512, 88, 544, 88, 396, 541, 542, 88, 393, 546, 553, 549, 394, 554, 551, 88, 547, 88, 552, 556, 555, 88, 88, 559, 88, 88, 88, 88, 557, 88, 558, 561, 88, 88, 88, 88, 560, 88, 88, 562, 88, 88, 565, 569, 88, 563, 88, 567, 564, 88, 573, 566, 570, 568, 88, 88, 88, 88, 88, 574, 571, 88, 572, 578, 575, 581, 576, 88, 582, 580, 88, 577, 88, 579, 88, 88, 88, 205, 88, 585, 586, 88, 583, 593, 592, 505, 589, 591, 615, 584, 587, 588, 215, 215, 215, 215, 88, 88, 590, 500, 500, 500, 500, 500, 500, 382, 382, 382, 382, 382, 382, 505, 636, 634, 615, 238, 88, 240, 88, 241, 240, 385, 385, 385, 385, 385, 385, 908, 883, 635, 505, 638, 501, 88, 88, 505, 88, 240, 502, 240, 506, 611, 241, 611, 240, 614, 612, 612, 612, 612, 612, 612, 88, 637, 503, 647, 505, 641, 639, 88, 88, 505, 511, 511, 511, 511, 511, 511, 510, 908, 510, 642, 640, 511, 511, 511, 511, 511, 511, 613, 616, 616, 616, 616, 616, 616, 88, 88, 88, 643, 88, 88, 88, 88, 88, 88, 617, 649, 618, 88, 619, 618, 648, 645, 651, 650, 88, 644, 653, 646, 88, 88, 88, 620, 88, 656, 657, 654, 618, 88, 618, 659, 658, 619, 88, 618, 88, 655, 88, 88, 88, 660, 88, 88, 661, 663, 88, 88, 664, 662, 88, 88, 669, 88, 666, 88, 88, 665, 667, 670, 671, 668, 88, 88, 88, 88, 88, 88, 673, 88, 677, 88, 676, 674, 680, 672, 681, 679, 88, 682, 88, 908, 908, 683, 684, 88, 678, 500, 500, 500, 500, 500, 500, 612, 612, 612, 612, 612, 612, 611, 685, 611, 721, 88, 612, 612, 612, 612, 612, 612, 616, 616, 616, 616, 616, 616, 720, 705, 705, 88, 610, 703, 703, 703, 703, 703, 703, 705, 88, 706, 908, 706, 88, 716, 706, 88, 725, 617, 88, 618, 705, 619, 618, 620, 719, 718, 717, 88, 88, 88, 705, 706, 88, 706, 704, 722, 723, 88, 706, 618, 724, 618, 88, 729, 619, 726, 618, 88, 88, 728, 727, 88, 88, 88, 735, 733, 88, 88, 88, 88, 88, 88, 88, 88, 88, 731, 88, 738, 88, 730, 734, 736, 741, 732, 88, 744, 88, 737, 739, 88, 88, 740, 88, 88, 742, 748, 743, 749, 745, 746, 88, 747, 750, 88, 753, 88, 88, 88, 88, 882, 751, 773, 752, 703, 703, 703, 703, 703, 703, 616, 616, 616, 616, 616, 616, 88, 767, 772, 88, 617, 88, 618, 769, 619, 618, 768, 88, 770, 88, 88, 88, 771, 774, 88, 776, 88, 704, 88, 779, 778, 88, 618, 707, 618, 88, 88, 619, 782, 618, 784, 777, 775, 88, 88, 783, 785, 88, 88, 88, 88, 88, 780, 88, 88, 787, 88, 786, 788, 88, 791, 88, 789, 88, 88, 88, 88, 88, 813, 797, 88, 790, 792, 794, 798, 88, 88, 793, 795, 814, 796, 703, 703, 703, 703, 703, 703, 811, 88, 88, 88, 88, 812, 816, 819, 821, 88, 88, 815, 822, 823, 88, 818, 820, 88, 88, 817, 825, 824, 88, 88, 88, 826, 88, 760, 88, 88, 88, 88, 88, 827, 847, 88, 88, 88, 849, 88, 850, 852, 88, 88, 88, 853, 828, 829, 846, 830, 845, 88, 88, 88, 848, 844, 855, 851, 88, 88, 857, 856, 88, 88, 88, 854, 88, 88, 858, 871, 859, 870, 88, 88, 88, 88, 88, 875, 860, 877, 88, 872, 88, 878, 869, 88, 88, 88, 88, 88, 88, 873, 876, 885, 879, 88, 881, 874, 880, 884, 88, 88, 892, 886, 88, 887, 888, 889, 88, 88, 88, 890, 891, 88, 88, 88, 894, 88, 896, 88, 897, 88, 88, 88, 895, 893, 88, 88, 88, 88, 88, 88, 901, 88, 88, 908, 908, 900, 868, 902, 908, 898, 899, 907, 867, 908, 905, 865, 908, 903, 904, 864, 906, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 87, 908, 863, 87, 908, 87, 87, 87, 87, 87, 141, 862, 88, 88, 141, 141, 141, 141, 141, 141, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 208, 88, 908, 208, 843, 208, 208, 208, 208, 208, 212, 908, 212, 212, 842, 212, 212, 212, 212, 212, 212, 840, 212, 220, 908, 838, 220, 220, 220, 220, 220, 220, 220, 220, 908, 220, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 257, 257, 836, 257, 908, 834, 832, 257, 273, 88, 88, 273, 88, 273, 273, 273, 273, 273, 277, 88, 277, 88, 88, 88, 277, 279, 88, 279, 88, 88, 88, 279, 355, 88, 355, 908, 810, 808, 355, 357, 908, 357, 908, 805, 803, 357, 361, 801, 361, 88, 88, 88, 361, 363, 88, 363, 88, 88, 88, 363, 365, 766, 365, 763, 762, 760, 365, 372, 209, 372, 756, 755, 687, 372, 374, 88, 374, 88, 88, 88, 374, 389, 88, 389, 391, 391, 88, 391, 391, 391, 88, 391, 257, 257, 88, 257, 273, 88, 88, 273, 88, 273, 273, 273, 273, 273, 401, 88, 401, 88, 88, 88, 401, 403, 88, 403, 714, 713, 711, 403, 405, 709, 405, 707, 614, 702, 405, 277, 701, 277, 407, 699, 407, 697, 695, 693, 407, 279, 691, 279, 87, 689, 687, 87, 88, 87, 87, 87, 87, 87, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 481, 88, 481, 88, 88, 88, 481, 483, 88, 483, 88, 88, 88, 483, 485, 88, 485, 88, 88, 88, 485, 355, 633, 355, 487, 631, 487, 629, 627, 625, 487, 357, 623, 357, 490, 515, 490, 621, 621, 610, 490, 361, 609, 361, 492, 607, 492, 495, 495, 605, 492, 363, 603, 363, 494, 601, 494, 599, 597, 595, 494, 365, 88, 365, 496, 88, 496, 88, 88, 88, 496, 372, 88, 372, 498, 88, 498, 88, 527, 525, 498, 374, 523, 374, 504, 521, 504, 519, 504, 517, 504, 389, 503, 389, 502, 389, 499, 389, 391, 391, 497, 391, 391, 391, 368, 391, 516, 368, 516, 495, 493, 491, 516, 518, 488, 518, 486, 484, 482, 518, 520, 88, 520, 88, 88, 409, 520, 401, 408, 401, 522, 406, 522, 404, 402, 274, 522, 403, 269, 403, 524, 268, 524, 398, 398, 256, 524, 405, 388, 405, 526, 388, 526, 244, 381, 375, 526, 407, 373, 407, 87, 371, 367, 87, 366, 87, 87, 87, 87, 87, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, 594, 364, 594, 362, 358, 356, 594, 481, 209, 481, 596, 205, 596, 88, 281, 280, 596, 483, 278, 483, 598, 274, 598, 269, 272, 269, 598, 485, 267, 485, 600, 266, 600, 265, 244, 236, 600, 487, 86, 487, 602, 86, 602, 88, 209, 207, 602, 490, 86, 490, 604, 123, 604, 118, 88, 908, 604, 492, 71, 492, 494, 71, 494, 908, 908, 908, 494, 606, 908, 606, 908, 908, 908, 606, 496, 908, 496, 608, 908, 608, 908, 908, 908, 608, 498, 908, 498, 504, 908, 504, 908, 504, 908, 504, 391, 908, 391, 908, 908, 908, 391, 622, 908, 622, 908, 908, 908, 622, 516, 908, 516, 624, 908, 624, 908, 908, 908, 624, 518, 908, 518, 626, 908, 626, 908, 908, 908, 626, 520, 908, 520, 628, 908, 628, 908, 908, 908, 628, 522, 908, 522, 630, 908, 630, 908, 908, 908, 630, 524, 908, 524, 632, 908, 632, 908, 908, 908, 632, 526, 908, 526, 87, 908, 908, 87, 908, 87, 87, 87, 87, 87, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 688, 908, 688, 908, 908, 908, 688, 594, 908, 594, 690, 908, 690, 908, 908, 908, 690, 596, 908, 596, 692, 908, 692, 908, 908, 908, 692, 598, 908, 598, 694, 908, 694, 908, 908, 908, 694, 600, 908, 600, 696, 908, 696, 908, 908, 908, 696, 602, 908, 602, 698, 908, 698, 908, 908, 908, 698, 604, 908, 604, 700, 908, 700, 908, 908, 908, 700, 606, 908, 606, 87, 908, 87, 908, 908, 908, 87, 608, 908, 608, 504, 908, 504, 908, 908, 908, 504, 708, 908, 708, 908, 908, 908, 708, 622, 908, 622, 710, 908, 710, 908, 908, 908, 710, 624, 908, 624, 712, 908, 712, 908, 908, 908, 712, 626, 908, 626, 141, 908, 141, 908, 908, 908, 141, 628, 908, 628, 715, 908, 715, 630, 908, 630, 87, 908, 908, 87, 908, 87, 87, 87, 87, 87, 632, 908, 632, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, 754, 908, 754, 908, 908, 908, 754, 688, 908, 688, 208, 908, 208, 908, 908, 908, 208, 690, 908, 690, 757, 908, 757, 692, 908, 692, 208, 908, 908, 208, 908, 208, 208, 208, 208, 208, 694, 908, 694, 758, 908, 758, 696, 908, 696, 698, 908, 698, 759, 908, 759, 700, 908, 700, 87, 908, 87, 761, 908, 761, 908, 908, 908, 761, 708, 908, 708, 273, 908, 273, 908, 908, 908, 273, 710, 908, 710, 764, 908, 764, 712, 908, 712, 141, 908, 141, 765, 908, 765, 908, 908, 908, 765, 87, 908, 908, 87, 908, 87, 87, 87, 87, 87, 799, 908, 799, 754, 908, 754, 208, 908, 208, 800, 908, 800, 908, 908, 908, 800, 802, 908, 802, 908, 908, 908, 802, 804, 908, 804, 908, 908, 908, 804, 806, 908, 806, 807, 908, 807, 908, 908, 908, 807, 809, 908, 809, 908, 908, 908, 809, 831, 908, 831, 908, 908, 908, 831, 833, 908, 833, 908, 908, 908, 833, 835, 908, 835, 908, 908, 908, 835, 837, 908, 837, 908, 908, 908, 837, 839, 908, 839, 908, 908, 908, 839, 841, 908, 841, 908, 908, 908, 841, 632, 908, 632, 908, 908, 908, 632, 861, 908, 861, 908, 908, 908, 861, 694, 908, 694, 908, 908, 908, 694, 698, 908, 698, 908, 908, 908, 698, 87, 908, 87, 908, 908, 908, 87, 866, 908, 866, 908, 908, 908, 866, 141, 908, 141, 908, 908, 908, 141, 208, 908, 208, 908, 908, 908, 208, 11, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908 } ; static yyconst flex_int16_t yy_chk[2963] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 39, 9, 10, 907, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 48, 39, 42, 28, 27, 28, 28, 28, 28, 28, 28, 110, 116, 25, 29, 25, 27, 27, 27, 29, 48, 35, 40, 7, 8, 9, 10, 40, 42, 29, 30, 47, 30, 30, 30, 30, 30, 30, 35, 57, 35, 35, 44, 127, 44, 127, 110, 116, 57, 30, 65, 547, 47, 30, 47, 45, 45, 45, 49, 30, 30, 45, 45, 49, 45, 30, 40, 45, 45, 40, 49, 30, 45, 63, 62, 45, 49, 30, 74, 906, 547, 53, 63, 51, 61, 30, 62, 55, 30, 31, 109, 31, 31, 31, 31, 31, 31, 50, 51, 53, 51, 65, 61, 54, 74, 55, 50, 88, 31, 51, 50, 55, 31, 54, 109, 50, 52, 143, 31, 50, 54, 52, 112, 154, 31, 56, 111, 898, 152, 52, 31, 52, 154, 88, 52, 108, 31, 128, 52, 128, 112, 108, 56, 143, 31, 38, 152, 56, 112, 38, 38, 58, 38, 60, 38, 38, 111, 38, 60, 38, 59, 111, 115, 58, 58, 117, 158, 108, 38, 38, 38, 60, 59, 58, 131, 130, 58, 130, 158, 114, 59, 132, 59, 117, 111, 114, 115, 59, 131, 38, 131, 117, 38, 132, 133, 132, 133, 60, 173, 153, 60, 68, 68, 68, 68, 68, 68, 69, 69, 68, 165, 114, 69, 173, 60, 134, 134, 153, 134, 38, 38, 81, 81, 81, 81, 81, 81, 165, 69, 69, 69, 69, 69, 69, 78, 78, 135, 155, 135, 78, 146, 78, 136, 136, 136, 146, 78, 83, 83, 83, 83, 83, 83, 155, 897, 78, 78, 78, 78, 84, 84, 84, 84, 84, 84, 156, 78, 104, 104, 104, 104, 104, 104, 105, 105, 105, 105, 138, 140, 138, 140, 151, 78, 156, 146, 78, 306, 894, 157, 162, 78, 78, 161, 306, 78, 78, 151, 160, 162, 176, 168, 105, 78, 151, 169, 78, 105, 78, 78, 78, 157, 78, 86, 160, 161, 164, 86, 86, 166, 176, 164, 86, 86, 168, 86, 163, 86, 167, 166, 105, 170, 169, 175, 164, 893, 86, 86, 86, 106, 172, 106, 106, 106, 106, 106, 106, 163, 163, 167, 171, 175, 170, 174, 177, 171, 178, 86, 106, 107, 86, 107, 172, 183, 107, 107, 107, 107, 107, 107, 174, 182, 183, 171, 106, 184, 182, 186, 178, 181, 106, 177, 222, 891, 222, 192, 180, 187, 86, 100, 100, 100, 100, 100, 100, 186, 181, 107, 187, 188, 189, 180, 184, 185, 188, 100, 100, 100, 180, 100, 100, 190, 192, 189, 185, 187, 194, 732, 198, 188, 195, 191, 100, 193, 185, 185, 191, 100, 100, 100, 159, 190, 100, 195, 100, 159, 159, 159, 198, 159, 159, 195, 193, 159, 196, 159, 732, 209, 191, 197, 159, 159, 159, 223, 159, 223, 224, 196, 224, 196, 194, 286, 197, 194, 201, 201, 201, 201, 201, 201, 202, 202, 201, 209, 225, 202, 204, 204, 286, 213, 213, 204, 206, 206, 213, 890, 883, 206, 225, 206, 225, 202, 202, 202, 202, 202, 202, 204, 204, 204, 204, 204, 204, 206, 206, 206, 206, 206, 206, 216, 216, 216, 216, 226, 227, 247, 227, 228, 228, 229, 228, 229, 230, 230, 230, 226, 232, 226, 232, 233, 240, 233, 238, 238, 241, 270, 241, 270, 239, 241, 239, 282, 216, 239, 239, 239, 239, 239, 239, 271, 247, 271, 882, 240, 282, 238, 241, 246, 241, 246, 246, 246, 246, 241, 245, 245, 245, 245, 245, 245, 248, 248, 248, 248, 248, 248, 239, 249, 249, 249, 249, 249, 249, 283, 284, 288, 287, 248, 285, 289, 252, 287, 246, 295, 289, 297, 326, 245, 260, 274, 297, 283, 284, 248, 285, 288, 881, 326, 295, 248, 250, 250, 250, 250, 250, 250, 252, 257, 259, 259, 259, 259, 259, 259, 260, 274, 250, 251, 250, 251, 250, 250, 251, 251, 251, 251, 251, 251, 298, 292, 257, 880, 257, 250, 294, 290, 257, 298, 250, 293, 250, 259, 257, 250, 291, 250, 264, 264, 264, 264, 264, 264, 292, 296, 257, 290, 300, 293, 257, 291, 294, 299, 257, 301, 303, 291, 291, 304, 305, 296, 296, 307, 304, 309, 299, 308, 879, 305, 313, 264, 310, 301, 303, 300, 311, 310, 312, 314, 318, 311, 316, 307, 312, 308, 309, 309, 314, 313, 315, 317, 319, 322, 320, 318, 315, 319, 316, 320, 317, 321, 323, 324, 327, 328, 321, 329, 328, 330, 331, 332, 322, 333, 334, 335, 324, 336, 337, 327, 323, 338, 330, 321, 335, 340, 329, 339, 342, 344, 345, 334, 331, 333, 332, 343, 346, 349, 340, 336, 350, 337, 347, 338, 343, 339, 348, 342, 345, 346, 347, 348, 349, 875, 351, 351, 352, 413, 350, 351, 410, 351, 352, 359, 359, 359, 359, 360, 360, 360, 360, 410, 369, 344, 369, 370, 413, 370, 377, 377, 377, 377, 377, 377, 379, 389, 379, 417, 394, 379, 379, 379, 379, 379, 379, 389, 359, 378, 378, 378, 378, 378, 378, 381, 381, 381, 381, 381, 381, 417, 411, 389, 394, 378, 412, 378, 415, 378, 378, 384, 384, 384, 384, 384, 384, 392, 411, 415, 390, 412, 378, 392, 396, 578, 421, 378, 381, 378, 390, 420, 378, 578, 378, 382, 382, 382, 382, 382, 382, 391, 396, 424, 384, 414, 390, 420, 421, 392, 396, 382, 382, 382, 414, 382, 382, 385, 385, 385, 385, 385, 385, 428, 391, 424, 391, 871, 382, 428, 391, 868, 395, 382, 382, 382, 391, 393, 382, 393, 382, 419, 393, 393, 393, 393, 393, 393, 391, 416, 385, 418, 391, 422, 419, 395, 391, 395, 416, 425, 418, 395, 430, 426, 423, 429, 422, 395, 426, 427, 431, 434, 439, 430, 438, 393, 436, 425, 432, 395, 423, 423, 441, 395, 427, 434, 429, 395, 436, 431, 440, 427, 442, 432, 439, 438, 443, 444, 442, 446, 448, 449, 450, 440, 451, 441, 444, 452, 453, 454, 456, 443, 458, 461, 446, 459, 460, 450, 454, 462, 448, 463, 452, 449, 464, 460, 451, 456, 453, 465, 466, 467, 470, 468, 461, 458, 469, 459, 465, 462, 468, 463, 471, 469, 467, 472, 464, 473, 466, 474, 475, 477, 480, 478, 472, 473, 479, 470, 480, 479, 507, 475, 478, 508, 471, 473, 474, 489, 489, 489, 489, 528, 531, 477, 500, 500, 500, 500, 500, 500, 502, 502, 502, 502, 502, 502, 507, 531, 528, 508, 500, 529, 500, 533, 500, 500, 503, 503, 503, 503, 503, 503, 867, 866, 529, 504, 533, 500, 532, 542, 506, 534, 500, 502, 500, 504, 505, 500, 505, 500, 506, 505, 505, 505, 505, 505, 505, 536, 532, 503, 542, 504, 536, 534, 535, 537, 506, 510, 510, 510, 510, 510, 510, 512, 865, 512, 537, 535, 512, 512, 512, 512, 512, 512, 505, 511, 511, 511, 511, 511, 511, 538, 539, 540, 538, 541, 546, 544, 543, 545, 549, 511, 544, 511, 548, 511, 511, 543, 540, 546, 545, 551, 539, 548, 541, 550, 552, 555, 511, 557, 551, 552, 549, 511, 558, 511, 555, 554, 511, 559, 511, 560, 550, 554, 562, 563, 557, 564, 565, 558, 560, 567, 568, 562, 559, 570, 571, 568, 574, 564, 575, 576, 563, 565, 570, 571, 567, 579, 580, 581, 582, 589, 586, 575, 587, 580, 590, 579, 576, 583, 574, 586, 582, 592, 587, 583, 864, 863, 589, 590, 638, 581, 610, 610, 610, 610, 610, 610, 611, 611, 611, 611, 611, 611, 613, 592, 613, 638, 637, 613, 613, 613, 613, 613, 613, 616, 616, 616, 616, 616, 616, 637, 617, 617, 642, 610, 612, 612, 612, 612, 612, 612, 618, 634, 619, 862, 619, 639, 634, 619, 636, 642, 612, 635, 612, 617, 612, 612, 616, 636, 635, 634, 645, 646, 640, 618, 619, 641, 619, 612, 639, 640, 644, 619, 612, 641, 612, 643, 646, 612, 643, 612, 647, 648, 645, 644, 649, 650, 651, 652, 650, 653, 654, 655, 657, 656, 660, 667, 658, 661, 648, 662, 655, 666, 647, 651, 653, 658, 649, 669, 662, 672, 654, 656, 684, 673, 657, 652, 680, 660, 672, 661, 673, 666, 667, 681, 669, 680, 683, 684, 716, 719, 722, 723, 861, 681, 723, 683, 703, 703, 703, 703, 703, 703, 707, 707, 707, 707, 707, 707, 717, 716, 722, 856, 703, 720, 703, 719, 703, 703, 717, 721, 720, 727, 724, 729, 721, 724, 725, 727, 730, 703, 728, 730, 729, 731, 703, 707, 703, 733, 734, 703, 733, 703, 735, 728, 725, 736, 737, 734, 736, 738, 739, 740, 741, 742, 731, 748, 745, 738, 749, 737, 739, 750, 742, 752, 740, 773, 774, 753, 735, 771, 773, 752, 776, 741, 745, 748, 753, 772, 778, 745, 749, 774, 750, 760, 760, 760, 760, 760, 760, 771, 775, 777, 780, 779, 772, 776, 779, 781, 783, 785, 775, 783, 785, 786, 778, 780, 787, 789, 777, 787, 786, 788, 790, 792, 788, 796, 760, 811, 813, 814, 815, 816, 789, 815, 817, 781, 818, 817, 820, 818, 821, 822, 824, 855, 822, 790, 792, 814, 796, 813, 827, 828, 825, 816, 811, 825, 820, 826, 829, 827, 826, 830, 845, 846, 824, 847, 821, 828, 847, 829, 846, 848, 849, 850, 851, 854, 850, 830, 854, 857, 848, 884, 857, 845, 858, 859, 860, 870, 853, 869, 849, 851, 870, 858, 873, 860, 849, 859, 869, 872, 874, 884, 872, 876, 873, 874, 876, 877, 878, 885, 877, 878, 886, 887, 888, 886, 889, 888, 892, 889, 895, 896, 899, 887, 885, 900, 901, 903, 902, 904, 852, 899, 905, 844, 843, 842, 896, 841, 900, 840, 892, 895, 905, 839, 838, 903, 837, 836, 901, 902, 835, 904, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 912, 834, 833, 912, 832, 912, 912, 912, 912, 912, 913, 831, 823, 819, 913, 913, 913, 913, 913, 913, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 915, 812, 810, 915, 809, 915, 915, 915, 915, 915, 916, 808, 916, 916, 807, 916, 916, 916, 916, 916, 916, 806, 916, 917, 805, 804, 917, 917, 917, 917, 917, 917, 917, 917, 803, 917, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 919, 919, 802, 919, 801, 800, 799, 919, 920, 798, 797, 920, 795, 920, 920, 920, 920, 920, 921, 794, 921, 793, 791, 784, 921, 922, 782, 922, 770, 769, 768, 922, 923, 767, 923, 766, 765, 764, 923, 924, 763, 924, 762, 759, 758, 924, 925, 757, 925, 751, 747, 746, 925, 926, 744, 926, 743, 726, 718, 926, 927, 715, 927, 710, 708, 704, 927, 928, 694, 928, 690, 688, 686, 928, 929, 685, 929, 682, 679, 678, 929, 930, 677, 930, 931, 931, 676, 931, 931, 931, 675, 931, 932, 932, 674, 932, 933, 671, 670, 933, 668, 933, 933, 933, 933, 933, 934, 665, 934, 664, 663, 659, 934, 935, 632, 935, 628, 626, 624, 935, 936, 622, 936, 620, 614, 608, 936, 937, 606, 937, 938, 604, 938, 602, 600, 598, 938, 939, 596, 939, 940, 594, 593, 940, 591, 940, 940, 940, 940, 940, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 943, 588, 943, 585, 584, 577, 943, 944, 573, 944, 572, 569, 566, 944, 945, 561, 945, 556, 553, 530, 945, 946, 526, 946, 947, 524, 947, 522, 520, 518, 947, 948, 516, 948, 949, 515, 949, 514, 513, 501, 949, 950, 498, 950, 951, 496, 951, 495, 494, 492, 951, 952, 490, 952, 953, 487, 953, 485, 483, 481, 953, 954, 476, 954, 955, 457, 955, 455, 447, 445, 955, 956, 437, 956, 957, 435, 957, 433, 407, 405, 957, 958, 403, 958, 959, 401, 959, 400, 959, 399, 959, 960, 386, 960, 383, 960, 374, 960, 961, 961, 372, 961, 961, 961, 371, 961, 962, 367, 962, 365, 363, 361, 962, 963, 357, 963, 355, 354, 353, 963, 964, 341, 964, 325, 302, 281, 964, 965, 279, 965, 966, 277, 966, 276, 275, 273, 966, 967, 272, 967, 968, 267, 968, 263, 262, 258, 968, 969, 255, 969, 970, 254, 970, 243, 242, 235, 970, 971, 234, 971, 972, 231, 221, 972, 219, 972, 972, 972, 972, 972, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, 974, 218, 974, 217, 211, 210, 974, 975, 208, 975, 976, 203, 976, 179, 150, 148, 976, 977, 147, 977, 978, 141, 978, 139, 137, 129, 978, 979, 126, 979, 980, 125, 980, 121, 102, 99, 980, 981, 96, 981, 982, 94, 982, 87, 73, 71, 982, 983, 67, 983, 984, 36, 984, 33, 18, 11, 984, 985, 4, 985, 986, 3, 986, 0, 0, 0, 986, 987, 0, 987, 0, 0, 0, 987, 988, 0, 988, 989, 0, 989, 0, 0, 0, 989, 990, 0, 990, 991, 0, 991, 0, 991, 0, 991, 992, 0, 992, 0, 0, 0, 992, 993, 0, 993, 0, 0, 0, 993, 994, 0, 994, 995, 0, 995, 0, 0, 0, 995, 996, 0, 996, 997, 0, 997, 0, 0, 0, 997, 998, 0, 998, 999, 0, 999, 0, 0, 0, 999, 1000, 0, 1000, 1001, 0, 1001, 0, 0, 0, 1001, 1002, 0, 1002, 1003, 0, 1003, 0, 0, 0, 1003, 1004, 0, 1004, 1005, 0, 0, 1005, 0, 1005, 1005, 1005, 1005, 1005, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1007, 0, 1007, 0, 0, 0, 1007, 1008, 0, 1008, 1009, 0, 1009, 0, 0, 0, 1009, 1010, 0, 1010, 1011, 0, 1011, 0, 0, 0, 1011, 1012, 0, 1012, 1013, 0, 1013, 0, 0, 0, 1013, 1014, 0, 1014, 1015, 0, 1015, 0, 0, 0, 1015, 1016, 0, 1016, 1017, 0, 1017, 0, 0, 0, 1017, 1018, 0, 1018, 1019, 0, 1019, 0, 0, 0, 1019, 1020, 0, 1020, 1021, 0, 1021, 0, 0, 0, 1021, 1022, 0, 1022, 1023, 0, 1023, 0, 0, 0, 1023, 1024, 0, 1024, 0, 0, 0, 1024, 1025, 0, 1025, 1026, 0, 1026, 0, 0, 0, 1026, 1027, 0, 1027, 1028, 0, 1028, 0, 0, 0, 1028, 1029, 0, 1029, 1030, 0, 1030, 0, 0, 0, 1030, 1031, 0, 1031, 1032, 0, 1032, 1033, 0, 1033, 1034, 0, 0, 1034, 0, 1034, 1034, 1034, 1034, 1034, 1035, 0, 1035, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1037, 0, 1037, 0, 0, 0, 1037, 1038, 0, 1038, 1039, 0, 1039, 0, 0, 0, 1039, 1040, 0, 1040, 1041, 0, 1041, 1042, 0, 1042, 1043, 0, 0, 1043, 0, 1043, 1043, 1043, 1043, 1043, 1044, 0, 1044, 1045, 0, 1045, 1046, 0, 1046, 1047, 0, 1047, 1048, 0, 1048, 1049, 0, 1049, 1050, 0, 1050, 1051, 0, 1051, 0, 0, 0, 1051, 1052, 0, 1052, 1053, 0, 1053, 0, 0, 0, 1053, 1054, 0, 1054, 1055, 0, 1055, 1056, 0, 1056, 1057, 0, 1057, 1058, 0, 1058, 0, 0, 0, 1058, 1059, 0, 0, 1059, 0, 1059, 1059, 1059, 1059, 1059, 1060, 0, 1060, 1061, 0, 1061, 1062, 0, 1062, 1063, 0, 1063, 0, 0, 0, 1063, 1064, 0, 1064, 0, 0, 0, 1064, 1065, 0, 1065, 0, 0, 0, 1065, 1066, 0, 1066, 1067, 0, 1067, 0, 0, 0, 1067, 1068, 0, 1068, 0, 0, 0, 1068, 1069, 0, 1069, 0, 0, 0, 1069, 1070, 0, 1070, 0, 0, 0, 1070, 1071, 0, 1071, 0, 0, 0, 1071, 1072, 0, 1072, 0, 0, 0, 1072, 1073, 0, 1073, 0, 0, 0, 1073, 1074, 0, 1074, 0, 0, 0, 1074, 1075, 0, 1075, 0, 0, 0, 1075, 1076, 0, 1076, 0, 0, 0, 1076, 1077, 0, 1077, 0, 0, 0, 1077, 1078, 0, 1078, 0, 0, 0, 1078, 1079, 0, 1079, 0, 0, 0, 1079, 1080, 0, 1080, 0, 0, 0, 1080, 1081, 0, 1081, 0, 0, 0, 1081, 1082, 0, 1082, 0, 0, 0, 1082, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908, 908 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[187] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.ll" /* * Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo * * The contents of this file are covered under the licence agreement in the * file "LICENCE" distributed with Cforall. * * lex.l -- * * Author : Peter A. Buhr * Created On : Sat Sep 22 08:58:10 2001 * Last Modified By : Peter A. Buhr * Last Modified On : Tue Nov 29 11:32:00 2016 * Update Count : 501 */ #line 20 "lex.ll" // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been // performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g., // line-number directives) and C/C++ style comments, which are ignored. //**************************** Includes and Defines **************************** #include #include // FILENAME_MAX #include "lex.h" #include "parser.h" // YACC generated definitions based on C++ grammar #include "ParseNode.h" #include "TypedefTable.h" char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define RETURN_LOCN(x) yylval.tok.loc.file = yyfilename; yylval.tok.loc.line = yylineno; return( x ) #define RETURN_VAL(x) yylval.tok.str = new std::string( yytext ); RETURN_LOCN( x ) #define RETURN_CHAR(x) yylval.tok.str = nullptr; RETURN_LOCN( x ) #define RETURN_STR(x) yylval.tok.str = strtext; RETURN_LOCN( x ) #define WHITE_RETURN(x) // do nothing #define NEWLINE_RETURN() WHITE_RETURN( '\n' ) #define ASCIIOP_RETURN() RETURN_CHAR( (int)yytext[0] ) // single character operator #define NAMEDOP_RETURN(x) RETURN_CHAR( x ) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL( x ) // numeric constant #define KEYWORD_RETURN(x) RETURN_CHAR( x ) // keyword #define IDENTIFIER_RETURN() RETURN_VAL( typedefTable.isKind( yytext ) ) #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) void rm_underscore() { // Remove underscores in numeric constant by copying the non-underscore characters to the front of the string. yyleng = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[yyleng] = yytext[i]; yyleng += 1; } // if } // for yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // GCC: D (double), DL (long double) and iI (imaginary) suffixes //floating_suffix "_"?([fFdD]|[lL]|[D][L])|([iI][lLfFdD])|([lLfFdD][iI])) // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // overloadable operators // op_binary_not_over "?"|"->"|"."|"&&"|"||"|"@=" // operator {op_unary_pre_post}|{op_binary_over}|{op_binary_not_over} #line 1551 "Parser/lex.cc" #define INITIAL 0 #define COMMENT 1 #define BKQUOTE 2 #define QUOTE 3 #define STRING 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 138 "lex.ll" /* line directives */ #line 1746 "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 >= 909 ) 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] != 2877 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 140 "lex.ll" { /* " stop highlighting */ static char filename[FILENAME_MAX]; // temporarily store current source-file name char *end_num; char *begin_string, *end_string; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { // file name ? end_string = strchr( begin_string + 1, '"' ); // look for ending delimiter assert( end_string ); // closing quote ? length = end_string - begin_string - 1; // file-name length without quotes or sentinel assert( length < FILENAME_MAX ); // room for sentinel ? memcpy( &filename, begin_string + 1, length ); // copy file name from yytext filename[ length ] = '\0'; // terminate string with sentinel //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 162 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 165 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 166 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 167 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments (ALSO HANDLED BY CPP) */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 170 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 173 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 174 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 175 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 178 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 36: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 37: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 38: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 39: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 40: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 41: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 42: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 43: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 44: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 45: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 46: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 47: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 50: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 51: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 52: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 53: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 54: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 55: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 56: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 57: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 58: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 59: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 61: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 62: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 64: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 65: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 67: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 68: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 69: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 70: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 71: YY_RULE_SETUP #line 239 "lex.ll" { NUMERIC_RETURN(ONE_T); } // CFA YY_BREAK case 72: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(OTYPE); } // CFA YY_BREAK case 73: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 74: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 75: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 76: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 77: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 78: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 79: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 80: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 81: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 82: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 83: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 84: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 85: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 86: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 87: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 88: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TRAIT); } // CFA YY_BREAK case 91: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 92: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(TTYPE); } // CFA YY_BREAK case 93: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 94: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 95: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 96: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 97: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 98: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 99: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VALIST); } // GCC YY_BREAK case 100: YY_RULE_SETUP #line 268 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 101: YY_RULE_SETUP #line 269 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 102: YY_RULE_SETUP #line 270 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 103: YY_RULE_SETUP #line 271 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 104: YY_RULE_SETUP #line 272 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK case 105: YY_RULE_SETUP #line 273 "lex.ll" { NUMERIC_RETURN(ZERO_T); } // CFA YY_BREAK /* identifier */ case 106: YY_RULE_SETUP #line 276 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 107: YY_RULE_SETUP #line 277 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 108: YY_RULE_SETUP #line 278 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 109: YY_RULE_SETUP #line 279 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 110: YY_RULE_SETUP #line 280 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 111: YY_RULE_SETUP #line 283 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 112: YY_RULE_SETUP #line 284 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 113: YY_RULE_SETUP #line 285 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 114: YY_RULE_SETUP #line 286 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 115: YY_RULE_SETUP #line 287 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 116: YY_RULE_SETUP #line 288 "lex.ll" { NUMERIC_RETURN(REALDECIMALconstant); } // must appear before floating_constant YY_BREAK case 117: YY_RULE_SETUP #line 289 "lex.ll" { NUMERIC_RETURN(REALFRACTIONconstant); } // must appear before floating_constant YY_BREAK case 118: YY_RULE_SETUP #line 290 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 119: YY_RULE_SETUP #line 291 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 120: YY_RULE_SETUP #line 294 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string( yytext, yyleng ); } YY_BREAK case 121: YY_RULE_SETUP #line 295 "lex.ll" { strtext->append( yytext, yyleng ); } YY_BREAK case 122: /* rule 122 can match eol */ YY_RULE_SETUP #line 296 "lex.ll" { BEGIN 0; strtext->append( yytext, yyleng ); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 123: YY_RULE_SETUP #line 300 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string( yytext, yyleng ); } YY_BREAK case 124: YY_RULE_SETUP #line 301 "lex.ll" { strtext->append( yytext, yyleng ); } YY_BREAK case 125: /* rule 125 can match eol */ YY_RULE_SETUP #line 302 "lex.ll" { BEGIN 0; strtext->append( yytext, yyleng ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 126: YY_RULE_SETUP #line 306 "lex.ll" { rm_underscore(); strtext->append( yytext, yyleng ); } YY_BREAK case 127: /* rule 127 can match eol */ YY_RULE_SETUP #line 307 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 128: YY_RULE_SETUP #line 308 "lex.ll" { strtext->append( yytext, yyleng ); } // unknown escape character YY_BREAK /* punctuation */ case 129: YY_RULE_SETUP #line 311 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 130: YY_RULE_SETUP #line 312 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 131: YY_RULE_SETUP #line 313 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 314 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 133: YY_RULE_SETUP #line 315 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 134: YY_RULE_SETUP #line 316 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 135: YY_RULE_SETUP #line 317 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 136: YY_RULE_SETUP #line 318 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 137: YY_RULE_SETUP #line 319 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 138: YY_RULE_SETUP #line 320 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 139: YY_RULE_SETUP #line 321 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 140: YY_RULE_SETUP #line 324 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 141: YY_RULE_SETUP #line 325 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 142: YY_RULE_SETUP #line 326 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 143: YY_RULE_SETUP #line 327 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 144: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 146: YY_RULE_SETUP #line 332 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 147: YY_RULE_SETUP #line 333 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 148: YY_RULE_SETUP #line 334 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 149: YY_RULE_SETUP #line 335 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 150: YY_RULE_SETUP #line 336 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 151: YY_RULE_SETUP #line 337 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 152: YY_RULE_SETUP #line 338 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 153: YY_RULE_SETUP #line 339 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 154: YY_RULE_SETUP #line 340 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 155: YY_RULE_SETUP #line 341 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 156: YY_RULE_SETUP #line 342 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 157: YY_RULE_SETUP #line 343 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 158: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 159: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 160: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 161: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 162: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 163: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 164: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 165: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 166: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 167: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 168: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 169: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 170: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 171: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 172: YY_RULE_SETUP #line 359 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 173: YY_RULE_SETUP #line 360 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 174: YY_RULE_SETUP #line 361 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 175: YY_RULE_SETUP #line 362 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 176: YY_RULE_SETUP #line 363 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 177: YY_RULE_SETUP #line 364 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 178: YY_RULE_SETUP #line 365 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 179: YY_RULE_SETUP #line 367 "lex.ll" { NAMEDOP_RETURN(ATassign); } // CFA YY_BREAK /* CFA, operator identifier */ case 180: YY_RULE_SETUP #line 370 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 181: YY_RULE_SETUP #line 371 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 182: YY_RULE_SETUP #line 372 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 183: YY_RULE_SETUP #line 373 "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 184: YY_RULE_SETUP #line 400 "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 185: YY_RULE_SETUP #line 412 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 186: YY_RULE_SETUP #line 414 "lex.ll" ECHO; YY_BREAK #line 2849 "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 >= 909 ) 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 >= 909 ) 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 == 908); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) yylineno++; ; return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ /* We do not touch yylineno unless the option is enabled. */ yylineno = 1; (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 414 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //