#line 3 "Parser/lex.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires * access to the local variable yy_act. Since yyless() is a macro, it would break * existing scanners that call yyless() from OUTSIDE yylex. * One obvious solution it to make yy_act a global. I tried that, and saw * a 5% performance hit in a non-yylineno scanner, because yy_act is * normally declared as a register variable-- so it is not worth it. */ #define YY_LESS_LINENO(n) \ do { \ int yyl;\ for ( yyl = n; yyl < yyleng; ++yyl )\ if ( yytext[yyl] == '\n' )\ --yylineno;\ }while(0) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 180 #define YY_END_OF_BUFFER 181 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[883] = { 0, 0, 0, 0, 0, 0, 0, 115, 115, 118, 118, 181, 179, 7, 9, 8, 138, 117, 102, 143, 146, 114, 125, 126, 141, 139, 129, 140, 132, 142, 107, 108, 109, 130, 131, 148, 150, 149, 151, 179, 102, 123, 179, 124, 144, 102, 104, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 127, 147, 128, 145, 7, 179, 4, 4, 180, 105, 180, 106, 115, 116, 122, 118, 119, 7, 9, 0, 8, 155, 174, 102, 0, 167, 137, 160, 168, 165, 152, 163, 153, 164, 162, 0, 112, 3, 0, 166, 112, 110, 0, 0, 110, 110, 0, 0, 110, 109, 109, 109, 0, 109, 135, 136, 134, 156, 158, 154, 159, 157, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 173, 0, 117, 114, 102, 0, 0, 170, 0, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 39, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 57, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 169, 161, 7, 0, 0, 0, 2, 0, 5, 105, 0, 0, 0, 115, 0, 121, 120, 120, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 133, 112, 112, 0, 112, 112, 112, 0, 6, 112, 110, 0, 0, 0, 112, 0, 110, 110, 110, 110, 0, 111, 0, 0, 109, 109, 109, 109, 0, 171, 172, 0, 177, 175, 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 0, 0, 102, 17, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 14, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 51, 102, 102, 102, 64, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 88, 102, 102, 102, 102, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 120, 0, 0, 178, 0, 0, 0, 0, 0, 0, 0, 112, 0, 112, 0, 112, 0, 0, 112, 112, 110, 110, 0, 0, 111, 111, 0, 111, 0, 111, 109, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 21, 102, 24, 102, 27, 102, 102, 102, 102, 102, 102, 102, 42, 102, 44, 102, 102, 102, 102, 102, 102, 102, 56, 102, 67, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 89, 102, 102, 97, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 112, 112, 0, 0, 0, 0, 0, 111, 111, 0, 113, 0, 111, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 22, 102, 102, 102, 102, 102, 102, 102, 15, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 23, 25, 102, 32, 102, 102, 102, 102, 102, 41, 102, 102, 102, 102, 49, 102, 102, 54, 102, 102, 102, 102, 102, 76, 102, 102, 102, 102, 102, 86, 102, 102, 94, 102, 102, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 111, 113, 113, 113, 113, 113, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 59, 102, 102, 102, 102, 102, 102, 102, 102, 28, 102, 102, 102, 102, 40, 43, 46, 102, 102, 52, 102, 61, 68, 102, 102, 75, 77, 80, 81, 83, 84, 102, 102, 91, 102, 102, 0, 1, 0, 0, 0, 0, 0, 0, 105, 0, 0, 0, 120, 0, 0, 0, 0, 113, 113, 113, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 18, 102, 102, 102, 102, 102, 102, 102, 16, 102, 102, 102, 33, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 35, 102, 37, 38, 102, 48, 53, 102, 102, 102, 90, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 29, 55, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 60, 62, 65, 102, 102, 78, 92, 102, 102, 36, 47, 71, 72, 102, 95, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 69, 102, 102, 12, 102, 102, 30, 34, 102, 102, 102, 66, 102, 102, 102, 102, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 102, 102, 102, 102, 102, 102, 102, 50, 63, 73, 79, 93, 99, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 102, 102, 13, 19, 102, 102, 31, 102, 102, 102, 26, 87, 0, 0, 102, 102, 102, 102, 102, 102, 74, 100, 102, 85, 20, 102, 102, 45, 82, 102, 102, 102, 102, 102, 102, 102, 96, 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, 39, 41, 11, 42, 11, 11, 43, 11, 44, 11, 45, 11, 46, 47, 48, 49, 11, 11, 50, 11, 11, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 11, 66, 67, 68, 69, 70, 71, 11, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[85] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 7, 7, 1, 1, 1, 8, 1, 1, 1, 9, 9, 9, 9, 9, 4, 4, 10, 4, 11, 4, 4, 4, 10, 4, 1, 12, 1, 1, 13, 1, 9, 9, 9, 9, 9, 9, 4, 4, 4, 4, 10, 4, 4, 4, 11, 4, 4, 4, 10, 4, 4, 4, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[1057] = { 0, 0, 83, 2255, 2253, 93, 0, 175, 176, 177, 178, 2267, 2793, 189, 2793, 195, 54, 2793, 2214, 59, 171, 2793, 2793, 2793, 55, 186, 2793, 189, 187, 202, 214, 272, 0, 2232, 2793, 214, 2231, 150, 340, 153, 222, 2793, 157, 2793, 215, 224, 2793, 207, 181, 221, 249, 235, 289, 155, 255, 218, 206, 266, 256, 323, 259, 192, 2793, 223, 2793, 2226, 377, 342, 2793, 2235, 2793, 2204, 234, 2793, 0, 2793, 421, 0, 2793, 393, 2793, 399, 405, 2793, 492, 2203, 241, 2793, 2793, 2793, 2793, 2793, 2219, 2793, 2216, 2793, 2793, 2226, 552, 2793, 2243, 2793, 413, 393, 437, 493, 377, 318, 195, 430, 382, 0, 384, 321, 196, 427, 2793, 2793, 2793, 2213, 2793, 2793, 2793, 2211, 2208, 252, 302, 2221, 342, 435, 422, 381, 455, 400, 494, 2202, 440, 2152, 469, 2181, 2793, 276, 2793, 2793, 520, 2175, 2172, 2793, 2145, 414, 463, 470, 325, 254, 479, 432, 274, 480, 423, 483, 498, 492, 503, 499, 509, 341, 455, 484, 377, 510, 512, 517, 518, 529, 530, 531, 537, 2173, 541, 536, 544, 557, 546, 566, 569, 538, 552, 548, 554, 588, 571, 570, 580, 2793, 2793, 645, 651, 2220, 657, 2793, 663, 2793, 2168, 593, 2162, 2161, 0, 631, 2793, 2793, 669, 2160, 2158, 2155, 0, 2175, 629, 635, 639, 678, 677, 666, 670, 671, 674, 2172, 681, 682, 2150, 2148, 2793, 0, 597, 702, 678, 676, 2128, 2178, 2793, 693, 0, 710, 723, 743, 762, 788, 707, 2793, 2137, 2110, 0, 776, 2153, 768, 723, 2793, 2130, 2105, 809, 2793, 2793, 2136, 2793, 2793, 705, 710, 2114, 2112, 724, 2108, 2107, 2105, 0, 2102, 0, 2071, 709, 682, 707, 712, 710, 724, 647, 750, 671, 786, 751, 748, 731, 778, 787, 789, 788, 792, 790, 758, 2101, 796, 806, 800, 813, 798, 810, 802, 816, 822, 819, 815, 826, 830, 829, 831, 832, 833, 837, 839, 841, 846, 843, 2100, 848, 850, 849, 851, 852, 854, 853, 857, 855, 858, 863, 868, 2098, 867, 912, 871, 878, 872, 879, 882, 937, 939, 2092, 2089, 2088, 0, 2087, 0, 927, 931, 2085, 0, 2082, 0, 2081, 0, 2101, 2793, 913, 926, 2080, 2075, 0, 2074, 0, 2793, 942, 960, 953, 2793, 966, 981, 1005, 2073, 2793, 2793, 955, 968, 995, 968, 1028, 892, 1014, 970, 2793, 2793, 2071, 2068, 2064, 0, 2060, 0, 2058, 0, 2056, 0, 2793, 909, 944, 982, 943, 1006, 911, 1012, 923, 1013, 1019, 1009, 1016, 1023, 1024, 1020, 972, 1030, 1028, 989, 1026, 1034, 1027, 1039, 2056, 1044, 2054, 1048, 2052, 1049, 1051, 1052, 1053, 1056, 1057, 1055, 2049, 1059, 2046, 946, 1063, 1066, 1067, 1068, 1071, 1069, 2045, 1075, 2044, 1077, 1080, 1079, 1082, 1084, 1086, 1087, 1090, 1097, 1107, 1088, 1108, 1093, 1098, 2042, 1096, 1111, 1164, 2036, 0, 2033, 0, 2032, 0, 2031, 0, 1151, 2029, 0, 2026, 0, 2023, 2022, 2021, 0, 2019, 0, 1156, 2016, 1162, 1148, 1182, 1149, 1126, 1147, 2793, 1201, 1215, 1241, 2025, 2000, 2011, 2009, 0, 2006, 0, 2003, 0, 2002, 0, 2001, 0, 1999, 0, 1161, 1149, 1999, 1179, 1140, 1180, 1117, 1182, 1192, 1199, 1181, 1163, 1196, 1200, 1201, 1220, 1198, 1221, 1224, 604, 1226, 1227, 1231, 1233, 1234, 1996, 1244, 1236, 1995, 1240, 1241, 1246, 1247, 1243, 1994, 1250, 1251, 1253, 1254, 1992, 1255, 1267, 1989, 1264, 1271, 1256, 1263, 1257, 1986, 1275, 1277, 1279, 1260, 1281, 1290, 1285, 1288, 1985, 1289, 1291, 1984, 2031, 1976, 0, 1975, 0, 1974, 0, 1972, 0, 1969, 0, 1968, 0, 1967, 0, 1965, 0, 1336, 1342, 1369, 1353, 1932, 2793, 1359, 1307, 1359, 1309, 1930, 2793, 1929, 0, 1926, 0, 1923, 0, 1922, 0, 0, 0, 1924, 0, 1347, 1295, 1292, 1323, 1337, 1338, 1296, 1349, 1351, 1355, 1353, 1348, 1363, 1364, 1371, 1373, 1380, 1375, 1403, 1381, 1385, 1389, 1094, 1387, 1390, 1922, 1391, 1393, 1397, 1401, 1919, 1916, 1915, 1394, 1400, 1914, 1404, 1912, 1909, 1402, 1408, 1908, 1907, 1905, 1902, 1901, 1900, 1417, 1412, 1898, 1420, 1418, 1944, 2793, 1888, 0, 1884, 0, 0, 0, 1883, 0, 0, 0, 2793, 0, 0, 0, 0, 1463, 1864, 2793, 2793, 1469, 1863, 0, 1862, 0, 0, 0, 0, 1860, 1407, 1446, 1860, 1406, 1423, 1300, 1431, 1449, 1455, 1447, 1859, 1457, 1448, 1459, 1464, 1460, 1490, 1474, 1470, 1494, 1480, 1475, 1484, 1485, 1486, 1482, 1858, 1487, 1856, 1853, 1489, 1852, 1851, 1491, 1493, 1497, 1849, 1498, 1500, 0, 0, 0, 1843, 1842, 1841, 1548, 0, 1839, 1836, 1835, 1834, 1832, 1832, 1831, 1830, 1828, 1505, 1510, 1502, 1501, 1504, 1508, 1513, 1517, 1526, 1528, 1559, 1825, 1533, 1824, 1534, 1535, 1544, 1545, 1538, 1539, 1823, 1821, 1818, 1817, 1540, 1816, 1814, 1808, 1807, 1806, 1804, 1797, 1795, 1794, 1791, 1790, 1789, 1787, 1770, 1546, 1764, 1549, 1550, 1552, 1554, 1557, 1558, 1763, 1556, 1589, 1566, 1760, 1565, 1572, 1577, 1579, 1567, 1578, 1750, 1747, 1740, 1738, 1737, 1716, 1715, 1714, 1707, 1705, 1704, 1662, 1659, 1661, 1571, 1584, 1582, 1581, 1586, 1593, 1595, 1659, 1657, 1597, 1654, 1652, 1598, 1599, 1602, 1648, 1647, 1644, 1642, 1422, 1421, 1205, 1201, 1605, 1613, 949, 1603, 1607, 1615, 910, 1616, 1621, 1622, 768, 723, 602, 503, 1609, 1623, 1627, 1626, 1628, 1632, 373, 338, 1633, 337, 290, 1637, 1634, 251, 200, 1639, 1640, 1641, 1643, 1642, 1644, 1646, 196, 136, 2793, 1718, 1731, 1744, 1754, 1764, 1777, 1787, 1800, 1813, 1826, 1834, 1844, 1851, 1858, 1865, 1872, 1879, 1886, 1893, 1900, 1907, 1920, 1927, 1931, 1939, 1942, 1949, 1956, 1963, 1966, 1973, 1979, 1992, 2005, 2012, 2019, 2026, 2033, 2036, 2043, 2046, 2053, 2056, 2063, 2066, 2073, 2076, 2083, 2086, 2093, 2096, 2103, 2111, 2118, 2125, 2132, 2139, 2142, 2149, 2152, 2159, 2162, 2169, 2175, 2188, 2195, 2202, 2205, 2212, 2215, 2222, 2225, 2232, 2235, 2242, 2245, 2252, 2255, 2262, 2269, 2272, 2279, 2282, 2289, 2296, 2303, 2306, 2313, 2316, 2323, 2326, 2333, 2336, 2343, 2346, 2353, 2359, 2372, 2379, 2386, 2389, 2396, 2399, 2406, 2409, 2416, 2419, 2426, 2429, 2436, 2439, 2446, 2449, 2456, 2459, 2466, 2473, 2476, 2483, 2486, 2493, 2496, 2503, 2506, 2509, 2515, 2522, 2531, 2538, 2545, 2548, 2555, 2558, 2561, 2567, 2574, 2577, 2580, 2583, 2586, 2589, 2592, 2595, 2602, 2605, 2612, 2615, 2618, 2621, 2624, 2634, 2641, 2644, 2647, 2650, 2657, 2664, 2671, 2674, 2681, 2688, 2695, 2702, 2709, 2716, 2723, 2730, 2737, 2744, 2751, 2758, 2765, 2772, 2779 } ; static yyconst flex_int16_t yy_def[1057] = { 0, 882, 1, 883, 883, 882, 5, 884, 884, 885, 885, 882, 882, 882, 882, 882, 882, 882, 886, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 31, 882, 882, 882, 882, 882, 882, 887, 886, 882, 882, 882, 882, 886, 882, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 882, 882, 882, 882, 882, 888, 882, 882, 882, 889, 882, 882, 890, 882, 882, 891, 882, 882, 882, 882, 882, 882, 882, 886, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 892, 882, 98, 30, 882, 882, 882, 882, 893, 30, 882, 31, 882, 882, 31, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 894, 882, 882, 882, 882, 886, 895, 896, 882, 882, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 882, 882, 882, 888, 888, 888, 882, 888, 882, 889, 882, 897, 898, 890, 882, 882, 882, 882, 899, 900, 901, 891, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 902, 903, 882, 98, 882, 882, 882, 882, 98, 904, 882, 882, 103, 103, 882, 882, 882, 882, 882, 882, 882, 882, 905, 906, 907, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 894, 882, 908, 909, 910, 911, 912, 913, 882, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 915, 916, 917, 918, 919, 920, 921, 922, 882, 882, 923, 924, 925, 926, 927, 928, 882, 882, 882, 882, 882, 929, 930, 931, 932, 882, 882, 882, 882, 882, 882, 882, 367, 372, 882, 882, 933, 934, 935, 882, 882, 882, 935, 882, 882, 882, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 882, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 882, 956, 957, 958, 959, 960, 960, 961, 962, 963, 964, 882, 482, 882, 965, 882, 965, 882, 882, 882, 882, 882, 882, 882, 882, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 882, 882, 882, 882, 997, 882, 589, 882, 882, 882, 593, 882, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1010, 882, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 882, 1021, 1022, 1023, 1024, 882, 680, 882, 882, 882, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 882, 1040, 1025, 1027, 1041, 1042, 1032, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1043, 1044, 1037, 1045, 1038, 1046, 1039, 1047, 1048, 1041, 1049, 1042, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1050, 1043, 1051, 1044, 1052, 1045, 1053, 1046, 1054, 1047, 1055, 1048, 1049, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1056, 1050, 1051, 1052, 1053, 1027, 1054, 1055, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1056, 1027, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 0, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882 } ; static yyconst flex_int16_t yy_nxt[2878] = { 0, 12, 13, 14, 15, 15, 15, 13, 16, 17, 12, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 36, 37, 38, 39, 18, 18, 18, 18, 18, 18, 18, 40, 18, 18, 18, 18, 18, 40, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 18, 18, 56, 57, 58, 59, 60, 61, 18, 18, 18, 62, 63, 64, 65, 66, 83, 91, 84, 84, 66, 87, 88, 67, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 72, 70, 70, 71, 73, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 70, 70, 70, 75, 75, 78, 78, 122, 123, 89, 140, 78, 78, 86, 75, 75, 79, 80, 81, 81, 81, 79, 81, 80, 82, 82, 82, 81, 90, 92, 141, 145, 86, 97, 94, 98, 98, 98, 98, 98, 98, 250, 882, 93, 99, 84, 95, 96, 84, 100, 176, 117, 76, 76, 76, 76, 142, 146, 86, 101, 102, 143, 103, 103, 103, 103, 104, 104, 118, 86, 119, 120, 147, 86, 148, 252, 258, 86, 160, 105, 193, 192, 106, 86, 86, 149, 150, 151, 107, 108, 152, 153, 181, 154, 109, 86, 155, 156, 86, 86, 105, 86, 144, 161, 157, 158, 110, 159, 204, 261, 162, 262, 86, 179, 107, 228, 163, 108, 102, 180, 111, 111, 111, 111, 111, 111, 86, 168, 86, 169, 194, 86, 86, 86, 205, 164, 86, 105, 170, 165, 112, 229, 177, 86, 166, 186, 113, 281, 167, 178, 269, 86, 114, 187, 191, 182, 183, 142, 105, 261, 188, 262, 143, 284, 115, 184, 86, 86, 185, 198, 199, 171, 113, 124, 198, 189, 270, 125, 126, 172, 127, 173, 128, 129, 174, 130, 248, 131, 175, 256, 200, 200, 200, 200, 200, 200, 132, 133, 134, 261, 86, 262, 86, 144, 195, 80, 81, 81, 81, 195, 249, 280, 196, 257, 86, 86, 135, 190, 86, 136, 79, 80, 81, 81, 81, 79, 81, 80, 81, 81, 81, 81, 81, 80, 82, 82, 82, 81, 261, 305, 262, 240, 240, 240, 240, 246, 137, 138, 207, 208, 86, 247, 254, 207, 86, 209, 247, 261, 255, 262, 209, 98, 98, 98, 98, 98, 98, 263, 882, 210, 210, 210, 210, 241, 246, 308, 882, 247, 263, 261, 209, 262, 247, 102, 255, 104, 104, 104, 104, 104, 104, 86, 261, 239, 262, 211, 882, 261, 209, 262, 86, 255, 105, 209, 209, 882, 276, 209, 209, 86, 253, 264, 261, 277, 262, 209, 296, 242, 209, 254, 209, 212, 209, 105, 213, 215, 261, 255, 262, 216, 217, 283, 86, 882, 218, 219, 243, 220, 243, 221, 86, 244, 244, 244, 244, 244, 244, 86, 222, 223, 224, 261, 265, 262, 142, 306, 86, 86, 278, 143, 86, 86, 285, 286, 287, 279, 288, 289, 225, 86, 290, 226, 291, 245, 282, 86, 86, 292, 293, 294, 86, 295, 297, 882, 298, 301, 86, 86, 307, 86, 299, 300, 309, 303, 86, 86, 304, 86, 302, 227, 231, 231, 231, 231, 231, 231, 86, 86, 86, 312, 310, 311, 313, 86, 86, 86, 232, 233, 86, 234, 235, 86, 142, 86, 314, 86, 321, 315, 330, 86, 320, 86, 236, 318, 86, 316, 317, 232, 233, 232, 319, 325, 234, 86, 235, 322, 86, 86, 86, 331, 333, 328, 332, 629, 326, 323, 324, 86, 207, 208, 337, 335, 338, 207, 365, 86, 329, 342, 334, 336, 339, 327, 195, 80, 81, 81, 81, 195, 198, 199, 196, 86, 882, 198, 198, 199, 356, 365, 357, 198, 340, 199, 356, 343, 357, 340, 356, 341, 357, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 348, 348, 348, 348, 357, 357, 356, 86, 357, 358, 356, 356, 357, 357, 356, 359, 357, 356, 356, 357, 357, 356, 356, 357, 357, 369, 365, 403, 366, 369, 366, 86, 349, 367, 367, 367, 367, 367, 367, 882, 232, 233, 86, 234, 235, 261, 369, 262, 369, 365, 261, 405, 262, 369, 104, 104, 104, 104, 104, 104, 398, 232, 233, 232, 374, 368, 234, 86, 235, 86, 86, 105, 86, 371, 244, 244, 244, 244, 244, 244, 384, 386, 397, 86, 86, 399, 253, 401, 400, 402, 374, 86, 105, 372, 372, 372, 372, 372, 372, 104, 104, 104, 104, 104, 104, 377, 384, 387, 86, 232, 86, 86, 234, 235, 243, 404, 243, 411, 86, 244, 244, 244, 244, 244, 244, 373, 410, 379, 86, 380, 232, 253, 232, 381, 409, 234, 419, 235, 86, 382, 111, 111, 111, 111, 111, 111, 86, 86, 86, 86, 86, 383, 86, 412, 415, 380, 86, 416, 86, 381, 86, 406, 86, 413, 414, 417, 86, 407, 408, 422, 86, 421, 258, 86, 420, 86, 86, 418, 424, 86, 423, 428, 86, 426, 427, 430, 86, 429, 425, 86, 86, 86, 86, 86, 431, 432, 433, 86, 437, 86, 435, 86, 438, 86, 439, 434, 86, 436, 86, 86, 86, 86, 86, 86, 86, 86, 443, 86, 86, 444, 441, 440, 446, 86, 442, 445, 451, 86, 86, 142, 450, 86, 86, 447, 449, 448, 456, 452, 86, 86, 459, 453, 86, 494, 460, 454, 455, 340, 199, 457, 199, 458, 340, 356, 341, 357, 197, 461, 209, 209, 209, 209, 348, 348, 348, 348, 356, 495, 357, 86, 86, 86, 86, 367, 367, 367, 367, 367, 367, 366, 509, 366, 514, 86, 367, 367, 367, 367, 367, 367, 471, 482, 482, 482, 482, 482, 482, 231, 231, 231, 231, 231, 231, 86, 86, 516, 86, 232, 486, 86, 234, 235, 240, 240, 240, 240, 104, 104, 487, 489, 510, 486, 512, 483, 377, 490, 545, 490, 232, 370, 232, 488, 86, 234, 486, 235, 372, 372, 372, 372, 372, 372, 86, 882, 371, 489, 379, 486, 380, 86, 525, 490, 381, 490, 491, 529, 491, 511, 382, 492, 492, 492, 492, 492, 492, 379, 86, 380, 373, 86, 383, 381, 86, 86, 380, 513, 86, 496, 381, 86, 86, 515, 517, 86, 86, 519, 86, 86, 86, 383, 86, 493, 518, 380, 86, 526, 521, 381, 520, 86, 522, 523, 524, 527, 86, 531, 532, 530, 86, 86, 528, 86, 86, 86, 533, 86, 86, 86, 534, 86, 535, 538, 541, 86, 543, 539, 86, 86, 86, 86, 536, 86, 542, 537, 544, 86, 540, 86, 551, 86, 86, 547, 86, 549, 86, 546, 86, 86, 86, 548, 86, 550, 552, 86, 86, 558, 86, 86, 86, 555, 553, 554, 556, 560, 561, 559, 557, 86, 86, 567, 566, 86, 716, 563, 562, 199, 564, 86, 568, 486, 569, 570, 209, 209, 209, 209, 565, 482, 482, 482, 482, 482, 482, 372, 372, 372, 372, 372, 372, 616, 86, 486, 486, 232, 592, 486, 234, 235, 588, 86, 588, 487, 591, 589, 589, 589, 589, 589, 589, 483, 614, 86, 612, 86, 232, 484, 232, 486, 486, 234, 592, 235, 492, 492, 492, 492, 492, 492, 611, 86, 86, 86, 86, 621, 620, 590, 593, 593, 593, 593, 593, 593, 86, 615, 613, 617, 86, 618, 86, 86, 86, 86, 594, 626, 882, 595, 596, 491, 882, 491, 619, 622, 492, 492, 492, 492, 492, 492, 597, 623, 86, 86, 624, 594, 86, 594, 86, 86, 595, 625, 596, 86, 627, 86, 86, 630, 86, 628, 635, 634, 86, 86, 633, 86, 86, 636, 86, 86, 632, 631, 86, 86, 641, 86, 86, 86, 86, 86, 638, 642, 86, 639, 640, 86, 86, 644, 637, 86, 643, 645, 646, 86, 647, 648, 652, 86, 651, 86, 650, 86, 649, 86, 656, 653, 658, 86, 655, 654, 86, 86, 86, 86, 86, 657, 659, 86, 86, 682, 660, 682, 86, 696, 695, 700, 662, 749, 661, 482, 482, 482, 482, 482, 482, 589, 589, 589, 589, 589, 589, 588, 682, 588, 682, 86, 589, 589, 589, 589, 589, 589, 593, 593, 593, 593, 593, 593, 697, 86, 86, 587, 680, 680, 680, 680, 680, 680, 683, 86, 86, 86, 683, 86, 693, 86, 698, 86, 594, 701, 703, 595, 596, 699, 597, 86, 86, 694, 704, 683, 702, 683, 705, 86, 681, 86, 683, 86, 712, 594, 706, 594, 86, 86, 595, 710, 596, 86, 707, 86, 708, 86, 86, 86, 711, 86, 86, 709, 713, 86, 715, 718, 86, 86, 86, 86, 86, 714, 86, 86, 86, 717, 722, 726, 86, 719, 723, 727, 720, 86, 86, 721, 86, 725, 729, 86, 857, 882, 728, 724, 745, 730, 748, 86, 747, 731, 680, 680, 680, 680, 680, 680, 593, 593, 593, 593, 593, 593, 86, 86, 86, 86, 594, 750, 751, 595, 596, 86, 746, 86, 752, 86, 86, 755, 759, 754, 86, 753, 681, 757, 756, 762, 86, 594, 684, 594, 86, 86, 595, 760, 596, 761, 86, 758, 86, 763, 86, 86, 86, 86, 764, 86, 86, 86, 765, 86, 86, 766, 769, 86, 86, 767, 86, 86, 86, 768, 86, 86, 774, 790, 86, 775, 86, 771, 770, 86, 792, 772, 791, 86, 773, 680, 680, 680, 680, 680, 680, 788, 86, 789, 86, 796, 794, 793, 798, 86, 86, 86, 799, 800, 86, 86, 86, 797, 801, 795, 86, 86, 86, 802, 803, 86, 86, 738, 86, 804, 86, 823, 86, 86, 86, 86, 825, 826, 805, 806, 828, 86, 86, 86, 822, 829, 821, 86, 86, 820, 827, 831, 824, 86, 86, 86, 832, 86, 86, 834, 86, 846, 86, 830, 833, 86, 847, 845, 844, 86, 835, 86, 850, 86, 86, 86, 852, 853, 86, 86, 848, 86, 860, 86, 854, 86, 849, 855, 851, 86, 858, 86, 86, 861, 859, 863, 862, 86, 86, 86, 864, 865, 86, 86, 86, 866, 868, 870, 86, 86, 86, 871, 869, 86, 867, 86, 86, 86, 86, 86, 86, 882, 86, 882, 875, 874, 882, 856, 86, 876, 86, 872, 881, 86, 873, 86, 879, 86, 882, 877, 878, 882, 880, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 85, 843, 882, 85, 842, 85, 85, 85, 85, 85, 139, 882, 840, 882, 139, 139, 139, 139, 139, 139, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 202, 839, 882, 202, 838, 202, 202, 202, 202, 202, 206, 882, 206, 206, 837, 206, 206, 206, 206, 206, 206, 86, 206, 214, 86, 86, 214, 214, 214, 214, 214, 214, 214, 214, 882, 214, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 251, 251, 819, 251, 882, 818, 816, 251, 267, 882, 814, 267, 882, 267, 267, 267, 267, 267, 271, 812, 271, 882, 810, 808, 271, 273, 86, 273, 86, 86, 86, 273, 344, 86, 344, 86, 86, 86, 344, 346, 86, 346, 86, 86, 86, 346, 350, 882, 350, 787, 785, 882, 350, 352, 882, 352, 782, 780, 778, 352, 354, 86, 354, 86, 86, 86, 354, 361, 86, 361, 86, 86, 86, 361, 363, 744, 363, 741, 740, 738, 363, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 376, 203, 376, 378, 378, 734, 378, 378, 378, 733, 378, 251, 251, 664, 251, 388, 86, 388, 86, 86, 86, 388, 390, 86, 390, 86, 86, 86, 390, 392, 86, 392, 86, 86, 86, 392, 271, 86, 271, 394, 86, 394, 86, 691, 690, 394, 273, 688, 273, 85, 686, 684, 85, 591, 85, 85, 85, 85, 85, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 463, 679, 463, 678, 676, 674, 463, 465, 672, 465, 670, 668, 666, 465, 467, 664, 467, 86, 86, 86, 467, 344, 86, 344, 469, 86, 469, 86, 86, 86, 469, 346, 86, 346, 472, 610, 472, 608, 606, 604, 472, 350, 602, 350, 474, 600, 474, 496, 598, 598, 474, 352, 587, 352, 476, 586, 476, 584, 477, 477, 476, 354, 582, 354, 478, 580, 478, 578, 576, 574, 478, 361, 572, 361, 480, 86, 480, 86, 86, 86, 480, 363, 86, 363, 485, 86, 485, 86, 485, 86, 485, 376, 508, 376, 506, 376, 504, 376, 378, 378, 502, 378, 378, 378, 500, 378, 497, 498, 497, 484, 481, 479, 497, 499, 357, 499, 357, 477, 475, 499, 501, 473, 501, 470, 468, 466, 501, 388, 464, 388, 503, 86, 503, 86, 86, 396, 503, 390, 395, 390, 505, 393, 505, 391, 389, 268, 505, 392, 263, 392, 507, 262, 507, 385, 385, 250, 507, 394, 375, 394, 85, 375, 238, 85, 370, 85, 85, 85, 85, 85, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 571, 364, 571, 362, 360, 356, 571, 463, 355, 463, 573, 353, 573, 351, 347, 345, 573, 465, 203, 465, 575, 199, 575, 86, 275, 274, 575, 467, 272, 467, 577, 268, 577, 263, 266, 263, 577, 469, 261, 469, 579, 260, 579, 259, 238, 230, 579, 472, 84, 472, 581, 84, 581, 86, 203, 201, 581, 474, 84, 474, 476, 121, 476, 116, 86, 882, 476, 583, 69, 583, 69, 882, 882, 583, 478, 882, 478, 585, 882, 585, 882, 882, 882, 585, 480, 882, 480, 485, 882, 485, 882, 485, 882, 485, 378, 882, 378, 882, 882, 882, 378, 599, 882, 599, 882, 882, 882, 599, 497, 882, 497, 601, 882, 601, 882, 882, 882, 601, 499, 882, 499, 603, 882, 603, 882, 882, 882, 603, 501, 882, 501, 605, 882, 605, 882, 882, 882, 605, 503, 882, 503, 607, 882, 607, 882, 882, 882, 607, 505, 882, 505, 609, 882, 609, 882, 882, 882, 609, 507, 882, 507, 85, 882, 882, 85, 882, 85, 85, 85, 85, 85, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 665, 882, 665, 882, 882, 882, 665, 571, 882, 571, 667, 882, 667, 882, 882, 882, 667, 573, 882, 573, 669, 882, 669, 882, 882, 882, 669, 575, 882, 575, 671, 882, 671, 882, 882, 882, 671, 577, 882, 577, 673, 882, 673, 882, 882, 882, 673, 579, 882, 579, 675, 882, 675, 882, 882, 882, 675, 581, 882, 581, 677, 882, 677, 882, 882, 882, 677, 583, 882, 583, 85, 882, 85, 882, 882, 882, 85, 585, 882, 585, 485, 882, 485, 882, 882, 882, 485, 685, 882, 685, 882, 882, 882, 685, 599, 882, 599, 687, 882, 687, 882, 882, 882, 687, 601, 882, 601, 689, 882, 689, 882, 882, 882, 689, 603, 882, 603, 139, 882, 139, 882, 882, 882, 139, 605, 882, 605, 692, 882, 692, 607, 882, 607, 85, 882, 882, 85, 882, 85, 85, 85, 85, 85, 609, 882, 609, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 663, 732, 882, 732, 882, 882, 882, 732, 665, 882, 665, 202, 882, 202, 882, 882, 882, 202, 667, 882, 667, 735, 882, 735, 669, 882, 669, 202, 882, 882, 202, 882, 202, 202, 202, 202, 202, 671, 882, 671, 736, 882, 736, 673, 882, 673, 675, 882, 675, 737, 882, 737, 677, 882, 677, 85, 882, 85, 739, 882, 739, 882, 882, 882, 739, 685, 882, 685, 267, 882, 267, 882, 882, 882, 267, 687, 882, 687, 742, 882, 742, 689, 882, 689, 139, 882, 139, 743, 882, 743, 882, 882, 882, 743, 85, 882, 882, 85, 882, 85, 85, 85, 85, 85, 776, 882, 776, 732, 882, 732, 202, 882, 202, 777, 882, 777, 882, 882, 882, 777, 779, 882, 779, 882, 882, 882, 779, 781, 882, 781, 882, 882, 882, 781, 783, 882, 783, 784, 882, 784, 882, 882, 882, 784, 786, 882, 786, 882, 882, 882, 786, 807, 882, 807, 882, 882, 882, 807, 809, 882, 809, 882, 882, 882, 809, 811, 882, 811, 882, 882, 882, 811, 813, 882, 813, 882, 882, 882, 813, 815, 882, 815, 882, 882, 882, 815, 817, 882, 817, 882, 882, 882, 817, 609, 882, 609, 882, 882, 882, 609, 836, 882, 836, 882, 882, 882, 836, 671, 882, 671, 882, 882, 882, 671, 675, 882, 675, 882, 882, 882, 675, 85, 882, 85, 882, 882, 882, 85, 841, 882, 841, 882, 882, 882, 841, 139, 882, 139, 882, 882, 882, 139, 202, 882, 202, 882, 882, 882, 202, 11, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882 } ; static yyconst flex_int16_t yy_chk[2878] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 39, 9, 10, 881, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 39, 42, 53, 28, 27, 28, 28, 28, 28, 28, 28, 108, 114, 25, 29, 25, 27, 27, 27, 29, 53, 35, 7, 8, 9, 10, 40, 42, 48, 29, 30, 40, 30, 30, 30, 30, 30, 30, 35, 61, 35, 35, 44, 880, 44, 108, 114, 872, 48, 30, 63, 61, 30, 56, 47, 45, 45, 45, 30, 30, 45, 45, 56, 45, 30, 55, 45, 45, 49, 40, 30, 45, 40, 49, 45, 47, 30, 47, 72, 125, 49, 125, 51, 55, 30, 86, 49, 30, 31, 55, 31, 31, 31, 31, 31, 31, 50, 51, 871, 51, 63, 153, 54, 58, 72, 50, 60, 31, 51, 50, 31, 86, 54, 57, 50, 58, 31, 153, 50, 54, 141, 156, 31, 58, 60, 57, 57, 59, 31, 126, 58, 126, 59, 156, 31, 57, 52, 868, 57, 67, 67, 52, 31, 38, 67, 59, 141, 38, 38, 52, 38, 52, 38, 38, 52, 38, 107, 38, 52, 113, 67, 67, 67, 67, 67, 67, 38, 38, 38, 128, 59, 128, 152, 59, 66, 66, 66, 66, 66, 66, 107, 152, 66, 113, 867, 865, 38, 59, 165, 38, 79, 79, 79, 79, 79, 79, 81, 81, 81, 81, 81, 81, 82, 82, 82, 82, 82, 82, 131, 165, 131, 103, 103, 103, 103, 106, 38, 38, 76, 76, 864, 106, 112, 76, 168, 76, 110, 133, 112, 133, 76, 102, 102, 102, 102, 102, 102, 130, 103, 76, 76, 76, 76, 103, 110, 168, 109, 106, 129, 130, 76, 130, 110, 104, 112, 104, 104, 104, 104, 104, 104, 149, 129, 102, 129, 76, 103, 136, 76, 136, 158, 115, 104, 76, 76, 109, 149, 76, 76, 155, 109, 132, 132, 149, 132, 76, 158, 104, 76, 115, 76, 76, 76, 104, 76, 84, 138, 115, 138, 84, 84, 155, 166, 109, 84, 84, 105, 84, 105, 84, 150, 105, 105, 105, 105, 105, 105, 151, 84, 84, 84, 134, 134, 134, 144, 166, 154, 157, 150, 144, 159, 167, 157, 157, 157, 151, 157, 157, 84, 161, 157, 84, 157, 105, 154, 160, 163, 157, 157, 157, 162, 157, 159, 857, 160, 162, 164, 169, 167, 170, 161, 161, 169, 163, 171, 172, 164, 144, 162, 84, 98, 98, 98, 98, 98, 98, 173, 174, 175, 171, 169, 170, 172, 179, 176, 185, 98, 98, 178, 98, 98, 180, 189, 182, 173, 187, 180, 174, 185, 186, 179, 188, 98, 178, 181, 175, 176, 98, 98, 98, 178, 182, 98, 183, 98, 181, 184, 191, 190, 186, 188, 184, 187, 528, 183, 181, 181, 192, 207, 207, 191, 190, 191, 207, 232, 189, 184, 203, 189, 190, 192, 183, 195, 195, 195, 195, 195, 195, 196, 196, 195, 528, 856, 196, 198, 198, 216, 232, 216, 198, 200, 200, 217, 203, 217, 200, 218, 200, 218, 196, 196, 196, 196, 196, 196, 198, 198, 198, 198, 198, 198, 200, 200, 200, 200, 200, 200, 210, 210, 210, 210, 219, 220, 221, 282, 221, 222, 222, 223, 222, 223, 224, 224, 224, 220, 219, 220, 219, 226, 227, 226, 227, 234, 235, 282, 233, 234, 233, 284, 210, 233, 233, 233, 233, 233, 233, 241, 239, 239, 277, 239, 239, 264, 234, 264, 234, 235, 265, 284, 265, 234, 242, 242, 242, 242, 242, 242, 277, 239, 239, 239, 246, 233, 239, 278, 239, 276, 280, 242, 279, 241, 243, 243, 243, 243, 243, 243, 254, 268, 276, 855, 281, 278, 242, 280, 279, 281, 246, 288, 242, 244, 244, 244, 244, 244, 244, 253, 253, 253, 253, 253, 253, 251, 254, 268, 287, 244, 283, 286, 244, 244, 245, 283, 245, 288, 295, 245, 245, 245, 245, 245, 245, 244, 287, 251, 854, 251, 244, 253, 244, 251, 286, 244, 295, 244, 289, 251, 258, 258, 258, 258, 258, 258, 285, 290, 292, 291, 294, 251, 293, 289, 291, 251, 297, 292, 301, 251, 299, 285, 303, 290, 290, 293, 298, 285, 285, 299, 302, 298, 258, 300, 297, 307, 304, 294, 301, 306, 300, 304, 305, 303, 303, 306, 308, 305, 302, 310, 309, 311, 312, 313, 307, 308, 309, 314, 313, 315, 311, 316, 314, 318, 315, 310, 317, 312, 320, 322, 321, 323, 324, 326, 325, 328, 318, 327, 329, 320, 316, 315, 322, 330, 317, 321, 327, 333, 331, 334, 326, 335, 337, 323, 325, 324, 333, 328, 336, 338, 337, 329, 339, 381, 338, 330, 331, 340, 340, 335, 341, 336, 340, 358, 340, 358, 341, 339, 348, 348, 348, 348, 349, 349, 349, 349, 359, 381, 359, 397, 850, 402, 334, 366, 366, 366, 366, 366, 366, 368, 397, 368, 402, 404, 368, 368, 368, 368, 368, 368, 348, 367, 367, 367, 367, 367, 367, 370, 370, 370, 370, 370, 370, 400, 398, 404, 435, 367, 376, 846, 367, 367, 371, 371, 371, 371, 371, 371, 376, 379, 398, 377, 400, 367, 378, 379, 435, 383, 367, 370, 367, 377, 412, 367, 376, 367, 372, 372, 372, 372, 372, 372, 399, 382, 371, 383, 378, 377, 378, 415, 412, 379, 378, 383, 380, 415, 380, 399, 378, 380, 380, 380, 380, 380, 380, 382, 401, 382, 372, 407, 378, 382, 403, 405, 378, 401, 408, 382, 378, 406, 411, 403, 405, 409, 410, 407, 416, 418, 414, 382, 413, 380, 406, 382, 417, 413, 409, 382, 408, 419, 410, 410, 411, 414, 421, 417, 418, 416, 423, 425, 414, 426, 427, 428, 419, 431, 429, 430, 421, 433, 423, 427, 429, 436, 431, 427, 437, 438, 439, 441, 425, 440, 430, 426, 433, 443, 428, 445, 441, 447, 446, 437, 448, 439, 449, 436, 450, 451, 455, 438, 452, 440, 443, 457, 633, 450, 460, 453, 458, 447, 445, 446, 448, 452, 453, 451, 449, 454, 456, 458, 457, 461, 633, 455, 454, 462, 456, 515, 460, 488, 461, 462, 471, 471, 471, 471, 456, 482, 482, 482, 482, 482, 482, 484, 484, 484, 484, 484, 484, 515, 513, 485, 487, 482, 489, 488, 482, 482, 486, 510, 486, 485, 487, 486, 486, 486, 486, 486, 486, 482, 513, 509, 510, 520, 482, 484, 482, 485, 487, 482, 489, 482, 491, 491, 491, 491, 491, 491, 509, 512, 514, 519, 516, 520, 519, 486, 492, 492, 492, 492, 492, 492, 517, 514, 512, 516, 521, 517, 525, 518, 522, 523, 492, 525, 843, 492, 492, 493, 842, 493, 518, 521, 493, 493, 493, 493, 493, 493, 492, 522, 524, 526, 523, 492, 527, 492, 529, 530, 492, 524, 492, 531, 526, 532, 533, 529, 536, 527, 535, 533, 538, 539, 532, 542, 535, 536, 540, 541, 531, 530, 544, 545, 542, 546, 547, 549, 554, 556, 539, 544, 561, 540, 541, 555, 552, 546, 538, 550, 545, 547, 549, 553, 550, 552, 556, 558, 555, 559, 554, 560, 553, 562, 561, 558, 563, 564, 560, 559, 565, 567, 563, 568, 613, 562, 564, 612, 617, 594, 565, 596, 698, 613, 612, 617, 568, 698, 567, 587, 587, 587, 587, 587, 587, 588, 588, 588, 588, 588, 588, 590, 594, 590, 596, 614, 590, 590, 590, 590, 590, 590, 593, 593, 593, 593, 593, 593, 614, 615, 616, 587, 589, 589, 589, 589, 589, 589, 595, 611, 622, 618, 595, 619, 611, 621, 615, 620, 589, 618, 620, 589, 589, 616, 593, 623, 624, 611, 621, 595, 619, 595, 622, 625, 589, 626, 595, 628, 629, 589, 623, 589, 627, 630, 589, 627, 589, 631, 624, 634, 625, 632, 635, 637, 628, 638, 644, 626, 630, 639, 632, 635, 645, 640, 650, 629, 647, 631, 696, 693, 651, 634, 640, 650, 659, 637, 644, 651, 638, 658, 662, 639, 661, 647, 659, 697, 841, 840, 658, 645, 693, 661, 697, 699, 696, 662, 680, 680, 680, 680, 680, 680, 684, 684, 684, 684, 684, 684, 694, 702, 705, 700, 680, 699, 700, 680, 680, 701, 694, 704, 701, 706, 708, 705, 709, 704, 707, 702, 680, 707, 706, 712, 711, 680, 684, 680, 710, 714, 680, 710, 680, 711, 713, 708, 718, 713, 715, 716, 717, 720, 714, 723, 709, 726, 715, 727, 712, 716, 720, 728, 730, 717, 731, 752, 751, 718, 753, 749, 730, 751, 754, 731, 750, 726, 723, 755, 753, 727, 752, 756, 728, 738, 738, 738, 738, 738, 738, 749, 757, 750, 758, 757, 755, 754, 759, 761, 763, 764, 761, 763, 767, 768, 773, 758, 764, 756, 765, 766, 788, 765, 766, 790, 791, 738, 792, 767, 793, 792, 797, 794, 795, 759, 794, 795, 768, 773, 798, 801, 799, 805, 791, 799, 790, 821, 802, 788, 797, 802, 793, 803, 806, 804, 803, 824, 823, 805, 822, 823, 825, 801, 804, 798, 824, 822, 821, 826, 806, 827, 826, 830, 833, 834, 830, 833, 835, 847, 825, 844, 847, 848, 834, 858, 825, 835, 827, 845, 844, 849, 851, 848, 845, 851, 849, 852, 853, 859, 852, 853, 861, 860, 862, 858, 860, 862, 863, 866, 870, 863, 861, 869, 859, 873, 874, 875, 877, 876, 878, 839, 879, 838, 873, 870, 837, 836, 832, 874, 831, 866, 879, 829, 869, 828, 877, 820, 819, 875, 876, 818, 878, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 884, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 886, 817, 816, 886, 815, 886, 886, 886, 886, 886, 887, 814, 813, 812, 887, 887, 887, 887, 887, 887, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 888, 889, 811, 810, 889, 809, 889, 889, 889, 889, 889, 890, 808, 890, 890, 807, 890, 890, 890, 890, 890, 890, 800, 890, 891, 796, 789, 891, 891, 891, 891, 891, 891, 891, 891, 787, 891, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 893, 893, 786, 893, 785, 784, 783, 893, 894, 782, 781, 894, 780, 894, 894, 894, 894, 894, 895, 779, 895, 778, 777, 776, 895, 896, 775, 896, 774, 772, 771, 896, 897, 770, 897, 769, 762, 760, 897, 898, 748, 898, 747, 746, 745, 898, 899, 744, 899, 743, 742, 741, 899, 900, 740, 900, 737, 736, 735, 900, 901, 729, 901, 725, 724, 722, 901, 902, 721, 902, 719, 703, 695, 902, 903, 692, 903, 687, 685, 681, 903, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 904, 905, 671, 905, 906, 906, 667, 906, 906, 906, 665, 906, 907, 907, 663, 907, 908, 660, 908, 657, 656, 655, 908, 909, 654, 909, 653, 652, 649, 909, 910, 648, 910, 646, 643, 642, 910, 911, 641, 911, 912, 636, 912, 609, 605, 603, 912, 913, 601, 913, 914, 599, 597, 914, 591, 914, 914, 914, 914, 914, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 917, 585, 917, 583, 581, 579, 917, 918, 577, 918, 575, 573, 571, 918, 919, 570, 919, 569, 566, 557, 919, 920, 551, 920, 921, 548, 921, 543, 537, 534, 921, 922, 511, 922, 923, 507, 923, 505, 503, 501, 923, 924, 499, 924, 925, 497, 925, 496, 495, 494, 925, 926, 483, 926, 927, 480, 927, 478, 477, 476, 927, 928, 474, 928, 929, 472, 929, 469, 467, 465, 929, 930, 463, 930, 931, 459, 931, 444, 442, 434, 931, 932, 432, 932, 933, 424, 933, 422, 933, 420, 933, 934, 394, 934, 392, 934, 390, 934, 935, 935, 388, 935, 935, 935, 387, 935, 936, 386, 936, 373, 363, 361, 936, 937, 360, 937, 356, 354, 352, 937, 938, 350, 938, 346, 344, 343, 938, 939, 342, 939, 940, 332, 940, 319, 296, 275, 940, 941, 273, 941, 942, 271, 942, 270, 269, 267, 942, 943, 266, 943, 944, 261, 944, 257, 256, 252, 944, 945, 249, 945, 946, 248, 237, 946, 236, 946, 946, 946, 946, 946, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 948, 229, 948, 228, 225, 215, 948, 949, 213, 949, 950, 212, 950, 211, 205, 204, 950, 951, 202, 951, 952, 197, 952, 177, 148, 146, 952, 953, 145, 953, 954, 139, 954, 137, 135, 127, 954, 955, 124, 955, 956, 123, 956, 119, 100, 97, 956, 957, 94, 957, 958, 92, 958, 85, 71, 69, 958, 959, 65, 959, 960, 36, 960, 33, 18, 11, 960, 961, 4, 961, 3, 0, 0, 961, 962, 0, 962, 963, 0, 963, 0, 0, 0, 963, 964, 0, 964, 965, 0, 965, 0, 965, 0, 965, 966, 0, 966, 0, 0, 0, 966, 967, 0, 967, 0, 0, 0, 967, 968, 0, 968, 969, 0, 969, 0, 0, 0, 969, 970, 0, 970, 971, 0, 971, 0, 0, 0, 971, 972, 0, 972, 973, 0, 973, 0, 0, 0, 973, 974, 0, 974, 975, 0, 975, 0, 0, 0, 975, 976, 0, 976, 977, 0, 977, 0, 0, 0, 977, 978, 0, 978, 979, 0, 0, 979, 0, 979, 979, 979, 979, 979, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, 981, 0, 981, 0, 0, 0, 981, 982, 0, 982, 983, 0, 983, 0, 0, 0, 983, 984, 0, 984, 985, 0, 985, 0, 0, 0, 985, 986, 0, 986, 987, 0, 987, 0, 0, 0, 987, 988, 0, 988, 989, 0, 989, 0, 0, 0, 989, 990, 0, 990, 991, 0, 991, 0, 0, 0, 991, 992, 0, 992, 993, 0, 993, 0, 0, 0, 993, 994, 0, 994, 995, 0, 995, 0, 0, 0, 995, 996, 0, 996, 997, 0, 997, 0, 0, 0, 997, 998, 0, 998, 0, 0, 0, 998, 999, 0, 999, 1000, 0, 1000, 0, 0, 0, 1000, 1001, 0, 1001, 1002, 0, 1002, 0, 0, 0, 1002, 1003, 0, 1003, 1004, 0, 1004, 0, 0, 0, 1004, 1005, 0, 1005, 1006, 0, 1006, 1007, 0, 1007, 1008, 0, 0, 1008, 0, 1008, 1008, 1008, 1008, 1008, 1009, 0, 1009, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1010, 1011, 0, 1011, 0, 0, 0, 1011, 1012, 0, 1012, 1013, 0, 1013, 0, 0, 0, 1013, 1014, 0, 1014, 1015, 0, 1015, 1016, 0, 1016, 1017, 0, 0, 1017, 0, 1017, 1017, 1017, 1017, 1017, 1018, 0, 1018, 1019, 0, 1019, 1020, 0, 1020, 1021, 0, 1021, 1022, 0, 1022, 1023, 0, 1023, 1024, 0, 1024, 1025, 0, 1025, 0, 0, 0, 1025, 1026, 0, 1026, 1027, 0, 1027, 0, 0, 0, 1027, 1028, 0, 1028, 1029, 0, 1029, 1030, 0, 1030, 1031, 0, 1031, 1032, 0, 1032, 0, 0, 0, 1032, 1033, 0, 0, 1033, 0, 1033, 1033, 1033, 1033, 1033, 1034, 0, 1034, 1035, 0, 1035, 1036, 0, 1036, 1037, 0, 1037, 0, 0, 0, 1037, 1038, 0, 1038, 0, 0, 0, 1038, 1039, 0, 1039, 0, 0, 0, 1039, 1040, 0, 1040, 1041, 0, 1041, 0, 0, 0, 1041, 1042, 0, 1042, 0, 0, 0, 1042, 1043, 0, 1043, 0, 0, 0, 1043, 1044, 0, 1044, 0, 0, 0, 1044, 1045, 0, 1045, 0, 0, 0, 1045, 1046, 0, 1046, 0, 0, 0, 1046, 1047, 0, 1047, 0, 0, 0, 1047, 1048, 0, 1048, 0, 0, 0, 1048, 1049, 0, 1049, 0, 0, 0, 1049, 1050, 0, 1050, 0, 0, 0, 1050, 1051, 0, 1051, 0, 0, 0, 1051, 1052, 0, 1052, 0, 0, 0, 1052, 1053, 0, 1053, 0, 0, 0, 1053, 1054, 0, 1054, 0, 0, 0, 1054, 1055, 0, 1055, 0, 0, 0, 1055, 1056, 0, 1056, 0, 0, 0, 1056, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[181] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.ll" /* * Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo * * The contents of this file are covered under the licence agreement in the * file "LICENCE" distributed with Cforall. * * lex.l -- * * Author : Peter A. Buhr * Created On : Sat Sep 22 08:58:10 2001 * Last Modified By : Peter A. Buhr * Last Modified On : Thu Feb 25 16:18:14 2016 * Update Count : 427 */ #line 20 "lex.ll" // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been // performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g., // line-number directives) and C/C++ style comments, which are ignored. //**************************** Includes and Defines **************************** #include #include "lex.h" #include "ParseNode.h" #include "parser.h" // YACC generated definitions based on C++ grammar char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define RETURN_LOCN(x) yylval.tok.loc.file = yyfilename; yylval.tok.loc.line = yylineno; return( x ) #define RETURN_VAL(x) yylval.tok.str = new std::string( yytext ); RETURN_LOCN( x ) #define RETURN_CHAR(x) yylval.tok.str = NULL; RETURN_LOCN( x ) #define RETURN_STR(x) yylval.tok.str = strtext; RETURN_LOCN( x ) #define WHITE_RETURN(x) // do nothing #define NEWLINE_RETURN() WHITE_RETURN( '\n' ) #define ASCIIOP_RETURN() RETURN_CHAR( (int)yytext[0] ) // single character operator #define NAMEDOP_RETURN(x) RETURN_VAL( x ) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL( x ) // numeric constant #define KEYWORD_RETURN(x) RETURN_CHAR( x ) // keyword #define IDENTIFIER_RETURN() RETURN_VAL( (typedefTable.isIdentifier( yytext ) ? IDENTIFIER : typedefTable.isTypedef( yytext ) ? TYPEDEFname : TYPEGENname ) ) #define ATTRIBUTE_RETURN() RETURN_VAL( ATTR_IDENTIFIER ) void rm_underscore() { // remove underscores in numeric constant int j = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[j] = yytext[i]; j += 1; } // if } // for yyleng = j; yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // GCC: D (double), LD (long double) and iI (imaginary) suffixes // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // operators #line 1519 "Parser/lex.cc" #define INITIAL 0 #define COMMENT 1 #define BKQUOTE 2 #define QUOTE 3 #define STRING 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 137 "lex.ll" /* line directives */ #line 1714 "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 >= 883 ) 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] != 2793 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 139 "lex.ll" { /* " stop highlighting */ char *end_num; char *begin_string, *end_string; char *filename; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { end_string = strchr( begin_string + 1, '"' ); if ( end_string ) { length = end_string - begin_string - 1; filename = new char[ length + 1 ]; memcpy( filename, begin_string + 1, length ); filename[ length ] = '\0'; //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 162 "lex.ll" ; YY_BREAK /* ignore C style comments (ALSO HANDLED BY CPP) */ case 3: YY_RULE_SETUP #line 165 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 166 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 167 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments (ALSO HANDLED BY CPP) */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 170 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 173 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 174 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 175 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 178 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 179 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 180 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(AT); } // CFA YY_BREAK case 18: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 19: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 21: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 22: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 23: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 24: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 25: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 26: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CATCHRESUME); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 28: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 29: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 30: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 31: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 33: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 34: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 35: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONTEXT); } // CFA YY_BREAK case 36: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 37: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 38: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DISABLE); } // CFA YY_BREAK case 39: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 40: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 41: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 42: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 43: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENABLE); } // CFA YY_BREAK case 44: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 45: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 46: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 47: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 48: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 50: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 51: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 52: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 53: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 54: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 55: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 56: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 57: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 58: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 59: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 61: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 62: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 64: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 65: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 66: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 67: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 68: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 69: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 70: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(OFFSETOF); } // GCC YY_BREAK case 71: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 72: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 73: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 76: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 77: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 78: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 79: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 80: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 81: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 82: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 83: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 84: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 85: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 86: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 87: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(THROWRESUME); } // CFA YY_BREAK case 88: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 89: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(TYPE); } // CFA YY_BREAK case 90: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 91: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 92: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 95: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 96: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(VALIST); } // GCC YY_BREAK case 97: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 98: YY_RULE_SETUP #line 266 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 99: YY_RULE_SETUP #line 267 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 100: YY_RULE_SETUP #line 268 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 101: YY_RULE_SETUP #line 269 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 102: YY_RULE_SETUP #line 272 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 103: YY_RULE_SETUP #line 273 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 104: YY_RULE_SETUP #line 274 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 105: YY_RULE_SETUP #line 275 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 106: YY_RULE_SETUP #line 276 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 107: YY_RULE_SETUP #line 279 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 108: YY_RULE_SETUP #line 280 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 109: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 110: YY_RULE_SETUP #line 282 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 111: YY_RULE_SETUP #line 283 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 112: YY_RULE_SETUP #line 284 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 113: YY_RULE_SETUP #line 285 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 114: YY_RULE_SETUP #line 288 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 115: YY_RULE_SETUP #line 289 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 116: /* rule 116 can match eol */ YY_RULE_SETUP #line 290 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 117: YY_RULE_SETUP #line 294 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 118: YY_RULE_SETUP #line 295 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 119: /* rule 119 can match eol */ YY_RULE_SETUP #line 296 "lex.ll" { BEGIN 0; *strtext += std::string( yytext ); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ /* common character/string constant */ case 120: YY_RULE_SETUP #line 300 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 121: /* rule 121 can match eol */ YY_RULE_SETUP #line 301 "lex.ll" {} // continuation (ALSO HANDLED BY CPP) YY_BREAK case 122: YY_RULE_SETUP #line 302 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 123: YY_RULE_SETUP #line 305 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 306 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 125: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 126: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 127: YY_RULE_SETUP #line 309 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 128: YY_RULE_SETUP #line 310 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 129: YY_RULE_SETUP #line 311 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 130: YY_RULE_SETUP #line 312 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 131: YY_RULE_SETUP #line 313 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 314 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 133: YY_RULE_SETUP #line 315 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 134: YY_RULE_SETUP #line 318 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 135: YY_RULE_SETUP #line 319 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 136: YY_RULE_SETUP #line 320 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 137: YY_RULE_SETUP #line 321 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 138: YY_RULE_SETUP #line 324 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 325 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 145: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 146: YY_RULE_SETUP #line 332 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 147: YY_RULE_SETUP #line 333 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 148: YY_RULE_SETUP #line 334 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 149: YY_RULE_SETUP #line 335 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 150: YY_RULE_SETUP #line 336 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 151: YY_RULE_SETUP #line 337 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 152: YY_RULE_SETUP #line 339 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 153: YY_RULE_SETUP #line 340 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 154: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 155: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 156: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 157: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 158: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 159: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 160: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 161: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 162: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 163: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 164: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 165: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 166: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 167: YY_RULE_SETUP #line 354 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 168: YY_RULE_SETUP #line 355 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 169: YY_RULE_SETUP #line 356 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 170: YY_RULE_SETUP #line 357 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 171: YY_RULE_SETUP #line 358 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 172: YY_RULE_SETUP #line 359 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK case 173: YY_RULE_SETUP #line 361 "lex.ll" { NAMEDOP_RETURN(ATassign); } YY_BREAK /* CFA, operator identifier */ case 174: YY_RULE_SETUP #line 364 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 175: YY_RULE_SETUP #line 365 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 176: YY_RULE_SETUP #line 366 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 177: YY_RULE_SETUP #line 367 "lex.ll" { IDENTIFIER_RETURN(); } // binary YY_BREAK /* This rule handles ambiguous cases with operator identifiers, e.g., "int *?*?()", where the string "*?*?" can be lexed as "*"/"?*?" or "*?"/"*?". Since it is common practise to put a unary operator juxtaposed to an identifier, e.g., "*i", users will be annoyed if they cannot do this with respect to operator identifiers. Even with this special hack, there are 5 general cases that cannot be handled. The first case is for the function-call identifier "?()": int * ?()(); // declaration: space required after '*' * ?()(); // expression: space required after '*' Without the space, the string "*?()" is ambiguous without N character look ahead; it requires scanning ahead to determine if there is a '(', which is the start of an argument/parameter list. The 4 remaining cases occur in expressions: i++?i:0; // space required before '?' i--?i:0; // space required before '?' i?++i:0; // space required after '?' i?--i:0; // space required after '?' In the first two cases, the string "i++?" is ambiguous, where this string can be lexed as "i"/"++?" or "i++"/"?"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. In the second two cases, the string "?++x" is ambiguous, where this string can be lexed as "?++"/"x" or "?"/"++x"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. */ case 178: YY_RULE_SETUP #line 394 "lex.ll" { // 1 or 2 character unary operator ? int i = yytext[1] == '?' ? 1 : 2; yyless( i ); // put back characters up to first '?' if ( i > 1 ) { NAMEDOP_RETURN( yytext[0] == '+' ? ICR : DECR ); } else { ASCIIOP_RETURN(); } // if } YY_BREAK /* unknown characters */ case 179: YY_RULE_SETUP #line 406 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 180: YY_RULE_SETUP #line 408 "lex.ll" ECHO; YY_BREAK #line 2788 "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 >= 883 ) 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 >= 883 ) 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 == 882); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) yylineno++; ; return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ /* We do not touch yylineno unless the option is enabled. */ yylineno = 1; (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 408 "lex.ll" // Local Variables: // // mode: c++ // // tab-width: 4 // // compile-command: "make install" // // End: //