#line 2 "lexor.cc" #line 4 "lexor.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 6 #define YY_FLEX_SUBMINOR_VERSION 4 #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 #ifndef SIZE_MAX #define SIZE_MAX (~(size_t)0) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ /* begin standard C++ headers. */ /* TODO: this is always defined, so inline it */ #define yyconst const #if defined(__GNUC__) && __GNUC__ >= 3 #define yynoreturn __attribute__((__noreturn__)) #else #define yynoreturn #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an * integer in range [0..255] for use as an array index. */ #define YY_SC_TO_UI(c) ((YY_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 #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; #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 #define YY_LESS_LINENO(n) #define YY_LINENO_REWIND_TO(ptr) /* 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_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. */ int 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 = NULL; /**< 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 = NULL; 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 ( const char *yy_str ); YY_BUFFER_STATE yy_scan_bytes ( const 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 flex_uint8_t YY_CHAR; FILE *yyin = NULL, *yyout = NULL; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #ifdef yytext_ptr #undef yytext_ptr #endif #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 yynoreturn yy_fatal_error ( const 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 = (int) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 168 #define YY_END_OF_BUFFER 169 /* 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 const flex_int16_t yy_accept[1026] = { 0, 0, 0, 169, 167, 165, 166, 167, 164, 162, 167, 167, 167, 162, 167, 148, 148, 163, 162, 162, 162, 162, 6, 6, 167, 6, 6, 6, 6, 0, 7, 0, 164, 162, 162, 147, 147, 147, 143, 0, 0, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 0, 0, 0, 0, 148, 0, 0, 148, 163, 162, 162, 162, 0, 0, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 6, 6, 6, 6, 6, 6, 162, 162, 147, 147, 0, 145, 146, 0, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 0, 0, 0, 0, 149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 6, 6, 6, 6, 6, 6, 147, 147, 144, 0, 9, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 77, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 132, 162, 122, 0, 0, 0, 0, 0, 8, 0, 150, 0, 151, 0, 0, 0, 0, 0, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 6, 6, 6, 6, 6, 147, 147, 0, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 80, 162, 89, 93, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 115, 162, 162, 162, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 156, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 6, 6, 147, 147, 147, 135, 162, 25, 162, 38, 162, 162, 162, 162, 162, 57, 58, 61, 64, 66, 68, 162, 162, 162, 162, 162, 75, 162, 162, 162, 85, 162, 162, 162, 162, 162, 162, 162, 103, 106, 107, 162, 162, 162, 162, 162, 162, 133, 134, 162, 162, 162, 162, 129, 162, 162, 127, 159, 157, 160, 161, 0, 0, 152, 0, 0, 155, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 0, 0, 6, 6, 147, 147, 147, 162, 162, 34, 162, 162, 162, 42, 47, 50, 45, 162, 162, 55, 162, 162, 162, 162, 162, 70, 162, 162, 73, 74, 162, 78, 79, 162, 162, 83, 162, 162, 91, 162, 162, 101, 102, 162, 162, 162, 162, 113, 162, 162, 118, 162, 162, 162, 130, 131, 162, 162, 162, 162, 162, 158, 153, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 0, 0, 147, 147, 147, 162, 162, 162, 162, 162, 28, 162, 162, 162, 31, 162, 162, 39, 162, 40, 41, 162, 162, 162, 44, 53, 54, 56, 162, 162, 65, 67, 162, 162, 72, 76, 162, 81, 82, 86, 162, 162, 90, 162, 162, 162, 162, 108, 109, 110, 162, 162, 116, 117, 162, 162, 121, 162, 162, 162, 162, 162, 162, 128, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 0, 0, 147, 136, 139, 162, 162, 162, 162, 162, 26, 27, 162, 162, 162, 162, 35, 162, 43, 48, 49, 51, 52, 46, 162, 162, 162, 162, 69, 71, 84, 162, 162, 92, 162, 162, 162, 162, 162, 104, 105, 111, 162, 162, 133, 134, 162, 162, 123, 162, 162, 126, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 0, 0, 142, 147, 147, 10, 13, 162, 18, 21, 23, 29, 162, 162, 32, 36, 162, 162, 162, 162, 162, 87, 94, 162, 162, 162, 96, 162, 162, 162, 114, 162, 162, 162, 125, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 0, 0, 138, 137, 140, 141, 162, 162, 16, 162, 162, 162, 33, 30, 162, 59, 60, 62, 63, 88, 95, 162, 99, 162, 97, 112, 119, 120, 124, 154, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 0, 0, 3, 0, 11, 12, 14, 15, 162, 19, 20, 22, 24, 37, 98, 100, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 1, 0, 17, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 2, 0 } ; static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 4, 5, 6, 7, 8, 9, 1, 1, 1, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 17, 17, 17, 19, 20, 21, 22, 23, 1, 24, 1, 1, 25, 26, 27, 28, 29, 26, 6, 6, 30, 6, 6, 6, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 6, 6, 1, 43, 1, 1, 44, 1, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 6, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 const YY_CHAR yy_meta[70] = { 0, 1, 1, 2, 1, 1, 3, 1, 1, 1, 1, 1, 3, 3, 4, 4, 4, 4, 4, 4, 4, 1, 1, 5, 6, 7, 7, 7, 7, 7, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 8, 3, 4, 4, 4, 4, 4, 4, 9, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 } ; static const flex_int16_t yy_base[1038] = { 0, 0, 69, 3083, 3084, 3084, 3084, 135, 0, 3039, 90, 116, 3033, 136, 112, 142, 154, 0, 133, 123, 124, 159, 164, 187, 153, 196, 181, 198, 202, 173, 3084, 3077, 0, 3036, 257, 0, 3025, 3018, 3042, 113, 3026, 210, 227, 226, 230, 111, 234, 184, 106, 147, 241, 211, 251, 259, 266, 188, 3042, 3043, 3039, 3032, 307, 0, 166, 319, 0, 265, 270, 287, 330, 341, 352, 330, 0, 373, 362, 364, 368, 378, 389, 401, 391, 403, 405, 407, 415, 432, 445, 443, 417, 3017, 3004, 3009, 447, 449, 457, 493, 504, 515, 3024, 535, 3011, 3012, 3024, 3084, 3084, 3017, 336, 434, 440, 246, 204, 249, 262, 350, 174, 361, 442, 261, 347, 264, 289, 165, 300, 390, 433, 504, 456, 122, 484, 288, 495, 506, 286, 404, 510, 507, 511, 331, 3020, 3033, 3022, 0, 501, 3013, 550, 565, 3002, 511, 576, 587, 606, 2996, 621, 575, 641, 585, 630, 632, 634, 637, 587, 643, 645, 647, 658, 669, 676, 679, 681, 686, 691, 694, 697, 702, 707, 718, 724, 728, 730, 741, 751, 753, 757, 762, 765, 767, 3001, 3000, 3001, 783, 799, 2997, 816, 827, 839, 3003, 3007, 3084, 2986, 3006, 512, 483, 570, 616, 446, 356, 517, 461, 333, 557, 569, 713, 541, 629, 542, 642, 518, 782, 761, 680, 633, 729, 701, 663, 760, 572, 768, 673, 750, 818, 670, 826, 703, 827, 3009, 3008, 3017, 3015, 3010, 848, 857, 3084, 860, 3084, 2992, 2979, 2992, 706, 872, 3016, 856, 870, 873, 877, 879, 882, 885, 907, 921, 912, 914, 919, 923, 935, 930, 946, 937, 951, 973, 975, 978, 980, 982, 984, 989, 1005, 1012, 1016, 1022, 1027, 1029, 1034, 1050, 1037, 1058, 2990, 2994, 2993, 1071, 0, 1082, 0, 1138, 2992, 801, 2984, 821, 817, 906, 861, 1059, 777, 871, 908, 1006, 913, 822, 855, 920, 950, 864, 938, 942, 1071, 966, 974, 1013, 867, 972, 1045, 1024, 957, 994, 1060, 1046, 1049, 1068, 1061, 1062, 1074, 1075, 1118, 2996, 2995, 3004, 2995, 2991, 2978, 3004, 2966, 2979, 3001, 3084, 1096, 1107, 1149, 1120, 1153, 1170, 1174, 1177, 1198, 1182, 1185, 1200, 1188, 1206, 1209, 1216, 1230, 1239, 1237, 1241, 1263, 1246, 1248, 1269, 1255, 1279, 1281, 1284, 1292, 1294, 1296, 1302, 1305, 1309, 1319, 1330, 2980, 1076, 991, 0, 1379, 2968, 2977, 2957, 3084, 1116, 1124, 1307, 2977, 1121, 1195, 1019, 1318, 1083, 2976, 1147, 1156, 1194, 1205, 1213, 1184, 394, 1238, 1231, 1099, 2975, 1306, 1301, 1125, 2974, 1297, 1308, 1341, 1092, 1234, 1338, 1337, 1256, 2973, 1361, 1366, 1329, 1362, 1148, 1364, 1372, 1365, 1368, 1373, 1370, 1375, 1342, 2972, 1376, 1387, 1378, 3084, 3084, 3084, 3084, 2976, 2989, 3084, 2988, 2993, 3084, 1422, 1424, 1426, 1415, 1428, 1431, 1433, 1440, 1438, 1449, 1462, 1480, 1483, 1485, 1487, 1489, 1491, 1493, 1495, 1497, 1501, 1518, 1523, 1525, 1530, 1539, 1546, 1533, 1541, 1548, 1556, 1572, 1579, 1581, 1587, 1593, 1585, 1597, 1603, 1610, 1618, 1620, 1624, 1641, 1628, 1633, 1651, 1645, 1656, 1658, 1662, 2953, 2960, 2959, 2949, 2953, 0, 0, 2951, 2946, 2943, 1650, 1671, 2956, 1427, 1410, 1400, 1646, 1377, 1456, 1606, 1435, 1484, 1369, 1486, 1492, 1524, 1545, 1517, 2955, 1570, 1657, 2946, 2936, 1295, 2935, 2926, 1569, 1640, 2910, 1673, 1379, 1479, 1582, 1580, 2907, 2905, 1500, 1586, 1676, 1654, 2904, 1627, 1696, 2898, 1534, 1678, 1693, 2897, 2887, 1242, 1665, 1697, 1698, 1684, 3084, 3084, 2908, 1724, 1736, 1726, 1733, 1738, 1741, 1776, 1779, 1781, 1784, 1786, 1788, 1797, 1791, 1815, 1818, 1824, 1826, 1828, 1831, 1833, 1839, 1842, 1849, 1854, 1864, 1866, 1872, 1875, 1880, 1882, 1890, 1896, 1903, 1905, 1907, 1914, 1920, 1928, 1931, 1935, 1937, 1952, 1949, 1961, 1963, 1967, 1975, 1977, 1979, 1984, 1988, 1990, 2006, 2872, 2861, 2854, 2866, 2857, 2853, 2853, 2859, 1710, 1976, 1708, 1680, 1848, 2861, 1616, 1712, 1725, 1763, 1816, 1728, 2860, 1774, 2859, 2854, 1981, 1993, 1832, 2852, 2850, 2840, 2829, 1821, 1934, 2827, 2825, 1879, 1660, 2823, 2819, 1447, 2815, 2813, 2801, 1913, 1902, 2799, 1770, 1732, 2001, 2033, 2790, 2788, 1838, 1906, 1775, 2786, 2784, 1782, 1945, 2776, 1972, 2007, 784, 1936, 1962, 1996, 2774, 1998, 2029, 2040, 2042, 2046, 2050, 2054, 2056, 2063, 2068, 2072, 2084, 2095, 2099, 2101, 2105, 2107, 2109, 2113, 2122, 2130, 2134, 2136, 2143, 2145, 2157, 2166, 2170, 2172, 2174, 2178, 2182, 2187, 2200, 2203, 2205, 2208, 2211, 2215, 2217, 2221, 2232, 2238, 2226, 2242, 2244, 2249, 2259, 2272, 2274, 2277, 2281, 2284, 2286, 2288, 2295, 2298, 2309, 2319, 2323, 2750, 2757, 2736, 2728, 2741, 2739, 2773, 2771, 2038, 2091, 2058, 1268, 2305, 2734, 2732, 1878, 2014, 2045, 2100, 2720, 2108, 2717, 2711, 2709, 2704, 2685, 2681, 2121, 2077, 2129, 2106, 2672, 2667, 2660, 2142, 2227, 2656, 1734, 2165, 2233, 2273, 2282, 2643, 2639, 2638, 1998, 2169, 2619, 2610, 2171, 2062, 2606, 2241, 2287, 2603, 2361, 2340, 2344, 2346, 2348, 2361, 2370, 2372, 2375, 2379, 2385, 2388, 2396, 2400, 2402, 2409, 2411, 2413, 2418, 2423, 2427, 2434, 2436, 2441, 2444, 2449, 2451, 2457, 2462, 2465, 2472, 2474, 2483, 2486, 2495, 2489, 2497, 2501, 2511, 2513, 2522, 2525, 2527, 2534, 2536, 2540, 2543, 2552, 2593, 2559, 2567, 2563, 2567, 0, 2018, 2232, 2314, 2343, 2347, 2426, 2450, 2499, 2558, 2526, 2148, 2548, 2559, 2339, 2530, 2345, 2535, 2204, 2547, 2512, 2310, 2537, 2410, 2496, 2307, 2461, 2311, 2490, 2301, 1950, 2073, 2484, 2589, 2576, 2598, 2573, 2600, 2602, 2605, 2607, 2609, 2611, 2614, 2632, 2616, 2637, 2640, 2644, 2647, 2650, 2655, 2661, 2665, 2668, 2671, 2673, 2682, 2689, 2694, 2696, 2703, 2710, 2712, 2454, 2470, 2445, 2452, 2440, 0, 0, 0, 0, 2680, 2687, 2572, 2697, 2500, 2604, 2435, 2433, 2354, 2420, 2405, 2401, 2384, 2378, 2285, 2539, 2260, 2608, 2237, 2220, 2194, 2177, 2156, 3084, 2721, 2733, 2738, 2742, 2744, 2746, 2748, 2750, 2756, 2773, 2777, 2785, 2787, 2789, 2791, 2798, 2800, 2802, 2812, 2814, 2816, 2824, 2826, 3084, 2120, 2121, 3084, 2033, 1995, 1881, 1874, 1865, 2615, 1827, 1810, 1780, 1742, 1735, 1652, 1623, 2828, 2830, 2837, 2841, 2851, 2853, 2855, 2858, 2862, 2864, 2866, 2868, 1582, 3084, 1529, 1423, 2876, 1321, 1188, 1154, 1075, 1036, 1013, 970, 942, 895, 616, 493, 198, 166, 3084, 3084, 3084, 2919, 2928, 2935, 2942, 2951, 2958, 2967, 2973, 2978, 2987, 2993, 2999 } ; static const flex_int16_t yy_def[1038] = { 0, 1025, 1025, 1025, 1025, 1025, 1025, 1026, 1027, 1028, 1029, 1025, 1025, 1028, 1025, 1025, 1025, 1030, 1028, 1028, 1028, 1028, 1031, 1031, 1025, 1031, 1031, 1031, 1031, 1026, 1025, 1026, 1027, 1028, 1032, 1029, 1029, 1029, 1025, 1025, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1025, 1025, 1025, 1025, 1033, 1025, 1025, 1030, 1028, 1028, 1028, 1025, 1025, 1025, 1031, 1034, 1035, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1031, 1031, 1031, 1034, 1034, 1034, 1028, 1032, 1029, 1029, 1025, 1025, 1025, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1025, 1025, 1025, 1033, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1031, 1035, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1034, 1034, 1034, 1034, 1034, 1034, 1029, 1029, 1025, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1036, 1025, 1025, 1025, 1025, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1034, 1034, 1034, 1034, 1034, 1029, 1029, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1025, 1025, 1025, 1025, 1036, 1037, 1025, 1025, 1025, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 292, 1034, 1029, 1029, 1029, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1025, 1025, 1025, 1025, 1037, 1025, 1025, 1025, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1025, 1025, 383, 1034, 1029, 1029, 1029, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1025, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1025, 1025, 1029, 1029, 1029, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1025, 1025, 1029, 1029, 1029, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1025, 1025, 1029, 1029, 1029, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1025, 1025, 1029, 1029, 1029, 1029, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1025, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1025, 1025, 1025, 1028, 1031, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 0, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025 } ; static const flex_int16_t yy_nxt[3154] = { 0, 4, 5, 6, 7, 8, 9, 10, 11, 4, 4, 12, 13, 14, 15, 16, 16, 16, 16, 16, 16, 4, 17, 4, 4, 9, 9, 18, 9, 9, 9, 9, 9, 9, 9, 9, 9, 19, 20, 9, 9, 21, 9, 9, 9, 9, 9, 18, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, 5, 6, 7, 8, 22, 10, 11, 4, 4, 12, 23, 14, 15, 16, 16, 16, 16, 16, 16, 24, 17, 4, 4, 22, 22, 25, 22, 22, 22, 22, 22, 22, 22, 22, 22, 26, 27, 22, 22, 28, 22, 22, 22, 22, 22, 25, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 30, 36, 38, 56, 57, 58, 59, 68, 69, 103, 34, 39, 65, 66, 104, 34, 37, 60, 60, 60, 60, 60, 60, 60, 62, 121, 34, 34, 34, 63, 63, 63, 63, 63, 63, 63, 117, 34, 30, 31, 34, 224, 41, 70, 42, 43, 44, 45, 72, 72, 46, 34, 47, 48, 49, 67, 50, 122, 51, 52, 53, 54, 55, 34, 89, 95, 72, 90, 73, 34, 61, 72, 72, 142, 216, 92, 93, 31, 34, 91, 72, 72, 96, 72, 1024, 73, 97, 72, 34, 143, 120, 73, 34, 74, 136, 75, 76, 77, 78, 208, 73, 79, 73, 80, 81, 82, 73, 83, 34, 84, 85, 86, 87, 88, 34, 34, 1023, 106, 94, 33, 33, 125, 33, 33, 204, 33, 33, 33, 33, 33, 34, 34, 107, 108, 34, 126, 112, 113, 34, 33, 33, 33, 33, 109, 110, 34, 111, 123, 114, 144, 34, 118, 203, 34, 145, 34, 115, 119, 116, 127, 124, 99, 128, 34, 129, 34, 34, 205, 34, 34, 34, 146, 131, 132, 34, 134, 130, 135, 206, 212, 214, 133, 60, 60, 60, 60, 60, 60, 60, 62, 34, 34, 34, 34, 63, 63, 63, 63, 63, 63, 63, 147, 226, 229, 34, 148, 148, 148, 148, 148, 148, 148, 149, 215, 72, 72, 150, 150, 150, 150, 150, 150, 150, 151, 217, 234, 235, 152, 152, 152, 152, 152, 152, 152, 73, 33, 33, 34, 33, 33, 34, 33, 33, 33, 33, 33, 72, 72, 72, 72, 304, 34, 72, 72, 34, 33, 33, 71, 71, 199, 34, 207, 72, 72, 301, 34, 73, 213, 73, 155, 157, 209, 73, 72, 72, 72, 72, 154, 161, 162, 158, 159, 73, 160, 156, 72, 72, 72, 72, 72, 72, 72, 72, 73, 34, 73, 163, 169, 34, 72, 72, 72, 72, 529, 164, 73, 165, 73, 34, 73, 230, 73, 218, 172, 166, 171, 72, 72, 167, 73, 300, 73, 170, 185, 168, 174, 173, 72, 72, 72, 72, 189, 72, 190, 72, 303, 73, 34, 34, 175, 176, 191, 72, 177, 34, 178, 34, 73, 200, 73, 34, 73, 183, 73, 184, 219, 201, 179, 180, 181, 34, 73, 210, 202, 147, 34, 211, 182, 192, 192, 192, 192, 192, 192, 192, 149, 239, 239, 223, 193, 193, 193, 193, 193, 193, 193, 151, 34, 34, 297, 194, 194, 194, 194, 194, 194, 194, 33, 33, 34, 33, 33, 227, 33, 33, 33, 33, 33, 34, 225, 34, 34, 1022, 220, 34, 34, 34, 33, 33, 33, 33, 34, 34, 302, 221, 240, 240, 222, 228, 239, 231, 239, 232, 233, 245, 241, 296, 246, 312, 99, 242, 242, 242, 242, 242, 34, 34, 147, 310, 308, 243, 148, 148, 148, 148, 148, 148, 148, 247, 72, 72, 34, 248, 248, 248, 248, 248, 248, 248, 72, 72, 72, 72, 34, 34, 305, 34, 149, 240, 73, 240, 150, 150, 150, 150, 150, 150, 150, 306, 73, 323, 73, 151, 242, 298, 242, 152, 152, 152, 152, 152, 152, 152, 33, 33, 256, 33, 33, 250, 33, 33, 33, 33, 33, 72, 72, 72, 72, 72, 72, 34, 72, 72, 33, 33, 71, 71, 72, 72, 72, 72, 72, 72, 34, 73, 1021, 73, 34, 73, 299, 254, 73, 72, 72, 251, 154, 34, 73, 309, 73, 311, 73, 252, 72, 72, 253, 258, 255, 318, 257, 72, 72, 73, 72, 72, 72, 72, 34, 260, 321, 72, 72, 259, 73, 34, 72, 72, 34, 72, 72, 73, 72, 72, 73, 34, 73, 72, 72, 328, 261, 73, 72, 72, 262, 263, 73, 325, 265, 73, 264, 267, 73, 72, 72, 317, 34, 73, 34, 72, 72, 266, 73, 72, 72, 72, 72, 271, 34, 268, 269, 320, 330, 73, 307, 270, 72, 72, 272, 73, 341, 273, 341, 73, 34, 73, 72, 72, 72, 72, 319, 274, 72, 72, 275, 277, 73, 72, 72, 278, 72, 72, 72, 72, 276, 34, 73, 313, 73, 288, 288, 326, 73, 314, 281, 34, 34, 73, 315, 289, 73, 280, 73, 34, 279, 290, 290, 290, 290, 290, 324, 322, 34, 282, 396, 291, 316, 34, 147, 34, 284, 283, 192, 192, 192, 192, 192, 192, 192, 149, 799, 329, 331, 193, 193, 193, 193, 193, 193, 193, 385, 151, 288, 386, 288, 194, 194, 194, 194, 194, 194, 194, 34, 34, 239, 239, 34, 34, 290, 327, 290, 34, 34, 240, 240, 388, 242, 242, 242, 242, 242, 72, 72, 241, 247, 403, 243, 389, 248, 248, 248, 248, 248, 248, 248, 72, 72, 347, 72, 72, 34, 73, 72, 72, 72, 72, 34, 72, 72, 34, 72, 72, 34, 416, 404, 73, 34, 239, 73, 239, 344, 390, 73, 407, 73, 391, 240, 73, 240, 242, 73, 242, 72, 72, 348, 343, 350, 72, 72, 72, 72, 397, 345, 346, 72, 72, 72, 72, 72, 72, 1020, 34, 73, 34, 349, 72, 72, 73, 34, 73, 72, 72, 72, 72, 73, 34, 73, 398, 73, 399, 351, 72, 72, 352, 354, 73, 72, 72, 402, 353, 73, 413, 73, 34, 355, 405, 358, 34, 360, 409, 356, 73, 408, 357, 361, 34, 73, 1019, 72, 72, 72, 72, 34, 72, 72, 72, 72, 72, 72, 72, 72, 34, 359, 406, 72, 72, 420, 34, 73, 34, 73, 417, 362, 73, 400, 73, 401, 73, 415, 73, 72, 72, 414, 366, 73, 1018, 368, 72, 72, 34, 363, 72, 72, 364, 367, 421, 365, 72, 72, 503, 73, 34, 72, 72, 72, 72, 504, 73, 34, 72, 72, 73, 72, 72, 34, 376, 369, 73, 371, 34, 519, 370, 73, 378, 73, 72, 72, 1017, 373, 73, 374, 419, 73, 72, 72, 1016, 372, 288, 288, 410, 34, 34, 418, 375, 34, 73, 377, 289, 290, 290, 290, 290, 290, 73, 34, 34, 34, 34, 291, 422, 392, 423, 393, 34, 424, 425, 34, 427, 394, 34, 34, 72, 72, 429, 431, 426, 501, 395, 34, 428, 1015, 510, 72, 72, 411, 412, 432, 34, 430, 511, 288, 73, 288, 502, 34, 72, 72, 542, 522, 532, 449, 290, 73, 290, 382, 382, 382, 382, 382, 382, 382, 34, 523, 34, 451, 73, 34, 433, 434, 34, 34, 524, 515, 435, 72, 72, 536, 450, 72, 72, 436, 437, 438, 516, 452, 382, 382, 382, 382, 382, 382, 383, 34, 34, 73, 72, 72, 551, 73, 72, 72, 34, 72, 72, 453, 1014, 454, 72, 72, 525, 72, 72, 455, 72, 72, 73, 461, 457, 462, 73, 526, 456, 73, 72, 72, 72, 72, 73, 527, 34, 73, 72, 72, 73, 72, 72, 459, 1013, 460, 34, 34, 72, 72, 73, 458, 73, 517, 463, 464, 528, 34, 73, 474, 466, 73, 72, 72, 471, 34, 465, 518, 73, 72, 72, 72, 72, 72, 72, 468, 467, 469, 72, 72, 72, 72, 73, 34, 470, 476, 34, 72, 72, 73, 34, 73, 543, 73, 34, 72, 72, 683, 73, 477, 73, 72, 72, 531, 478, 530, 475, 73, 34, 472, 473, 72, 72, 72, 72, 73, 72, 72, 546, 480, 34, 73, 537, 479, 72, 72, 72, 72, 72, 72, 539, 73, 512, 73, 72, 72, 73, 72, 72, 482, 483, 72, 72, 862, 73, 481, 73, 34, 73, 34, 486, 72, 72, 34, 73, 493, 659, 73, 34, 34, 34, 73, 72, 72, 484, 490, 485, 488, 538, 513, 34, 73, 534, 487, 535, 492, 520, 514, 533, 489, 491, 34, 73, 547, 521, 1012, 494, 495, 548, 34, 34, 549, 496, 34, 34, 556, 560, 651, 645, 497, 498, 499, 505, 505, 505, 505, 505, 505, 505, 540, 544, 545, 506, 34, 34, 541, 34, 34, 34, 550, 34, 34, 34, 552, 34, 34, 555, 34, 34, 34, 34, 34, 554, 505, 505, 505, 505, 505, 505, 34, 553, 557, 559, 558, 567, 562, 568, 72, 72, 561, 563, 569, 34, 666, 72, 72, 72, 72, 72, 72, 72, 72, 34, 72, 72, 72, 72, 73, 640, 641, 72, 72, 72, 72, 73, 34, 73, 646, 73, 34, 73, 72, 72, 73, 580, 73, 572, 34, 570, 574, 73, 576, 73, 639, 72, 72, 571, 573, 577, 34, 667, 73, 581, 575, 649, 582, 578, 583, 34, 584, 579, 781, 72, 72, 73, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 34, 73, 72, 72, 73, 34, 73, 34, 73, 652, 73, 650, 73, 34, 73, 653, 73, 586, 73, 72, 72, 34, 73, 589, 72, 72, 72, 72, 670, 587, 585, 72, 72, 594, 72, 72, 588, 596, 34, 73, 72, 72, 72, 72, 73, 34, 73, 72, 72, 72, 72, 73, 593, 656, 73, 34, 1011, 72, 72, 590, 73, 657, 73, 591, 654, 592, 34, 73, 678, 73, 597, 669, 599, 72, 72, 600, 598, 73, 604, 595, 72, 72, 72, 72, 605, 655, 72, 72, 72, 72, 34, 34, 660, 73, 72, 72, 647, 601, 72, 72, 73, 34, 73, 34, 72, 72, 73, 34, 73, 1010, 603, 72, 72, 671, 73, 602, 606, 668, 73, 72, 72, 72, 72, 607, 73, 72, 72, 34, 608, 72, 72, 73, 613, 648, 72, 72, 642, 34, 609, 73, 763, 73, 72, 72, 34, 73, 72, 72, 34, 73, 675, 612, 72, 72, 73, 610, 611, 72, 72, 72, 72, 34, 73, 72, 72, 633, 73, 34, 614, 616, 615, 34, 73, 34, 617, 34, 629, 73, 34, 73, 661, 34, 662, 73, 630, 619, 34, 631, 676, 677, 632, 643, 34, 644, 34, 674, 658, 34, 618, 34, 780, 34, 634, 620, 684, 34, 663, 635, 636, 672, 637, 638, 664, 665, 34, 673, 679, 34, 34, 34, 680, 686, 760, 687, 685, 72, 72, 72, 72, 34, 693, 34, 681, 34, 72, 72, 682, 72, 72, 72, 72, 756, 72, 72, 759, 73, 34, 73, 764, 34, 689, 768, 765, 34, 73, 34, 34, 73, 690, 73, 785, 691, 73, 34, 692, 700, 702, 694, 699, 705, 876, 706, 695, 696, 707, 697, 698, 72, 72, 701, 72, 72, 72, 72, 34, 72, 72, 72, 72, 72, 72, 34, 72, 72, 711, 34, 34, 73, 72, 72, 73, 34, 73, 34, 766, 73, 795, 73, 794, 73, 784, 708, 73, 769, 712, 710, 72, 72, 73, 72, 72, 703, 717, 704, 709, 72, 72, 72, 72, 72, 72, 34, 72, 72, 72, 72, 73, 34, 713, 73, 72, 72, 34, 72, 72, 73, 775, 73, 34, 73, 72, 72, 73, 34, 73, 72, 72, 767, 714, 34, 73, 776, 716, 73, 715, 72, 72, 72, 72, 34, 73, 774, 718, 72, 72, 73, 72, 72, 792, 719, 727, 72, 72, 72, 72, 73, 34, 73, 761, 720, 762, 72, 72, 73, 729, 34, 73, 72, 72, 34, 34, 73, 34, 73, 72, 72, 72, 72, 72, 72, 865, 73, 721, 723, 722, 72, 72, 73, 779, 724, 725, 72, 72, 34, 73, 726, 73, 34, 73, 72, 72, 728, 72, 72, 34, 73, 72, 72, 72, 72, 782, 73, 730, 783, 736, 737, 950, 731, 793, 73, 72, 72, 73, 72, 72, 34, 73, 34, 73, 777, 735, 732, 72, 72, 72, 72, 34, 733, 72, 72, 73, 34, 734, 73, 778, 800, 72, 72, 72, 72, 72, 72, 73, 34, 73, 72, 72, 796, 73, 72, 72, 72, 72, 34, 740, 738, 73, 34, 73, 797, 73, 739, 34, 743, 801, 73, 741, 72, 72, 73, 742, 73, 757, 746, 34, 745, 34, 34, 758, 34, 770, 771, 34, 744, 786, 790, 791, 73, 34, 802, 72, 72, 772, 773, 798, 34, 787, 788, 803, 883, 803, 72, 72, 72, 72, 747, 789, 72, 72, 925, 73, 72, 72, 866, 34, 72, 72, 72, 72, 34, 804, 73, 926, 73, 72, 72, 34, 73, 867, 72, 72, 73, 1007, 72, 72, 73, 805, 73, 807, 34, 811, 859, 806, 34, 73, 72, 72, 886, 808, 73, 809, 861, 810, 73, 34, 813, 72, 72, 34, 812, 72, 72, 72, 72, 871, 73, 72, 72, 72, 72, 72, 72, 34, 814, 72, 72, 73, 860, 816, 951, 73, 34, 73, 72, 72, 815, 73, 34, 73, 34, 73, 72, 72, 873, 73, 72, 72, 72, 72, 868, 817, 869, 34, 73, 72, 72, 72, 72, 818, 819, 34, 73, 820, 821, 870, 73, 1006, 73, 72, 72, 1005, 822, 872, 34, 73, 874, 73, 72, 72, 34, 823, 72, 72, 72, 72, 72, 72, 34, 73, 72, 72, 936, 825, 72, 72, 824, 34, 73, 72, 72, 34, 73, 34, 73, 885, 73, 884, 826, 34, 73, 877, 72, 72, 73, 72, 72, 72, 72, 73, 72, 72, 827, 72, 72, 828, 34, 72, 72, 72, 72, 829, 73, 72, 72, 73, 34, 73, 72, 72, 73, 838, 839, 73, 72, 72, 830, 73, 942, 73, 72, 72, 34, 73, 72, 72, 72, 72, 73, 34, 833, 72, 72, 831, 73, 34, 834, 878, 832, 34, 73, 72, 72, 34, 73, 887, 73, 875, 835, 836, 879, 73, 927, 928, 72, 72, 72, 72, 837, 72, 72, 73, 34, 72, 72, 840, 72, 72, 72, 72, 72, 72, 841, 842, 73, 34, 73, 72, 72, 73, 72, 72, 843, 73, 34, 929, 73, 34, 73, 34, 73, 72, 72, 880, 845, 888, 846, 73, 881, 882, 73, 72, 72, 34, 844, 72, 72, 34, 847, 34, 863, 73, 34, 34, 930, 949, 34, 943, 848, 948, 864, 73, 72, 72, 946, 73, 72, 72, 72, 72, 72, 72, 849, 850, 889, 889, 889, 889, 889, 889, 889, 34, 73, 72, 72, 34, 73, 34, 73, 34, 73, 891, 72, 72, 72, 72, 34, 72, 72, 938, 892, 72, 72, 73, 890, 940, 894, 72, 72, 931, 72, 72, 73, 893, 73, 990, 895, 73, 72, 72, 34, 73, 72, 72, 72, 72, 34, 73, 896, 898, 73, 72, 72, 72, 72, 72, 72, 932, 73, 897, 72, 72, 73, 34, 73, 72, 72, 34, 899, 72, 72, 73, 34, 73, 900, 73, 72, 72, 72, 72, 73, 933, 34, 72, 72, 73, 72, 72, 34, 73, 945, 72, 72, 72, 72, 34, 73, 34, 73, 72, 72, 901, 902, 73, 72, 72, 73, 72, 72, 904, 903, 73, 34, 73, 72, 72, 72, 72, 980, 73, 979, 905, 978, 34, 73, 72, 72, 73, 72, 72, 934, 72, 72, 977, 73, 976, 73, 72, 72, 72, 72, 947, 906, 72, 72, 73, 34, 909, 73, 907, 908, 73, 34, 72, 72, 72, 72, 73, 34, 73, 910, 34, 34, 73, 72, 72, 911, 72, 72, 72, 72, 912, 913, 73, 34, 73, 72, 72, 72, 72, 988, 915, 72, 72, 73, 72, 72, 73, 34, 73, 937, 916, 34, 914, 72, 72, 73, 34, 73, 34, 917, 34, 73, 985, 918, 73, 991, 953, 935, 34, 34, 919, 939, 944, 73, 72, 72, 941, 72, 72, 34, 34, 889, 889, 889, 889, 889, 889, 889, 954, 924, 956, 952, 957, 34, 73, 958, 923, 73, 922, 72, 72, 72, 72, 72, 72, 921, 72, 72, 72, 72, 72, 72, 72, 72, 955, 72, 72, 72, 72, 73, 920, 73, 961, 73, 34, 34, 73, 34, 73, 34, 73, 34, 73, 72, 72, 73, 34, 73, 72, 72, 34, 72, 72, 989, 960, 72, 72, 992, 72, 72, 959, 72, 72, 73, 1008, 962, 72, 72, 73, 34, 34, 73, 72, 72, 34, 73, 72, 72, 73, 72, 72, 73, 72, 72, 72, 72, 73, 34, 963, 964, 966, 34, 73, 72, 72, 965, 73, 967, 34, 73, 72, 72, 73, 34, 73, 72, 72, 72, 72, 974, 968, 34, 34, 73, 72, 72, 34, 969, 34, 970, 73, 72, 72, 72, 72, 73, 972, 73, 34, 981, 982, 971, 72, 72, 73, 34, 983, 984, 997, 973, 34, 73, 34, 73, 72, 72, 986, 987, 34, 72, 72, 34, 73, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 34, 73, 34, 975, 72, 72, 73, 993, 994, 858, 73, 857, 73, 856, 73, 855, 73, 854, 73, 995, 996, 72, 72, 853, 73, 72, 72, 852, 998, 999, 1000, 851, 1001, 72, 72, 72, 72, 72, 72, 72, 72, 73, 34, 1002, 34, 73, 72, 72, 72, 72, 72, 72, 34, 73, 34, 73, 34, 73, 34, 73, 72, 72, 72, 72, 72, 72, 73, 34, 73, 34, 73, 1003, 72, 72, 72, 72, 72, 72, 72, 72, 73, 34, 73, 34, 73, 72, 72, 34, 1004, 72, 72, 34, 73, 34, 73, 34, 73, 34, 73, 72, 72, 72, 72, 72, 72, 73, 72, 72, 34, 73, 72, 72, 72, 72, 72, 72, 72, 72, 34, 73, 34, 73, 34, 73, 72, 72, 73, 34, 34, 34, 73, 755, 73, 754, 73, 753, 73, 1009, 752, 751, 750, 749, 748, 688, 73, 29, 29, 29, 29, 29, 29, 29, 29, 29, 32, 34, 32, 32, 32, 32, 32, 32, 32, 33, 33, 34, 34, 33, 33, 33, 35, 35, 34, 34, 35, 34, 35, 64, 34, 64, 64, 64, 64, 64, 64, 64, 71, 71, 71, 71, 71, 71, 71, 98, 34, 98, 98, 98, 98, 98, 98, 98, 141, 34, 34, 141, 72, 72, 72, 72, 72, 72, 72, 153, 34, 153, 153, 153, 153, 153, 153, 153, 337, 34, 34, 628, 627, 337, 444, 626, 444, 625, 624, 623, 622, 621, 566, 565, 445, 564, 34, 34, 34, 34, 34, 34, 509, 508, 507, 500, 448, 447, 446, 445, 338, 443, 442, 441, 440, 439, 387, 384, 381, 380, 379, 342, 340, 339, 338, 336, 335, 334, 333, 332, 34, 295, 294, 293, 292, 287, 286, 285, 249, 244, 142, 238, 237, 236, 198, 197, 196, 195, 34, 188, 187, 186, 140, 139, 138, 137, 105, 102, 101, 100, 34, 1025, 40, 34, 1025, 3, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025 } ; static const flex_int16_t yy_chk[3154] = { 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 10, 11, 14, 14, 14, 14, 19, 20, 39, 48, 11, 18, 18, 39, 45, 10, 15, 15, 15, 15, 15, 15, 15, 16, 48, 127, 19, 20, 16, 16, 16, 16, 16, 16, 16, 45, 18, 29, 7, 13, 127, 13, 21, 13, 13, 13, 13, 22, 22, 13, 49, 13, 13, 13, 18, 13, 49, 13, 13, 13, 13, 13, 21, 24, 26, 26, 24, 22, 121, 15, 23, 23, 62, 121, 25, 25, 29, 114, 24, 25, 25, 27, 27, 1022, 26, 28, 28, 47, 62, 47, 23, 55, 23, 55, 23, 23, 23, 23, 114, 25, 23, 27, 23, 23, 23, 28, 23, 110, 23, 23, 23, 23, 23, 41, 51, 1021, 41, 25, 34, 34, 51, 34, 34, 110, 34, 34, 34, 34, 34, 43, 42, 41, 42, 44, 51, 43, 43, 46, 34, 34, 34, 34, 42, 42, 50, 42, 50, 44, 65, 109, 46, 109, 111, 66, 52, 44, 46, 44, 52, 50, 34, 52, 53, 52, 117, 112, 111, 119, 65, 54, 67, 53, 53, 66, 54, 52, 54, 112, 117, 119, 53, 60, 60, 60, 60, 60, 60, 60, 63, 132, 67, 129, 120, 63, 63, 63, 63, 63, 63, 63, 68, 129, 132, 122, 68, 68, 68, 68, 68, 68, 68, 69, 120, 71, 71, 69, 69, 69, 69, 69, 69, 69, 70, 122, 137, 137, 70, 70, 70, 70, 70, 70, 70, 71, 73, 73, 208, 73, 73, 106, 73, 73, 73, 73, 73, 74, 74, 75, 75, 208, 118, 76, 76, 113, 73, 73, 73, 73, 106, 205, 113, 77, 77, 205, 115, 74, 118, 75, 74, 75, 115, 76, 78, 78, 80, 80, 73, 76, 76, 75, 75, 77, 75, 74, 79, 79, 81, 81, 82, 82, 83, 83, 78, 123, 80, 77, 80, 404, 84, 84, 88, 88, 404, 77, 79, 77, 81, 133, 82, 133, 83, 123, 83, 78, 82, 85, 85, 79, 84, 204, 88, 81, 88, 79, 84, 83, 87, 87, 86, 86, 92, 92, 93, 93, 207, 85, 124, 107, 84, 85, 94, 94, 85, 108, 85, 116, 87, 107, 86, 204, 92, 87, 93, 87, 124, 107, 85, 86, 86, 126, 94, 116, 108, 95, 207, 116, 86, 95, 95, 95, 95, 95, 95, 95, 96, 142, 142, 126, 96, 96, 96, 96, 96, 96, 96, 97, 201, 128, 201, 97, 97, 97, 97, 97, 97, 97, 99, 99, 130, 99, 99, 130, 99, 99, 99, 99, 99, 125, 128, 131, 135, 1020, 125, 134, 136, 200, 99, 99, 99, 99, 206, 216, 206, 125, 144, 144, 125, 131, 142, 134, 142, 135, 136, 147, 144, 200, 147, 216, 99, 145, 145, 145, 145, 145, 212, 214, 148, 214, 212, 145, 148, 148, 148, 148, 148, 148, 148, 149, 153, 153, 209, 149, 149, 149, 149, 149, 149, 149, 155, 155, 160, 160, 210, 202, 209, 225, 150, 144, 153, 144, 150, 150, 150, 150, 150, 150, 150, 210, 155, 225, 160, 152, 145, 202, 145, 152, 152, 152, 152, 152, 152, 152, 154, 154, 160, 154, 154, 155, 154, 154, 154, 154, 154, 156, 156, 157, 157, 158, 158, 203, 159, 159, 154, 154, 154, 154, 161, 161, 162, 162, 163, 163, 213, 156, 1019, 157, 220, 158, 203, 158, 159, 164, 164, 156, 154, 215, 161, 213, 162, 215, 163, 156, 165, 165, 157, 162, 159, 220, 161, 166, 166, 164, 167, 167, 168, 168, 223, 164, 223, 169, 169, 163, 165, 230, 170, 170, 227, 171, 171, 166, 172, 172, 167, 219, 168, 173, 173, 230, 165, 169, 174, 174, 165, 166, 170, 227, 168, 171, 167, 170, 172, 175, 175, 219, 222, 173, 232, 176, 176, 169, 174, 177, 177, 178, 178, 174, 211, 171, 172, 222, 232, 175, 211, 173, 179, 179, 174, 176, 247, 174, 247, 177, 221, 178, 180, 180, 181, 181, 221, 175, 182, 182, 176, 178, 179, 183, 183, 179, 184, 184, 185, 185, 177, 228, 180, 217, 181, 189, 189, 228, 182, 217, 182, 224, 218, 183, 218, 189, 184, 181, 185, 226, 180, 190, 190, 190, 190, 190, 226, 224, 301, 183, 301, 190, 218, 217, 192, 683, 185, 184, 192, 192, 192, 192, 192, 192, 192, 193, 683, 231, 233, 193, 193, 193, 193, 193, 193, 193, 294, 194, 189, 294, 189, 194, 194, 194, 194, 194, 194, 194, 297, 229, 239, 239, 296, 306, 190, 229, 190, 231, 233, 240, 240, 296, 242, 242, 242, 242, 242, 250, 250, 240, 248, 306, 242, 297, 248, 248, 248, 248, 248, 248, 248, 251, 251, 255, 252, 252, 307, 250, 253, 253, 254, 254, 299, 255, 255, 310, 256, 256, 317, 317, 307, 251, 302, 239, 252, 239, 252, 298, 253, 310, 254, 299, 240, 255, 240, 242, 256, 242, 257, 257, 256, 251, 258, 259, 259, 260, 260, 302, 253, 254, 261, 261, 258, 258, 262, 262, 1018, 298, 257, 303, 257, 264, 264, 259, 305, 260, 263, 263, 266, 266, 261, 308, 258, 303, 262, 303, 259, 265, 265, 260, 262, 264, 267, 267, 305, 261, 263, 314, 266, 311, 263, 308, 266, 312, 268, 312, 264, 265, 311, 265, 268, 309, 267, 1017, 268, 268, 269, 269, 321, 270, 270, 271, 271, 272, 272, 273, 273, 314, 267, 309, 274, 274, 321, 318, 268, 315, 269, 318, 269, 270, 304, 271, 304, 272, 316, 273, 275, 275, 315, 272, 274, 1016, 274, 276, 276, 322, 269, 277, 277, 270, 273, 322, 271, 278, 278, 381, 275, 304, 279, 279, 280, 280, 381, 276, 316, 281, 281, 277, 283, 283, 394, 282, 275, 278, 277, 320, 394, 276, 279, 284, 280, 282, 282, 1015, 279, 281, 280, 320, 283, 284, 284, 1014, 278, 288, 288, 313, 319, 324, 319, 281, 325, 282, 283, 288, 290, 290, 290, 290, 290, 284, 300, 323, 327, 328, 290, 323, 300, 324, 300, 326, 325, 326, 313, 328, 300, 329, 330, 343, 343, 329, 330, 327, 380, 300, 396, 328, 1013, 388, 344, 344, 313, 313, 331, 416, 329, 389, 288, 343, 288, 380, 407, 346, 346, 416, 396, 407, 343, 290, 344, 290, 292, 292, 292, 292, 292, 292, 292, 388, 398, 331, 345, 346, 392, 331, 331, 389, 411, 399, 392, 331, 345, 345, 411, 344, 347, 347, 331, 331, 331, 392, 346, 292, 292, 292, 292, 292, 292, 292, 398, 426, 345, 348, 348, 426, 347, 349, 349, 399, 350, 350, 347, 1012, 347, 352, 352, 400, 353, 353, 347, 355, 355, 348, 351, 348, 351, 349, 401, 347, 350, 351, 351, 354, 354, 352, 402, 403, 353, 356, 356, 355, 357, 357, 350, 1011, 350, 400, 393, 358, 358, 351, 349, 354, 393, 352, 353, 403, 401, 356, 361, 355, 357, 359, 359, 360, 402, 354, 393, 358, 361, 361, 360, 360, 362, 362, 357, 356, 358, 364, 364, 365, 365, 359, 406, 359, 363, 417, 367, 367, 361, 405, 360, 417, 362, 559, 363, 363, 559, 364, 364, 365, 366, 366, 406, 365, 405, 362, 367, 420, 360, 360, 368, 368, 369, 369, 363, 370, 370, 420, 367, 759, 366, 413, 366, 371, 371, 372, 372, 373, 373, 414, 368, 390, 369, 374, 374, 370, 375, 375, 369, 370, 376, 376, 759, 371, 368, 372, 533, 373, 413, 373, 377, 377, 410, 374, 378, 533, 375, 409, 390, 414, 376, 378, 378, 371, 376, 372, 375, 413, 390, 395, 377, 410, 374, 410, 377, 395, 390, 409, 375, 376, 424, 378, 422, 395, 1010, 378, 378, 423, 419, 418, 424, 378, 415, 434, 431, 434, 522, 517, 378, 378, 378, 383, 383, 383, 383, 383, 383, 383, 415, 418, 419, 383, 422, 425, 415, 427, 429, 423, 425, 430, 522, 432, 427, 428, 431, 430, 433, 436, 517, 438, 540, 429, 383, 383, 383, 383, 383, 383, 437, 428, 432, 433, 432, 449, 437, 450, 452, 452, 436, 438, 451, 515, 540, 449, 449, 450, 450, 451, 451, 453, 453, 514, 454, 454, 455, 455, 452, 514, 515, 457, 457, 456, 456, 449, 1008, 450, 518, 451, 513, 453, 458, 458, 454, 459, 455, 453, 520, 451, 454, 457, 455, 456, 513, 459, 459, 451, 453, 456, 660, 541, 458, 460, 454, 520, 461, 456, 462, 518, 463, 457, 660, 460, 460, 459, 461, 461, 462, 462, 463, 463, 464, 464, 465, 465, 466, 466, 467, 467, 468, 468, 541, 460, 469, 469, 461, 521, 462, 523, 463, 523, 464, 521, 465, 524, 466, 524, 467, 465, 468, 470, 470, 546, 469, 468, 471, 471, 472, 472, 546, 466, 464, 473, 473, 474, 476, 476, 467, 475, 527, 470, 474, 474, 477, 477, 471, 525, 472, 475, 475, 478, 478, 473, 472, 527, 476, 554, 1007, 479, 479, 470, 474, 529, 477, 471, 525, 471, 526, 475, 554, 478, 476, 543, 477, 480, 480, 478, 476, 479, 483, 474, 481, 481, 482, 482, 484, 526, 485, 485, 483, 483, 536, 529, 536, 480, 484, 484, 519, 479, 486, 486, 481, 543, 482, 542, 487, 487, 485, 547, 483, 1005, 481, 488, 488, 547, 484, 480, 485, 542, 486, 489, 489, 490, 490, 486, 487, 491, 491, 519, 487, 493, 493, 488, 492, 519, 494, 494, 516, 635, 488, 489, 635, 490, 492, 492, 992, 491, 496, 496, 551, 493, 551, 491, 495, 495, 494, 489, 490, 497, 497, 498, 498, 537, 492, 499, 499, 511, 496, 516, 493, 494, 493, 510, 495, 991, 495, 549, 510, 497, 530, 498, 537, 657, 537, 499, 510, 498, 560, 510, 552, 552, 510, 516, 511, 516, 539, 549, 530, 548, 497, 555, 657, 632, 511, 499, 560, 563, 539, 511, 511, 548, 511, 511, 539, 539, 556, 548, 555, 552, 561, 562, 556, 562, 632, 563, 561, 567, 567, 569, 569, 631, 568, 629, 556, 636, 570, 570, 556, 568, 568, 571, 571, 629, 572, 572, 631, 567, 637, 569, 636, 640, 567, 640, 637, 668, 570, 785, 990, 568, 567, 571, 668, 567, 572, 989, 567, 571, 573, 568, 570, 574, 785, 575, 568, 568, 576, 568, 568, 573, 573, 572, 574, 574, 575, 575, 638, 576, 576, 577, 577, 578, 578, 667, 580, 580, 579, 642, 675, 573, 579, 579, 574, 988, 575, 678, 638, 576, 678, 577, 675, 578, 667, 576, 580, 642, 580, 578, 581, 581, 579, 582, 582, 573, 586, 573, 577, 583, 583, 584, 584, 585, 585, 987, 586, 586, 587, 587, 581, 639, 581, 582, 588, 588, 652, 589, 589, 583, 652, 584, 986, 585, 590, 590, 586, 647, 587, 591, 591, 639, 582, 673, 588, 652, 584, 589, 583, 592, 592, 593, 593, 633, 590, 647, 587, 594, 594, 591, 595, 595, 673, 590, 598, 596, 596, 597, 597, 592, 984, 593, 633, 593, 633, 598, 598, 594, 600, 983, 595, 599, 599, 763, 656, 596, 982, 597, 600, 600, 601, 601, 602, 602, 763, 598, 594, 596, 594, 603, 603, 599, 656, 596, 596, 604, 604, 665, 600, 597, 601, 674, 602, 605, 605, 599, 606, 606, 664, 603, 607, 607, 608, 608, 664, 604, 603, 665, 609, 609, 886, 604, 674, 605, 610, 610, 606, 609, 609, 653, 607, 684, 608, 653, 608, 605, 611, 611, 612, 612, 679, 605, 613, 613, 610, 886, 606, 609, 653, 684, 614, 614, 615, 615, 616, 616, 611, 685, 612, 617, 617, 679, 613, 618, 618, 619, 619, 681, 613, 611, 614, 630, 615, 681, 616, 612, 645, 616, 685, 617, 613, 620, 620, 618, 613, 619, 630, 619, 646, 618, 981, 686, 630, 793, 645, 645, 669, 617, 669, 670, 670, 620, 682, 686, 689, 689, 646, 646, 682, 764, 669, 669, 688, 793, 688, 690, 690, 691, 691, 620, 669, 692, 692, 857, 689, 693, 693, 764, 670, 694, 694, 695, 695, 756, 689, 690, 857, 691, 696, 696, 765, 692, 765, 697, 697, 693, 980, 698, 698, 694, 690, 695, 691, 758, 695, 756, 690, 798, 696, 699, 699, 798, 692, 697, 693, 758, 693, 698, 887, 697, 700, 700, 776, 696, 701, 701, 702, 702, 776, 699, 703, 703, 704, 704, 705, 705, 757, 698, 706, 706, 700, 757, 700, 887, 701, 766, 702, 707, 707, 699, 703, 778, 704, 768, 705, 708, 708, 778, 706, 709, 709, 710, 710, 766, 702, 768, 775, 707, 711, 711, 712, 712, 705, 705, 777, 708, 706, 706, 775, 709, 978, 710, 713, 713, 977, 707, 777, 782, 711, 782, 712, 714, 714, 867, 712, 715, 715, 716, 716, 717, 717, 951, 713, 718, 718, 867, 713, 719, 719, 712, 786, 714, 720, 720, 794, 715, 797, 716, 797, 717, 794, 713, 950, 718, 786, 721, 721, 719, 722, 722, 723, 723, 720, 724, 724, 716, 725, 725, 717, 949, 726, 726, 727, 727, 720, 721, 728, 728, 722, 874, 723, 731, 731, 724, 730, 730, 725, 729, 729, 724, 726, 874, 727, 730, 730, 948, 728, 732, 732, 733, 733, 731, 783, 728, 734, 734, 725, 729, 787, 729, 787, 727, 947, 730, 735, 735, 800, 732, 800, 733, 783, 729, 729, 787, 734, 858, 858, 736, 736, 737, 737, 729, 738, 738, 735, 945, 739, 739, 733, 740, 740, 741, 741, 742, 742, 734, 735, 736, 788, 737, 743, 743, 738, 744, 744, 738, 739, 789, 859, 740, 943, 741, 801, 742, 745, 745, 788, 741, 801, 742, 743, 789, 789, 744, 746, 746, 885, 739, 747, 747, 760, 743, 881, 760, 745, 877, 883, 860, 885, 859, 877, 744, 883, 760, 746, 804, 804, 881, 747, 805, 805, 806, 806, 807, 807, 745, 746, 803, 803, 803, 803, 803, 803, 803, 870, 804, 808, 808, 860, 805, 872, 806, 861, 807, 805, 809, 809, 810, 810, 937, 811, 811, 870, 806, 812, 812, 808, 804, 872, 808, 813, 813, 861, 814, 814, 809, 807, 810, 937, 808, 811, 815, 815, 942, 812, 816, 816, 817, 817, 941, 813, 811, 813, 814, 818, 818, 819, 819, 820, 820, 862, 815, 812, 821, 821, 816, 940, 817, 822, 822, 939, 814, 823, 823, 818, 879, 819, 816, 820, 824, 824, 825, 825, 821, 863, 938, 826, 826, 822, 827, 827, 862, 823, 879, 828, 828, 829, 829, 936, 824, 935, 825, 830, 830, 823, 824, 826, 831, 831, 827, 832, 832, 826, 825, 828, 863, 829, 833, 833, 834, 834, 924, 830, 923, 830, 922, 882, 831, 835, 835, 832, 836, 836, 864, 838, 838, 921, 833, 920, 834, 837, 837, 839, 839, 882, 831, 840, 840, 835, 888, 835, 836, 833, 834, 838, 884, 841, 841, 842, 842, 837, 880, 839, 835, 864, 933, 840, 843, 843, 836, 844, 844, 845, 845, 837, 837, 841, 876, 842, 846, 846, 847, 847, 933, 842, 848, 848, 843, 849, 849, 844, 866, 845, 869, 845, 871, 841, 850, 850, 846, 873, 847, 878, 846, 944, 848, 931, 848, 849, 944, 890, 866, 875, 868, 849, 871, 878, 850, 892, 892, 873, 890, 890, 865, 869, 889, 889, 889, 889, 889, 889, 889, 891, 855, 893, 889, 894, 931, 892, 895, 854, 890, 853, 891, 891, 893, 893, 894, 894, 852, 895, 895, 896, 896, 897, 897, 898, 898, 892, 899, 899, 901, 901, 891, 851, 893, 900, 894, 802, 934, 895, 799, 896, 946, 897, 796, 898, 900, 900, 899, 985, 901, 902, 902, 795, 903, 903, 934, 898, 904, 904, 946, 905, 905, 897, 906, 906, 900, 985, 901, 907, 907, 902, 792, 791, 903, 908, 908, 790, 904, 909, 909, 905, 910, 910, 906, 911, 911, 912, 912, 907, 784, 902, 903, 905, 781, 908, 913, 913, 904, 909, 908, 780, 910, 914, 914, 911, 779, 912, 915, 915, 916, 916, 917, 909, 929, 774, 913, 917, 917, 773, 910, 930, 912, 914, 918, 918, 919, 919, 915, 914, 916, 932, 929, 929, 913, 953, 953, 917, 772, 930, 930, 955, 916, 771, 918, 770, 919, 954, 954, 932, 932, 769, 955, 955, 767, 953, 956, 956, 957, 957, 958, 958, 959, 959, 960, 960, 762, 954, 761, 918, 961, 961, 955, 953, 953, 755, 956, 754, 957, 753, 958, 752, 959, 751, 960, 954, 954, 962, 962, 750, 961, 963, 963, 749, 956, 956, 957, 748, 958, 964, 964, 965, 965, 966, 966, 967, 967, 962, 687, 961, 680, 963, 968, 968, 969, 969, 970, 970, 677, 964, 676, 965, 672, 966, 671, 967, 971, 971, 972, 972, 973, 973, 968, 666, 969, 663, 970, 968, 974, 974, 975, 975, 993, 993, 994, 994, 971, 662, 972, 661, 973, 995, 995, 659, 970, 996, 996, 658, 974, 655, 975, 654, 993, 651, 994, 997, 997, 998, 998, 999, 999, 995, 1000, 1000, 650, 996, 1001, 1001, 1002, 1002, 1003, 1003, 1004, 1004, 649, 997, 648, 998, 644, 999, 1009, 1009, 1000, 643, 641, 634, 1001, 628, 1002, 627, 1003, 626, 1004, 997, 625, 624, 623, 622, 621, 566, 1009, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1027, 558, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1028, 1028, 557, 553, 1028, 1028, 1028, 1029, 1029, 550, 545, 1029, 544, 1029, 1030, 538, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1032, 535, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1033, 534, 532, 1033, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1035, 531, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1036, 528, 512, 509, 508, 1036, 1037, 507, 1037, 504, 503, 502, 501, 500, 447, 446, 444, 443, 435, 421, 412, 408, 397, 391, 386, 385, 384, 379, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 295, 293, 287, 286, 285, 249, 246, 245, 244, 238, 237, 236, 235, 234, 199, 198, 196, 195, 191, 188, 187, 186, 151, 146, 143, 140, 139, 138, 105, 102, 101, 100, 98, 91, 90, 89, 59, 58, 57, 56, 40, 38, 37, 36, 33, 31, 12, 9, 3, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025 } ; 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 "lexor.lex" #line 6 "lexor.lex" /* * Copyright (c) 2001-2026 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ # include "parse_misc.h" # include "compile.h" # include "parse.h" # include # include # include "ivl_alloc.h" # define YY_NO_INPUT /* * For literal strings, the compiler replaces all non-printable characters * with 3 digit octal escapes. But it can include null characters in the * string, so we cannot process those escapes yet. For identifiers, the * compiler only escapes the " and \ characters. So these are the only * escape sequences we need to handle here. */ static char*strdup_and_demangle(char const *src) { char*dst = new char [strlen(src)+1]; char*dup = dst; while (*src) { char next_char = *src++; if (next_char == '\\') { switch (*src) { case '\"': case '\\': next_char = *src++; break; default: break; } } *dst++ = next_char; } *dst = 0; return dup; } inline uint64_t strtouint64(const char*str, char**endptr, int base) { if (sizeof(unsigned long) >= sizeof(uint64_t)) return strtoul(str, endptr, base); else return strtoull(str, endptr, base); } #line 1546 "lexor.cc" #line 1547 "lexor.cc" #define INITIAL 0 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif static int yy_init_globals ( void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy ( void ); int yyget_debug ( void ); void yyset_debug ( int debug_flag ); YY_EXTRA_TYPE yyget_extra ( void ); void yyset_extra ( YY_EXTRA_TYPE user_defined ); FILE *yyget_in ( void ); void yyset_in ( FILE * _in_str ); FILE *yyget_out ( void ); void yyset_out ( FILE * _out_str ); int yyget_leng ( void ); char *yyget_text ( void ); int yyget_lineno ( void ); void yyset_lineno ( int _line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap ( void ); #else extern int yywrap ( void ); #endif #endif #ifndef YY_NO_UNPUT #endif #ifndef yytext_ptr static void yy_flex_strncpy ( char *, const char *, int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen ( const 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, (size_t) 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 = '*'; \ int 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 = (int) fread(buf, 1, (yy_size_t) 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 /*LINTED*/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 { yy_state_type yy_current_state; char *yy_cp, *yy_bp; int yy_act; 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( ); } { #line 75 "lexor.lex" #line 78 "lexor.lex" /* These are some special header/footer keywords. */ #line 1770 "lexor.cc" while ( /*CONSTCOND*/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 { 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 >= 1026 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } while ( yy_current_state != 1025 ); yy_cp = (yy_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); yy_find_action: yy_act = yy_accept[yy_current_state]; YY_DO_BEFORE_ACTION; 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: YY_RULE_SETUP #line 79 "lexor.lex" { return K_ivl_version; } YY_BREAK case 2: YY_RULE_SETUP #line 80 "lexor.lex" { return K_ivl_delay_selection; } YY_BREAK case 3: YY_RULE_SETUP #line 81 "lexor.lex" { return K_vpi_module; } YY_BREAK case 4: YY_RULE_SETUP #line 82 "lexor.lex" { return K_vpi_time_precision; } YY_BREAK case 5: YY_RULE_SETUP #line 83 "lexor.lex" { return K_file_names; } YY_BREAK /* A label is any non-blank text that appears left justified. */ case 6: YY_RULE_SETUP #line 87 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_LABEL; } YY_BREAK /* String tokens are parsed here. Return as the token value the contents of the string without the enclosing quotes. */ case 7: /* rule 7 can match eol */ YY_RULE_SETUP #line 94 "lexor.lex" { yytext[strlen(yytext)-1] = 0; yylval.text = strdup_and_demangle(yytext+1); assert(yylval.text); return T_STRING; } YY_BREAK /* Binary vector tokens are parsed here. The result of this is a string of binary 4-values in the yylval.vect.text string. This is preceded by an 's' if the vector is signed. */ case 8: YY_RULE_SETUP #line 103 "lexor.lex" { yylval.vect.idx = strtoul(yytext, 0, 10); yylval.vect.text = static_cast(malloc(yylval.vect.idx + 2)); char*dest = yylval.vect.text; const char*bits = strchr(yytext, '\''); assert(bits); bits += 1; if (*bits == 's') { *dest++ = 's'; bits += 1; } assert(*bits == 'b'); bits += 1; unsigned pad = 0; if (strlen(bits) < yylval.vect.idx) pad = yylval.vect.idx - strlen(bits); memset(dest, '0', pad); for (unsigned idx = pad ; idx < yylval.vect.idx ; idx += 1) dest[idx] = bits[idx-pad]; dest[yylval.vect.idx] = 0; return T_VECTOR; } YY_BREAK /* These are some keywords that are recognized. */ case 9: YY_RULE_SETUP #line 132 "lexor.lex" { return K_ARITH_ABS; } YY_BREAK case 10: YY_RULE_SETUP #line 133 "lexor.lex" { return K_ARITH_DIV; } YY_BREAK case 11: YY_RULE_SETUP #line 134 "lexor.lex" { return K_ARITH_DIV_R; } YY_BREAK case 12: YY_RULE_SETUP #line 135 "lexor.lex" { return K_ARITH_DIV_S; } YY_BREAK case 13: YY_RULE_SETUP #line 136 "lexor.lex" { return K_ARITH_MOD; } YY_BREAK case 14: YY_RULE_SETUP #line 137 "lexor.lex" { return K_ARITH_MOD_R; } YY_BREAK case 15: YY_RULE_SETUP #line 138 "lexor.lex" { return K_ARITH_MOD_S; } YY_BREAK case 16: YY_RULE_SETUP #line 139 "lexor.lex" { return K_ARITH_MULT; } YY_BREAK case 17: YY_RULE_SETUP #line 140 "lexor.lex" { return K_ARITH_MULT_R; } YY_BREAK case 18: YY_RULE_SETUP #line 141 "lexor.lex" { return K_ARITH_POW; } YY_BREAK case 19: YY_RULE_SETUP #line 142 "lexor.lex" { return K_ARITH_POW_R; } YY_BREAK case 20: YY_RULE_SETUP #line 143 "lexor.lex" { return K_ARITH_POW_S; } YY_BREAK case 21: YY_RULE_SETUP #line 144 "lexor.lex" { return K_ARITH_SUB; } YY_BREAK case 22: YY_RULE_SETUP #line 145 "lexor.lex" { return K_ARITH_SUB_R; } YY_BREAK case 23: YY_RULE_SETUP #line 146 "lexor.lex" { return K_ARITH_SUM; } YY_BREAK case 24: YY_RULE_SETUP #line 147 "lexor.lex" { return K_ARITH_SUM_R; } YY_BREAK case 25: YY_RULE_SETUP #line 148 "lexor.lex" { return K_ARRAY; } YY_BREAK case 26: YY_RULE_SETUP #line 149 "lexor.lex" { return K_ARRAY_2S; } YY_BREAK case 27: YY_RULE_SETUP #line 150 "lexor.lex" { return K_ARRAY_2U; } YY_BREAK case 28: YY_RULE_SETUP #line 151 "lexor.lex" { return K_ARRAY_I; } YY_BREAK case 29: YY_RULE_SETUP #line 152 "lexor.lex" { return K_ARRAY_OBJ; } YY_BREAK case 30: YY_RULE_SETUP #line 153 "lexor.lex" { return K_ARRAY_R; } YY_BREAK case 31: YY_RULE_SETUP #line 154 "lexor.lex" { return K_ARRAY_S; } YY_BREAK case 32: YY_RULE_SETUP #line 155 "lexor.lex" { return K_ARRAY_STR; } YY_BREAK case 33: YY_RULE_SETUP #line 156 "lexor.lex" { return K_ARRAY_PORT; } YY_BREAK case 34: YY_RULE_SETUP #line 157 "lexor.lex" { return K_CAST_2; } YY_BREAK case 35: YY_RULE_SETUP #line 158 "lexor.lex" { return K_CAST_INT; } YY_BREAK case 36: YY_RULE_SETUP #line 159 "lexor.lex" { return K_CAST_REAL; } YY_BREAK case 37: YY_RULE_SETUP #line 160 "lexor.lex" { return K_CAST_REAL_S; } YY_BREAK case 38: YY_RULE_SETUP #line 161 "lexor.lex" { return K_CLASS; } YY_BREAK case 39: YY_RULE_SETUP #line 162 "lexor.lex" { return K_CMP_EEQ; } YY_BREAK case 40: YY_RULE_SETUP #line 163 "lexor.lex" { return K_CMP_EQX; } YY_BREAK case 41: YY_RULE_SETUP #line 164 "lexor.lex" { return K_CMP_EQZ; } YY_BREAK case 42: YY_RULE_SETUP #line 165 "lexor.lex" { return K_CMP_EQ; } YY_BREAK case 43: YY_RULE_SETUP #line 166 "lexor.lex" { return K_CMP_EQ_R; } YY_BREAK case 44: YY_RULE_SETUP #line 167 "lexor.lex" { return K_CMP_NEE; } YY_BREAK case 45: YY_RULE_SETUP #line 168 "lexor.lex" { return K_CMP_NE; } YY_BREAK case 46: YY_RULE_SETUP #line 169 "lexor.lex" { return K_CMP_NE_R; } YY_BREAK case 47: YY_RULE_SETUP #line 170 "lexor.lex" { return K_CMP_GE; } YY_BREAK case 48: YY_RULE_SETUP #line 171 "lexor.lex" { return K_CMP_GE_R; } YY_BREAK case 49: YY_RULE_SETUP #line 172 "lexor.lex" { return K_CMP_GE_S; } YY_BREAK case 50: YY_RULE_SETUP #line 173 "lexor.lex" { return K_CMP_GT; } YY_BREAK case 51: YY_RULE_SETUP #line 174 "lexor.lex" { return K_CMP_GT_R; } YY_BREAK case 52: YY_RULE_SETUP #line 175 "lexor.lex" { return K_CMP_GT_S; } YY_BREAK case 53: YY_RULE_SETUP #line 176 "lexor.lex" { return K_CMP_WEQ; } YY_BREAK case 54: YY_RULE_SETUP #line 177 "lexor.lex" { return K_CMP_WNE; } YY_BREAK case 55: YY_RULE_SETUP #line 178 "lexor.lex" { return K_CONCAT; } YY_BREAK case 56: YY_RULE_SETUP #line 179 "lexor.lex" { return K_CONCAT8; } YY_BREAK case 57: YY_RULE_SETUP #line 180 "lexor.lex" { return K_DELAY; } YY_BREAK case 58: YY_RULE_SETUP #line 181 "lexor.lex" { return K_DFF_N; } YY_BREAK case 59: YY_RULE_SETUP #line 182 "lexor.lex" { return K_DFF_N_ACLR; } YY_BREAK case 60: YY_RULE_SETUP #line 183 "lexor.lex" { return K_DFF_N_ASET; } YY_BREAK case 61: YY_RULE_SETUP #line 184 "lexor.lex" { return K_DFF_P; } YY_BREAK case 62: YY_RULE_SETUP #line 185 "lexor.lex" { return K_DFF_P_ACLR; } YY_BREAK case 63: YY_RULE_SETUP #line 186 "lexor.lex" { return K_DFF_P_ASET; } YY_BREAK case 64: YY_RULE_SETUP #line 187 "lexor.lex" { return K_ENUM2; } YY_BREAK case 65: YY_RULE_SETUP #line 188 "lexor.lex" { return K_ENUM2_S; } YY_BREAK case 66: YY_RULE_SETUP #line 189 "lexor.lex" { return K_ENUM4; } YY_BREAK case 67: YY_RULE_SETUP #line 190 "lexor.lex" { return K_ENUM4_S; } YY_BREAK case 68: YY_RULE_SETUP #line 191 "lexor.lex" { return K_EVENT; } YY_BREAK case 69: YY_RULE_SETUP #line 192 "lexor.lex" { return K_EVENT_OR; } YY_BREAK case 70: YY_RULE_SETUP #line 193 "lexor.lex" { return K_EXPORT; } YY_BREAK case 71: YY_RULE_SETUP #line 194 "lexor.lex" { return K_EXTEND_S; } YY_BREAK case 72: YY_RULE_SETUP #line 195 "lexor.lex" { return K_FUNCTOR; } YY_BREAK case 73: YY_RULE_SETUP #line 196 "lexor.lex" { return K_IMPORT; } YY_BREAK case 74: YY_RULE_SETUP #line 197 "lexor.lex" { return K_ISLAND; } YY_BREAK case 75: YY_RULE_SETUP #line 198 "lexor.lex" { return K_LATCH; } YY_BREAK case 76: YY_RULE_SETUP #line 199 "lexor.lex" { return K_MODPATH; } YY_BREAK case 77: YY_RULE_SETUP #line 200 "lexor.lex" { return K_NET; } YY_BREAK case 78: YY_RULE_SETUP #line 201 "lexor.lex" { return K_NET_2S; } YY_BREAK case 79: YY_RULE_SETUP #line 202 "lexor.lex" { return K_NET_2U; } YY_BREAK case 80: YY_RULE_SETUP #line 203 "lexor.lex" { return K_NET8; } YY_BREAK case 81: YY_RULE_SETUP #line 204 "lexor.lex" { return K_NET8_2S; } YY_BREAK case 82: YY_RULE_SETUP #line 205 "lexor.lex" { return K_NET8_2U; } YY_BREAK case 83: YY_RULE_SETUP #line 206 "lexor.lex" { return K_NET8_S; } YY_BREAK case 84: YY_RULE_SETUP #line 207 "lexor.lex" { return K_NET_R; } YY_BREAK case 85: YY_RULE_SETUP #line 208 "lexor.lex" { return K_NET_S; } YY_BREAK case 86: YY_RULE_SETUP #line 209 "lexor.lex" { return K_PARAM_L; } YY_BREAK case 87: YY_RULE_SETUP #line 210 "lexor.lex" { return K_PARAM_STR; } YY_BREAK case 88: YY_RULE_SETUP #line 211 "lexor.lex" { return K_PARAM_REAL; } YY_BREAK case 89: YY_RULE_SETUP #line 212 "lexor.lex" { return K_PART; } YY_BREAK case 90: YY_RULE_SETUP #line 213 "lexor.lex" { return K_PART_PV; } YY_BREAK case 91: YY_RULE_SETUP #line 214 "lexor.lex" { return K_PART_V; } YY_BREAK case 92: YY_RULE_SETUP #line 215 "lexor.lex" { return K_PART_V_S; } YY_BREAK case 93: YY_RULE_SETUP #line 216 "lexor.lex" { return K_PORT; } YY_BREAK case 94: YY_RULE_SETUP #line 217 "lexor.lex" { return K_PORT_INFO; } YY_BREAK case 95: YY_RULE_SETUP #line 218 "lexor.lex" { return K_REDUCE_AND; } YY_BREAK case 96: YY_RULE_SETUP #line 219 "lexor.lex" { return K_REDUCE_OR; } YY_BREAK case 97: YY_RULE_SETUP #line 220 "lexor.lex" { return K_REDUCE_XOR; } YY_BREAK case 98: YY_RULE_SETUP #line 221 "lexor.lex" { return K_REDUCE_NAND; } YY_BREAK case 99: YY_RULE_SETUP #line 222 "lexor.lex" { return K_REDUCE_NOR; } YY_BREAK case 100: YY_RULE_SETUP #line 223 "lexor.lex" { return K_REDUCE_XNOR; } YY_BREAK case 101: YY_RULE_SETUP #line 224 "lexor.lex" { return K_REPEAT; } YY_BREAK case 102: YY_RULE_SETUP #line 225 "lexor.lex" { return K_RESOLV; } YY_BREAK case 103: YY_RULE_SETUP #line 226 "lexor.lex" { return K_RTRAN; } YY_BREAK case 104: YY_RULE_SETUP #line 227 "lexor.lex" { return K_RTRANIF0; } YY_BREAK case 105: YY_RULE_SETUP #line 228 "lexor.lex" { return K_RTRANIF1; } YY_BREAK case 106: YY_RULE_SETUP #line 229 "lexor.lex" { return K_SCOPE; } YY_BREAK case 107: YY_RULE_SETUP #line 230 "lexor.lex" { return K_SFUNC; } YY_BREAK case 108: YY_RULE_SETUP #line 231 "lexor.lex" { return K_SFUNC_E; } YY_BREAK case 109: YY_RULE_SETUP #line 232 "lexor.lex" { return K_SHIFTL; } YY_BREAK case 110: YY_RULE_SETUP #line 233 "lexor.lex" { return K_SHIFTR; } YY_BREAK case 111: YY_RULE_SETUP #line 234 "lexor.lex" { return K_SHIFTRS; } YY_BREAK case 112: YY_RULE_SETUP #line 235 "lexor.lex" { return K_SUBSTITUTE; } YY_BREAK case 113: YY_RULE_SETUP #line 236 "lexor.lex" { return K_THREAD; } YY_BREAK case 114: YY_RULE_SETUP #line 237 "lexor.lex" { return K_TIMESCALE; } YY_BREAK case 115: YY_RULE_SETUP #line 238 "lexor.lex" { return K_TRAN; } YY_BREAK case 116: YY_RULE_SETUP #line 239 "lexor.lex" { return K_TRANIF0; } YY_BREAK case 117: YY_RULE_SETUP #line 240 "lexor.lex" { return K_TRANIF1; } YY_BREAK case 118: YY_RULE_SETUP #line 241 "lexor.lex" { return K_TRANVP; } YY_BREAK case 119: YY_RULE_SETUP #line 242 "lexor.lex" { return K_UFUNC_REAL; } YY_BREAK case 120: YY_RULE_SETUP #line 243 "lexor.lex" { return K_UFUNC_VEC4; } YY_BREAK case 121: YY_RULE_SETUP #line 244 "lexor.lex" { return K_UFUNC_E; } YY_BREAK case 122: YY_RULE_SETUP #line 245 "lexor.lex" { return K_VAR; } YY_BREAK case 123: YY_RULE_SETUP #line 246 "lexor.lex" { return K_VAR_COBJECT; } YY_BREAK case 124: YY_RULE_SETUP #line 247 "lexor.lex" { return K_VAR_DARRAY; } YY_BREAK case 125: YY_RULE_SETUP #line 248 "lexor.lex" { return K_VAR_QUEUE; } YY_BREAK case 126: YY_RULE_SETUP #line 249 "lexor.lex" { return K_VAR_R; } YY_BREAK case 127: YY_RULE_SETUP #line 250 "lexor.lex" { return K_VAR_S; } YY_BREAK case 128: YY_RULE_SETUP #line 251 "lexor.lex" { return K_VAR_STR; } YY_BREAK case 129: YY_RULE_SETUP #line 252 "lexor.lex" { return K_VAR_I; /* integer */ } YY_BREAK case 130: YY_RULE_SETUP #line 253 "lexor.lex" { return K_VAR_2S; /* byte/shortint/int/longint signed */ } YY_BREAK case 131: YY_RULE_SETUP #line 254 "lexor.lex" { return K_VAR_2U; /* byte/shortint/int/longint unsigned */ } YY_BREAK case 132: YY_RULE_SETUP #line 255 "lexor.lex" { return K_UDP; } YY_BREAK case 133: YY_RULE_SETUP #line 256 "lexor.lex" { return K_UDP_C; } YY_BREAK case 134: YY_RULE_SETUP #line 257 "lexor.lex" { return K_UDP_S; } YY_BREAK case 135: YY_RULE_SETUP #line 258 "lexor.lex" { return K_DEBUG; } YY_BREAK /* instructions start with a % character. The compiler decides what kind of instruction this really is. The few exceptions (that have exceptional parameter requirements) are listed first. */ case 136: YY_RULE_SETUP #line 264 "lexor.lex" { return K_vpi_call; } YY_BREAK case 137: YY_RULE_SETUP #line 265 "lexor.lex" { return K_vpi_call_w; } YY_BREAK case 138: YY_RULE_SETUP #line 266 "lexor.lex" { return K_vpi_call_i; } YY_BREAK case 139: YY_RULE_SETUP #line 267 "lexor.lex" { return K_vpi_func; } YY_BREAK case 140: YY_RULE_SETUP #line 268 "lexor.lex" { return K_vpi_func_r; } YY_BREAK case 141: YY_RULE_SETUP #line 269 "lexor.lex" { return K_vpi_func_s; } YY_BREAK case 142: YY_RULE_SETUP #line 270 "lexor.lex" { return K_file_line; } YY_BREAK /* Handle the specialized variable access functions. */ case 143: YY_RULE_SETUP #line 274 "lexor.lex" { return K_A; } YY_BREAK case 144: YY_RULE_SETUP #line 275 "lexor.lex" { return K_APV; } YY_BREAK case 145: YY_RULE_SETUP #line 276 "lexor.lex" { return K_PQ; } YY_BREAK case 146: YY_RULE_SETUP #line 277 "lexor.lex" { return K_PV; } YY_BREAK case 147: YY_RULE_SETUP #line 279 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_INSTR; } YY_BREAK case 148: YY_RULE_SETUP #line 284 "lexor.lex" { yylval.numb = strtouint64(yytext, 0, 0); return T_NUMBER; } YY_BREAK case 149: YY_RULE_SETUP #line 288 "lexor.lex" { yylval.numb = strtouint64(yytext, 0, 0); return T_NUMBER; } YY_BREAK /* Handle some specialized constant/literals as symbols. */ case 150: YY_RULE_SETUP #line 294 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK case 151: YY_RULE_SETUP #line 299 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK case 152: YY_RULE_SETUP #line 304 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK case 153: YY_RULE_SETUP #line 309 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK case 154: YY_RULE_SETUP #line 314 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK case 155: YY_RULE_SETUP #line 319 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK case 156: YY_RULE_SETUP #line 324 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK case 157: YY_RULE_SETUP #line 329 "lexor.lex" { return K_PORT_INPUT; } YY_BREAK case 158: YY_RULE_SETUP #line 330 "lexor.lex" { return K_PORT_OUTPUT; } YY_BREAK case 159: YY_RULE_SETUP #line 331 "lexor.lex" { return K_PORT_INOUT; } YY_BREAK case 160: YY_RULE_SETUP #line 332 "lexor.lex" { return K_PORT_MIXED; } YY_BREAK case 161: YY_RULE_SETUP #line 333 "lexor.lex" { return K_PORT_NODIR; } YY_BREAK /* Symbols are pretty much what is left. They are used to refer to labels so the rule must match a string that a label would match. */ case 162: YY_RULE_SETUP #line 337 "lexor.lex" { yylval.text = strdup(yytext); assert(yylval.text); return T_SYMBOL; } YY_BREAK /* Accept the common assembler style comments, treat them as white space. Of course, also skip white space. The semi-colon is special, though, in that it is also a statement terminator. */ case 163: YY_RULE_SETUP #line 346 "lexor.lex" { return ';'; } YY_BREAK case 164: YY_RULE_SETUP #line 347 "lexor.lex" { ; } YY_BREAK case 165: YY_RULE_SETUP #line 349 "lexor.lex" { ; } YY_BREAK case 166: /* rule 166 can match eol */ YY_RULE_SETUP #line 351 "lexor.lex" { yyline += 1; } YY_BREAK case 167: YY_RULE_SETUP #line 353 "lexor.lex" { return yytext[0]; } YY_BREAK case 168: YY_RULE_SETUP #line 355 "lexor.lex" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK #line 2746 "lexor.cc" case YY_STATE_EOF(INITIAL): 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_last_accepting_cpos); yy_current_state = (yy_last_accepting_state); 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 user's declarations */ } /* 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) { char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; char *source = (yytext_ptr); 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_LVALUE; 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, (yy_size_t) (b->yy_buf_size + 2) ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = NULL; 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), 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_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ int 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, (yy_size_t) new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); /* "- 2" to take care of EOB's */ YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); } (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) { yy_state_type yy_current_state; 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 ) { 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 >= 1026 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + 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 ) { int yy_is_jam; char *yy_cp = (yy_c_buf_p); 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 >= 1026 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 1025); return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT #endif #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 = (int) ((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 0; 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'); 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( (yy_size_t) (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 ); } /* 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 = 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) { yy_size_t 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; /* After all that talk, this was set to 1 anyways... */ (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. */ yy_size_t 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 NULL; 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 = (int) (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 = NULL; 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 (const char * yystr ) { return yy_scan_bytes( yystr, (int) 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 (const 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 = (yy_size_t) (_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 yynoreturn yy_fatal_error (const char* msg ) { 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 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. */ (yy_buffer_stack) = NULL; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; (yy_c_buf_p) = NULL; (yy_init) = 0; (yy_start) = 0; /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; yyout = stdout; #else yyin = NULL; yyout = NULL; #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, const char * s2, int n ) { int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (const char * s ) { int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return 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 realloc(ptr, size); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 355 "lexor.lex" int yywrap(void) { return -1; } /* * Modern version of flex (>=2.5.9) can clean up the scanner data. */ void destroy_lexor() { # ifdef FLEX_SCANNER # if YY_FLEX_MAJOR_VERSION >= 2 && YY_FLEX_MINOR_VERSION >= 5 # if YY_FLEX_MINOR_VERSION > 5 || defined(YY_FLEX_SUBMINOR_VERSION) && YY_FLEX_SUBMINOR_VERSION >= 9 yylex_destroy(); # endif # endif # endif }