#line 3 "Parser/lex.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ #include #include #include #include /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have . Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ #ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires * access to the local variable yy_act. Since yyless() is a macro, it would break * existing scanners that call yyless() from OUTSIDE yylex. * One obvious solution it to make yy_act a global. I tried that, and saw * a 5% performance hit in a non-yylineno scanner, because yy_act is * normally declared as a register variable-- so it is not worth it. */ #define YY_LESS_LINENO(n) \ do { \ int yyl;\ for ( yyl = n; yyl < yyleng; ++yyl )\ if ( yytext[yyl] == '\n' )\ --yylineno;\ }while(0) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #endif #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart (FILE *input_file ); void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); void yy_delete_buffer (YY_BUFFER_STATE b ); void yy_flush_buffer (YY_BUFFER_STATE b ); void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); void yypop_buffer_state (void ); static void yyensure_buffer_stack (void ); static void yy_load_buffer_state (void ); static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer(yyin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 170 #define YY_END_OF_BUFFER 171 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[821] = { 0, 0, 0, 0, 0, 0, 0, 108, 108, 111, 111, 171, 169, 7, 9, 8, 130, 110, 95, 135, 138, 107, 117, 118, 133, 131, 121, 132, 124, 134, 100, 101, 102, 122, 123, 140, 142, 141, 143, 169, 95, 115, 169, 116, 136, 95, 97, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 119, 139, 120, 137, 7, 169, 4, 4, 170, 98, 170, 99, 108, 109, 114, 111, 112, 7, 9, 0, 8, 147, 165, 95, 0, 159, 129, 152, 160, 157, 144, 155, 145, 156, 154, 0, 105, 3, 0, 158, 105, 103, 0, 0, 103, 103, 0, 0, 103, 102, 102, 102, 0, 102, 127, 128, 126, 148, 150, 146, 151, 149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 0, 110, 107, 95, 0, 0, 162, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 36, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 53, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 161, 153, 7, 0, 0, 0, 2, 0, 5, 98, 0, 0, 0, 108, 113, 113, 0, 0, 0, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 105, 0, 105, 0, 0, 6, 0, 103, 0, 0, 0, 105, 0, 103, 103, 103, 103, 0, 104, 0, 0, 102, 102, 102, 102, 0, 163, 164, 0, 167, 166, 0, 0, 0, 96, 0, 0, 0, 0, 0, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 14, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 47, 95, 95, 95, 60, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 82, 95, 95, 95, 95, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 113, 0, 0, 168, 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, 0, 0, 105, 0, 103, 103, 0, 0, 104, 104, 0, 104, 0, 104, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 20, 95, 23, 95, 25, 95, 95, 95, 95, 95, 95, 39, 40, 95, 95, 95, 95, 95, 95, 95, 52, 95, 63, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 83, 95, 95, 90, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 105, 0, 0, 0, 0, 0, 0, 104, 104, 0, 106, 0, 104, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 21, 95, 95, 95, 95, 95, 95, 95, 15, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 22, 24, 95, 30, 95, 95, 95, 95, 38, 95, 95, 95, 45, 95, 95, 50, 95, 95, 95, 95, 95, 71, 95, 95, 95, 95, 95, 81, 95, 95, 88, 95, 95, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 0, 0, 104, 106, 106, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 55, 95, 95, 95, 95, 95, 95, 95, 26, 95, 95, 95, 37, 42, 95, 95, 48, 95, 57, 64, 95, 95, 70, 72, 75, 76, 78, 79, 95, 85, 95, 95, 0, 1, 0, 0, 0, 0, 0, 0, 98, 0, 0, 0, 113, 0, 0, 0, 0, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 17, 95, 95, 95, 95, 95, 95, 95, 16, 95, 95, 31, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 33, 95, 35, 95, 44, 49, 95, 95, 84, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 27, 51, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 56, 58, 61, 95, 95, 73, 86, 95, 34, 43, 66, 67, 89, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 65, 95, 95, 12, 95, 28, 32, 95, 95, 95, 62, 95, 95, 95, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 95, 95, 95, 95, 95, 95, 46, 59, 68, 74, 87, 92, 0, 0, 0, 0, 0, 0, 0, 0, 95, 95, 13, 18, 29, 95, 95, 95, 0, 0, 95, 95, 95, 95, 69, 93, 95, 80, 19, 41, 77, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 11, 43, 11, 11, 44, 11, 45, 11, 46, 11, 11, 47, 48, 49, 11, 11, 50, 11, 11, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 11, 66, 67, 68, 69, 70, 71, 11, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[85] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 1, 1, 1, 6, 1, 7, 7, 7, 7, 8, 8, 1, 1, 1, 1, 1, 9, 1, 10, 10, 10, 10, 10, 10, 4, 4, 11, 4, 12, 4, 4, 13, 4, 1, 14, 1, 1, 15, 1, 16, 16, 10, 10, 16, 16, 4, 4, 4, 4, 11, 4, 17, 4, 12, 17, 4, 17, 13, 17, 4, 17, 4, 4, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[995] = { 0, 0, 83, 2183, 2181, 93, 0, 175, 176, 177, 178, 2193, 3518, 189, 3518, 195, 54, 3518, 2140, 59, 171, 3518, 3518, 3518, 55, 186, 3518, 189, 187, 202, 214, 272, 0, 2158, 3518, 214, 2158, 150, 340, 2136, 222, 3518, 157, 3518, 2152, 277, 3518, 192, 133, 196, 198, 204, 271, 155, 218, 181, 200, 266, 238, 210, 224, 282, 3518, 223, 3518, 2149, 372, 361, 3518, 2160, 3518, 2129, 229, 3518, 0, 3518, 372, 0, 3518, 397, 3518, 403, 409, 3518, 443, 2128, 234, 3518, 3518, 3518, 3518, 3518, 2144, 3518, 2139, 3518, 3518, 2151, 503, 3518, 2168, 3518, 548, 394, 403, 414, 262, 240, 280, 402, 387, 0, 305, 241, 335, 404, 3518, 3518, 3518, 2138, 3518, 3518, 3518, 2136, 2132, 215, 310, 2147, 327, 333, 349, 401, 414, 434, 449, 2128, 452, 453, 2109, 317, 3518, 3518, 464, 2105, 2103, 3518, 425, 418, 437, 439, 438, 441, 443, 444, 555, 446, 449, 451, 461, 452, 450, 453, 251, 458, 466, 318, 468, 469, 472, 480, 481, 488, 486, 2101, 494, 493, 497, 517, 496, 531, 525, 533, 507, 499, 529, 553, 534, 541, 3518, 3518, 630, 636, 2149, 642, 3518, 648, 3518, 2099, 538, 2095, 2093, 0, 3518, 654, 2089, 2088, 2087, 0, 2109, 523, 570, 587, 624, 661, 591, 651, 614, 620, 2106, 652, 655, 2083, 2078, 3518, 687, 674, 3518, 2077, 2128, 3518, 663, 0, 404, 695, 713, 734, 745, 641, 3518, 2086, 2061, 0, 753, 2103, 756, 642, 3518, 2079, 2055, 767, 3518, 3518, 2087, 3518, 3518, 674, 700, 2067, 2066, 677, 2058, 2057, 2056, 0, 2055, 0, 543, 681, 694, 735, 572, 748, 695, 752, 714, 758, 736, 755, 746, 766, 760, 644, 762, 763, 767, 2056, 769, 784, 692, 504, 771, 774, 703, 788, 794, 777, 786, 797, 798, 799, 801, 803, 804, 802, 805, 811, 2051, 816, 810, 815, 812, 817, 818, 578, 820, 819, 822, 830, 831, 2050, 833, 832, 835, 836, 846, 839, 905, 886, 2046, 2045, 2043, 0, 2038, 0, 892, 896, 2037, 0, 2036, 0, 2035, 0, 2054, 3518, 711, 877, 1990, 1985, 0, 1984, 0, 900, 907, 918, 929, 940, 952, 962, 3518, 3518, 926, 927, 979, 955, 1013, 893, 1011, 934, 3518, 3518, 1981, 1980, 1979, 0, 1978, 0, 1977, 0, 1975, 0, 847, 861, 953, 887, 888, 898, 950, 918, 960, 961, 942, 970, 983, 975, 991, 990, 996, 1001, 1004, 1006, 993, 1013, 1973, 764, 1972, 532, 1971, 1010, 1015, 1020, 1019, 1021, 1023, 1970, 1968, 919, 1022, 1024, 1027, 1035, 1038, 1043, 1964, 1040, 1963, 1041, 1045, 1047, 1048, 1051, 1046, 1053, 1056, 956, 1054, 1059, 1062, 1060, 1063, 1962, 1065, 1072, 1125, 1958, 0, 1957, 0, 1955, 0, 1950, 0, 1117, 1949, 0, 1948, 0, 1947, 1945, 1940, 0, 1939, 0, 1121, 1127, 1172, 1114, 1183, 1115, 1085, 1088, 3518, 1189, 1195, 1206, 1949, 1925, 1935, 1930, 0, 1929, 0, 1928, 0, 1927, 0, 1925, 0, 1921, 0, 1105, 1107, 1923, 1106, 1112, 1114, 1128, 1125, 1078, 1075, 1123, 1115, 1173, 1176, 1185, 1183, 1129, 1139, 164, 1190, 1189, 1191, 1193, 1195, 1922, 1921, 1203, 1920, 1196, 1201, 1204, 1206, 1918, 1207, 1141, 1213, 1912, 1214, 1216, 1907, 1217, 1223, 1209, 1220, 1225, 1902, 1227, 1230, 1234, 1236, 1237, 1901, 1238, 1243, 1900, 1239, 1244, 1899, 1947, 1893, 0, 1871, 0, 1870, 0, 1869, 0, 1868, 0, 1866, 0, 1861, 0, 1860, 0, 1288, 1294, 1300, 1311, 1859, 3518, 1322, 3518, 1346, 3518, 1858, 0, 1856, 0, 1851, 0, 1850, 0, 0, 0, 1852, 0, 1308, 1245, 1246, 1288, 1290, 1281, 1299, 1316, 1312, 1248, 1323, 1327, 1278, 1328, 1280, 1330, 1331, 1366, 1340, 1334, 1341, 1344, 1343, 1851, 1346, 1347, 1351, 1849, 1844, 1352, 1353, 1843, 1357, 1842, 1841, 1358, 1364, 1839, 1834, 1833, 1832, 1831, 1829, 1359, 1824, 1375, 1363, 1872, 3518, 1819, 0, 1818, 0, 0, 0, 1819, 0, 0, 0, 3518, 0, 0, 0, 0, 1414, 1420, 1465, 1811, 0, 1810, 0, 0, 0, 0, 1809, 1360, 1397, 1811, 1376, 1398, 1377, 1379, 1401, 1408, 1400, 1809, 1410, 1413, 1425, 1421, 1443, 1431, 1444, 1445, 1446, 1414, 1447, 1448, 1419, 1804, 1450, 1803, 1433, 1802, 1801, 1451, 1452, 1799, 1454, 1457, 0, 0, 1791, 1790, 1789, 1788, 1504, 0, 1786, 1775, 1772, 1771, 1767, 1769, 1768, 1767, 1765, 1461, 1465, 1464, 1470, 1463, 1460, 1467, 1484, 1486, 1515, 1741, 1489, 1730, 1491, 1490, 1495, 1500, 1496, 1729, 1725, 1722, 1721, 1720, 1718, 1713, 1711, 1706, 1697, 1694, 1684, 1681, 1680, 1653, 1652, 1651, 1650, 1501, 1652, 1502, 1504, 1505, 1509, 1510, 1642, 1506, 1537, 1514, 1639, 1516, 1518, 1526, 1525, 1635, 1581, 1580, 1579, 1578, 1577, 1576, 1575, 1573, 1571, 1570, 1569, 1568, 1570, 1519, 1520, 1530, 1532, 1536, 1535, 1569, 1568, 1542, 1567, 1566, 1543, 1469, 1423, 1380, 1306, 1302, 1251, 1247, 963, 1544, 1549, 964, 1547, 907, 1548, 1555, 1556, 850, 730, 1557, 1560, 1561, 1562, 636, 500, 1563, 415, 298, 236, 165, 3518, 1637, 1654, 1671, 1685, 1699, 1716, 1730, 1747, 1762, 1779, 1796, 1808, 1821, 1832, 1842, 1852, 1862, 1872, 1882, 1892, 1902, 1912, 1928, 1939, 1950, 1961, 1971, 1981, 1991, 2001, 2011, 2021, 2034, 2051, 2068, 2079, 2089, 2099, 2109, 2119, 2129, 2139, 2149, 2159, 2169, 2179, 2189, 2199, 2209, 2219, 2229, 2239, 2249, 2260, 2270, 2280, 2290, 2300, 2310, 2320, 2330, 2340, 2350, 2360, 2373, 2390, 2401, 2411, 2421, 2431, 2441, 2451, 2461, 2471, 2481, 2491, 2501, 2511, 2521, 2531, 2541, 2551, 2561, 2571, 2581, 2591, 2601, 2611, 2621, 2631, 2641, 2651, 2661, 2671, 2681, 2691, 2701, 2714, 2731, 2742, 2752, 2762, 2772, 2782, 2792, 2802, 2812, 2822, 2832, 2842, 2852, 2862, 2872, 2882, 2892, 2902, 2912, 2922, 2932, 2942, 2952, 2962, 2972, 2982, 2992, 3002, 3015, 3026, 3042, 3053, 3063, 3073, 3083, 3093, 3103, 3116, 3127, 3137, 3147, 3157, 3167, 3177, 3187, 3197, 3207, 3217, 3227, 3237, 3247, 3257, 3267, 3280, 3291, 3301, 3311, 3321, 3331, 3341, 3351, 3361, 3371, 3381, 3391, 3401, 3411, 3421, 3431, 3441, 3451, 3461, 3471, 3481, 3491, 3501 } ; static yyconst flex_int16_t yy_def[995] = { 0, 820, 1, 821, 821, 820, 5, 822, 822, 823, 823, 820, 820, 820, 820, 820, 820, 820, 824, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 31, 820, 820, 820, 820, 820, 820, 825, 824, 820, 820, 820, 820, 824, 820, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 820, 820, 820, 820, 820, 826, 820, 820, 820, 827, 820, 820, 828, 820, 829, 830, 820, 820, 820, 820, 820, 820, 820, 824, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 831, 820, 820, 30, 820, 820, 820, 820, 832, 30, 820, 31, 820, 820, 31, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 833, 820, 820, 820, 824, 834, 835, 820, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 820, 820, 820, 826, 826, 826, 820, 826, 820, 827, 820, 836, 837, 828, 820, 820, 838, 839, 840, 830, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 841, 842, 820, 820, 820, 820, 224, 843, 820, 820, 103, 103, 820, 820, 820, 820, 820, 820, 820, 820, 844, 845, 846, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 833, 820, 847, 848, 849, 850, 851, 852, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 854, 855, 856, 857, 858, 859, 860, 861, 820, 820, 862, 863, 864, 865, 866, 867, 820, 820, 820, 820, 820, 868, 869, 870, 871, 820, 820, 820, 820, 820, 820, 820, 820, 820, 872, 873, 874, 820, 820, 820, 874, 820, 820, 820, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 820, 895, 896, 897, 898, 899, 899, 900, 901, 902, 903, 820, 820, 820, 904, 820, 904, 820, 820, 820, 820, 820, 820, 820, 820, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 820, 820, 820, 820, 936, 820, 820, 820, 820, 820, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 949, 820, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 820, 960, 961, 962, 963, 820, 820, 820, 964, 965, 966, 967, 968, 969, 970, 971, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 973, 974, 952, 975, 976, 977, 820, 978, 964, 966, 979, 980, 971, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 981, 982, 975, 983, 976, 984, 977, 985, 986, 979, 987, 980, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 988, 981, 989, 982, 990, 983, 991, 984, 992, 985, 993, 986, 987, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 994, 988, 989, 990, 991, 966, 992, 993, 972, 972, 972, 972, 972, 972, 972, 972, 994, 966, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 0, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820 } ; static yyconst flex_int16_t yy_nxt[3603] = { 0, 12, 13, 14, 15, 15, 15, 13, 16, 17, 12, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 36, 37, 38, 39, 18, 18, 18, 18, 18, 18, 18, 18, 40, 18, 18, 18, 18, 18, 18, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 18, 54, 18, 55, 18, 18, 18, 18, 56, 57, 58, 59, 60, 61, 18, 18, 18, 62, 63, 64, 65, 66, 83, 91, 84, 84, 66, 87, 88, 67, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 72, 70, 70, 71, 73, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 70, 70, 70, 70, 75, 75, 78, 78, 122, 123, 89, 86, 78, 78, 603, 75, 75, 79, 80, 81, 81, 81, 79, 81, 80, 82, 82, 82, 81, 90, 92, 157, 143, 86, 97, 94, 98, 98, 98, 98, 98, 98, 86, 86, 93, 99, 84, 95, 96, 84, 100, 172, 117, 76, 76, 76, 76, 140, 144, 86, 101, 102, 141, 103, 103, 103, 103, 104, 104, 118, 86, 119, 120, 252, 86, 253, 86, 175, 86, 158, 105, 188, 86, 176, 106, 161, 159, 177, 86, 107, 108, 155, 160, 156, 162, 109, 86, 164, 163, 165, 86, 105, 86, 142, 199, 185, 173, 110, 166, 221, 239, 247, 140, 174, 86, 107, 86, 141, 108, 102, 186, 111, 111, 111, 111, 111, 111, 241, 182, 86, 200, 189, 237, 240, 248, 222, 183, 238, 105, 146, 147, 148, 112, 184, 86, 149, 150, 113, 151, 86, 152, 153, 294, 114, 167, 86, 178, 179, 154, 105, 86, 243, 168, 238, 169, 115, 180, 170, 252, 181, 253, 171, 187, 113, 124, 245, 86, 254, 125, 126, 246, 127, 820, 128, 129, 252, 130, 253, 131, 193, 194, 252, 260, 253, 193, 254, 86, 132, 133, 134, 190, 80, 81, 81, 81, 190, 246, 252, 191, 253, 195, 195, 195, 195, 195, 195, 249, 135, 261, 297, 136, 203, 203, 203, 203, 79, 80, 81, 81, 81, 79, 81, 80, 81, 81, 81, 81, 81, 80, 82, 82, 82, 81, 231, 231, 231, 231, 204, 137, 820, 102, 820, 104, 104, 104, 104, 104, 104, 234, 252, 234, 253, 238, 235, 235, 235, 235, 235, 235, 105, 820, 255, 252, 205, 253, 232, 206, 208, 820, 246, 237, 209, 210, 244, 233, 355, 211, 212, 238, 213, 105, 214, 252, 86, 253, 236, 86, 245, 820, 140, 215, 216, 217, 86, 141, 246, 820, 252, 256, 253, 252, 252, 253, 253, 268, 86, 86, 86, 266, 86, 218, 86, 86, 219, 86, 267, 270, 86, 86, 86, 86, 86, 271, 269, 274, 290, 86, 272, 287, 86, 285, 293, 86, 273, 86, 292, 86, 86, 291, 286, 86, 220, 224, 224, 224, 224, 224, 224, 86, 86, 288, 289, 299, 295, 86, 296, 86, 300, 298, 225, 226, 86, 86, 226, 86, 86, 301, 86, 86, 302, 308, 342, 86, 343, 227, 86, 304, 305, 307, 405, 225, 226, 312, 303, 306, 86, 226, 98, 98, 98, 98, 98, 98, 86, 319, 318, 309, 86, 315, 86, 86, 86, 86, 328, 225, 226, 310, 311, 226, 86, 313, 86, 514, 316, 317, 323, 320, 324, 342, 230, 343, 86, 325, 86, 380, 225, 226, 314, 275, 329, 276, 226, 277, 278, 321, 342, 279, 343, 280, 342, 86, 343, 322, 281, 282, 283, 86, 284, 190, 80, 81, 81, 81, 190, 193, 194, 191, 384, 343, 193, 193, 194, 342, 430, 343, 193, 326, 194, 342, 345, 343, 326, 342, 327, 343, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 334, 334, 334, 334, 343, 344, 342, 342, 343, 343, 342, 86, 343, 358, 368, 351, 342, 351, 343, 86, 352, 352, 352, 352, 352, 352, 225, 226, 398, 252, 226, 253, 335, 224, 224, 224, 224, 224, 224, 358, 368, 104, 104, 104, 104, 104, 104, 225, 226, 370, 225, 226, 353, 226, 226, 252, 86, 253, 105, 235, 235, 235, 235, 235, 235, 227, 342, 86, 343, 86, 86, 225, 226, 244, 381, 371, 404, 226, 86, 105, 356, 356, 356, 356, 356, 356, 234, 382, 234, 86, 386, 235, 235, 235, 235, 235, 235, 361, 226, 408, 409, 226, 104, 104, 104, 104, 104, 104, 820, 388, 86, 86, 357, 111, 111, 111, 111, 111, 111, 226, 363, 86, 364, 86, 226, 365, 383, 86, 385, 392, 86, 366, 387, 86, 244, 86, 394, 86, 86, 86, 397, 86, 86, 367, 86, 249, 86, 364, 389, 86, 399, 365, 86, 513, 390, 391, 393, 395, 396, 86, 401, 86, 402, 86, 403, 400, 406, 407, 410, 86, 413, 412, 86, 86, 86, 411, 86, 86, 86, 86, 86, 417, 415, 418, 419, 86, 86, 86, 414, 416, 86, 86, 86, 86, 86, 86, 421, 86, 422, 423, 425, 420, 424, 426, 431, 86, 86, 86, 86, 427, 86, 86, 194, 429, 86, 428, 432, 436, 192, 439, 433, 86, 86, 438, 435, 437, 440, 434, 820, 441, 326, 194, 342, 489, 343, 326, 86, 327, 202, 202, 202, 202, 334, 334, 334, 334, 352, 352, 352, 352, 352, 352, 490, 462, 462, 462, 462, 462, 462, 351, 474, 351, 86, 86, 352, 352, 352, 352, 352, 352, 451, 226, 493, 86, 226, 224, 224, 224, 224, 224, 224, 492, 86, 475, 494, 463, 231, 231, 231, 231, 104, 104, 226, 86, 86, 466, 466, 226, 356, 356, 356, 356, 356, 356, 467, 468, 470, 354, 356, 356, 356, 356, 356, 356, 522, 496, 226, 86, 355, 226, 466, 466, 469, 361, 469, 86, 226, 470, 86, 226, 357, 86, 470, 499, 495, 86, 86, 226, 538, 86, 464, 820, 226, 491, 497, 86, 363, 226, 364, 498, 86, 365, 226, 470, 471, 820, 471, 366, 86, 472, 472, 472, 472, 472, 472, 86, 86, 500, 86, 367, 505, 86, 503, 364, 501, 502, 86, 365, 363, 86, 364, 86, 508, 365, 504, 86, 506, 511, 86, 476, 86, 473, 510, 507, 86, 86, 86, 86, 86, 86, 509, 367, 86, 512, 517, 364, 515, 521, 518, 365, 86, 520, 516, 86, 524, 86, 86, 519, 86, 523, 86, 86, 86, 86, 525, 526, 86, 528, 86, 86, 535, 86, 529, 527, 86, 86, 539, 86, 86, 530, 86, 531, 532, 533, 537, 541, 536, 86, 534, 544, 86, 194, 543, 86, 466, 542, 546, 547, 593, 540, 569, 594, 545, 202, 202, 202, 202, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, 466, 86, 86, 86, 466, 466, 226, 569, 86, 226, 86, 86, 226, 467, 568, 226, 587, 588, 586, 86, 463, 86, 595, 590, 86, 86, 564, 226, 589, 466, 466, 596, 226, 226, 592, 86, 601, 86, 226, 356, 356, 356, 356, 356, 356, 565, 591, 565, 602, 615, 566, 566, 566, 566, 566, 566, 472, 472, 472, 472, 472, 472, 570, 570, 570, 570, 570, 570, 471, 86, 471, 464, 86, 472, 472, 472, 472, 472, 472, 86, 571, 86, 567, 571, 600, 86, 86, 86, 597, 86, 599, 86, 86, 598, 572, 604, 608, 86, 607, 86, 86, 571, 86, 86, 606, 86, 571, 605, 609, 86, 86, 613, 86, 86, 611, 612, 86, 618, 610, 86, 614, 86, 619, 86, 616, 617, 86, 621, 620, 622, 86, 624, 86, 86, 86, 86, 625, 626, 623, 86, 86, 86, 86, 629, 86, 628, 820, 671, 663, 630, 808, 664, 631, 632, 627, 462, 462, 462, 462, 462, 462, 566, 566, 566, 566, 566, 566, 650, 650, 650, 650, 650, 650, 565, 86, 565, 86, 86, 566, 566, 566, 566, 566, 566, 86, 571, 86, 564, 571, 570, 570, 570, 570, 570, 570, 86, 674, 665, 676, 651, 667, 820, 668, 666, 86, 820, 571, 571, 86, 661, 571, 571, 86, 570, 570, 570, 570, 570, 570, 86, 669, 572, 662, 86, 86, 670, 86, 86, 571, 677, 86, 571, 672, 571, 571, 679, 86, 86, 673, 86, 86, 675, 86, 86, 678, 652, 682, 86, 86, 86, 681, 680, 571, 86, 86, 86, 86, 571, 683, 86, 86, 684, 86, 691, 685, 693, 686, 692, 688, 687, 690, 86, 86, 86, 695, 86, 689, 709, 713, 820, 694, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 86, 86, 714, 86, 86, 711, 571, 715, 712, 571, 710, 86, 571, 86, 716, 571, 86, 86, 722, 718, 651, 717, 86, 725, 86, 719, 702, 571, 86, 820, 727, 720, 571, 571, 86, 730, 86, 723, 571, 570, 570, 570, 570, 570, 570, 721, 86, 86, 86, 86, 86, 86, 726, 86, 86, 86, 724, 86, 728, 732, 86, 729, 731, 86, 86, 735, 86, 86, 86, 736, 86, 652, 751, 86, 733, 807, 753, 734, 650, 650, 650, 650, 650, 650, 749, 750, 754, 86, 752, 86, 756, 758, 86, 86, 86, 759, 755, 760, 86, 86, 761, 762, 757, 86, 86, 86, 763, 86, 86, 86, 702, 781, 86, 86, 764, 785, 783, 86, 86, 86, 786, 86, 86, 86, 788, 780, 779, 784, 86, 86, 800, 778, 789, 86, 782, 86, 801, 790, 86, 86, 86, 787, 803, 799, 802, 86, 86, 86, 805, 806, 86, 86, 86, 811, 812, 804, 809, 810, 86, 86, 86, 813, 814, 86, 86, 86, 86, 817, 818, 86, 86, 86, 86, 86, 820, 820, 798, 820, 816, 797, 815, 820, 795, 820, 794, 820, 793, 820, 819, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 85, 792, 86, 85, 85, 86, 85, 85, 85, 85, 85, 85, 85, 85, 138, 86, 820, 777, 820, 776, 138, 138, 138, 138, 138, 138, 138, 138, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 197, 774, 820, 197, 197, 772, 197, 197, 197, 197, 197, 197, 197, 197, 201, 820, 201, 201, 770, 201, 201, 201, 201, 201, 201, 201, 201, 820, 201, 201, 201, 202, 768, 202, 766, 202, 86, 202, 86, 86, 86, 202, 202, 86, 202, 202, 207, 86, 86, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 86, 207, 207, 207, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 242, 242, 242, 86, 242, 86, 86, 86, 820, 242, 242, 258, 748, 746, 258, 258, 820, 258, 258, 258, 258, 258, 258, 258, 258, 262, 262, 820, 262, 743, 741, 739, 820, 262, 262, 264, 264, 86, 264, 86, 86, 86, 86, 264, 264, 330, 330, 86, 330, 86, 708, 705, 704, 330, 330, 332, 332, 198, 332, 698, 697, 634, 86, 332, 332, 336, 336, 86, 336, 86, 86, 86, 86, 336, 336, 338, 338, 86, 338, 86, 86, 86, 86, 338, 338, 340, 340, 86, 340, 86, 86, 659, 658, 340, 340, 347, 347, 656, 347, 654, 568, 649, 648, 347, 347, 349, 349, 646, 349, 644, 642, 640, 638, 349, 349, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 360, 360, 636, 360, 634, 86, 86, 86, 86, 360, 362, 362, 362, 86, 362, 362, 362, 362, 86, 362, 362, 242, 242, 242, 86, 242, 86, 86, 86, 86, 585, 242, 372, 372, 583, 372, 581, 579, 577, 575, 372, 372, 374, 374, 476, 374, 573, 573, 563, 561, 374, 374, 376, 376, 457, 376, 457, 559, 557, 555, 376, 376, 262, 262, 553, 262, 551, 549, 86, 86, 86, 262, 378, 378, 86, 378, 86, 86, 86, 86, 378, 378, 264, 264, 488, 264, 486, 484, 482, 480, 478, 264, 85, 461, 459, 85, 85, 343, 85, 85, 85, 85, 85, 85, 85, 85, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 443, 443, 343, 443, 457, 455, 453, 450, 443, 443, 445, 445, 448, 445, 446, 444, 86, 86, 445, 445, 447, 447, 86, 447, 379, 377, 375, 373, 447, 447, 330, 330, 259, 330, 254, 253, 369, 369, 241, 330, 449, 449, 359, 449, 359, 229, 354, 350, 449, 449, 332, 332, 348, 332, 346, 342, 341, 339, 337, 332, 452, 452, 333, 452, 331, 198, 194, 86, 452, 452, 336, 336, 265, 336, 263, 259, 257, 254, 252, 336, 454, 454, 251, 454, 250, 229, 223, 84, 454, 454, 338, 338, 84, 338, 86, 198, 196, 84, 145, 338, 456, 456, 139, 456, 121, 116, 86, 820, 456, 456, 340, 340, 69, 340, 69, 820, 820, 820, 820, 340, 458, 458, 820, 458, 820, 820, 820, 820, 458, 458, 347, 347, 820, 347, 820, 820, 820, 820, 820, 347, 460, 460, 820, 460, 820, 820, 820, 820, 460, 460, 349, 349, 820, 349, 820, 820, 820, 820, 820, 349, 465, 465, 820, 465, 820, 465, 820, 820, 465, 465, 360, 360, 820, 360, 820, 360, 820, 820, 360, 360, 362, 362, 362, 820, 362, 362, 362, 362, 820, 362, 362, 477, 477, 820, 477, 820, 820, 820, 820, 477, 477, 479, 479, 820, 479, 820, 820, 820, 820, 479, 479, 481, 481, 820, 481, 820, 820, 820, 820, 481, 481, 372, 372, 820, 372, 820, 820, 820, 820, 820, 372, 483, 483, 820, 483, 820, 820, 820, 820, 483, 483, 374, 374, 820, 374, 820, 820, 820, 820, 820, 374, 485, 485, 820, 485, 820, 820, 820, 820, 485, 485, 376, 376, 820, 376, 820, 820, 820, 820, 820, 376, 487, 487, 820, 487, 820, 820, 820, 820, 487, 487, 378, 378, 820, 378, 820, 820, 820, 820, 820, 378, 85, 820, 820, 85, 85, 820, 85, 85, 85, 85, 85, 85, 85, 85, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 548, 548, 820, 548, 820, 820, 820, 820, 548, 548, 443, 443, 820, 443, 820, 820, 820, 820, 820, 443, 550, 550, 820, 550, 820, 820, 820, 820, 550, 550, 445, 445, 820, 445, 820, 820, 820, 820, 820, 445, 552, 552, 820, 552, 820, 820, 820, 820, 552, 552, 447, 447, 820, 447, 820, 820, 820, 820, 820, 447, 554, 554, 820, 554, 820, 820, 820, 820, 554, 554, 449, 449, 820, 449, 820, 820, 820, 820, 820, 449, 556, 556, 820, 556, 820, 820, 820, 820, 556, 556, 452, 452, 820, 452, 820, 820, 820, 820, 820, 452, 558, 558, 820, 558, 820, 820, 820, 820, 558, 558, 454, 454, 820, 454, 820, 820, 820, 820, 820, 454, 456, 456, 820, 456, 820, 820, 820, 820, 456, 456, 560, 560, 820, 560, 820, 820, 820, 820, 560, 560, 458, 458, 820, 458, 820, 820, 820, 820, 820, 458, 562, 562, 820, 562, 820, 820, 820, 820, 562, 562, 460, 460, 820, 460, 820, 820, 820, 820, 820, 460, 465, 465, 820, 465, 820, 465, 820, 820, 465, 465, 362, 362, 820, 362, 820, 820, 820, 820, 362, 362, 574, 574, 820, 574, 820, 820, 820, 820, 574, 574, 477, 477, 820, 477, 820, 820, 820, 820, 820, 477, 576, 576, 820, 576, 820, 820, 820, 820, 576, 576, 479, 479, 820, 479, 820, 820, 820, 820, 820, 479, 578, 578, 820, 578, 820, 820, 820, 820, 578, 578, 481, 481, 820, 481, 820, 820, 820, 820, 820, 481, 580, 580, 820, 580, 820, 820, 820, 820, 580, 580, 483, 483, 820, 483, 820, 820, 820, 820, 820, 483, 582, 582, 820, 582, 820, 820, 820, 820, 582, 582, 485, 485, 820, 485, 820, 820, 820, 820, 820, 485, 584, 584, 820, 584, 820, 820, 820, 820, 584, 584, 487, 487, 820, 487, 820, 820, 820, 820, 820, 487, 85, 820, 820, 85, 85, 820, 85, 85, 85, 85, 85, 85, 85, 85, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 635, 635, 820, 635, 820, 820, 820, 820, 635, 635, 548, 548, 820, 548, 820, 820, 820, 820, 820, 548, 637, 637, 820, 637, 820, 820, 820, 820, 637, 637, 550, 550, 820, 550, 820, 820, 820, 820, 820, 550, 639, 639, 820, 639, 820, 820, 820, 820, 639, 639, 552, 552, 820, 552, 820, 820, 820, 820, 820, 552, 641, 641, 820, 641, 820, 820, 820, 820, 641, 641, 554, 554, 820, 554, 820, 820, 820, 820, 820, 554, 643, 643, 820, 643, 820, 820, 820, 820, 643, 643, 556, 556, 820, 556, 820, 820, 820, 820, 820, 556, 645, 645, 820, 645, 820, 820, 820, 820, 645, 645, 558, 558, 820, 558, 820, 820, 820, 820, 820, 558, 647, 647, 820, 647, 820, 820, 820, 820, 647, 647, 560, 560, 820, 560, 820, 820, 820, 820, 820, 560, 85, 85, 820, 85, 820, 820, 820, 820, 85, 85, 562, 562, 820, 562, 820, 820, 820, 820, 820, 562, 465, 465, 820, 465, 820, 820, 820, 820, 465, 465, 653, 653, 820, 653, 820, 820, 820, 820, 653, 653, 574, 574, 820, 574, 820, 820, 820, 820, 820, 574, 655, 655, 820, 655, 820, 820, 820, 820, 655, 655, 576, 576, 820, 576, 820, 820, 820, 820, 820, 576, 657, 657, 820, 657, 820, 820, 820, 820, 657, 657, 578, 578, 820, 578, 820, 820, 820, 820, 820, 578, 138, 138, 820, 138, 820, 820, 820, 820, 138, 138, 580, 580, 820, 580, 820, 820, 820, 820, 820, 580, 660, 660, 820, 660, 820, 820, 820, 820, 820, 660, 582, 582, 820, 582, 820, 820, 820, 820, 820, 582, 85, 820, 820, 85, 85, 820, 85, 85, 85, 85, 85, 85, 85, 85, 584, 584, 820, 584, 820, 820, 820, 820, 820, 584, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 633, 696, 696, 820, 696, 820, 820, 820, 820, 696, 696, 635, 635, 820, 635, 820, 820, 820, 820, 820, 635, 197, 197, 820, 197, 820, 820, 820, 820, 197, 197, 637, 637, 820, 637, 820, 820, 820, 820, 820, 637, 699, 699, 820, 699, 820, 820, 820, 820, 820, 699, 639, 639, 820, 639, 820, 820, 820, 820, 820, 639, 197, 820, 820, 197, 197, 820, 197, 197, 197, 197, 197, 197, 197, 197, 641, 641, 820, 641, 820, 820, 820, 820, 820, 641, 700, 700, 820, 700, 820, 820, 820, 820, 820, 700, 643, 643, 820, 643, 820, 820, 820, 820, 820, 643, 645, 645, 820, 645, 820, 820, 820, 820, 820, 645, 701, 701, 820, 701, 820, 820, 820, 820, 820, 701, 647, 647, 820, 647, 820, 820, 820, 820, 820, 647, 85, 85, 820, 85, 820, 820, 820, 820, 820, 85, 703, 703, 820, 703, 820, 820, 820, 820, 703, 703, 653, 653, 820, 653, 820, 820, 820, 820, 820, 653, 258, 258, 820, 258, 820, 820, 820, 820, 258, 258, 655, 655, 820, 655, 820, 820, 820, 820, 820, 655, 706, 706, 820, 706, 820, 820, 820, 820, 820, 706, 657, 657, 820, 657, 820, 820, 820, 820, 820, 657, 138, 138, 820, 138, 820, 820, 820, 820, 820, 138, 707, 707, 820, 707, 820, 820, 820, 820, 707, 707, 85, 820, 820, 85, 85, 820, 85, 85, 85, 85, 85, 85, 85, 85, 737, 737, 820, 737, 820, 820, 820, 820, 820, 737, 696, 696, 820, 696, 820, 820, 820, 820, 820, 696, 738, 738, 820, 738, 820, 820, 820, 820, 738, 738, 740, 740, 820, 740, 820, 820, 820, 820, 740, 740, 742, 742, 820, 742, 820, 820, 820, 820, 742, 742, 744, 744, 820, 744, 820, 820, 820, 820, 820, 744, 745, 745, 820, 745, 820, 820, 820, 820, 745, 745, 747, 747, 820, 747, 820, 820, 820, 820, 747, 747, 765, 765, 820, 765, 820, 820, 820, 820, 765, 765, 767, 767, 820, 767, 820, 820, 820, 820, 767, 767, 769, 769, 820, 769, 820, 820, 820, 820, 769, 769, 771, 771, 820, 771, 820, 820, 820, 820, 771, 771, 773, 773, 820, 773, 820, 820, 820, 820, 773, 773, 775, 775, 820, 775, 820, 820, 820, 820, 775, 775, 584, 584, 820, 584, 820, 820, 820, 820, 584, 584, 791, 791, 820, 791, 820, 820, 820, 820, 791, 791, 641, 641, 820, 641, 820, 820, 820, 820, 641, 641, 645, 645, 820, 645, 820, 820, 820, 820, 645, 645, 85, 85, 820, 85, 820, 820, 820, 820, 85, 85, 796, 796, 820, 796, 820, 820, 820, 820, 796, 796, 138, 138, 820, 138, 820, 820, 820, 820, 138, 138, 197, 197, 820, 197, 820, 820, 820, 820, 197, 197, 11, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820 } ; static yyconst flex_int16_t yy_chk[3603] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 16, 24, 16, 24, 2, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 9, 10, 37, 37, 20, 48, 9, 10, 507, 7, 8, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 20, 25, 48, 42, 53, 28, 27, 28, 28, 28, 28, 28, 28, 507, 819, 25, 29, 25, 27, 27, 27, 29, 53, 35, 7, 8, 9, 10, 40, 42, 55, 29, 30, 40, 30, 30, 30, 30, 30, 30, 35, 47, 35, 35, 125, 49, 125, 50, 55, 56, 49, 30, 63, 51, 55, 30, 50, 49, 56, 59, 30, 30, 47, 49, 47, 50, 30, 54, 51, 50, 51, 40, 30, 60, 40, 72, 59, 54, 30, 51, 86, 107, 113, 45, 54, 818, 30, 58, 45, 30, 31, 60, 31, 31, 31, 31, 31, 31, 108, 58, 162, 72, 63, 106, 107, 113, 86, 58, 106, 31, 45, 45, 45, 31, 58, 57, 45, 45, 31, 45, 52, 45, 45, 162, 31, 52, 45, 57, 57, 45, 31, 61, 108, 52, 106, 52, 31, 57, 52, 126, 57, 126, 52, 61, 31, 38, 112, 817, 129, 38, 38, 112, 38, 114, 38, 38, 128, 38, 128, 38, 67, 67, 129, 139, 129, 67, 130, 165, 38, 38, 38, 66, 66, 66, 66, 66, 66, 112, 130, 66, 130, 67, 67, 67, 67, 67, 67, 114, 38, 139, 165, 38, 76, 76, 76, 76, 79, 79, 79, 79, 79, 79, 81, 81, 81, 81, 81, 81, 82, 82, 82, 82, 82, 82, 103, 103, 103, 103, 76, 38, 109, 104, 232, 104, 104, 104, 104, 104, 104, 105, 131, 105, 131, 110, 105, 105, 105, 105, 105, 105, 104, 103, 132, 132, 76, 132, 103, 76, 84, 109, 115, 110, 84, 84, 109, 104, 232, 84, 84, 110, 84, 104, 84, 133, 816, 133, 105, 147, 115, 103, 142, 84, 84, 84, 146, 142, 115, 109, 134, 134, 134, 136, 137, 136, 137, 147, 148, 150, 149, 146, 151, 84, 152, 153, 84, 155, 146, 149, 156, 160, 157, 159, 161, 150, 148, 153, 159, 163, 151, 157, 158, 155, 161, 142, 152, 164, 160, 166, 167, 159, 156, 168, 84, 98, 98, 98, 98, 98, 98, 169, 170, 158, 158, 167, 163, 172, 164, 171, 168, 166, 98, 98, 175, 174, 98, 178, 176, 169, 183, 814, 170, 176, 209, 289, 209, 98, 182, 172, 174, 175, 289, 98, 98, 178, 171, 174, 177, 98, 102, 102, 102, 102, 102, 102, 180, 183, 182, 177, 184, 180, 179, 405, 181, 186, 198, 102, 102, 177, 177, 102, 187, 179, 266, 405, 180, 181, 186, 184, 186, 210, 102, 210, 185, 187, 154, 266, 102, 102, 179, 154, 198, 154, 102, 154, 154, 185, 211, 154, 211, 154, 214, 270, 214, 185, 154, 154, 154, 313, 154, 190, 190, 190, 190, 190, 190, 191, 191, 190, 270, 212, 191, 193, 193, 216, 313, 216, 193, 195, 195, 217, 217, 217, 195, 212, 195, 212, 191, 191, 191, 191, 191, 191, 193, 193, 193, 193, 193, 193, 195, 195, 195, 195, 195, 195, 203, 203, 203, 203, 213, 215, 215, 219, 215, 219, 220, 813, 220, 237, 245, 225, 213, 225, 213, 281, 225, 225, 225, 225, 225, 225, 230, 230, 281, 255, 230, 255, 203, 224, 224, 224, 224, 224, 224, 237, 245, 233, 233, 233, 233, 233, 233, 230, 230, 259, 224, 224, 225, 230, 224, 256, 267, 256, 233, 234, 234, 234, 234, 234, 234, 224, 344, 288, 344, 268, 272, 224, 224, 233, 267, 259, 288, 224, 292, 233, 235, 235, 235, 235, 235, 235, 236, 268, 236, 274, 272, 236, 236, 236, 236, 236, 236, 242, 235, 292, 292, 235, 244, 244, 244, 244, 244, 244, 808, 274, 269, 276, 235, 249, 249, 249, 249, 249, 249, 235, 242, 278, 242, 271, 235, 242, 269, 273, 271, 276, 277, 242, 273, 275, 244, 280, 278, 282, 283, 403, 280, 279, 284, 242, 286, 249, 290, 242, 275, 291, 282, 242, 295, 403, 275, 275, 277, 279, 279, 287, 284, 296, 286, 293, 287, 283, 290, 291, 293, 294, 296, 295, 297, 298, 299, 294, 300, 303, 301, 302, 304, 300, 298, 301, 302, 308, 305, 310, 297, 299, 309, 307, 311, 312, 315, 314, 303, 316, 304, 305, 308, 302, 307, 309, 314, 317, 318, 321, 320, 310, 322, 323, 327, 312, 325, 311, 315, 320, 327, 323, 316, 324, 380, 322, 318, 321, 324, 317, 807, 325, 326, 326, 345, 380, 345, 326, 381, 326, 334, 334, 334, 334, 335, 335, 335, 335, 351, 351, 351, 351, 351, 351, 381, 352, 352, 352, 352, 352, 352, 353, 365, 353, 383, 384, 353, 353, 353, 353, 353, 353, 334, 352, 384, 385, 352, 354, 354, 354, 354, 354, 354, 383, 803, 365, 385, 352, 355, 355, 355, 355, 355, 355, 352, 387, 415, 360, 361, 352, 356, 356, 356, 356, 356, 356, 360, 361, 367, 354, 357, 357, 357, 357, 357, 357, 415, 387, 356, 390, 355, 356, 360, 361, 363, 362, 367, 386, 357, 363, 382, 357, 356, 433, 367, 390, 386, 388, 389, 356, 433, 801, 357, 798, 356, 382, 388, 391, 362, 357, 362, 389, 393, 362, 357, 363, 364, 366, 364, 362, 392, 364, 364, 364, 364, 364, 364, 395, 394, 391, 400, 362, 395, 396, 393, 362, 392, 392, 397, 362, 366, 398, 366, 399, 397, 366, 394, 407, 396, 400, 401, 366, 408, 364, 399, 396, 410, 409, 411, 416, 412, 417, 398, 366, 418, 401, 409, 366, 407, 412, 409, 366, 419, 411, 408, 420, 417, 423, 425, 410, 421, 416, 426, 430, 427, 428, 418, 419, 429, 421, 431, 434, 430, 432, 423, 420, 435, 437, 434, 436, 438, 425, 440, 426, 427, 428, 432, 436, 431, 441, 429, 438, 498, 442, 437, 497, 468, 436, 441, 442, 497, 435, 469, 498, 440, 451, 451, 451, 451, 462, 462, 462, 462, 462, 462, 463, 463, 463, 463, 463, 463, 468, 489, 492, 490, 465, 467, 462, 469, 493, 462, 494, 500, 463, 465, 467, 463, 490, 492, 489, 499, 462, 496, 499, 494, 495, 505, 463, 462, 493, 465, 467, 500, 462, 463, 496, 506, 505, 523, 463, 464, 464, 464, 464, 464, 464, 466, 495, 466, 506, 523, 466, 466, 466, 466, 466, 466, 471, 471, 471, 471, 471, 471, 472, 472, 472, 472, 472, 472, 473, 501, 473, 464, 502, 473, 473, 473, 473, 473, 473, 504, 472, 503, 466, 472, 504, 509, 508, 510, 501, 511, 503, 512, 517, 502, 472, 508, 512, 518, 511, 515, 519, 472, 520, 522, 510, 531, 472, 509, 515, 524, 526, 520, 527, 529, 518, 519, 532, 527, 517, 530, 522, 533, 529, 535, 524, 526, 536, 531, 530, 532, 537, 535, 538, 539, 541, 544, 536, 537, 533, 542, 545, 587, 588, 541, 595, 539, 797, 595, 587, 542, 796, 588, 544, 545, 538, 564, 564, 564, 564, 564, 564, 565, 565, 565, 565, 565, 565, 566, 566, 566, 566, 566, 566, 567, 598, 567, 600, 591, 567, 567, 567, 567, 567, 567, 589, 566, 590, 564, 566, 570, 570, 570, 570, 570, 570, 592, 598, 589, 600, 566, 591, 795, 592, 590, 586, 794, 566, 570, 594, 586, 570, 566, 593, 572, 572, 572, 572, 572, 572, 596, 593, 570, 586, 597, 599, 594, 601, 602, 570, 601, 605, 572, 596, 570, 572, 603, 604, 606, 597, 608, 607, 599, 610, 611, 602, 572, 606, 612, 615, 616, 605, 604, 572, 618, 621, 629, 661, 572, 607, 632, 622, 608, 603, 621, 610, 629, 611, 622, 615, 612, 618, 631, 664, 666, 632, 667, 616, 661, 666, 793, 631, 650, 650, 650, 650, 650, 650, 651, 651, 651, 651, 651, 651, 662, 665, 667, 670, 668, 664, 650, 668, 665, 650, 662, 669, 651, 672, 669, 651, 673, 681, 676, 672, 650, 670, 684, 679, 675, 673, 651, 650, 674, 792, 681, 674, 650, 651, 677, 684, 688, 677, 651, 652, 652, 652, 652, 652, 652, 675, 676, 678, 679, 680, 682, 683, 680, 686, 691, 692, 678, 694, 682, 688, 695, 683, 686, 718, 713, 694, 717, 715, 714, 695, 719, 652, 715, 716, 691, 791, 717, 692, 702, 702, 702, 702, 702, 702, 713, 714, 718, 720, 716, 721, 720, 722, 724, 727, 726, 724, 719, 726, 728, 730, 727, 728, 721, 729, 749, 751, 729, 752, 753, 757, 702, 753, 754, 755, 730, 758, 755, 759, 722, 761, 759, 762, 779, 780, 762, 752, 751, 757, 764, 763, 780, 749, 763, 781, 754, 782, 781, 764, 784, 783, 758, 761, 783, 779, 782, 787, 790, 799, 787, 790, 802, 804, 800, 802, 804, 784, 799, 800, 805, 806, 809, 805, 806, 810, 811, 812, 815, 811, 812, 789, 788, 786, 785, 778, 777, 776, 775, 774, 810, 773, 809, 772, 771, 770, 769, 768, 767, 766, 815, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 821, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 823, 824, 765, 760, 824, 824, 756, 824, 824, 824, 824, 824, 824, 824, 824, 825, 750, 748, 747, 746, 745, 825, 825, 825, 825, 825, 825, 825, 825, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, 827, 744, 743, 827, 827, 742, 827, 827, 827, 827, 827, 827, 827, 827, 828, 741, 828, 828, 740, 828, 828, 828, 828, 828, 828, 828, 828, 739, 828, 828, 828, 829, 738, 829, 737, 829, 736, 829, 735, 734, 733, 829, 829, 732, 829, 829, 830, 731, 725, 830, 830, 830, 830, 830, 830, 830, 830, 830, 830, 723, 830, 830, 830, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, 832, 832, 832, 712, 832, 711, 710, 709, 708, 832, 832, 833, 707, 706, 833, 833, 705, 833, 833, 833, 833, 833, 833, 833, 833, 834, 834, 704, 834, 701, 700, 699, 698, 834, 834, 835, 835, 693, 835, 690, 689, 687, 685, 835, 835, 836, 836, 671, 836, 663, 660, 655, 653, 836, 836, 837, 837, 641, 837, 637, 635, 633, 630, 837, 837, 838, 838, 628, 838, 627, 626, 625, 624, 838, 838, 839, 839, 623, 839, 620, 619, 617, 614, 839, 839, 840, 840, 613, 840, 609, 584, 580, 578, 840, 840, 841, 841, 576, 841, 574, 568, 562, 560, 841, 841, 842, 842, 558, 842, 556, 554, 552, 550, 842, 842, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, 844, 844, 548, 844, 547, 546, 543, 540, 534, 844, 845, 845, 845, 528, 845, 845, 845, 845, 525, 845, 845, 846, 846, 846, 521, 846, 516, 514, 513, 491, 487, 846, 847, 847, 485, 847, 483, 481, 479, 477, 847, 847, 848, 848, 476, 848, 475, 474, 460, 458, 848, 848, 849, 849, 457, 849, 456, 454, 452, 449, 849, 849, 850, 850, 447, 850, 445, 443, 439, 424, 422, 850, 851, 851, 414, 851, 413, 406, 404, 402, 851, 851, 852, 852, 378, 852, 376, 374, 372, 371, 370, 852, 853, 349, 347, 853, 853, 346, 853, 853, 853, 853, 853, 853, 853, 853, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, 856, 856, 342, 856, 340, 338, 336, 332, 856, 856, 857, 857, 330, 857, 329, 328, 319, 306, 857, 857, 858, 858, 285, 858, 264, 262, 261, 260, 858, 858, 859, 859, 258, 859, 257, 252, 248, 247, 243, 859, 860, 860, 240, 860, 239, 228, 227, 222, 860, 860, 861, 861, 221, 861, 218, 208, 206, 205, 204, 861, 862, 862, 200, 862, 199, 197, 192, 173, 862, 862, 863, 863, 144, 863, 143, 138, 135, 127, 124, 863, 864, 864, 123, 864, 119, 100, 97, 94, 864, 864, 865, 865, 92, 865, 85, 71, 69, 65, 44, 865, 866, 866, 39, 866, 36, 33, 18, 11, 866, 866, 867, 867, 4, 867, 3, 0, 0, 0, 0, 867, 868, 868, 0, 868, 0, 0, 0, 0, 868, 868, 869, 869, 0, 869, 0, 0, 0, 0, 0, 869, 870, 870, 0, 870, 0, 0, 0, 0, 870, 870, 871, 871, 0, 871, 0, 0, 0, 0, 0, 871, 872, 872, 0, 872, 0, 872, 0, 0, 872, 872, 873, 873, 0, 873, 0, 873, 0, 0, 873, 873, 874, 874, 874, 0, 874, 874, 874, 874, 0, 874, 874, 875, 875, 0, 875, 0, 0, 0, 0, 875, 875, 876, 876, 0, 876, 0, 0, 0, 0, 876, 876, 877, 877, 0, 877, 0, 0, 0, 0, 877, 877, 878, 878, 0, 878, 0, 0, 0, 0, 0, 878, 879, 879, 0, 879, 0, 0, 0, 0, 879, 879, 880, 880, 0, 880, 0, 0, 0, 0, 0, 880, 881, 881, 0, 881, 0, 0, 0, 0, 881, 881, 882, 882, 0, 882, 0, 0, 0, 0, 0, 882, 883, 883, 0, 883, 0, 0, 0, 0, 883, 883, 884, 884, 0, 884, 0, 0, 0, 0, 0, 884, 885, 0, 0, 885, 885, 0, 885, 885, 885, 885, 885, 885, 885, 885, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 887, 887, 0, 887, 0, 0, 0, 0, 887, 887, 888, 888, 0, 888, 0, 0, 0, 0, 0, 888, 889, 889, 0, 889, 0, 0, 0, 0, 889, 889, 890, 890, 0, 890, 0, 0, 0, 0, 0, 890, 891, 891, 0, 891, 0, 0, 0, 0, 891, 891, 892, 892, 0, 892, 0, 0, 0, 0, 0, 892, 893, 893, 0, 893, 0, 0, 0, 0, 893, 893, 894, 894, 0, 894, 0, 0, 0, 0, 0, 894, 895, 895, 0, 895, 0, 0, 0, 0, 895, 895, 896, 896, 0, 896, 0, 0, 0, 0, 0, 896, 897, 897, 0, 897, 0, 0, 0, 0, 897, 897, 898, 898, 0, 898, 0, 0, 0, 0, 0, 898, 899, 899, 0, 899, 0, 0, 0, 0, 899, 899, 900, 900, 0, 900, 0, 0, 0, 0, 900, 900, 901, 901, 0, 901, 0, 0, 0, 0, 0, 901, 902, 902, 0, 902, 0, 0, 0, 0, 902, 902, 903, 903, 0, 903, 0, 0, 0, 0, 0, 903, 904, 904, 0, 904, 0, 904, 0, 0, 904, 904, 905, 905, 0, 905, 0, 0, 0, 0, 905, 905, 906, 906, 0, 906, 0, 0, 0, 0, 906, 906, 907, 907, 0, 907, 0, 0, 0, 0, 0, 907, 908, 908, 0, 908, 0, 0, 0, 0, 908, 908, 909, 909, 0, 909, 0, 0, 0, 0, 0, 909, 910, 910, 0, 910, 0, 0, 0, 0, 910, 910, 911, 911, 0, 911, 0, 0, 0, 0, 0, 911, 912, 912, 0, 912, 0, 0, 0, 0, 912, 912, 913, 913, 0, 913, 0, 0, 0, 0, 0, 913, 914, 914, 0, 914, 0, 0, 0, 0, 914, 914, 915, 915, 0, 915, 0, 0, 0, 0, 0, 915, 916, 916, 0, 916, 0, 0, 0, 0, 916, 916, 917, 917, 0, 917, 0, 0, 0, 0, 0, 917, 918, 0, 0, 918, 918, 0, 918, 918, 918, 918, 918, 918, 918, 918, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 920, 920, 0, 920, 0, 0, 0, 0, 920, 920, 921, 921, 0, 921, 0, 0, 0, 0, 0, 921, 922, 922, 0, 922, 0, 0, 0, 0, 922, 922, 923, 923, 0, 923, 0, 0, 0, 0, 0, 923, 924, 924, 0, 924, 0, 0, 0, 0, 924, 924, 925, 925, 0, 925, 0, 0, 0, 0, 0, 925, 926, 926, 0, 926, 0, 0, 0, 0, 926, 926, 927, 927, 0, 927, 0, 0, 0, 0, 0, 927, 928, 928, 0, 928, 0, 0, 0, 0, 928, 928, 929, 929, 0, 929, 0, 0, 0, 0, 0, 929, 930, 930, 0, 930, 0, 0, 0, 0, 930, 930, 931, 931, 0, 931, 0, 0, 0, 0, 0, 931, 932, 932, 0, 932, 0, 0, 0, 0, 932, 932, 933, 933, 0, 933, 0, 0, 0, 0, 0, 933, 934, 934, 0, 934, 0, 0, 0, 0, 934, 934, 935, 935, 0, 935, 0, 0, 0, 0, 0, 935, 936, 936, 0, 936, 0, 0, 0, 0, 936, 936, 937, 937, 0, 937, 0, 0, 0, 0, 937, 937, 938, 938, 0, 938, 0, 0, 0, 0, 0, 938, 939, 939, 0, 939, 0, 0, 0, 0, 939, 939, 940, 940, 0, 940, 0, 0, 0, 0, 0, 940, 941, 941, 0, 941, 0, 0, 0, 0, 941, 941, 942, 942, 0, 942, 0, 0, 0, 0, 0, 942, 943, 943, 0, 943, 0, 0, 0, 0, 943, 943, 944, 944, 0, 944, 0, 0, 0, 0, 0, 944, 945, 945, 0, 945, 0, 0, 0, 0, 0, 945, 946, 946, 0, 946, 0, 0, 0, 0, 0, 946, 947, 0, 0, 947, 947, 0, 947, 947, 947, 947, 947, 947, 947, 947, 948, 948, 0, 948, 0, 0, 0, 0, 0, 948, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 950, 950, 0, 950, 0, 0, 0, 0, 950, 950, 951, 951, 0, 951, 0, 0, 0, 0, 0, 951, 952, 952, 0, 952, 0, 0, 0, 0, 952, 952, 953, 953, 0, 953, 0, 0, 0, 0, 0, 953, 954, 954, 0, 954, 0, 0, 0, 0, 0, 954, 955, 955, 0, 955, 0, 0, 0, 0, 0, 955, 956, 0, 0, 956, 956, 0, 956, 956, 956, 956, 956, 956, 956, 956, 957, 957, 0, 957, 0, 0, 0, 0, 0, 957, 958, 958, 0, 958, 0, 0, 0, 0, 0, 958, 959, 959, 0, 959, 0, 0, 0, 0, 0, 959, 960, 960, 0, 960, 0, 0, 0, 0, 0, 960, 961, 961, 0, 961, 0, 0, 0, 0, 0, 961, 962, 962, 0, 962, 0, 0, 0, 0, 0, 962, 963, 963, 0, 963, 0, 0, 0, 0, 0, 963, 964, 964, 0, 964, 0, 0, 0, 0, 964, 964, 965, 965, 0, 965, 0, 0, 0, 0, 0, 965, 966, 966, 0, 966, 0, 0, 0, 0, 966, 966, 967, 967, 0, 967, 0, 0, 0, 0, 0, 967, 968, 968, 0, 968, 0, 0, 0, 0, 0, 968, 969, 969, 0, 969, 0, 0, 0, 0, 0, 969, 970, 970, 0, 970, 0, 0, 0, 0, 0, 970, 971, 971, 0, 971, 0, 0, 0, 0, 971, 971, 972, 0, 0, 972, 972, 0, 972, 972, 972, 972, 972, 972, 972, 972, 973, 973, 0, 973, 0, 0, 0, 0, 0, 973, 974, 974, 0, 974, 0, 0, 0, 0, 0, 974, 975, 975, 0, 975, 0, 0, 0, 0, 975, 975, 976, 976, 0, 976, 0, 0, 0, 0, 976, 976, 977, 977, 0, 977, 0, 0, 0, 0, 977, 977, 978, 978, 0, 978, 0, 0, 0, 0, 0, 978, 979, 979, 0, 979, 0, 0, 0, 0, 979, 979, 980, 980, 0, 980, 0, 0, 0, 0, 980, 980, 981, 981, 0, 981, 0, 0, 0, 0, 981, 981, 982, 982, 0, 982, 0, 0, 0, 0, 982, 982, 983, 983, 0, 983, 0, 0, 0, 0, 983, 983, 984, 984, 0, 984, 0, 0, 0, 0, 984, 984, 985, 985, 0, 985, 0, 0, 0, 0, 985, 985, 986, 986, 0, 986, 0, 0, 0, 0, 986, 986, 987, 987, 0, 987, 0, 0, 0, 0, 987, 987, 988, 988, 0, 988, 0, 0, 0, 0, 988, 988, 989, 989, 0, 989, 0, 0, 0, 0, 989, 989, 990, 990, 0, 990, 0, 0, 0, 0, 990, 990, 991, 991, 0, 991, 0, 0, 0, 0, 991, 991, 992, 992, 0, 992, 0, 0, 0, 0, 992, 992, 993, 993, 0, 993, 0, 0, 0, 0, 993, 993, 994, 994, 0, 994, 0, 0, 0, 0, 994, 994, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820, 820 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[171] = { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lex.ll" /* * Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo * * The contents of this file are covered under the licence agreement in the * file "LICENCE" distributed with Cforall. * * lex.l -- * * Author : Peter A. Buhr * Created On : Sat Sep 22 08:58:10 2001 * Last Modified By : Peter A. Buhr * Last Modified On : Sun May 31 23:41:32 2015 * Update Count : 334 */ #line 19 "lex.ll" // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive // have been performed and removed from the source. The only exceptions are preprocessor directives passed to // the compiler (e.g., line-number directives) and C/C++ style comments, which are ignored. //**************************** Includes and Defines **************************** #include #include "lex.h" #include "ParseNode.h" #include "parser.h" // YACC generated definitions based on C++ grammar char *yyfilename; std::string *strtext; // accumulate parts of character and string constant value #define WHITE_RETURN(x) // do nothing #define NEWLINE_RETURN() WHITE_RETURN('\n') #define RETURN_VAL(x) yylval.tok.str = new std::string(yytext); \ yylval.tok.loc.file = yyfilename; \ yylval.tok.loc.line = yylineno; \ return(x) #define RETURN_STR(x) yylval.tok.str = strtext; \ yylval.tok.loc.file = yyfilename; \ yylval.tok.loc.line = yylineno; \ return(x) #define KEYWORD_RETURN(x) RETURN_VAL(x) // keyword #define IDENTIFIER_RETURN() RETURN_VAL((typedefTable.isIdentifier(yytext) ? IDENTIFIER : typedefTable.isTypedef(yytext) ? TYPEDEFname : TYPEGENname)) //#define ATTRIBUTE_RETURN() RETURN_VAL((typedefTable.isIdentifier(yytext) ? ATTR_IDENTIFIER : typedefTable.isTypedef(yytext) ? ATTR_TYPEDEFname : ATTR_TYPEGENname)) #define ATTRIBUTE_RETURN() RETURN_VAL(ATTR_IDENTIFIER) #define ASCIIOP_RETURN() RETURN_VAL((int)yytext[0]) // single character operator #define NAMEDOP_RETURN(x) RETURN_VAL(x) // multichar operator, with a name #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL(x) // numeric constant void rm_underscore() { // remove underscores in numeric constant int j = 0; for ( int i = 0; yytext[i] != '\0'; i += 1 ) { if ( yytext[i] != '_' ) { yytext[j] = yytext[i]; j += 1; } // if } // for yyleng = j; yytext[yyleng] = '\0'; } // identifier, GCC: $ in identifier // quoted identifier // attribute identifier, GCC: $ in identifier // numeric constants, CFA: '_' in constant // character escape sequence, GCC: \e => esc character // ' stop highlighting // display/white-space characters // operators #line 1667 "Parser/lex.cc" #define INITIAL 0 #define COMMENT 1 #define BKQUOTE 2 #define QUOTE 3 #define STRING 4 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals (void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy (void ); int yyget_debug (void ); void yyset_debug (int debug_flag ); YY_EXTRA_TYPE yyget_extra (void ); void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); void yyset_in (FILE * in_str ); FILE *yyget_out (void ); void yyset_out (FILE * out_str ); int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); void yyset_lineno (int line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap (void ); #else extern int yywrap (void ); #endif #endif static void yyunput (int c,char *buf_ptr ); #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void ); #else static int input (void ); #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 extern int yylex (void); #define YY_DECL int yylex (void) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 140 "lex.ll" /* line directives */ #line 1864 "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 >= 821 ) 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] != 3518 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP #line 142 "lex.ll" { /* " stop highlighting */ char *end_num; char *begin_string, *end_string; char *filename; long lineno, length; lineno = strtol( yytext + 1, &end_num, 0 ); begin_string = strchr( end_num, '"' ); if ( begin_string ) { end_string = strchr( begin_string + 1, '"' ); if ( end_string ) { length = end_string - begin_string - 1; filename = new char[ length + 1 ]; memcpy( filename, begin_string + 1, length ); filename[ length ] = '\0'; //std::cout << "file " << filename << " line " << lineno << std::endl; yylineno = lineno; yyfilename = filename; } // if } // if } YY_BREAK /* ignore preprocessor directives (for now) */ case 2: /* rule 2 can match eol */ YY_RULE_SETUP #line 165 "lex.ll" ; YY_BREAK /* ignore C style comments */ case 3: YY_RULE_SETUP #line 168 "lex.ll" { BEGIN COMMENT; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 169 "lex.ll" ; YY_BREAK case 5: YY_RULE_SETUP #line 170 "lex.ll" { BEGIN 0; } YY_BREAK /* ignore C++ style comments */ case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 173 "lex.ll" ; YY_BREAK /* ignore whitespace */ case 7: YY_RULE_SETUP #line 176 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 8: YY_RULE_SETUP #line 177 "lex.ll" { WHITE_RETURN(' '); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP #line 178 "lex.ll" { NEWLINE_RETURN(); } YY_BREAK /* keywords */ case 10: YY_RULE_SETUP #line 181 "lex.ll" { KEYWORD_RETURN(ALIGNAS); } // C11 YY_BREAK case 11: YY_RULE_SETUP #line 182 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // C11 YY_BREAK case 12: YY_RULE_SETUP #line 183 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 13: YY_RULE_SETUP #line 184 "lex.ll" { KEYWORD_RETURN(ALIGNOF); } // GCC YY_BREAK case 14: YY_RULE_SETUP #line 185 "lex.ll" { KEYWORD_RETURN(ASM); } YY_BREAK case 15: YY_RULE_SETUP #line 186 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 16: YY_RULE_SETUP #line 187 "lex.ll" { KEYWORD_RETURN(ASM); } // GCC YY_BREAK case 17: YY_RULE_SETUP #line 188 "lex.ll" { KEYWORD_RETURN(ATOMIC); } // C11 YY_BREAK case 18: YY_RULE_SETUP #line 189 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 19: YY_RULE_SETUP #line 190 "lex.ll" { KEYWORD_RETURN(ATTRIBUTE); } // GCC YY_BREAK case 20: YY_RULE_SETUP #line 191 "lex.ll" { KEYWORD_RETURN(AUTO); } YY_BREAK case 21: YY_RULE_SETUP #line 192 "lex.ll" { KEYWORD_RETURN(BOOL); } // C99 YY_BREAK case 22: YY_RULE_SETUP #line 193 "lex.ll" { KEYWORD_RETURN(BREAK); } YY_BREAK case 23: YY_RULE_SETUP #line 194 "lex.ll" { KEYWORD_RETURN(CASE); } YY_BREAK case 24: YY_RULE_SETUP #line 195 "lex.ll" { KEYWORD_RETURN(CATCH); } // CFA YY_BREAK case 25: YY_RULE_SETUP #line 196 "lex.ll" { KEYWORD_RETURN(CHAR); } YY_BREAK case 26: YY_RULE_SETUP #line 197 "lex.ll" { KEYWORD_RETURN(CHOOSE); } // CFA YY_BREAK case 27: YY_RULE_SETUP #line 198 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // C99 YY_BREAK case 28: YY_RULE_SETUP #line 199 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 29: YY_RULE_SETUP #line 200 "lex.ll" { KEYWORD_RETURN(COMPLEX); } // GCC YY_BREAK case 30: YY_RULE_SETUP #line 201 "lex.ll" { KEYWORD_RETURN(CONST); } YY_BREAK case 31: YY_RULE_SETUP #line 202 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 32: YY_RULE_SETUP #line 203 "lex.ll" { KEYWORD_RETURN(CONST); } // GCC YY_BREAK case 33: YY_RULE_SETUP #line 204 "lex.ll" { KEYWORD_RETURN(CONTEXT); } // CFA YY_BREAK case 34: YY_RULE_SETUP #line 205 "lex.ll" { KEYWORD_RETURN(CONTINUE); } YY_BREAK case 35: YY_RULE_SETUP #line 206 "lex.ll" { KEYWORD_RETURN(DEFAULT); } YY_BREAK case 36: YY_RULE_SETUP #line 207 "lex.ll" { KEYWORD_RETURN(DO); } YY_BREAK case 37: YY_RULE_SETUP #line 208 "lex.ll" { KEYWORD_RETURN(DOUBLE); } YY_BREAK case 38: YY_RULE_SETUP #line 209 "lex.ll" { KEYWORD_RETURN(DTYPE); } // CFA YY_BREAK case 39: YY_RULE_SETUP #line 210 "lex.ll" { KEYWORD_RETURN(ELSE); } YY_BREAK case 40: YY_RULE_SETUP #line 211 "lex.ll" { KEYWORD_RETURN(ENUM); } YY_BREAK case 41: YY_RULE_SETUP #line 212 "lex.ll" { KEYWORD_RETURN(EXTENSION); } // GCC YY_BREAK case 42: YY_RULE_SETUP #line 213 "lex.ll" { KEYWORD_RETURN(EXTERN); } YY_BREAK case 43: YY_RULE_SETUP #line 214 "lex.ll" { KEYWORD_RETURN(FALLTHRU); } // CFA YY_BREAK case 44: YY_RULE_SETUP #line 215 "lex.ll" { KEYWORD_RETURN(FINALLY); } // CFA YY_BREAK case 45: YY_RULE_SETUP #line 216 "lex.ll" { KEYWORD_RETURN(FLOAT); } YY_BREAK case 46: YY_RULE_SETUP #line 217 "lex.ll" { KEYWORD_RETURN(FLOAT); } // GCC YY_BREAK case 47: YY_RULE_SETUP #line 218 "lex.ll" { KEYWORD_RETURN(FOR); } YY_BREAK case 48: YY_RULE_SETUP #line 219 "lex.ll" { KEYWORD_RETURN(FORALL); } // CFA YY_BREAK case 49: YY_RULE_SETUP #line 220 "lex.ll" { KEYWORD_RETURN(FORTRAN); } YY_BREAK case 50: YY_RULE_SETUP #line 221 "lex.ll" { KEYWORD_RETURN(FTYPE); } // CFA YY_BREAK case 51: YY_RULE_SETUP #line 222 "lex.ll" { KEYWORD_RETURN(GENERIC); } // C11 YY_BREAK case 52: YY_RULE_SETUP #line 223 "lex.ll" { KEYWORD_RETURN(GOTO); } YY_BREAK case 53: YY_RULE_SETUP #line 224 "lex.ll" { KEYWORD_RETURN(IF); } YY_BREAK case 54: YY_RULE_SETUP #line 225 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // C99 YY_BREAK case 55: YY_RULE_SETUP #line 226 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 56: YY_RULE_SETUP #line 227 "lex.ll" { KEYWORD_RETURN(IMAGINARY); } // GCC YY_BREAK case 57: YY_RULE_SETUP #line 228 "lex.ll" { KEYWORD_RETURN(INLINE); } // C99 YY_BREAK case 58: YY_RULE_SETUP #line 229 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 59: YY_RULE_SETUP #line 230 "lex.ll" { KEYWORD_RETURN(INLINE); } // GCC YY_BREAK case 60: YY_RULE_SETUP #line 231 "lex.ll" { KEYWORD_RETURN(INT); } YY_BREAK case 61: YY_RULE_SETUP #line 232 "lex.ll" { KEYWORD_RETURN(INT); } // GCC YY_BREAK case 62: YY_RULE_SETUP #line 233 "lex.ll" { KEYWORD_RETURN(LABEL); } // GCC YY_BREAK case 63: YY_RULE_SETUP #line 234 "lex.ll" { KEYWORD_RETURN(LONG); } YY_BREAK case 64: YY_RULE_SETUP #line 235 "lex.ll" { KEYWORD_RETURN(LVALUE); } // CFA YY_BREAK case 65: YY_RULE_SETUP #line 236 "lex.ll" { KEYWORD_RETURN(NORETURN); } // C11 YY_BREAK case 66: YY_RULE_SETUP #line 237 "lex.ll" { KEYWORD_RETURN(REGISTER); } YY_BREAK case 67: YY_RULE_SETUP #line 238 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // C99 YY_BREAK case 68: YY_RULE_SETUP #line 239 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 69: YY_RULE_SETUP #line 240 "lex.ll" { KEYWORD_RETURN(RESTRICT); } // GCC YY_BREAK case 70: YY_RULE_SETUP #line 241 "lex.ll" { KEYWORD_RETURN(RETURN); } YY_BREAK case 71: YY_RULE_SETUP #line 242 "lex.ll" { KEYWORD_RETURN(SHORT); } YY_BREAK case 72: YY_RULE_SETUP #line 243 "lex.ll" { KEYWORD_RETURN(SIGNED); } YY_BREAK case 73: YY_RULE_SETUP #line 244 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 74: YY_RULE_SETUP #line 245 "lex.ll" { KEYWORD_RETURN(SIGNED); } // GCC YY_BREAK case 75: YY_RULE_SETUP #line 246 "lex.ll" { KEYWORD_RETURN(SIZEOF); } YY_BREAK case 76: YY_RULE_SETUP #line 247 "lex.ll" { KEYWORD_RETURN(STATIC); } YY_BREAK case 77: YY_RULE_SETUP #line 248 "lex.ll" { KEYWORD_RETURN(STATICASSERT); } // C11 YY_BREAK case 78: YY_RULE_SETUP #line 249 "lex.ll" { KEYWORD_RETURN(STRUCT); } YY_BREAK case 79: YY_RULE_SETUP #line 250 "lex.ll" { KEYWORD_RETURN(SWITCH); } YY_BREAK case 80: YY_RULE_SETUP #line 251 "lex.ll" { KEYWORD_RETURN(THREADLOCAL); } // C11 YY_BREAK case 81: YY_RULE_SETUP #line 252 "lex.ll" { KEYWORD_RETURN(THROW); } // CFA YY_BREAK case 82: YY_RULE_SETUP #line 253 "lex.ll" { KEYWORD_RETURN(TRY); } // CFA YY_BREAK case 83: YY_RULE_SETUP #line 254 "lex.ll" { KEYWORD_RETURN(TYPE); } // CFA YY_BREAK case 84: YY_RULE_SETUP #line 255 "lex.ll" { KEYWORD_RETURN(TYPEDEF); } YY_BREAK case 85: YY_RULE_SETUP #line 256 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 86: YY_RULE_SETUP #line 257 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 87: YY_RULE_SETUP #line 258 "lex.ll" { KEYWORD_RETURN(TYPEOF); } // GCC YY_BREAK case 88: YY_RULE_SETUP #line 259 "lex.ll" { KEYWORD_RETURN(UNION); } YY_BREAK case 89: YY_RULE_SETUP #line 260 "lex.ll" { KEYWORD_RETURN(UNSIGNED); } YY_BREAK case 90: YY_RULE_SETUP #line 261 "lex.ll" { KEYWORD_RETURN(VOID); } YY_BREAK case 91: YY_RULE_SETUP #line 262 "lex.ll" { KEYWORD_RETURN(VOLATILE); } YY_BREAK case 92: YY_RULE_SETUP #line 263 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 93: YY_RULE_SETUP #line 264 "lex.ll" { KEYWORD_RETURN(VOLATILE); } // GCC YY_BREAK case 94: YY_RULE_SETUP #line 265 "lex.ll" { KEYWORD_RETURN(WHILE); } YY_BREAK /* identifier */ case 95: YY_RULE_SETUP #line 268 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 96: YY_RULE_SETUP #line 269 "lex.ll" { ATTRIBUTE_RETURN(); } YY_BREAK case 97: YY_RULE_SETUP #line 270 "lex.ll" { BEGIN BKQUOTE; } YY_BREAK case 98: YY_RULE_SETUP #line 271 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 99: YY_RULE_SETUP #line 272 "lex.ll" { BEGIN 0; } YY_BREAK /* numeric constants */ case 100: YY_RULE_SETUP #line 275 "lex.ll" { NUMERIC_RETURN(ZERO); } // CFA YY_BREAK case 101: YY_RULE_SETUP #line 276 "lex.ll" { NUMERIC_RETURN(ONE); } // CFA YY_BREAK case 102: YY_RULE_SETUP #line 277 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 103: YY_RULE_SETUP #line 278 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 104: YY_RULE_SETUP #line 279 "lex.ll" { NUMERIC_RETURN(INTEGERconstant); } YY_BREAK case 105: YY_RULE_SETUP #line 280 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK case 106: YY_RULE_SETUP #line 281 "lex.ll" { NUMERIC_RETURN(FLOATINGconstant); } YY_BREAK /* character constant, allows empty value */ case 107: YY_RULE_SETUP #line 284 "lex.ll" { BEGIN QUOTE; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 108: YY_RULE_SETUP #line 285 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 109: /* rule 109 can match eol */ YY_RULE_SETUP #line 286 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(CHARACTERconstant); } YY_BREAK /* ' stop highlighting */ /* string constant */ case 110: YY_RULE_SETUP #line 290 "lex.ll" { BEGIN STRING; rm_underscore(); strtext = new std::string; *strtext += std::string( yytext ); } YY_BREAK case 111: YY_RULE_SETUP #line 291 "lex.ll" { *strtext += std::string( yytext ); } YY_BREAK case 112: /* rule 112 can match eol */ YY_RULE_SETUP #line 292 "lex.ll" { BEGIN 0; *strtext += std::string( yytext); RETURN_STR(STRINGliteral); } YY_BREAK /* " stop highlighting */ case 113: YY_RULE_SETUP #line 295 "lex.ll" { rm_underscore(); *strtext += std::string( yytext ); } YY_BREAK case 114: YY_RULE_SETUP #line 296 "lex.ll" { *strtext += std::string( yytext ); } // unknown escape character YY_BREAK /* punctuation */ case 115: YY_RULE_SETUP #line 299 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 116: YY_RULE_SETUP #line 300 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 117: YY_RULE_SETUP #line 301 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 118: YY_RULE_SETUP #line 302 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 119: YY_RULE_SETUP #line 303 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 120: YY_RULE_SETUP #line 304 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 121: YY_RULE_SETUP #line 305 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 122: YY_RULE_SETUP #line 306 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 123: YY_RULE_SETUP #line 307 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 124: YY_RULE_SETUP #line 308 "lex.ll" { ASCIIOP_RETURN(); } // also operator YY_BREAK case 125: YY_RULE_SETUP #line 309 "lex.ll" { NAMEDOP_RETURN(ELLIPSIS); } YY_BREAK /* alternative C99 brackets, "<:" & "<:<:" handled by preprocessor */ case 126: YY_RULE_SETUP #line 312 "lex.ll" { RETURN_VAL('['); } YY_BREAK case 127: YY_RULE_SETUP #line 313 "lex.ll" { RETURN_VAL(']'); } YY_BREAK case 128: YY_RULE_SETUP #line 314 "lex.ll" { RETURN_VAL('{'); } YY_BREAK case 129: YY_RULE_SETUP #line 315 "lex.ll" { RETURN_VAL('}'); } YY_BREAK /* operators */ case 130: YY_RULE_SETUP #line 318 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 131: YY_RULE_SETUP #line 319 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 132: YY_RULE_SETUP #line 320 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 133: YY_RULE_SETUP #line 321 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 134: YY_RULE_SETUP #line 322 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 135: YY_RULE_SETUP #line 323 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 136: YY_RULE_SETUP #line 324 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 137: YY_RULE_SETUP #line 325 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 138: YY_RULE_SETUP #line 326 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 139: YY_RULE_SETUP #line 327 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 140: YY_RULE_SETUP #line 328 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 141: YY_RULE_SETUP #line 329 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 142: YY_RULE_SETUP #line 330 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 143: YY_RULE_SETUP #line 331 "lex.ll" { ASCIIOP_RETURN(); } YY_BREAK case 144: YY_RULE_SETUP #line 333 "lex.ll" { NAMEDOP_RETURN(ICR); } YY_BREAK case 145: YY_RULE_SETUP #line 334 "lex.ll" { NAMEDOP_RETURN(DECR); } YY_BREAK case 146: YY_RULE_SETUP #line 335 "lex.ll" { NAMEDOP_RETURN(EQ); } YY_BREAK case 147: YY_RULE_SETUP #line 336 "lex.ll" { NAMEDOP_RETURN(NE); } YY_BREAK case 148: YY_RULE_SETUP #line 337 "lex.ll" { NAMEDOP_RETURN(LS); } YY_BREAK case 149: YY_RULE_SETUP #line 338 "lex.ll" { NAMEDOP_RETURN(RS); } YY_BREAK case 150: YY_RULE_SETUP #line 339 "lex.ll" { NAMEDOP_RETURN(LE); } YY_BREAK case 151: YY_RULE_SETUP #line 340 "lex.ll" { NAMEDOP_RETURN(GE); } YY_BREAK case 152: YY_RULE_SETUP #line 341 "lex.ll" { NAMEDOP_RETURN(ANDAND); } YY_BREAK case 153: YY_RULE_SETUP #line 342 "lex.ll" { NAMEDOP_RETURN(OROR); } YY_BREAK case 154: YY_RULE_SETUP #line 343 "lex.ll" { NAMEDOP_RETURN(ARROW); } YY_BREAK case 155: YY_RULE_SETUP #line 344 "lex.ll" { NAMEDOP_RETURN(PLUSassign); } YY_BREAK case 156: YY_RULE_SETUP #line 345 "lex.ll" { NAMEDOP_RETURN(MINUSassign); } YY_BREAK case 157: YY_RULE_SETUP #line 346 "lex.ll" { NAMEDOP_RETURN(MULTassign); } YY_BREAK case 158: YY_RULE_SETUP #line 347 "lex.ll" { NAMEDOP_RETURN(DIVassign); } YY_BREAK case 159: YY_RULE_SETUP #line 348 "lex.ll" { NAMEDOP_RETURN(MODassign); } YY_BREAK case 160: YY_RULE_SETUP #line 349 "lex.ll" { NAMEDOP_RETURN(ANDassign); } YY_BREAK case 161: YY_RULE_SETUP #line 350 "lex.ll" { NAMEDOP_RETURN(ORassign); } YY_BREAK case 162: YY_RULE_SETUP #line 351 "lex.ll" { NAMEDOP_RETURN(ERassign); } YY_BREAK case 163: YY_RULE_SETUP #line 352 "lex.ll" { NAMEDOP_RETURN(LSassign); } YY_BREAK case 164: YY_RULE_SETUP #line 353 "lex.ll" { NAMEDOP_RETURN(RSassign); } YY_BREAK /* CFA, operator identifier */ case 165: YY_RULE_SETUP #line 356 "lex.ll" { IDENTIFIER_RETURN(); } // unary YY_BREAK case 166: YY_RULE_SETUP #line 357 "lex.ll" { IDENTIFIER_RETURN(); } YY_BREAK case 167: YY_RULE_SETUP #line 358 "lex.ll" { IDENTIFIER_RETURN(); } // binary YY_BREAK /* This rule handles ambiguous cases with operator identifiers, e.g., "int *?*?()", where the string "*?*?" can be lexed as "*"/"?*?" or "*?"/"*?". Since it is common practise to put a unary operator juxtaposed to an identifier, e.g., "*i", users will be annoyed if they cannot do this with respect to operator identifiers. Even with this special hack, there are 5 general cases that cannot be handled. The first case is for the function-call identifier "?()": int * ?()(); // declaration: space required after '*' * ?()(); // expression: space required after '*' Without the space, the string "*?()" is ambiguous without N character look ahead; it requires scanning ahead to determine if there is a '(', which is the start of an argument/parameter list. The 4 remaining cases occur in expressions: i++?i:0; // space required before '?' i--?i:0; // space required before '?' i?++i:0; // space required after '?' i?--i:0; // space required after '?' In the first two cases, the string "i++?" is ambiguous, where this string can be lexed as "i"/"++?" or "i++"/"?"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. In the second two cases, the string "?++x" is ambiguous, where this string can be lexed as "?++"/"x" or "?"/"++x"; it requires scanning ahead to determine if there is a '(', which is the start of an argument list. */ case 168: YY_RULE_SETUP #line 385 "lex.ll" { // 1 or 2 character unary operator ? int i = yytext[1] == '?' ? 1 : 2; yyless( i ); // put back characters up to first '?' if ( i > 1 ) { NAMEDOP_RETURN( yytext[0] == '+' ? ICR : DECR ); } else { ASCIIOP_RETURN(); } // if } YY_BREAK /* unknown characters */ case 169: YY_RULE_SETUP #line 397 "lex.ll" { printf("unknown character(s):\"%s\" on line %d\n", yytext, yylineno); } YY_BREAK case 170: YY_RULE_SETUP #line 399 "lex.ll" ECHO; YY_BREAK #line 2886 "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 >= 821 ) 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 >= 821 ) 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 == 820); return yy_is_jam ? 0 : yy_current_state; } static void yyunput (int c, register char * yy_bp ) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int number_to_move = (yy_n_chars) + 2; register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; if ( c == '\n' ){ --yylineno; } (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) #else static int input (void) #endif { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart(yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); if ( YY_CURRENT_BUFFER_LVALUE->yy_at_bol ) yylineno++; ; return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer(yyin,YY_BUF_SIZE ); } yy_init_buffer(YY_CURRENT_BUFFER,input_file ); yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer(b,file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } #ifndef __cplusplus extern int isatty (int ); #endif /* __cplusplus */ /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; yyensure_buffer_stack(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ static void yyensure_buffer_stack (void) { int num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer(b ); return b; } /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif static void yy_fatal_error (yyconst char* msg ) { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. * */ int yyget_lineno (void) { return yylineno; } /** Get the input stream. * */ FILE *yyget_in (void) { return yyin; } /** Get the output stream. * */ FILE *yyget_out (void) { return yyout; } /** Get the length of the current token. * */ int yyget_leng (void) { return yyleng; } /** Get the current token. * */ char *yyget_text (void) { return yytext; } /** Set the current line number. * @param line_number * */ void yyset_lineno (int line_number ) { yylineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. * * @see yy_switch_to_buffer */ void yyset_in (FILE * in_str ) { yyin = in_str ; } void yyset_out (FILE * out_str ) { yyout = out_str ; } int yyget_debug (void) { return yy_flex_debug; } void yyset_debug (int bdebug ) { yy_flex_debug = bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ /* We do not touch yylineno unless the option is enabled. */ yylineno = 1; (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = (char *) 0; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = (FILE *) 0; yyout = (FILE *) 0; #endif /* For future reference: Set errno on error, since we are called by * yylex_init() */ return 0; } /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(); } /* Destroy the stack itself. */ yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 399 "lex.ll" // Local Variables: // // fill-column: 110 // // tab-width: 4 // // mode: c++ // // compile-command: "make install" // // End: //