#line 3 "" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define yy_create_buffer VL_create_buffer #define yy_delete_buffer VL_delete_buffer #define yy_scan_buffer VL_scan_buffer #define yy_scan_string VL_scan_string #define yy_scan_bytes VL_scan_bytes #define yy_init_buffer VL_init_buffer #define yy_flush_buffer VL_flush_buffer #define yy_load_buffer_state VL_load_buffer_state #define yy_switch_to_buffer VL_switch_to_buffer #define yypush_buffer_state VLpush_buffer_state #define yypop_buffer_state VLpop_buffer_state #define yyensure_buffer_stack VLensure_buffer_stack #define yy_flex_debug VL_flex_debug #define yyin VLin #define yyleng VLleng #define yylex VLlex #define yylineno VLlineno #define yyout VLout #define yyrestart VLrestart #define yytext VLtext #define yywrap VLwrap #define yyalloc VLalloc #define yyrealloc VLrealloc #define yyfree VLfree #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 #ifdef yy_create_buffer #define VL_create_buffer_ALREADY_DEFINED #else #define yy_create_buffer VL_create_buffer #endif #ifdef yy_delete_buffer #define VL_delete_buffer_ALREADY_DEFINED #else #define yy_delete_buffer VL_delete_buffer #endif #ifdef yy_scan_buffer #define VL_scan_buffer_ALREADY_DEFINED #else #define yy_scan_buffer VL_scan_buffer #endif #ifdef yy_scan_string #define VL_scan_string_ALREADY_DEFINED #else #define yy_scan_string VL_scan_string #endif #ifdef yy_scan_bytes #define VL_scan_bytes_ALREADY_DEFINED #else #define yy_scan_bytes VL_scan_bytes #endif #ifdef yy_init_buffer #define VL_init_buffer_ALREADY_DEFINED #else #define yy_init_buffer VL_init_buffer #endif #ifdef yy_flush_buffer #define VL_flush_buffer_ALREADY_DEFINED #else #define yy_flush_buffer VL_flush_buffer #endif #ifdef yy_load_buffer_state #define VL_load_buffer_state_ALREADY_DEFINED #else #define yy_load_buffer_state VL_load_buffer_state #endif #ifdef yy_switch_to_buffer #define VL_switch_to_buffer_ALREADY_DEFINED #else #define yy_switch_to_buffer VL_switch_to_buffer #endif #ifdef yypush_buffer_state #define VLpush_buffer_state_ALREADY_DEFINED #else #define yypush_buffer_state VLpush_buffer_state #endif #ifdef yypop_buffer_state #define VLpop_buffer_state_ALREADY_DEFINED #else #define yypop_buffer_state VLpop_buffer_state #endif #ifdef yyensure_buffer_stack #define VLensure_buffer_stack_ALREADY_DEFINED #else #define yyensure_buffer_stack VLensure_buffer_stack #endif #ifdef yylex #define VLlex_ALREADY_DEFINED #else #define yylex VLlex #endif #ifdef yyrestart #define VLrestart_ALREADY_DEFINED #else #define yyrestart VLrestart #endif #ifdef yylex_init #define VLlex_init_ALREADY_DEFINED #else #define yylex_init VLlex_init #endif #ifdef yylex_init_extra #define VLlex_init_extra_ALREADY_DEFINED #else #define yylex_init_extra VLlex_init_extra #endif #ifdef yylex_destroy #define VLlex_destroy_ALREADY_DEFINED #else #define yylex_destroy VLlex_destroy #endif #ifdef yyget_debug #define VLget_debug_ALREADY_DEFINED #else #define yyget_debug VLget_debug #endif #ifdef yyset_debug #define VLset_debug_ALREADY_DEFINED #else #define yyset_debug VLset_debug #endif #ifdef yyget_extra #define VLget_extra_ALREADY_DEFINED #else #define yyget_extra VLget_extra #endif #ifdef yyset_extra #define VLset_extra_ALREADY_DEFINED #else #define yyset_extra VLset_extra #endif #ifdef yyget_in #define VLget_in_ALREADY_DEFINED #else #define yyget_in VLget_in #endif #ifdef yyset_in #define VLset_in_ALREADY_DEFINED #else #define yyset_in VLset_in #endif #ifdef yyget_out #define VLget_out_ALREADY_DEFINED #else #define yyget_out VLget_out #endif #ifdef yyset_out #define VLset_out_ALREADY_DEFINED #else #define yyset_out VLset_out #endif #ifdef yyget_leng #define VLget_leng_ALREADY_DEFINED #else #define yyget_leng VLget_leng #endif #ifdef yyget_text #define VLget_text_ALREADY_DEFINED #else #define yyget_text VLget_text #endif #ifdef yyget_lineno #define VLget_lineno_ALREADY_DEFINED #else #define yyget_lineno VLget_lineno #endif #ifdef yyset_lineno #define VLset_lineno_ALREADY_DEFINED #else #define yyset_lineno VLset_lineno #endif #ifdef yywrap #define VLwrap_ALREADY_DEFINED #else #define yywrap VLwrap #endif #ifdef yyalloc #define VLalloc_ALREADY_DEFINED #else #define yyalloc VLalloc #endif #ifdef yyrealloc #define VLrealloc_ALREADY_DEFINED #else #define yyrealloc VLrealloc #endif #ifdef yyfree #define VLfree_ALREADY_DEFINED #else #define yyfree VLfree #endif #ifdef yytext #define VLtext_ALREADY_DEFINED #else #define yytext VLtext #endif #ifdef yyleng #define VLleng_ALREADY_DEFINED #else #define yyleng VLleng #endif #ifdef yyin #define VLin_ALREADY_DEFINED #else #define yyin VLin #endif #ifdef yyout #define VLout_ALREADY_DEFINED #else #define yyout VLout #endif #ifdef yy_flex_debug #define VL_flex_debug_ALREADY_DEFINED #else #define yy_flex_debug VL_flex_debug #endif #ifdef yylineno #define VLlineno_ALREADY_DEFINED #else #define yylineno VLlineno #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; \ (yytext_ptr) -= (yy_more_len); \ yyleng = (int) (yy_cp - (yytext_ptr)); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 201 #define YY_END_OF_BUFFER 202 /* 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_acclist[944] = { 0, 202, 199, 200, 201, 3, 199, 200, 201, 4, 200, 201, 67, 199, 200, 201, 68, 199, 200, 201, 67, 199, 200, 201, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 119, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 110, 199, 200, 201, 199, 200, 201, 67, 199, 200, 201, 199, 200, 201, 67, 199, 200, 201, 67, 199, 200, 201, 3, 199, 200, 201, 3, 199, 200, 201, 67, 199, 200, 201, 199, 200, 201, 12, 200, 201, 14, 200, 201, 12, 200, 201, 12, 200, 201, 200, 201, 9, 200, 201, 10, 200, 201, 74, 200, 201, 72, 200, 201, 73, 74, 200, 201, 74, 200, 201, 67, 199, 200, 201, 67, 99, 199, 200, 201, 67, 99, 199, 200, 201, 99, 119, 199, 200, 201, 67, 99, 199, 200, 201, 67, 99, 199, 200, 201, 91, 110, 199, 200, 201, 94, 110, 199, 200, 201, 93, 110, 199, 200, 201, 92, 110, 199, 200, 201, 97, 110, 199, 200, 201, 98, 110, 199, 200, 201, 95, 110, 199, 200, 201, 96, 110, 199, 200, 201, 132, 200, 201, 131, 132, 200, 201, 130, 200, 201, 132, 200, 201, 127, 132, 200, 201, 138, 200, 201, 137, 138, 200, 201, 136, 200, 201, 138, 200, 201, 138, 200, 201, 133, 138, 200, 201, 144, 200, 201, 143, 144, 200, 201, 142, 200, 201, 139, 144, 200, 201, 145, 200, 201, 155, 200, 201, 154, 155, 200, 201, 153, 200, 201, 155, 200, 201, 150, 155, 200, 201, 156, 200, 201, 187, 200, 201, 186, 187, 200, 201, 185, 200, 201, 187, 200, 201, 182, 187, 200, 201, 188, 200, 201, 178, 200, 201, 177, 178, 200, 201, 176, 200, 201, 178, 200, 201, 178, 200, 201, 179, 200, 201, 119, 199, 200, 201, 119, 199, 200, 201, 66, 67, 199, 200, 201, 110, 199, 200, 201, 110, 199, 200, 201, 123, 200, 201, 30, 112, 52, 36, 53, 118, 62, 16, 17, 23, 50, 28, 60, 45, 48, 61, 46, 49, 43, 18, 11, 8, 51, 119, 122, 122, 120, 63, 47, 19, 24, 29, 26, 25, 21, 110, 111, 55, 41, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 54, 35, 42, 40, 39, 197, 197, 197, 197, 197, 197, 197, 197, 15, 13, 71, 70, 69, 131, 129, 128, 127, 137, 135, 134, 133, 143, 141, 140, 145, 154, 152, 151, 150, 156, 186, 184, 183, 182, 188, 177, 173, 175, 174, 179, 100, 119, 101, 102, 103, 119, 104, 105, 106, 110, 107, 110, 108, 110, 109, 110, 32, 34, 38, 115, 113, 114, 117, 116, 65, 27, 44, 64, 124, 125, 37, 20, 56, 31, 33, 57, 22, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 127, 115, 113, 114, 117, 116, 124, 121, 121, 125, 58, 59, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 79, 84, 80, 85, 87, 86, 75, 76, 78, 77, 88, 89, 90, 82, 83, 81, 124, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 190, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 124, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 190, 197, 197, 197, 197, 190, 190, 190, 197, 191, 197, 197, 192, 197, 193, 197, 197, 197, 197, 197, 197, 196, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 191, 192, 193, 1, 1, 197, 189, 197, 197, 197, 191, 191, 191, 197, 197, 192, 192, 192, 197, 193, 193, 193, 197, 194, 197, 197, 2, 2, 197, 158, 197, 197, 196, 196, 196, 197, 171, 197, 197, 197, 197, 197, 197, 197, 197, 169, 197, 197, 197, 197, 189, 194, 158, 171, 197, 189, 189, 189, 197, 197, 197, 197, 194, 194, 194, 197, 195, 197, 197, 158, 158, 158, 197, 197, 171, 171, 171, 197, 197, 197, 197, 197, 197, 197, 197, 148, 197, 197, 197, 197, 197, 197, 197, 195, 195, 195, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 126, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 146, 197, 197, 197, 197, 167, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 180, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 147, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 172, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 181, 197, 197, 197, 197, 197, 197, 162, 197, 163, 197, 164, 197, 197, 197, 197, 170, 197, 197, 197, 162, 163, 164, 170, 197, 197, 197, 162, 162, 162, 197, 163, 163, 163, 197, 164, 164, 164, 197, 197, 197, 197, 170, 170, 170, 197, 197, 149, 197, 197, 197, 197, 197, 166, 197, 168, 197, 197, 166, 168, 159, 197, 197, 197, 165, 197, 166, 166, 166, 197, 168, 168, 168, 197, 157, 197, 159, 165, 159, 159, 159, 197, 197, 197, 165, 165, 165, 197, 197, 197, 197, 197, 197, 161, 197, 161, 160, 197, 161, 161, 161, 197, 6, 160, 160, 160, 160, 197, 7, 5 } ; static const flex_int16_t yy_accept[928] = { 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, 2, 5, 9, 12, 16, 20, 24, 27, 31, 35, 38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78, 82, 86, 89, 93, 96, 100, 104, 108, 112, 116, 119, 122, 125, 128, 131, 133, 136, 139, 142, 145, 149, 152, 156, 161, 166, 171, 176, 181, 186, 191, 196, 201, 206, 211, 216, 221, 224, 228, 231, 234, 238, 241, 245, 248, 251, 254, 258, 261, 265, 268, 272, 275, 278, 282, 285, 288, 292, 295, 298, 302, 305, 308, 312, 315, 318, 322, 325, 328, 331, 334, 338, 342, 347, 351, 355, 358, 359, 360, 361, 362, 363, 364, 364, 364, 364, 364, 364, 365, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 381, 382, 382, 383, 384, 385, 386, 387, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 413, 413, 413, 413, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 426, 426, 426, 426, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 449, 450, 451, 452, 453, 455, 456, 457, 459, 460, 461, 463, 465, 467, 469, 470, 471, 472, 472, 473, 473, 474, 475, 475, 476, 476, 477, 477, 477, 478, 479, 479, 480, 481, 481, 481, 481, 482, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, 512, 513, 514, 515, 516, 517, 517, 517, 518, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 563, 563, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 576, 577, 578, 579, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 593, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 605, 605, 605, 605, 606, 606, 606, 606, 606, 606, 606, 606, 606, 606, 606, 606, 607, 608, 609, 610, 611, 612, 614, 616, 617, 619, 621, 622, 623, 623, 624, 625, 626, 628, 629, 629, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 640, 640, 640, 640, 641, 641, 642, 643, 643, 643, 643, 643, 643, 644, 645, 646, 648, 649, 650, 651, 652, 654, 655, 656, 657, 659, 660, 661, 663, 665, 666, 667, 668, 669, 671, 672, 673, 674, 676, 678, 678, 678, 679, 680, 681, 682, 683, 684, 685, 687, 688, 689, 690, 690, 691, 691, 691, 691, 692, 692, 693, 693, 694, 695, 696, 697, 699, 700, 701, 702, 703, 704, 706, 708, 709, 710, 711, 713, 714, 715, 716, 718, 718, 718, 719, 720, 721, 722, 723, 724, 725, 727, 728, 729, 729, 729, 729, 729, 729, 729, 730, 731, 732, 733, 734, 735, 737, 738, 739, 739, 739, 740, 741, 742, 743, 744, 745, 746, 748, 749, 749, 749, 749, 749, 749, 749, 750, 751, 752, 753, 754, 755, 756, 756, 756, 757, 759, 760, 761, 762, 764, 765, 766, 766, 766, 766, 766, 766, 766, 766, 767, 768, 769, 770, 771, 772, 773, 773, 773, 774, 775, 776, 777, 778, 779, 779, 779, 779, 779, 779, 779, 779, 780, 781, 782, 783, 784, 785, 786, 786, 786, 787, 788, 790, 791, 792, 793, 793, 793, 793, 793, 793, 793, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 803, 803, 804, 805, 807, 808, 809, 809, 809, 809, 809, 809, 809, 809, 809, 809, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 819, 819, 821, 822, 823, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 834, 834, 836, 837, 838, 838, 838, 838, 838, 838, 838, 838, 838, 838, 838, 839, 840, 841, 843, 845, 847, 848, 849, 850, 852, 852, 852, 853, 854, 854, 854, 854, 855, 856, 857, 857, 857, 857, 858, 859, 860, 861, 862, 863, 865, 866, 867, 869, 870, 871, 873, 874, 875, 876, 877, 878, 880, 880, 880, 881, 883, 883, 883, 883, 883, 883, 883, 884, 885, 886, 887, 889, 891, 891, 891, 892, 892, 892, 892, 892, 893, 894, 896, 897, 898, 900, 901, 902, 904, 905, 906, 908, 908, 908, 910, 911, 911, 911, 912, 913, 914, 916, 917, 918, 919, 920, 922, 922, 922, 922, 922, 923, 924, 924, 924, 924, 924, 925, 926, 926, 926, 926, 926, 927, 929, 929, 929, 929, 929, 930, 932, 933, 934, 936, 936, 936, 936, 937, 938, 939, 940, 942, 942, 942, 943, 943, 943, 943, 943, 943, 943, 943, 943, 943, 943, 943, 943, 944, 944 } ; static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 23, 23, 23, 23, 23, 24, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 32, 34, 35, 36, 37, 38, 39, 40, 37, 41, 37, 42, 43, 44, 40, 45, 46, 37, 40, 40, 40, 47, 40, 48, 31, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 40, 63, 64, 65, 66, 67, 68, 40, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 31, 80, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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[81] = { 0, 1, 2, 3, 4, 5, 6, 6, 6, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 8, 8, 8, 8, 1, 1, 1, 1, 1, 9, 1, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 1, 1, 1, 12, 1, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 10, 1, 1, 1 } ; static const flex_int16_t yy_base[974] = { 0, 0, 79, 79, 81, 0, 0, 1918, 1916, 82, 84, 121, 95, 102, 106, 168, 189, 110, 115, 1912, 1908, 261, 0, 1904, 1900, 341, 0, 1821, 1741, 195, 201, 1655, 1654, 162, 420, 389, 397, 1657, 5049, 5049, 5049, 1627, 5049, 5049, 0, 1623, 110, 477, 208, 146, 124, 189, 1632, 130, 537, 1620, 151, 64, 127, 0, 0, 97, 434, 62, 429, 428, 469, 1577, 608, 5049, 5049, 1617, 1618, 5049, 5049, 5049, 5049, 5049, 5049, 428, 612, 214, 450, 0, 1604, 5049, 0, 0, 0, 0, 0, 0, 0, 0, 5049, 217, 5049, 166, 1604, 5049, 242, 5049, 210, 1549, 5049, 5049, 247, 5049, 211, 0, 5049, 442, 5049, 226, 0, 0, 5049, 480, 5049, 236, 0, 0, 5049, 491, 5049, 1606, 238, 0, 437, 432, 5049, 428, 445, 5049, 99, 0, 5049, 1601, 5049, 5049, 545, 668, 424, 576, 650, 5049, 514, 525, 5049, 5049, 5049, 5049, 5049, 5049, 1581, 5049, 5049, 1574, 540, 5049, 5049, 560, 5049, 561, 0, 622, 5049, 1531, 5049, 5049, 5049, 1563, 459, 5049, 503, 5049, 5049, 507, 0, 0, 5049, 5049, 568, 575, 623, 645, 652, 634, 585, 692, 699, 716, 720, 5049, 5049, 5049, 5049, 5049, 724, 674, 732, 690, 1523, 736, 748, 761, 766, 770, 777, 785, 790, 5049, 5049, 5049, 5049, 5049, 638, 611, 775, 519, 778, 799, 5049, 5049, 1560, 804, 5049, 5049, 5049, 808, 5049, 5049, 0, 813, 5049, 5049, 0, 0, 821, 5049, 5049, 0, 0, 827, 1569, 1565, 5049, 5049, 0, 0, 5049, 5049, 0, 5049, 5049, 0, 0, 0, 0, 5049, 5049, 5049, 814, 817, 849, 853, 1518, 548, 0, 863, 860, 899, 913, 5049, 5049, 917, 5049, 5049, 926, 931, 1490, 981, 819, 920, 5049, 1534, 5049, 5049, 5049, 5049, 1530, 846, 943, 947, 951, 955, 959, 964, 971, 975, 426, 555, 1495, 1482, 1477, 1470, 1468, 1472, 1464, 979, 984, 988, 1007, 1012, 1017, 1027, 995, 1054, 1069, 1074, 1078, 1512, 1508, 1504, 1500, 1496, 1493, 1491, 1487, 1483, 1479, 1395, 1394, 1393, 1387, 1380, 1378, 5049, 1064, 1066, 1336, 0, 1075, 1327, 1316, 0, 1122, 5049, 1310, 1080, 5049, 5049, 1104, 1112, 1123, 1146, 1151, 1155, 1160, 1165, 1169, 454, 1308, 1304, 178, 87, 1300, 1307, 1289, 1296, 1284, 1283, 1176, 1180, 1185, 1189, 1194, 1198, 1203, 1207, 1217, 1222, 1226, 1230, 1238, 1243, 1250, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 5049, 1286, 1267, 1235, 1247, 1260, 1270, 1274, 1280, 1284, 1289, 1300, 1305, 1310, 1314, 1319, 162, 1280, 1276, 506, 1270, 1261, 1262, 1261, 1239, 1249, 1236, 1236, 1239, 626, 1326, 1330, 1334, 1342, 1410, 1346, 1350, 1489, 1493, 1497, 1501, 1357, 1506, 1510, 1514, 1518, 1522, 1227, 1234, 1343, 1526, 1530, 1534, 1538, 1542, 1548, 1554, 1558, 1562, 1566, 1577, 1221, 1222, 1208, 1223, 1366, 1215, 1203, 1185, 1183, 1179, 1153, 1151, 1146, 1151, 703, 709, 1584, 1588, 1592, 1597, 0, 1370, 1374, 1661, 1602, 1741, 1821, 1606, 1900, 725, 1904, 1908, 1912, 1972, 1916, 1139, 1149, 2051, 2056, 2060, 2064, 2068, 2072, 2076, 2080, 2084, 1922, 2088, 1140, 1137, 1141, 1125, 1384, 1128, 1388, 1397, 1125, 1112, 1121, 1115, 1114, 0, 762, 2092, 2163, 2096, 2100, 0, 1401, 1615, 2104, 0, 1621, 1625, 0, 1629, 1633, 2243, 2322, 0, 771, 2326, 2395, 2474, 0, 1637, 1647, 2544, 1094, 1091, 2330, 2337, 2108, 2623, 2478, 2482, 2627, 1651, 2631, 2635, 2486, 1088, 1926, 1090, 1089, 1090, 1930, 1066, 1934, 1064, 1938, 2115, 0, 1942, 1946, 2639, 2341, 2643, 0, 1950, 1956, 2711, 2490, 0, 1961, 2119, 2790, 0, 2123, 2131, 1128, 1067, 2794, 2649, 2798, 2802, 2807, 2653, 2813, 2136, 2817, 2821, 1072, 1053, 1067, 1045, 1052, 1030, 2825, 2829, 2833, 2837, 0, 2142, 2147, 2841, 2658, 1031, 1025, 2845, 2849, 2854, 2871, 2875, 2882, 2892, 2152, 2897, 45, 1035, 1023, 1017, 1012, 1023, 2903, 2911, 2915, 2919, 2923, 2927, 2934, 1001, 2345, 2939, 2349, 2944, 2954, 2960, 2353, 2949, 2964, 1010, 997, 1005, 995, 991, 985, 993, 2969, 2973, 2979, 2985, 2993, 2997, 3002, 992, 3007, 3011, 3021, 3025, 3031, 3035, 3039, 992, 983, 990, 972, 966, 976, 971, 3045, 3050, 3055, 3060, 3065, 3069, 3074, 956, 954, 3079, 3083, 2357, 3098, 3103, 3108, 967, 944, 911, 940, 940, 935, 920, 3112, 3132, 3136, 3140, 3145, 3149, 3159, 3165, 3169, 3173, 916, 921, 3177, 3181, 2361, 3190, 3194, 895, 907, 901, 905, 889, 893, 888, 885, 878, 866, 3198, 3207, 3203, 3211, 3219, 3223, 3229, 3233, 3238, 3243, 858, 857, 2365, 3249, 3254, 3259, 869, 857, 844, 838, 841, 831, 845, 826, 823, 817, 3263, 3267, 3272, 3283, 3288, 3293, 3297, 3301, 3310, 3315, 831, 810, 2369, 3320, 3324, 807, 815, 792, 798, 787, 788, 773, 770, 769, 761, 3328, 3333, 3337, 3406, 3486, 3566, 3346, 3645, 3649, 3720, 763, 744, 3653, 3659, 741, 721, 720, 2373, 2379, 2384, 720, 712, 710, 2389, 3799, 3803, 3807, 0, 2494, 2498, 0, 2502, 2506, 0, 2510, 2514, 3811, 3815, 3819, 0, 2518, 2522, 700, 705, 3823, 2526, 690, 678, 671, 653, 650, 639, 3666, 3828, 3350, 3832, 3902, 3982, 629, 625, 3836, 624, 606, 614, 592, 2531, 2536, 4062, 3840, 4141, 4213, 0, 2662, 2666, 0, 2670, 2674, 594, 598, 2678, 2682, 591, 563, 2686, 0, 2698, 2702, 4145, 4292, 0, 3359, 3365, 547, 560, 542, 533, 3846, 4149, 581, 509, 497, 488, 4296, 4153, 476, 535, 455, 464, 4300, 4367, 450, 442, 3373, 415, 3377, 4447, 0, 3381, 3389, 407, 3396, 3670, 5049, 3674, 0, 3678, 3682, 453, 3686, 5049, 433, 3671, 3682, 433, 366, 191, 132, 128, 95, 67, 104, 91, 5049, 5049, 4527, 4539, 4551, 4563, 4575, 4587, 4599, 4611, 4623, 4635, 4647, 4659, 4665, 4671, 4683, 4694, 4706, 4711, 4723, 4728, 4740, 4748, 4759, 4769, 4772, 4784, 4796, 4808, 4820, 4832, 4844, 4856, 4868, 4880, 4892, 4904, 4916, 4928, 4940, 4952, 4964, 4976, 4988, 5000, 5012, 5024, 5036 } ; static const flex_int16_t yy_def[974] = { 0, 926, 1, 927, 927, 928, 928, 929, 929, 930, 930, 1, 11, 931, 931, 932, 932, 933, 933, 934, 934, 926, 21, 935, 935, 926, 25, 936, 936, 937, 937, 938, 938, 1, 1, 928, 928, 926, 926, 926, 926, 926, 926, 926, 939, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 940, 941, 926, 942, 926, 926, 926, 926, 926, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 54, 926, 926, 940, 940, 940, 940, 940, 940, 940, 940, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 943, 926, 926, 926, 926, 944, 945, 926, 926, 926, 926, 946, 947, 926, 926, 926, 948, 926, 949, 54, 54, 926, 940, 940, 926, 926, 939, 926, 926, 926, 926, 926, 926, 950, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 54, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 940, 941, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 943, 926, 926, 926, 944, 945, 926, 926, 926, 946, 947, 926, 948, 948, 926, 926, 949, 54, 926, 926, 54, 926, 926, 940, 940, 940, 940, 926, 926, 926, 926, 926, 926, 926, 926, 950, 951, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 951, 926, 926, 926, 281, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 952, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 953, 942, 942, 942, 942, 952, 952, 436, 926, 942, 926, 926, 942, 942, 954, 942, 942, 942, 926, 942, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 955, 926, 956, 957, 926, 926, 926, 926, 926, 953, 953, 942, 926, 942, 942, 955, 955, 486, 942, 956, 956, 488, 957, 957, 489, 926, 942, 954, 954, 942, 926, 942, 958, 958, 496, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 959, 926, 926, 926, 960, 926, 961, 926, 962, 942, 959, 959, 527, 942, 942, 942, 960, 960, 540, 926, 942, 961, 961, 545, 942, 962, 962, 550, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 963, 963, 584, 942, 942, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 926, 926, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 926, 926, 942, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 942, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 942, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 942, 942, 942, 942, 942, 942, 926, 926, 942, 942, 942, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 942, 942, 942, 926, 926, 926, 942, 942, 942, 926, 926, 926, 942, 942, 926, 926, 926, 964, 965, 966, 926, 926, 926, 967, 942, 942, 942, 964, 964, 786, 965, 965, 787, 966, 966, 788, 942, 942, 942, 967, 967, 792, 926, 926, 942, 942, 926, 926, 926, 926, 926, 926, 942, 942, 942, 942, 926, 926, 926, 926, 942, 926, 926, 926, 926, 968, 969, 926, 942, 942, 926, 968, 968, 839, 969, 969, 840, 926, 926, 942, 970, 926, 926, 971, 970, 970, 850, 942, 942, 971, 971, 853, 926, 926, 926, 926, 942, 942, 926, 926, 926, 926, 942, 942, 926, 926, 926, 926, 942, 926, 926, 926, 926, 926, 972, 926, 972, 972, 892, 926, 926, 926, 926, 973, 973, 973, 898, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 0, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926 } ; static const flex_int16_t yy_nxt[5130] = { 0, 38, 39, 39, 40, 39, 41, 42, 43, 44, 45, 46, 47, 48, 43, 49, 50, 43, 51, 52, 53, 54, 54, 54, 54, 55, 43, 56, 57, 58, 43, 43, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 60, 43, 61, 59, 62, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 43, 63, 64, 65, 66, 70, 66, 70, 77, 67, 77, 78, 193, 78, 174, 175, 71, 925, 71, 65, 66, 72, 66, 72, 654, 67, 95, 95, 96, 95, 95, 95, 96, 95, 106, 106, 107, 106, 655, 106, 106, 107, 106, 137, 97, 924, 98, 180, 97, 259, 98, 260, 108, 79, 68, 79, 80, 108, 81, 923, 138, 82, 152, 194, 83, 83, 424, 160, 84, 85, 68, 153, 161, 85, 154, 425, 86, 176, 177, 87, 162, 88, 148, 149, 89, 90, 922, 91, 92, 170, 93, 171, 100, 100, 101, 100, 150, 151, 86, 181, 172, 173, 87, 222, 88, 128, 129, 89, 223, 90, 102, 91, 92, 100, 100, 101, 100, 921, 93, 123, 123, 124, 123, 920, 125, 123, 123, 124, 123, 155, 125, 102, 146, 146, 130, 146, 156, 126, 463, 157, 158, 221, 221, 126, 221, 147, 464, 226, 230, 103, 148, 149, 227, 231, 422, 103, 103, 423, 103, 131, 104, 132, 103, 234, 150, 151, 225, 225, 235, 225, 103, 229, 229, 239, 229, 246, 103, 103, 240, 103, 247, 104, 919, 103, 110, 111, 111, 112, 111, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 113, 114, 114, 114, 114, 110, 110, 110, 110, 110, 110, 110, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 110, 110, 110, 114, 110, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 110, 110, 110, 116, 117, 117, 118, 117, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 119, 120, 120, 120, 120, 116, 116, 116, 116, 116, 116, 116, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 116, 116, 116, 120, 116, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 116, 116, 116, 65, 66, 918, 66, 133, 267, 67, 267, 198, 198, 213, 198, 133, 214, 182, 182, 917, 182, 195, 128, 129, 133, 233, 233, 914, 233, 133, 255, 256, 133, 133, 252, 133, 133, 133, 133, 913, 249, 133, 133, 133, 133, 910, 133, 257, 258, 155, 133, 130, 198, 200, 68, 200, 156, 906, 215, 157, 158, 196, 199, 238, 238, 361, 238, 285, 286, 362, 184, 185, 186, 187, 243, 243, 131, 243, 132, 139, 139, 188, 903, 189, 190, 902, 191, 192, 253, 197, 254, 140, 141, 250, 418, 251, 142, 146, 146, 419, 146, 143, 897, 201, 144, 139, 139, 896, 272, 272, 271, 272, 287, 140, 288, 141, 289, 290, 893, 142, 273, 331, 332, 275, 275, 143, 275, 890, 144, 262, 333, 262, 267, 139, 267, 139, 145, 163, 889, 164, 164, 164, 164, 278, 278, 467, 279, 263, 263, 468, 276, 182, 182, 165, 182, 166, 263, 888, 926, 926, 269, 926, 269, 281, 281, 281, 281, 887, 926, 926, 164, 926, 166, 263, 263, 894, 165, 167, 270, 270, 270, 166, 895, 167, 167, 884, 167, 270, 168, 883, 167, 182, 182, 882, 182, 146, 146, 881, 146, 277, 363, 263, 364, 263, 270, 270, 926, 926, 147, 926, 478, 280, 478, 324, 216, 217, 878, 926, 926, 282, 926, 282, 325, 218, 283, 283, 283, 283, 926, 926, 877, 926, 270, 295, 270, 926, 926, 876, 926, 326, 219, 321, 875, 866, 184, 185, 203, 204, 220, 322, 865, 205, 264, 206, 264, 207, 864, 208, 190, 209, 191, 210, 291, 863, 140, 141, 323, 326, 219, 142, 265, 265, 265, 265, 143, 926, 926, 861, 926, 266, 860, 294, 926, 926, 292, 926, 140, 492, 141, 492, 849, 293, 142, 525, 323, 525, 266, 266, 143, 926, 926, 848, 926, 926, 926, 847, 926, 198, 198, 543, 198, 543, 300, 301, 846, 198, 200, 302, 200, 926, 926, 303, 926, 304, 266, 305, 266, 306, 300, 301, 845, 926, 926, 302, 926, 307, 844, 303, 297, 304, 842, 305, 296, 306, 926, 926, 525, 926, 525, 926, 926, 841, 926, 926, 926, 543, 926, 543, 199, 298, 926, 926, 834, 926, 833, 832, 201, 299, 926, 926, 831, 926, 830, 926, 926, 309, 926, 327, 328, 310, 334, 335, 221, 221, 829, 221, 329, 225, 225, 826, 225, 229, 229, 311, 229, 312, 233, 233, 262, 233, 262, 313, 825, 330, 238, 238, 336, 238, 314, 315, 243, 243, 806, 243, 805, 804, 263, 263, 316, 338, 338, 283, 283, 283, 283, 263, 803, 317, 338, 926, 926, 330, 926, 264, 336, 264, 802, 319, 318, 801, 800, 320, 263, 263, 799, 338, 338, 269, 798, 269, 338, 265, 265, 265, 265, 339, 339, 339, 339, 797, 266, 794, 342, 342, 342, 270, 270, 270, 793, 782, 263, 342, 263, 338, 270, 338, 781, 266, 266, 780, 779, 778, 272, 272, 777, 272, 339, 352, 342, 342, 776, 270, 270, 342, 273, 775, 272, 272, 774, 272, 275, 275, 773, 275, 769, 266, 768, 266, 273, 278, 278, 757, 278, 756, 278, 278, 342, 278, 342, 270, 755, 270, 349, 349, 349, 349, 926, 926, 754, 926, 926, 926, 753, 926, 926, 926, 752, 926, 926, 926, 751, 926, 926, 926, 750, 926, 749, 926, 926, 724, 926, 343, 748, 349, 926, 926, 743, 926, 926, 926, 725, 926, 926, 926, 726, 926, 742, 926, 926, 727, 926, 926, 926, 731, 926, 730, 277, 280, 926, 926, 729, 926, 280, 345, 345, 345, 345, 354, 353, 355, 926, 926, 728, 926, 723, 926, 926, 346, 926, 347, 926, 926, 722, 926, 716, 715, 704, 357, 356, 703, 926, 926, 360, 926, 345, 358, 347, 359, 702, 372, 346, 348, 701, 700, 373, 347, 699, 348, 348, 698, 348, 690, 168, 682, 348, 374, 681, 926, 926, 375, 926, 680, 376, 679, 678, 377, 382, 677, 356, 676, 378, 668, 926, 926, 380, 926, 660, 926, 926, 379, 926, 926, 926, 659, 926, 658, 338, 338, 339, 339, 339, 339, 657, 656, 381, 338, 645, 342, 342, 342, 644, 636, 349, 349, 349, 349, 342, 926, 926, 383, 926, 635, 338, 338, 634, 926, 926, 338, 926, 339, 633, 632, 357, 342, 342, 631, 926, 926, 342, 926, 621, 360, 385, 349, 620, 610, 609, 386, 384, 405, 338, 405, 338, 608, 406, 406, 406, 406, 607, 926, 926, 342, 926, 342, 926, 926, 606, 926, 926, 926, 605, 926, 594, 926, 926, 593, 926, 407, 926, 926, 573, 926, 926, 926, 572, 926, 571, 408, 409, 926, 926, 570, 926, 926, 926, 569, 926, 568, 926, 926, 567, 926, 926, 926, 566, 926, 565, 926, 926, 410, 926, 926, 926, 411, 926, 564, 926, 926, 552, 926, 926, 926, 551, 926, 523, 412, 522, 521, 413, 415, 926, 926, 520, 926, 416, 926, 926, 414, 926, 926, 926, 432, 926, 926, 926, 434, 926, 417, 519, 433, 435, 926, 926, 518, 926, 517, 926, 926, 436, 926, 438, 410, 437, 926, 926, 411, 926, 406, 406, 406, 406, 439, 440, 926, 926, 441, 926, 412, 516, 451, 451, 451, 451, 926, 926, 515, 926, 926, 926, 514, 926, 443, 442, 926, 926, 513, 926, 926, 926, 512, 926, 445, 926, 926, 511, 926, 499, 498, 477, 444, 451, 476, 447, 926, 926, 475, 926, 446, 926, 926, 474, 926, 473, 926, 926, 448, 926, 926, 926, 472, 926, 471, 926, 926, 470, 926, 469, 452, 453, 926, 926, 466, 926, 926, 926, 465, 926, 926, 926, 450, 926, 449, 431, 456, 455, 926, 926, 454, 926, 926, 926, 430, 926, 926, 926, 429, 926, 458, 428, 457, 926, 492, 427, 492, 459, 451, 451, 451, 451, 484, 484, 426, 484, 484, 484, 421, 484, 483, 483, 420, 483, 168, 460, 404, 403, 461, 462, 531, 531, 340, 531, 535, 535, 402, 535, 401, 451, 480, 482, 479, 538, 538, 400, 538, 531, 531, 486, 531, 399, 398, 397, 481, 483, 484, 484, 487, 484, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 483, 483, 483, 485, 483, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, 483, 483, 483, 926, 926, 396, 926, 926, 926, 395, 926, 926, 926, 394, 926, 926, 926, 393, 926, 392, 926, 926, 391, 926, 926, 926, 390, 926, 926, 926, 389, 926, 926, 926, 388, 926, 926, 926, 387, 926, 926, 926, 371, 926, 926, 926, 370, 926, 926, 926, 369, 926, 926, 926, 368, 926, 926, 926, 367, 926, 488, 366, 926, 926, 489, 926, 365, 490, 926, 926, 351, 926, 926, 926, 350, 926, 926, 926, 344, 926, 926, 926, 340, 926, 245, 491, 493, 494, 245, 496, 500, 926, 926, 337, 926, 495, 497, 308, 926, 926, 501, 926, 926, 926, 284, 926, 926, 926, 503, 926, 502, 926, 926, 168, 926, 274, 926, 926, 504, 926, 926, 926, 274, 926, 261, 245, 507, 505, 508, 530, 530, 228, 530, 506, 509, 535, 535, 224, 535, 534, 534, 169, 534, 538, 538, 212, 538, 537, 537, 211, 537, 548, 548, 202, 548, 510, 528, 169, 527, 159, 526, 547, 547, 136, 547, 926, 926, 134, 926, 926, 73, 73, 533, 529, 530, 531, 531, 540, 531, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 530, 530, 530, 532, 530, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 530, 530, 530, 534, 535, 535, 73, 535, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 534, 534, 534, 536, 534, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 534, 534, 534, 537, 538, 538, 73, 538, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 537, 537, 537, 539, 537, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, 537, 537, 537, 926, 926, 73, 926, 926, 926, 73, 926, 926, 926, 73, 926, 926, 926, 73, 926, 926, 926, 75, 926, 75, 926, 926, 926, 926, 926, 576, 576, 926, 576, 582, 582, 926, 582, 587, 587, 926, 587, 591, 591, 926, 591, 576, 576, 926, 576, 575, 575, 926, 575, 582, 582, 926, 582, 926, 541, 581, 581, 926, 581, 545, 587, 587, 926, 587, 926, 926, 926, 546, 550, 544, 547, 548, 548, 562, 548, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 547, 547, 547, 549, 547, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, 547, 547, 547, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 553, 554, 926, 926, 926, 926, 926, 586, 586, 926, 586, 591, 591, 926, 591, 926, 926, 555, 557, 590, 590, 926, 590, 926, 926, 926, 556, 926, 559, 558, 616, 616, 563, 616, 561, 615, 615, 560, 615, 926, 926, 926, 580, 926, 579, 926, 597, 578, 926, 574, 575, 576, 576, 611, 576, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 575, 575, 575, 577, 575, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, 575, 575, 575, 581, 582, 582, 926, 582, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 581, 581, 581, 583, 581, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 583, 581, 581, 581, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 669, 669, 926, 669, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 811, 811, 926, 811, 926, 584, 814, 814, 926, 814, 926, 817, 817, 595, 817, 926, 823, 823, 613, 823, 585, 586, 587, 587, 596, 587, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 586, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 586, 586, 586, 588, 586, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 586, 586, 586, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 811, 811, 926, 811, 810, 810, 926, 810, 814, 814, 926, 814, 813, 813, 926, 813, 817, 817, 926, 817, 816, 816, 926, 816, 823, 823, 926, 823, 822, 822, 926, 822, 926, 926, 926, 926, 926, 855, 855, 599, 855, 926, 858, 858, 600, 858, 604, 926, 589, 590, 591, 591, 618, 591, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 590, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 590, 590, 590, 592, 590, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 592, 590, 590, 590, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 855, 855, 926, 855, 854, 854, 926, 854, 858, 858, 926, 858, 857, 857, 926, 857, 926, 926, 926, 926, 868, 868, 926, 868, 873, 873, 926, 873, 926, 601, 926, 602, 926, 598, 926, 603, 868, 868, 926, 868, 867, 867, 612, 867, 926, 627, 643, 614, 615, 616, 616, 623, 616, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 615, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 615, 615, 615, 617, 615, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, 615, 615, 615, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 619, 926, 926, 926, 624, 626, 926, 926, 926, 625, 622, 628, 926, 926, 926, 629, 926, 926, 926, 926, 926, 926, 637, 926, 926, 926, 639, 926, 926, 926, 926, 624, 630, 926, 926, 926, 638, 926, 926, 926, 926, 640, 926, 926, 641, 926, 926, 647, 926, 926, 926, 642, 648, 926, 926, 926, 926, 926, 926, 646, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 650, 926, 926, 926, 926, 926, 649, 926, 926, 926, 926, 926, 926, 926, 652, 926, 926, 926, 926, 651, 926, 653, 926, 926, 926, 926, 926, 661, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 663, 926, 926, 926, 926, 926, 926, 662, 926, 926, 926, 926, 926, 664, 926, 926, 926, 926, 926, 665, 667, 926, 926, 926, 666, 926, 926, 926, 926, 926, 926, 926, 926, 670, 926, 926, 669, 669, 672, 669, 926, 926, 671, 926, 926, 926, 926, 674, 675, 673, 926, 926, 683, 926, 926, 926, 926, 926, 685, 926, 926, 926, 684, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 688, 926, 926, 926, 926, 686, 926, 689, 926, 926, 926, 926, 926, 926, 926, 687, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 691, 926, 692, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 697, 693, 696, 926, 694, 926, 695, 926, 705, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 707, 926, 926, 926, 926, 926, 926, 706, 926, 926, 926, 708, 712, 926, 926, 709, 713, 926, 926, 711, 710, 926, 926, 926, 717, 926, 926, 926, 926, 926, 926, 926, 926, 926, 714, 926, 926, 926, 926, 926, 926, 926, 926, 926, 719, 926, 926, 718, 720, 926, 926, 926, 926, 721, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 732, 926, 733, 926, 926, 926, 735, 926, 926, 926, 734, 926, 926, 926, 926, 926, 926, 926, 926, 737, 926, 926, 926, 736, 926, 926, 926, 926, 926, 926, 738, 739, 926, 926, 926, 740, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 741, 926, 926, 926, 926, 746, 926, 926, 926, 926, 744, 926, 745, 758, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 747, 926, 926, 926, 759, 926, 926, 926, 926, 926, 760, 926, 926, 926, 926, 926, 926, 926, 762, 761, 764, 926, 926, 926, 926, 926, 926, 926, 926, 763, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 765, 926, 770, 926, 926, 766, 771, 926, 926, 767, 926, 926, 926, 926, 784, 926, 772, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 783, 926, 926, 926, 926, 926, 926, 926, 926, 785, 786, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 787, 788, 873, 873, 926, 873, 790, 926, 872, 872, 789, 872, 926, 926, 926, 791, 904, 904, 905, 904, 900, 900, 926, 900, 900, 900, 792, 900, 926, 926, 795, 807, 899, 899, 926, 899, 926, 926, 796, 911, 911, 912, 911, 926, 808, 926, 852, 809, 810, 811, 811, 819, 811, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 810, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 810, 810, 810, 812, 810, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 812, 810, 810, 810, 813, 814, 814, 926, 814, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 813, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 813, 813, 813, 815, 813, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 815, 813, 813, 813, 816, 817, 817, 926, 817, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 816, 816, 816, 818, 816, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 818, 816, 816, 816, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 904, 904, 905, 904, 908, 908, 926, 908, 908, 908, 926, 908, 907, 907, 926, 907, 911, 911, 912, 911, 915, 915, 915, 915, 916, 926, 926, 926, 926, 926, 926, 915, 915, 915, 915, 926, 926, 926, 926, 926, 926, 926, 926, 827, 820, 828, 926, 926, 821, 822, 823, 823, 850, 823, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 822, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 822, 822, 822, 824, 822, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 824, 822, 822, 822, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 835, 926, 926, 926, 926, 837, 926, 926, 926, 926, 836, 926, 926, 926, 926, 926, 926, 926, 838, 926, 926, 839, 926, 926, 926, 840, 926, 926, 926, 926, 862, 926, 843, 851, 870, 926, 926, 926, 853, 854, 855, 855, 885, 855, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 854, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 854, 854, 854, 856, 854, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 854, 854, 854, 857, 858, 858, 926, 858, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 857, 857, 857, 859, 857, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 859, 857, 857, 857, 867, 868, 868, 926, 868, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 867, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 867, 867, 867, 869, 867, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 869, 867, 867, 867, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 886, 926, 926, 892, 879, 926, 871, 872, 873, 873, 926, 873, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 872, 872, 872, 874, 872, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 874, 872, 872, 872, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 898, 926, 880, 926, 926, 926, 891, 899, 900, 900, 926, 900, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 899, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 899, 899, 899, 901, 899, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 901, 899, 899, 899, 907, 908, 908, 926, 908, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 907, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 907, 907, 907, 909, 907, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 909, 907, 907, 907, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 135, 135, 926, 135, 135, 135, 178, 178, 926, 178, 178, 178, 179, 926, 926, 926, 926, 179, 179, 179, 179, 179, 179, 179, 183, 183, 926, 183, 926, 926, 926, 926, 183, 183, 183, 232, 232, 232, 926, 232, 232, 232, 232, 232, 232, 232, 232, 236, 926, 236, 236, 236, 237, 237, 237, 926, 237, 237, 237, 237, 237, 237, 237, 237, 241, 926, 241, 241, 241, 242, 242, 242, 926, 242, 242, 242, 242, 242, 242, 242, 242, 244, 244, 244, 244, 926, 244, 244, 248, 248, 248, 926, 248, 248, 248, 248, 248, 248, 248, 248, 268, 926, 268, 926, 926, 268, 268, 268, 341, 341, 341, 926, 341, 483, 483, 483, 926, 483, 483, 483, 483, 483, 483, 483, 483, 524, 524, 524, 926, 524, 524, 524, 524, 524, 524, 524, 524, 542, 542, 542, 926, 542, 542, 542, 542, 542, 542, 542, 542, 530, 530, 530, 926, 530, 530, 530, 530, 530, 530, 530, 530, 534, 534, 534, 926, 534, 534, 534, 534, 534, 534, 534, 534, 537, 537, 537, 926, 537, 537, 537, 537, 537, 537, 537, 537, 547, 547, 547, 926, 547, 547, 547, 547, 547, 547, 547, 547, 575, 575, 575, 926, 575, 575, 575, 575, 575, 575, 575, 575, 581, 581, 581, 926, 581, 581, 581, 581, 581, 581, 581, 581, 586, 586, 586, 926, 586, 586, 586, 586, 586, 586, 586, 586, 590, 590, 590, 926, 590, 590, 590, 590, 590, 590, 590, 590, 615, 615, 615, 926, 615, 615, 615, 615, 615, 615, 615, 615, 810, 810, 810, 926, 810, 810, 810, 810, 810, 810, 810, 810, 813, 813, 813, 926, 813, 813, 813, 813, 813, 813, 813, 813, 816, 816, 816, 926, 816, 816, 816, 816, 816, 816, 816, 816, 822, 822, 822, 926, 822, 822, 822, 822, 822, 822, 822, 822, 854, 854, 854, 926, 854, 854, 854, 854, 854, 854, 854, 854, 857, 857, 857, 926, 857, 857, 857, 857, 857, 857, 857, 857, 867, 867, 867, 926, 867, 867, 867, 867, 867, 867, 867, 867, 872, 872, 872, 926, 872, 872, 872, 872, 872, 872, 872, 872, 899, 899, 899, 926, 899, 899, 899, 899, 899, 899, 899, 899, 907, 907, 907, 926, 907, 907, 907, 907, 907, 907, 907, 907, 37, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926 } ; static const flex_int16_t yy_chk[5130] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, 4, 9, 2, 10, 9, 63, 10, 57, 57, 3, 924, 4, 12, 12, 3, 12, 4, 631, 12, 13, 13, 13, 13, 14, 14, 14, 14, 17, 17, 17, 17, 631, 18, 18, 18, 18, 46, 13, 923, 13, 61, 14, 134, 14, 134, 17, 9, 2, 10, 11, 18, 11, 922, 46, 11, 50, 63, 11, 11, 365, 53, 11, 11, 12, 50, 53, 11, 50, 365, 11, 58, 58, 11, 53, 11, 49, 49, 11, 11, 921, 11, 11, 56, 11, 56, 15, 15, 15, 15, 49, 49, 11, 61, 56, 56, 11, 97, 11, 33, 33, 11, 97, 11, 15, 11, 11, 16, 16, 16, 16, 920, 11, 29, 29, 29, 29, 919, 29, 30, 30, 30, 30, 51, 30, 16, 48, 48, 33, 48, 51, 29, 418, 51, 51, 95, 95, 30, 95, 48, 418, 102, 108, 15, 81, 81, 102, 108, 364, 15, 15, 364, 15, 33, 15, 33, 15, 113, 81, 81, 100, 100, 113, 100, 16, 106, 106, 119, 106, 126, 16, 16, 119, 16, 126, 16, 918, 16, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 34, 34, 917, 34, 35, 142, 34, 142, 65, 65, 79, 65, 36, 79, 62, 62, 916, 62, 64, 34, 34, 35, 111, 111, 913, 111, 35, 131, 131, 36, 35, 129, 35, 35, 36, 35, 910, 128, 36, 35, 36, 36, 902, 36, 132, 132, 82, 36, 34, 66, 66, 34, 66, 82, 896, 79, 82, 82, 64, 65, 117, 117, 300, 117, 172, 172, 300, 62, 62, 62, 62, 123, 123, 34, 123, 34, 47, 47, 62, 894, 62, 62, 893, 62, 62, 129, 64, 129, 47, 47, 128, 361, 128, 47, 146, 146, 361, 146, 47, 890, 66, 47, 47, 47, 889, 147, 147, 146, 147, 174, 47, 174, 47, 177, 177, 887, 47, 147, 219, 219, 158, 158, 47, 158, 884, 47, 140, 219, 140, 267, 47, 267, 47, 47, 54, 883, 54, 54, 54, 54, 161, 161, 421, 161, 140, 140, 421, 158, 182, 182, 54, 182, 54, 140, 882, 183, 183, 143, 183, 143, 163, 163, 163, 163, 881, 188, 188, 54, 188, 54, 140, 140, 888, 54, 54, 143, 143, 143, 54, 888, 54, 54, 878, 54, 143, 54, 877, 54, 68, 68, 876, 68, 80, 80, 875, 80, 158, 301, 140, 301, 140, 143, 143, 184, 184, 80, 184, 431, 161, 431, 217, 80, 80, 865, 187, 187, 165, 187, 165, 217, 80, 165, 165, 165, 165, 185, 185, 864, 185, 143, 188, 143, 186, 186, 861, 186, 217, 80, 216, 860, 847, 68, 68, 68, 68, 80, 216, 846, 68, 141, 68, 141, 68, 845, 68, 68, 68, 68, 68, 184, 844, 144, 144, 216, 217, 80, 144, 141, 141, 141, 141, 144, 189, 189, 842, 189, 141, 841, 187, 190, 190, 185, 190, 144, 477, 144, 477, 834, 186, 144, 478, 216, 478, 141, 141, 144, 191, 191, 833, 191, 192, 192, 832, 192, 198, 198, 492, 198, 492, 199, 199, 831, 200, 200, 199, 200, 203, 203, 199, 203, 199, 141, 199, 141, 199, 201, 201, 830, 204, 204, 201, 204, 201, 829, 201, 190, 201, 826, 201, 189, 201, 205, 205, 525, 205, 525, 206, 206, 825, 206, 207, 207, 543, 207, 543, 198, 191, 208, 208, 805, 208, 804, 803, 200, 192, 209, 209, 799, 209, 798, 210, 210, 203, 210, 218, 218, 203, 220, 220, 221, 221, 797, 221, 218, 225, 225, 794, 225, 229, 229, 204, 229, 204, 233, 233, 262, 233, 262, 205, 793, 218, 238, 238, 220, 238, 205, 206, 243, 243, 782, 243, 781, 780, 262, 262, 207, 263, 263, 282, 282, 282, 282, 262, 779, 208, 263, 291, 291, 218, 291, 264, 220, 264, 778, 210, 209, 777, 776, 210, 262, 262, 775, 263, 263, 269, 774, 269, 263, 264, 264, 264, 264, 265, 265, 265, 265, 773, 264, 769, 270, 270, 270, 269, 269, 269, 768, 757, 262, 270, 262, 263, 269, 263, 756, 264, 264, 755, 754, 753, 271, 271, 752, 271, 265, 291, 270, 270, 751, 269, 269, 270, 271, 750, 272, 272, 749, 272, 275, 275, 748, 275, 743, 264, 742, 264, 272, 278, 278, 731, 278, 730, 279, 279, 270, 279, 270, 269, 729, 269, 283, 283, 283, 283, 292, 292, 728, 292, 293, 293, 727, 293, 294, 294, 726, 294, 295, 295, 725, 295, 296, 296, 724, 296, 723, 297, 297, 700, 297, 279, 722, 283, 298, 298, 716, 298, 299, 299, 700, 299, 309, 309, 700, 309, 715, 310, 310, 700, 310, 311, 311, 704, 311, 703, 275, 278, 316, 316, 702, 316, 279, 281, 281, 281, 281, 293, 292, 294, 312, 312, 701, 312, 699, 313, 313, 281, 313, 281, 314, 314, 698, 314, 691, 690, 682, 296, 295, 681, 315, 315, 299, 315, 281, 297, 281, 298, 680, 309, 281, 281, 679, 678, 309, 281, 677, 281, 281, 676, 281, 668, 281, 660, 281, 310, 659, 317, 317, 311, 317, 658, 312, 657, 656, 312, 316, 655, 316, 654, 313, 644, 318, 318, 314, 318, 636, 319, 319, 313, 319, 320, 320, 635, 320, 634, 338, 338, 339, 339, 339, 339, 633, 632, 315, 338, 621, 342, 342, 342, 620, 610, 349, 349, 349, 349, 342, 352, 352, 317, 352, 609, 338, 338, 608, 353, 353, 338, 353, 339, 607, 606, 317, 342, 342, 605, 354, 354, 342, 354, 594, 319, 319, 349, 593, 572, 570, 320, 318, 346, 338, 346, 338, 568, 346, 346, 346, 346, 567, 355, 355, 342, 355, 342, 356, 356, 566, 356, 357, 357, 564, 357, 552, 358, 358, 551, 358, 352, 359, 359, 523, 359, 360, 360, 522, 360, 521, 353, 354, 372, 372, 520, 372, 373, 373, 519, 373, 516, 374, 374, 514, 374, 375, 375, 513, 375, 512, 376, 376, 355, 376, 377, 377, 355, 377, 511, 378, 378, 499, 378, 379, 379, 498, 379, 476, 355, 475, 474, 356, 358, 380, 380, 473, 380, 359, 381, 381, 357, 381, 382, 382, 372, 382, 383, 383, 373, 383, 360, 472, 372, 374, 384, 384, 471, 384, 470, 385, 385, 375, 385, 376, 377, 375, 386, 386, 377, 386, 405, 405, 405, 405, 377, 378, 407, 407, 379, 407, 377, 469, 406, 406, 406, 406, 408, 408, 468, 408, 409, 409, 466, 409, 381, 380, 410, 410, 465, 410, 411, 411, 464, 411, 383, 412, 412, 463, 412, 450, 449, 430, 382, 406, 429, 385, 413, 413, 428, 413, 384, 414, 414, 427, 414, 426, 415, 415, 386, 415, 416, 416, 425, 416, 424, 417, 417, 423, 417, 422, 407, 408, 432, 432, 420, 432, 433, 433, 419, 433, 434, 434, 404, 434, 403, 371, 411, 410, 435, 435, 409, 435, 437, 437, 370, 437, 438, 438, 369, 438, 413, 368, 412, 443, 443, 367, 443, 414, 451, 451, 451, 451, 467, 467, 366, 467, 484, 484, 363, 484, 485, 485, 362, 485, 348, 415, 344, 343, 416, 417, 515, 515, 340, 515, 517, 517, 336, 517, 335, 451, 433, 435, 432, 518, 518, 334, 518, 531, 531, 437, 531, 333, 332, 331, 434, 436, 436, 436, 438, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, 439, 439, 330, 439, 440, 440, 329, 440, 441, 441, 328, 441, 442, 442, 327, 442, 326, 444, 444, 325, 444, 445, 445, 324, 445, 446, 446, 323, 446, 447, 447, 322, 447, 448, 448, 321, 448, 452, 452, 308, 452, 453, 453, 307, 453, 454, 454, 306, 454, 455, 455, 305, 455, 456, 456, 304, 456, 439, 303, 457, 457, 440, 457, 302, 441, 458, 458, 290, 458, 459, 459, 285, 459, 460, 460, 280, 460, 461, 461, 266, 461, 245, 442, 444, 445, 244, 447, 452, 462, 462, 224, 462, 446, 448, 202, 479, 479, 453, 479, 480, 480, 171, 480, 481, 481, 455, 481, 454, 482, 482, 167, 482, 157, 487, 487, 456, 487, 490, 490, 154, 490, 137, 125, 459, 457, 460, 532, 532, 103, 532, 458, 461, 535, 535, 98, 535, 536, 536, 84, 536, 538, 538, 72, 538, 539, 539, 71, 539, 548, 548, 67, 548, 462, 481, 55, 480, 52, 479, 549, 549, 45, 549, 560, 560, 41, 560, 37, 32, 31, 487, 482, 486, 486, 486, 490, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 488, 488, 488, 28, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 489, 489, 489, 27, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, 491, 491, 24, 491, 493, 493, 23, 493, 494, 494, 20, 494, 495, 495, 19, 495, 497, 497, 8, 497, 7, 0, 509, 509, 0, 509, 565, 565, 0, 565, 569, 569, 0, 569, 571, 571, 0, 571, 573, 573, 0, 573, 576, 576, 0, 576, 577, 577, 0, 577, 582, 582, 0, 582, 0, 491, 583, 583, 0, 583, 494, 587, 587, 0, 587, 0, 0, 0, 495, 497, 493, 496, 496, 496, 509, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 500, 500, 0, 500, 0, 501, 501, 0, 501, 502, 502, 0, 502, 503, 503, 0, 503, 504, 504, 0, 504, 505, 505, 0, 505, 506, 506, 0, 506, 507, 507, 0, 507, 508, 508, 0, 508, 510, 510, 0, 510, 526, 526, 0, 526, 528, 528, 0, 528, 529, 529, 0, 529, 533, 533, 0, 533, 555, 555, 0, 555, 500, 501, 0, 574, 574, 0, 574, 588, 588, 0, 588, 591, 591, 0, 591, 0, 0, 502, 504, 592, 592, 0, 592, 0, 602, 602, 503, 602, 506, 505, 616, 616, 510, 616, 508, 617, 617, 507, 617, 0, 629, 629, 533, 629, 529, 0, 555, 528, 0, 526, 527, 527, 527, 574, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 527, 540, 540, 540, 0, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, 541, 541, 0, 541, 544, 544, 0, 544, 553, 553, 0, 553, 0, 0, 0, 554, 554, 0, 554, 579, 579, 0, 579, 645, 645, 0, 645, 647, 647, 0, 647, 651, 651, 0, 651, 694, 694, 0, 694, 719, 719, 0, 719, 744, 744, 0, 744, 770, 770, 0, 770, 800, 800, 0, 800, 0, 541, 801, 801, 0, 801, 0, 802, 802, 553, 802, 0, 806, 806, 579, 806, 544, 545, 545, 545, 554, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, 546, 546, 0, 546, 557, 557, 0, 557, 558, 558, 0, 558, 563, 563, 0, 563, 585, 585, 0, 585, 811, 811, 0, 811, 812, 812, 0, 812, 814, 814, 0, 814, 815, 815, 0, 815, 817, 817, 0, 817, 818, 818, 0, 818, 823, 823, 0, 823, 824, 824, 0, 824, 828, 828, 0, 828, 0, 848, 848, 557, 848, 0, 849, 849, 558, 849, 563, 0, 546, 550, 550, 550, 585, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, 556, 556, 0, 556, 559, 559, 0, 559, 561, 561, 0, 561, 562, 562, 0, 562, 578, 578, 0, 578, 580, 580, 0, 580, 0, 0, 596, 596, 0, 596, 600, 600, 0, 600, 0, 619, 619, 0, 619, 855, 855, 0, 855, 856, 856, 0, 856, 858, 858, 0, 858, 859, 859, 0, 859, 862, 862, 0, 862, 863, 863, 0, 863, 866, 866, 0, 866, 0, 559, 0, 561, 0, 556, 0, 562, 868, 868, 0, 868, 869, 869, 578, 869, 0, 600, 619, 580, 584, 584, 584, 596, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 589, 589, 0, 589, 595, 595, 0, 595, 597, 597, 0, 597, 598, 598, 0, 598, 0, 599, 599, 0, 599, 0, 0, 601, 601, 0, 601, 603, 603, 0, 603, 604, 604, 0, 604, 611, 611, 0, 611, 612, 612, 0, 612, 613, 613, 0, 613, 614, 614, 0, 614, 618, 618, 0, 618, 622, 622, 0, 622, 623, 623, 0, 623, 0, 624, 624, 0, 624, 589, 0, 0, 0, 597, 599, 0, 0, 0, 598, 595, 601, 0, 625, 625, 603, 625, 626, 626, 0, 626, 0, 611, 0, 627, 627, 612, 627, 0, 0, 0, 611, 604, 0, 628, 628, 611, 628, 0, 630, 630, 613, 630, 0, 614, 637, 637, 623, 637, 0, 0, 618, 624, 638, 638, 0, 638, 639, 639, 622, 639, 640, 640, 0, 640, 641, 641, 0, 641, 642, 642, 0, 642, 0, 626, 0, 643, 643, 0, 643, 625, 646, 646, 0, 646, 0, 648, 648, 628, 648, 0, 652, 652, 627, 652, 630, 649, 649, 0, 649, 0, 637, 650, 650, 0, 650, 653, 653, 0, 653, 0, 661, 661, 639, 661, 662, 662, 0, 662, 0, 638, 663, 663, 0, 663, 0, 640, 664, 664, 0, 664, 0, 641, 643, 0, 665, 665, 642, 665, 666, 666, 0, 666, 0, 667, 667, 646, 667, 0, 669, 669, 649, 669, 670, 670, 648, 670, 0, 0, 0, 652, 653, 650, 671, 671, 661, 671, 672, 672, 0, 672, 663, 0, 673, 673, 662, 673, 674, 674, 0, 674, 675, 675, 0, 675, 0, 0, 683, 683, 666, 683, 0, 684, 684, 664, 684, 667, 685, 685, 0, 685, 0, 686, 686, 665, 686, 0, 687, 687, 0, 687, 688, 688, 0, 688, 0, 689, 689, 669, 689, 670, 692, 692, 0, 692, 693, 693, 0, 693, 0, 0, 675, 671, 674, 0, 672, 0, 673, 0, 683, 695, 695, 0, 695, 0, 696, 696, 0, 696, 0, 697, 697, 685, 697, 705, 705, 0, 705, 0, 684, 0, 0, 0, 685, 687, 0, 0, 685, 688, 0, 0, 686, 685, 0, 706, 706, 692, 706, 707, 707, 0, 707, 708, 708, 0, 708, 689, 709, 709, 0, 709, 710, 710, 0, 710, 0, 695, 0, 0, 693, 696, 711, 711, 0, 711, 697, 0, 712, 712, 0, 712, 713, 713, 0, 713, 714, 714, 0, 714, 717, 717, 0, 717, 718, 718, 0, 718, 0, 705, 0, 706, 0, 720, 720, 708, 720, 721, 721, 707, 721, 732, 732, 0, 732, 0, 734, 734, 710, 734, 733, 733, 709, 733, 735, 735, 0, 735, 0, 711, 712, 0, 736, 736, 713, 736, 737, 737, 0, 737, 0, 0, 738, 738, 0, 738, 739, 739, 714, 739, 0, 740, 740, 720, 740, 0, 741, 741, 717, 741, 718, 732, 745, 745, 0, 745, 0, 746, 746, 0, 746, 0, 747, 747, 721, 747, 758, 758, 733, 758, 759, 759, 0, 759, 734, 760, 760, 0, 760, 0, 0, 0, 736, 735, 738, 0, 761, 761, 0, 761, 0, 762, 762, 737, 762, 0, 763, 763, 0, 763, 764, 764, 0, 764, 765, 765, 739, 765, 745, 0, 0, 740, 746, 766, 766, 741, 766, 0, 767, 767, 759, 767, 747, 771, 771, 0, 771, 772, 772, 0, 772, 783, 783, 0, 783, 758, 784, 784, 0, 784, 785, 785, 0, 785, 760, 761, 0, 0, 0, 789, 789, 0, 789, 837, 837, 0, 837, 0, 0, 0, 762, 763, 873, 873, 0, 873, 765, 0, 874, 874, 764, 874, 0, 0, 0, 766, 895, 895, 895, 895, 897, 897, 0, 897, 900, 900, 767, 900, 0, 0, 771, 783, 901, 901, 0, 901, 0, 0, 772, 903, 903, 903, 903, 0, 784, 0, 837, 785, 786, 786, 786, 789, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, 787, 787, 787, 0, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, 788, 788, 788, 0, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, 790, 790, 0, 790, 791, 791, 0, 791, 795, 795, 0, 795, 0, 0, 796, 796, 0, 796, 0, 0, 0, 835, 835, 0, 835, 904, 904, 904, 904, 906, 906, 0, 906, 908, 908, 0, 908, 909, 909, 0, 909, 911, 911, 911, 911, 914, 914, 914, 914, 915, 0, 0, 0, 0, 0, 0, 915, 915, 915, 915, 0, 0, 0, 0, 0, 0, 0, 0, 795, 790, 796, 0, 0, 791, 792, 792, 792, 835, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, 807, 807, 0, 807, 808, 808, 0, 808, 809, 809, 0, 809, 819, 819, 0, 819, 820, 820, 0, 820, 821, 821, 0, 821, 827, 827, 0, 827, 0, 836, 836, 0, 836, 838, 838, 0, 838, 843, 843, 0, 843, 851, 851, 0, 851, 0, 0, 879, 879, 0, 879, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 807, 0, 0, 0, 0, 809, 0, 0, 0, 0, 808, 0, 0, 0, 0, 0, 0, 0, 819, 0, 0, 820, 0, 0, 0, 821, 0, 0, 0, 0, 843, 0, 827, 836, 851, 0, 0, 0, 838, 839, 839, 839, 879, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 839, 840, 840, 840, 0, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, 850, 850, 850, 0, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 852, 852, 0, 852, 870, 870, 0, 870, 880, 880, 0, 880, 886, 886, 0, 886, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 880, 0, 0, 886, 870, 0, 852, 853, 853, 853, 0, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, 871, 871, 0, 871, 885, 885, 0, 885, 891, 891, 0, 891, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 891, 0, 871, 0, 0, 0, 885, 892, 892, 892, 0, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 898, 898, 898, 0, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 898, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 934, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 938, 939, 939, 0, 939, 939, 939, 940, 940, 0, 940, 940, 940, 941, 0, 0, 0, 0, 941, 941, 941, 941, 941, 941, 941, 942, 942, 0, 942, 0, 0, 0, 0, 942, 942, 942, 943, 943, 943, 0, 943, 943, 943, 943, 943, 943, 943, 943, 944, 0, 944, 944, 944, 945, 945, 945, 0, 945, 945, 945, 945, 945, 945, 945, 945, 946, 0, 946, 946, 946, 947, 947, 947, 0, 947, 947, 947, 947, 947, 947, 947, 947, 948, 948, 948, 948, 0, 948, 948, 949, 949, 949, 0, 949, 949, 949, 949, 949, 949, 949, 949, 950, 0, 950, 0, 0, 950, 950, 950, 951, 951, 951, 0, 951, 952, 952, 952, 0, 952, 952, 952, 952, 952, 952, 952, 952, 953, 953, 953, 0, 953, 953, 953, 953, 953, 953, 953, 953, 954, 954, 954, 0, 954, 954, 954, 954, 954, 954, 954, 954, 955, 955, 955, 0, 955, 955, 955, 955, 955, 955, 955, 955, 956, 956, 956, 0, 956, 956, 956, 956, 956, 956, 956, 956, 957, 957, 957, 0, 957, 957, 957, 957, 957, 957, 957, 957, 958, 958, 958, 0, 958, 958, 958, 958, 958, 958, 958, 958, 959, 959, 959, 0, 959, 959, 959, 959, 959, 959, 959, 959, 960, 960, 960, 0, 960, 960, 960, 960, 960, 960, 960, 960, 961, 961, 961, 0, 961, 961, 961, 961, 961, 961, 961, 961, 962, 962, 962, 0, 962, 962, 962, 962, 962, 962, 962, 962, 963, 963, 963, 0, 963, 963, 963, 963, 963, 963, 963, 963, 964, 964, 964, 0, 964, 964, 964, 964, 964, 964, 964, 964, 965, 965, 965, 0, 965, 965, 965, 965, 965, 965, 965, 965, 966, 966, 966, 0, 966, 966, 966, 966, 966, 966, 966, 966, 967, 967, 967, 0, 967, 967, 967, 967, 967, 967, 967, 967, 968, 968, 968, 0, 968, 968, 968, 968, 968, 968, 968, 968, 969, 969, 969, 0, 969, 969, 969, 969, 969, 969, 969, 969, 970, 970, 970, 0, 970, 970, 970, 970, 970, 970, 970, 970, 971, 971, 971, 0, 971, 971, 971, 971, 971, 971, 971, 971, 972, 972, 972, 0, 972, 972, 972, 972, 972, 972, 972, 972, 973, 973, 973, 0, 973, 973, 973, 973, 973, 973, 973, 973, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926 } ; extern int yy_flex_debug; int yy_flex_debug = 0; static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; static char *yy_full_match; static int yy_lp; #define REJECT \ { \ *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ ++(yy_lp); \ goto find_rule; \ } static int yy_more_flag = 0; static int yy_more_len = 0; #define yymore() ((yy_more_flag) = 1) #define YY_MORE_ADJ (yy_more_len) #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lexor.lex" #line 6 "lexor.lex" /* * Copyright (c) 1998-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 "config.h" //# define YYSTYPE lexval # include # include # include # include "compiler.h" # include "parse_misc.h" # include "parse_api.h" # include "parse.h" # include # include # include "lexor_keyword.h" # include "discipline.h" # include using namespace std; # define YY_USER_INIT do { reset_lexor(); yylloc.lexical_pos = 0; } while (0); # define yylval VLlval # define YY_NO_INPUT /* * Lexical location information is passed in the yylloc variable to th * parser. The file names, strings, are kept in a list so that I can * re-use them. The set_file_name function will return a pointer to * the name as it exists in the list (and delete the passed string.) * If the name is new, it will be added to the list. */ extern YYLTYPE yylloc; char* yytext_string_filter(const char*str, size_t str_len) { if (str == 0) return 0; char*buf = new char[str_len+1]; size_t didx = 0; for (size_t sidx = 0 ; sidx < str_len ; sidx += 1, didx += 1) { if (str[sidx] == 0) { VLerror(yylloc, "error: Found nil (\\000) in string literal, replacing with space (\\015) character."); buf[didx] = ' '; } else if (str[sidx] == '\\') { /* Skip \\\n */ if ((sidx+1 < str_len) && (str[sidx+1] == '\n')) { sidx += 1; didx -= 1; } else { buf[didx] = str[sidx]; } } else { buf[didx] = str[sidx]; } } buf[didx] = 0; return buf; } char* strdupnew(char const *str) { return str ? strcpy(new char [strlen(str)+1], str) : NULL; } static const char* set_file_name(char*text) { perm_string path = filename_strings.make(text); delete[]text; /* Check this file name with the list of library file names. If there is a match, then turn on the pform_library_flag. This is how the parser knows that modules declared in this file are library modules. */ pform_library_flag = library_file_map[path]; return path; } void reset_lexor(); static void line_directive(); static void line_directive2(); static void reset_all(); verinum*make_unsized_binary(const char*txt); verinum*make_undef_highz_dec(const char*txt); verinum*make_unsized_dec(const char*txt); verinum*make_unsized_octal(const char*txt); verinum*make_unsized_hex(const char*txt); static int dec_buf_div2(char *buf); static int get_timescale_scale(const char*cp); static int get_timescale_const(int scale, const char*units); static void process_ucdrive(const char*txt); static list keyword_mask_stack; static int comment_enter; static bool in_module = false; static bool in_UDP = false; bool in_celldefine = false; UCDriveType uc_drive = UCD_NONE; static int ts_state = 0; static int ts_scale = 0; static int ts_unit = 0; static int ts_prec = 0; /* * The parser sometimes needs to indicate to the lexor that the next * identifier needs to be understood in the context of a package. The * parser feeds back that left context with calls to the * lex_in_package_scope. */ static PPackage* in_package_scope = 0; void lex_in_package_scope(PPackage*pkg) { in_package_scope = pkg; } #line 2398 "" #line 2400 "" #define INITIAL 0 #define CCOMMENT 1 #define PCOMMENT 2 #define LCOMMENT 3 #define CSTRING 4 #define UDPTABLE 5 #define PPTIMESCALE_SCALE 6 #define PPTIMESCALE_UNITS 7 #define PPTIMESCALE_SLASH 8 #define PPTIMESCALE_ERROR 9 #define PPUCDRIVE 10 #define PPUCDRIVE_ERROR 11 #define PPDEFAULT_NETTYPE 12 #define PPDEFAULT_NETTYPE_ERROR 13 #define PPBEGIN_KEYWORDS 14 #define PPBEGIN_KEYWORDS_ERROR 15 #define EDGES 16 #define REAL_SCALE 17 #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 /* Create the reject buffer large enough to save one state per allowed character. */ if ( ! (yy_state_buf) ) (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); if ( ! (yy_state_buf) ) YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); 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 169 "lexor.lex" #line 172 "lexor.lex" /* Recognize the various line directives. */ #line 2646 "" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { (yy_more_len) = 0; if ( (yy_more_flag) ) { (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr)); (yy_more_flag) = 0; } 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_state_ptr) = (yy_state_buf); *(yy_state_ptr)++ = yy_current_state; yy_match: do { YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*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 >= 927 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; *(yy_state_ptr)++ = yy_current_state; ++yy_cp; } while ( yy_current_state != 926 ); yy_find_action: yy_current_state = *--(yy_state_ptr); (yy_lp) = yy_accept[yy_current_state]; find_rule: /* we branch to this label when backing up */ for ( ; ; ) /* until we find what rule we matched */ { if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) { yy_act = yy_acclist[(yy_lp)]; { (yy_full_match) = yy_cp; break; } } --yy_cp; yy_current_state = *--(yy_state_ptr); (yy_lp) = 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 1: YY_RULE_SETUP #line 173 "lexor.lex" { line_directive(); } YY_BREAK case 2: YY_RULE_SETUP #line 174 "lexor.lex" { line_directive2(); } YY_BREAK case 3: YY_RULE_SETUP #line 176 "lexor.lex" { ; } YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 177 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK /* C++ style comments start with / / and run to the end of the current line. These are very easy to handle. The meta-comments format is a little more tricky to handle, but do what we can. */ /* The lexor detects "// synthesis translate_on/off" meta-comments, we handle them here by turning on/off a flag. The pform uses that flag to attach implicit attributes to "initial" and "always" statements. */ case 5: /* rule 5 can match eol */ YY_RULE_SETUP #line 188 "lexor.lex" { pre_process_failed(yytext); } YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP #line 189 "lexor.lex" { pform_mc_translate_on(true); yylloc.first_line += 1; } YY_BREAK case 7: /* rule 7 can match eol */ YY_RULE_SETUP #line 190 "lexor.lex" { pform_mc_translate_on(false); yylloc.first_line += 1; } YY_BREAK case 8: YY_RULE_SETUP #line 191 "lexor.lex" { comment_enter = YY_START; BEGIN(LCOMMENT); } YY_BREAK case 9: YY_RULE_SETUP #line 192 "lexor.lex" { yymore(); } YY_BREAK case 10: /* rule 10 can match eol */ YY_RULE_SETUP #line 193 "lexor.lex" { yylloc.first_line += 1; BEGIN(comment_enter); } YY_BREAK /* The contents of C-style comments are ignored, like white space. */ case 11: YY_RULE_SETUP #line 198 "lexor.lex" { comment_enter = YY_START; BEGIN(CCOMMENT); } YY_BREAK case 12: YY_RULE_SETUP #line 199 "lexor.lex" { ; } YY_BREAK /* Check for a possible nested comment. */ case 13: YY_RULE_SETUP #line 201 "lexor.lex" { VLerror(yylloc, "error: Possible nested comment."); } YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP #line 202 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK case 15: YY_RULE_SETUP #line 203 "lexor.lex" { BEGIN(comment_enter); } YY_BREAK case 16: YY_RULE_SETUP #line 206 "lexor.lex" { return K_PSTAR; } YY_BREAK case 17: YY_RULE_SETUP #line 207 "lexor.lex" { return K_STARP; } YY_BREAK case 18: YY_RULE_SETUP #line 208 "lexor.lex" { return K_DOTSTAR; } YY_BREAK case 19: YY_RULE_SETUP #line 209 "lexor.lex" { return K_LS; } YY_BREAK case 20: YY_RULE_SETUP #line 210 "lexor.lex" { return K_LS; /* Note: Functionally, <<< is the same as <<. */} YY_BREAK case 21: YY_RULE_SETUP #line 211 "lexor.lex" { return K_RS; } YY_BREAK case 22: YY_RULE_SETUP #line 212 "lexor.lex" { return K_RSS; } YY_BREAK case 23: YY_RULE_SETUP #line 213 "lexor.lex" { return K_POW; } YY_BREAK case 24: YY_RULE_SETUP #line 214 "lexor.lex" { return K_LE; } YY_BREAK case 25: YY_RULE_SETUP #line 215 "lexor.lex" { return K_GE; } YY_BREAK case 26: YY_RULE_SETUP #line 216 "lexor.lex" { return K_EG; } YY_BREAK case 27: YY_RULE_SETUP #line 217 "lexor.lex" { /* * Resolve the ambiguity between the += assignment * operator and +=> polarity edge path operator * * +=> should be treated as two separate tokens '+' and * '=>' (K_EG), therefore we only consume the first * character of the matched pattern i.e. either + or - * and push back the rest of the matches text (=>) in * the input stream. */ yyless(1); return yytext[0]; } YY_BREAK case 28: YY_RULE_SETUP #line 231 "lexor.lex" { return K_SG; } YY_BREAK case 29: YY_RULE_SETUP #line 232 "lexor.lex" { return K_EQ; } YY_BREAK case 30: YY_RULE_SETUP #line 233 "lexor.lex" { return K_NE; } YY_BREAK case 31: YY_RULE_SETUP #line 234 "lexor.lex" { return K_CEQ; } YY_BREAK case 32: YY_RULE_SETUP #line 235 "lexor.lex" { return K_CNE; } YY_BREAK case 33: YY_RULE_SETUP #line 236 "lexor.lex" { return K_WEQ; } YY_BREAK case 34: YY_RULE_SETUP #line 237 "lexor.lex" { return K_WNE; } YY_BREAK case 35: YY_RULE_SETUP #line 238 "lexor.lex" { return K_LOR; } YY_BREAK case 36: YY_RULE_SETUP #line 239 "lexor.lex" { return K_LAND; } YY_BREAK case 37: YY_RULE_SETUP #line 240 "lexor.lex" { return K_LEQUIV; } YY_BREAK case 38: YY_RULE_SETUP #line 241 "lexor.lex" { return K_TAND; } YY_BREAK case 39: YY_RULE_SETUP #line 242 "lexor.lex" { return K_NOR; } YY_BREAK case 40: YY_RULE_SETUP #line 243 "lexor.lex" { return K_NXOR; } YY_BREAK case 41: YY_RULE_SETUP #line 244 "lexor.lex" { return K_NXOR; } YY_BREAK case 42: YY_RULE_SETUP #line 245 "lexor.lex" { return K_NAND; } YY_BREAK case 43: YY_RULE_SETUP #line 246 "lexor.lex" { return K_TRIGGER; } YY_BREAK case 44: YY_RULE_SETUP #line 247 "lexor.lex" { return K_NB_TRIGGER; } YY_BREAK case 45: YY_RULE_SETUP #line 248 "lexor.lex" { return K_PO_POS; } YY_BREAK case 46: YY_RULE_SETUP #line 249 "lexor.lex" { return K_PO_NEG; } YY_BREAK case 47: YY_RULE_SETUP #line 250 "lexor.lex" { return K_CONTRIBUTE; } YY_BREAK case 48: YY_RULE_SETUP #line 251 "lexor.lex" { return K_PLUS_EQ; } YY_BREAK case 49: YY_RULE_SETUP #line 252 "lexor.lex" { return K_MINUS_EQ; } YY_BREAK case 50: YY_RULE_SETUP #line 253 "lexor.lex" { return K_MUL_EQ; } YY_BREAK case 51: YY_RULE_SETUP #line 254 "lexor.lex" { return K_DIV_EQ; } YY_BREAK case 52: YY_RULE_SETUP #line 255 "lexor.lex" { return K_MOD_EQ; } YY_BREAK case 53: YY_RULE_SETUP #line 256 "lexor.lex" { return K_AND_EQ; } YY_BREAK case 54: YY_RULE_SETUP #line 257 "lexor.lex" { return K_OR_EQ; } YY_BREAK case 55: YY_RULE_SETUP #line 258 "lexor.lex" { return K_XOR_EQ; } YY_BREAK case 56: YY_RULE_SETUP #line 259 "lexor.lex" { return K_LS_EQ; } YY_BREAK case 57: YY_RULE_SETUP #line 260 "lexor.lex" { return K_RS_EQ; } YY_BREAK case 58: YY_RULE_SETUP #line 261 "lexor.lex" { return K_LS_EQ; } YY_BREAK case 59: YY_RULE_SETUP #line 262 "lexor.lex" { return K_RSS_EQ; } YY_BREAK case 60: YY_RULE_SETUP #line 263 "lexor.lex" { return K_INCR; } YY_BREAK case 61: YY_RULE_SETUP #line 264 "lexor.lex" {return K_DECR; } YY_BREAK case 62: YY_RULE_SETUP #line 265 "lexor.lex" { return K_LP; } YY_BREAK case 63: YY_RULE_SETUP #line 266 "lexor.lex" { return K_SCOPE_RES; } YY_BREAK /* This is horrible. The Verilog systax uses "->" in a lot of places. The trickiest is in constraints, where it is not an operator at all but a constraint implication. This only turns up as a problem when the "->" is followed by a constraint_expression_list. If that shows up, then there will be a "{" to the right of the "->". In that case, turn the "->" into a K_CONSTRAINT_IMPL so that the parser can be written without the shift/reduce conflict. Ugh! */ case 64: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp = yy_bp + 2; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 275 "lexor.lex" { return gn_system_verilog()? K_CONSTRAINT_IMPL : K_TRIGGER; } YY_BREAK /* Watch out for the tricky case of (*). Cannot parse this as "(*" and ")", but since I know that this is really ( * ), replace it with "*" and return that. */ case 65: YY_RULE_SETUP #line 280 "lexor.lex" { return '*'; } YY_BREAK case 66: YY_RULE_SETUP #line 282 "lexor.lex" { BEGIN(0); return yytext[0]; } YY_BREAK case 67: YY_RULE_SETUP #line 283 "lexor.lex" { return yytext[0]; } YY_BREAK case 68: YY_RULE_SETUP #line 285 "lexor.lex" { BEGIN(CSTRING); } YY_BREAK case 69: YY_RULE_SETUP #line 286 "lexor.lex" { yymore(); /* Catch \\, which is a \ escaping itself */ } YY_BREAK case 70: YY_RULE_SETUP #line 287 "lexor.lex" { yymore(); /* Catch \", which is an escaped quote */ } YY_BREAK case 71: /* rule 71 can match eol */ YY_RULE_SETUP #line 288 "lexor.lex" { yymore(); /* Catch \\n, which will be filtered out */ yylloc.first_line += 1; } YY_BREAK case 72: /* rule 72 can match eol */ YY_RULE_SETUP #line 290 "lexor.lex" { BEGIN(0); yylval.text = yytext_string_filter(yytext, yyleng); VLerror(yylloc, "error: Missing closing quote for string."); yylloc.first_line += 1; return STRING; } YY_BREAK case 73: YY_RULE_SETUP #line 295 "lexor.lex" { BEGIN(0); yylval.text = yytext_string_filter(yytext, yyleng); yylval.text[strlen(yylval.text)-1] = 0; return STRING; } YY_BREAK case 74: YY_RULE_SETUP #line 299 "lexor.lex" { yymore(); } YY_BREAK /* The UDP Table is a unique lexical environment. These are most tokens that we can expect in a table. */ case 75: YY_RULE_SETUP #line 303 "lexor.lex" { return '_'; } YY_BREAK case 76: YY_RULE_SETUP #line 304 "lexor.lex" { return '+'; } YY_BREAK case 77: YY_RULE_SETUP #line 305 "lexor.lex" { return '%'; } YY_BREAK case 78: YY_RULE_SETUP #line 306 "lexor.lex" { return '*'; } YY_BREAK case 79: YY_RULE_SETUP #line 307 "lexor.lex" { return 'r'; } YY_BREAK case 80: YY_RULE_SETUP #line 308 "lexor.lex" { return 'Q'; } YY_BREAK case 81: YY_RULE_SETUP #line 309 "lexor.lex" { return 'q'; } YY_BREAK case 82: YY_RULE_SETUP #line 310 "lexor.lex" { return 'f'; /* b0 is 10|00, but only 10 is meaningful */} YY_BREAK case 83: YY_RULE_SETUP #line 311 "lexor.lex" { return 'r'; /* b1 is 11|01, but only 01 is meaningful */} YY_BREAK case 84: YY_RULE_SETUP #line 312 "lexor.lex" { return 'P'; } YY_BREAK case 85: YY_RULE_SETUP #line 313 "lexor.lex" { return 'f'; } YY_BREAK case 86: YY_RULE_SETUP #line 314 "lexor.lex" { return 'M'; } YY_BREAK case 87: YY_RULE_SETUP #line 315 "lexor.lex" { return 'N'; } YY_BREAK case 88: YY_RULE_SETUP #line 316 "lexor.lex" { return 'F'; } YY_BREAK case 89: YY_RULE_SETUP #line 317 "lexor.lex" { return 'R'; } YY_BREAK case 90: YY_RULE_SETUP #line 318 "lexor.lex" { return 'B'; } YY_BREAK case 91: YY_RULE_SETUP #line 319 "lexor.lex" { return 'b'; } YY_BREAK case 92: YY_RULE_SETUP #line 320 "lexor.lex" { return 'l'; /* IVL extension */ } YY_BREAK case 93: YY_RULE_SETUP #line 321 "lexor.lex" { return 'h'; /* IVL extension */ } YY_BREAK case 94: YY_RULE_SETUP #line 322 "lexor.lex" { return 'f'; } YY_BREAK case 95: YY_RULE_SETUP #line 323 "lexor.lex" { return 'r'; } YY_BREAK case 96: YY_RULE_SETUP #line 324 "lexor.lex" { return 'x'; } YY_BREAK case 97: YY_RULE_SETUP #line 325 "lexor.lex" { return 'n'; } YY_BREAK case 98: YY_RULE_SETUP #line 326 "lexor.lex" { return 'p'; } YY_BREAK case 99: YY_RULE_SETUP #line 327 "lexor.lex" { return yytext[0]; } YY_BREAK case 100: YY_RULE_SETUP #line 329 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 101: YY_RULE_SETUP #line 330 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 102: YY_RULE_SETUP #line 331 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 103: YY_RULE_SETUP #line 332 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 104: YY_RULE_SETUP #line 333 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 105: YY_RULE_SETUP #line 334 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 106: YY_RULE_SETUP #line 335 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 107: YY_RULE_SETUP #line 336 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 108: YY_RULE_SETUP #line 337 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 109: YY_RULE_SETUP #line 338 "lexor.lex" { return K_edge_descriptor; } YY_BREAK case 110: YY_RULE_SETUP #line 340 "lexor.lex" { int rc = lexor_keyword_code(yytext, yyleng); switch (rc) { case IDENTIFIER: assert(yylloc.lexical_pos != UINT_MAX); yylloc.lexical_pos += 1; yylval.text = strdupnew(yytext); if (strncmp(yylval.text,"PATHPULSE$", 10) == 0) rc = PATHPULSE_IDENTIFIER; break; case K_edge: BEGIN(EDGES); break; case K_module: case K_macromodule: in_module = true; break; case K_endmodule: in_module = false; break; case K_primitive: in_UDP = true; break; case K_endprimitive: in_UDP = false; break; case K_table: BEGIN(UDPTABLE); break; default: yylval.text = 0; break; } /* A package member remains an ordinary identifier even when its name also names a package or discipline. */ if (in_package_scope) { in_package_scope = 0; return rc; } /* If this identifier names a discipline, then return this as a DISCIPLINE_IDENTIFIER and return the discipline as the value instead. */ if (rc == IDENTIFIER && gn_verilog_ams_flag) { perm_string tmp = lex_strings.make(yylval.text); map::iterator cur = disciplines.find(tmp); if (cur != disciplines.end()) { delete[]yylval.text; yylval.discipline = (*cur).second; rc = DISCIPLINE_IDENTIFIER; } } /* If this identifier names a previously declared package, then return this as a PACKAGE_IDENTIFIER instead. */ if (rc == IDENTIFIER && gn_system_verilog()) { if (PPackage*pkg = pform_test_package_identifier(yylval.text)) { delete[]yylval.text; yylval.package = pkg; rc = PACKAGE_IDENTIFIER; } } return rc; } YY_BREAK case 111: YY_RULE_SETUP #line 415 "lexor.lex" { assert(yylloc.lexical_pos != UINT_MAX); yylloc.lexical_pos += 1; yylval.text = strdupnew(yytext+1); if (gn_system_verilog()) { if (PPackage*pkg = pform_test_package_identifier(yylval.text)) { delete[]yylval.text; yylval.package = pkg; return PACKAGE_IDENTIFIER; } } return IDENTIFIER; } YY_BREAK case 112: YY_RULE_SETUP #line 430 "lexor.lex" { /* The 1364-1995 timing checks. */ if (strcmp(yytext,"$hold") == 0) return K_Shold; if (strcmp(yytext,"$nochange") == 0) return K_Snochange; if (strcmp(yytext,"$period") == 0) return K_Speriod; if (strcmp(yytext,"$recovery") == 0) return K_Srecovery; if (strcmp(yytext,"$setup") == 0) return K_Ssetup; if (strcmp(yytext,"$setuphold") == 0) return K_Ssetuphold; if (strcmp(yytext,"$skew") == 0) return K_Sskew; if (strcmp(yytext,"$width") == 0) return K_Swidth; /* The new 1364-2001 timing checks. */ if (strcmp(yytext,"$fullskew") == 0) return K_Sfullskew; if (strcmp(yytext,"$recrem") == 0) return K_Srecrem; if (strcmp(yytext,"$removal") == 0) return K_Sremoval; if (strcmp(yytext,"$timeskew") == 0) return K_Stimeskew; if (strcmp(yytext,"$attribute") == 0) return KK_attribute; if (gn_system_verilog() && strcmp(yytext,"$unit") == 0) { yylval.package = pform_units.back(); return PACKAGE_IDENTIFIER; } yylval.text = strdupnew(yytext); return SYSTEM_IDENTIFIER; } YY_BREAK case 113: YY_RULE_SETUP #line 470 "lexor.lex" { yylval.number = make_unsized_dec(yytext); return BASED_NUMBER; } YY_BREAK case 114: YY_RULE_SETUP #line 474 "lexor.lex" { yylval.number = make_undef_highz_dec(yytext); return BASED_NUMBER; } YY_BREAK case 115: YY_RULE_SETUP #line 478 "lexor.lex" { yylval.number = make_unsized_binary(yytext); return BASED_NUMBER; } YY_BREAK case 116: YY_RULE_SETUP #line 482 "lexor.lex" { yylval.number = make_unsized_octal(yytext); return BASED_NUMBER; } YY_BREAK case 117: YY_RULE_SETUP #line 486 "lexor.lex" { yylval.number = make_unsized_hex(yytext); return BASED_NUMBER; } YY_BREAK case 118: YY_RULE_SETUP #line 490 "lexor.lex" { if (!gn_system_verilog()) { VLwarn(yylloc, "warning: Using SystemVerilog 'N bit vector. " "Use at least -g2005-sv to remove this warning."); } generation_t generation_save = generation_flag; generation_flag = GN_VER2005_SV; yylval.number = make_unsized_binary(yytext); generation_flag = generation_save; return UNBASED_NUMBER; } YY_BREAK /* Decimal numbers are the usual. But watch out for the UDPTABLE mode, where there are no decimal numbers. Reject the match if we are in the UDPTABLE state. */ case 119: YY_RULE_SETUP #line 504 "lexor.lex" { if (YY_START==UDPTABLE) { REJECT; } else { yylval.number = make_unsized_dec(yytext); based_size = yylval.number->as_ulong(); return DEC_NUMBER; } } YY_BREAK /* This rule handles scaled time values for SystemVerilog. */ case 120: YY_RULE_SETUP #line 515 "lexor.lex" { if (gn_system_verilog()) { yylval.text = strdupnew(yytext); return TIME_LITERAL; } else REJECT; } YY_BREAK /* These rules handle the scaled real literals from Verilog-AMS. The value is a number with a single letter scale factor. If verilog-ams is not enabled, then reject this rule. If it is enabled, then collect the scale and use it to scale the value. */ case 121: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 525 "lexor.lex" { if (!gn_verilog_ams_flag) REJECT; BEGIN(REAL_SCALE); yymore(); } YY_BREAK case 122: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 530 "lexor.lex" { if (!gn_verilog_ams_flag) REJECT; BEGIN(REAL_SCALE); yymore(); } YY_BREAK case 123: YY_RULE_SETUP #line 535 "lexor.lex" { size_t token_len = strlen(yytext); char*tmp = new char[token_len + 5]; int scale = 0; strcpy(tmp, yytext); switch (tmp[token_len-1]) { case 'a': scale = -18; break; /* atto- */ case 'f': scale = -15; break; /* femto- */ case 'p': scale = -12; break; /* pico- */ case 'n': scale = -9; break; /* nano- */ case 'u': scale = -6; break; /* micro- */ case 'm': scale = -3; break; /* milli- */ case 'k': scale = 3; break; /* kilo- */ case 'K': scale = 3; break; /* kilo- */ case 'M': scale = 6; break; /* mega- */ case 'G': scale = 9; break; /* giga- */ case 'T': scale = 12; break; /* tera- */ default: assert(0); break; } snprintf(tmp+token_len-1, 5, "e%d", scale); yylval.realtime = new verireal(tmp); delete[]tmp; BEGIN(0); return REALTIME; } YY_BREAK case 124: YY_RULE_SETUP #line 561 "lexor.lex" { yylval.realtime = new verireal(yytext); return REALTIME; } YY_BREAK case 125: YY_RULE_SETUP #line 565 "lexor.lex" { yylval.realtime = new verireal(yytext); return REALTIME; } YY_BREAK /* Notice and handle the `timescale directive. */ case 126: YY_RULE_SETUP #line 572 "lexor.lex" { ts_state = 0; BEGIN(PPTIMESCALE_SCALE); } YY_BREAK case 127: YY_RULE_SETUP #line 574 "lexor.lex" { ts_scale = get_timescale_scale(yytext); BEGIN(PPTIMESCALE_UNITS); } YY_BREAK case 128: YY_RULE_SETUP #line 578 "lexor.lex" { comment_enter = PPTIMESCALE_SCALE; BEGIN(LCOMMENT); } YY_BREAK case 129: YY_RULE_SETUP #line 579 "lexor.lex" { comment_enter = PPTIMESCALE_SCALE; BEGIN(CCOMMENT); } YY_BREAK case 130: /* rule 130 can match eol */ YY_RULE_SETUP #line 580 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK case 131: YY_RULE_SETUP #line 581 "lexor.lex" { ; } YY_BREAK case 132: YY_RULE_SETUP #line 582 "lexor.lex" { BEGIN(PPTIMESCALE_ERROR); } YY_BREAK case 133: YY_RULE_SETUP #line 584 "lexor.lex" { if (++ts_state == 1) { ts_unit = get_timescale_const(ts_scale, yytext); BEGIN(PPTIMESCALE_SLASH); } else { ts_prec = get_timescale_const(ts_scale, yytext); if (in_module) { VLerror(yylloc, "error: timescale directive cannot be inside " "a module definition."); } if (ts_unit < ts_prec) { VLerror(yylloc, "error: timescale unit must not be less than " "the precision."); } else { pform_set_timescale(ts_unit, ts_prec, yylloc.text, yylloc.first_line); } BEGIN(0); } } YY_BREAK case 134: YY_RULE_SETUP #line 603 "lexor.lex" { comment_enter = PPTIMESCALE_UNITS; BEGIN(LCOMMENT); } YY_BREAK case 135: YY_RULE_SETUP #line 604 "lexor.lex" { comment_enter = PPTIMESCALE_UNITS; BEGIN(CCOMMENT); } YY_BREAK case 136: /* rule 136 can match eol */ YY_RULE_SETUP #line 605 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK case 137: YY_RULE_SETUP #line 606 "lexor.lex" { ; } YY_BREAK case 138: YY_RULE_SETUP #line 607 "lexor.lex" { BEGIN(PPTIMESCALE_ERROR); } YY_BREAK case 139: YY_RULE_SETUP #line 609 "lexor.lex" { BEGIN(PPTIMESCALE_SCALE); } YY_BREAK case 140: YY_RULE_SETUP #line 611 "lexor.lex" { comment_enter = PPTIMESCALE_SLASH; BEGIN(LCOMMENT); } YY_BREAK case 141: YY_RULE_SETUP #line 612 "lexor.lex" { comment_enter = PPTIMESCALE_SLASH; BEGIN(CCOMMENT); } YY_BREAK case 142: /* rule 142 can match eol */ YY_RULE_SETUP #line 613 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK case 143: YY_RULE_SETUP #line 614 "lexor.lex" { ; } YY_BREAK case 144: YY_RULE_SETUP #line 615 "lexor.lex" { BEGIN(PPTIMESCALE_ERROR); } YY_BREAK /* On error, try to recover by skipping to the end of the line. */ case 145: YY_RULE_SETUP #line 618 "lexor.lex" { VLerror(yylloc, "error: Invalid `timescale directive."); BEGIN(0); } YY_BREAK /* Notice and handle the `celldefine and `endcelldefine directives. */ case 146: YY_RULE_SETUP #line 624 "lexor.lex" { in_celldefine = true; } YY_BREAK case 147: YY_RULE_SETUP #line 625 "lexor.lex" { in_celldefine = false; } YY_BREAK /* Notice and handle the `resetall directive. */ case 148: YY_RULE_SETUP #line 629 "lexor.lex" { if (in_module) { VLerror(yylloc, "error: `resetall directive cannot be inside a " "module definition."); } else if (in_UDP) { VLerror(yylloc, "error: `resetall directive cannot be inside a " "UDP definition."); } else { reset_all(); } } YY_BREAK /* Notice and handle the `unconnected_drive directive. */ case 149: YY_RULE_SETUP #line 642 "lexor.lex" { BEGIN(PPUCDRIVE); } YY_BREAK case 150: YY_RULE_SETUP #line 644 "lexor.lex" { process_ucdrive(yytext); if (in_module) { VLerror(yylloc, "error: `unconnected_drive directive cannot be " "inside a module definition."); } BEGIN(0); } YY_BREAK case 151: YY_RULE_SETUP #line 652 "lexor.lex" { comment_enter = PPUCDRIVE; BEGIN(LCOMMENT); } YY_BREAK case 152: YY_RULE_SETUP #line 653 "lexor.lex" { comment_enter = PPUCDRIVE; BEGIN(CCOMMENT); } YY_BREAK case 153: /* rule 153 can match eol */ YY_RULE_SETUP #line 654 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK case 154: YY_RULE_SETUP #line 655 "lexor.lex" { ; } YY_BREAK case 155: YY_RULE_SETUP #line 656 "lexor.lex" { BEGIN(PPUCDRIVE_ERROR); } YY_BREAK /* On error, try to recover by skipping to the end of the line. */ case 156: YY_RULE_SETUP #line 659 "lexor.lex" { VLerror(yylloc, "error: Invalid `unconnected_drive directive."); BEGIN(0); } YY_BREAK /* Notice and handle the `nounconnected_drive directive. */ case 157: YY_RULE_SETUP #line 665 "lexor.lex" { if (in_module) { VLerror(yylloc, "error: `nounconnected_drive directive cannot be " "inside a module definition."); } uc_drive = UCD_NONE; } YY_BREAK /* These are directives that I do not yet support. I think that IVL should handle these, not an external preprocessor. */ /* From 1364-2005 Chapter 19. */ case 158: YY_RULE_SETUP #line 675 "lexor.lex" { } YY_BREAK /* From 1364-2005 Annex D. */ case 159: YY_RULE_SETUP #line 678 "lexor.lex" { } YY_BREAK case 160: YY_RULE_SETUP #line 679 "lexor.lex" { } YY_BREAK case 161: YY_RULE_SETUP #line 680 "lexor.lex" { } YY_BREAK case 162: YY_RULE_SETUP #line 681 "lexor.lex" { } YY_BREAK case 163: YY_RULE_SETUP #line 682 "lexor.lex" { } YY_BREAK case 164: YY_RULE_SETUP #line 683 "lexor.lex" { } YY_BREAK /* From other places. */ case 165: YY_RULE_SETUP #line 686 "lexor.lex" { } YY_BREAK case 166: YY_RULE_SETUP #line 687 "lexor.lex" { } YY_BREAK case 167: YY_RULE_SETUP #line 688 "lexor.lex" { } YY_BREAK case 168: YY_RULE_SETUP #line 689 "lexor.lex" { } YY_BREAK case 169: YY_RULE_SETUP #line 690 "lexor.lex" { } YY_BREAK case 170: YY_RULE_SETUP #line 691 "lexor.lex" { } YY_BREAK case 171: YY_RULE_SETUP #line 692 "lexor.lex" { } YY_BREAK /* Notice and handle the `begin_keywords directive. */ case 172: YY_RULE_SETUP #line 696 "lexor.lex" { BEGIN(PPBEGIN_KEYWORDS); } YY_BREAK case 173: YY_RULE_SETUP #line 698 "lexor.lex" { keyword_mask_stack.push_front(lexor_keyword_mask); char*word = yytext+1; char*tail = strchr(word, '"'); tail[0] = 0; if (strcmp(word,"1364-1995") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995; } else if (strcmp(word,"1364-2001") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995 |GN_KEYWORDS_1364_2001 |GN_KEYWORDS_1364_2001_CONFIG; } else if (strcmp(word,"1364-2001-noconfig") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995 |GN_KEYWORDS_1364_2001; } else if (strcmp(word,"1364-2005") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995 |GN_KEYWORDS_1364_2001 |GN_KEYWORDS_1364_2001_CONFIG |GN_KEYWORDS_1364_2005; } else if (strcmp(word,"1800-2005") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995 |GN_KEYWORDS_1364_2001 |GN_KEYWORDS_1364_2001_CONFIG |GN_KEYWORDS_1364_2005 |GN_KEYWORDS_1800_2005; } else if (strcmp(word,"1800-2009") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995 |GN_KEYWORDS_1364_2001 |GN_KEYWORDS_1364_2001_CONFIG |GN_KEYWORDS_1364_2005 |GN_KEYWORDS_1800_2005 |GN_KEYWORDS_1800_2009; } else if (strcmp(word,"1800-2012") == 0 || strcmp(word,"1800-2017") == 0 || strcmp(word,"1800-2023") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995 |GN_KEYWORDS_1364_2001 |GN_KEYWORDS_1364_2001_CONFIG |GN_KEYWORDS_1364_2005 |GN_KEYWORDS_1800_2005 |GN_KEYWORDS_1800_2009 |GN_KEYWORDS_1800_2012; } else if (strcmp(word,"VAMS-2.3") == 0) { lexor_keyword_mask = GN_KEYWORDS_1364_1995 |GN_KEYWORDS_1364_2001 |GN_KEYWORDS_1364_2001_CONFIG |GN_KEYWORDS_1364_2005 |GN_KEYWORDS_VAMS_2_3; } else { fprintf(stderr, "%s:%d: Ignoring unknown keywords string: %s\n", yylloc.text, yylloc.first_line, word); } BEGIN(0); } YY_BREAK case 174: YY_RULE_SETUP #line 754 "lexor.lex" { comment_enter = PPBEGIN_KEYWORDS; BEGIN(LCOMMENT); } YY_BREAK case 175: YY_RULE_SETUP #line 755 "lexor.lex" { comment_enter = PPBEGIN_KEYWORDS; BEGIN(CCOMMENT); } YY_BREAK case 176: /* rule 176 can match eol */ YY_RULE_SETUP #line 756 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK case 177: YY_RULE_SETUP #line 757 "lexor.lex" { ; } YY_BREAK case 178: YY_RULE_SETUP #line 758 "lexor.lex" { BEGIN(PPBEGIN_KEYWORDS_ERROR); } YY_BREAK /* On error, try to recover by skipping to the end of the line. */ case 179: YY_RULE_SETUP #line 761 "lexor.lex" { VLerror(yylloc, "error: Invalid `begin_keywords directive."); BEGIN(0); } YY_BREAK /* Notice and handle the `end_keywords directive. */ case 180: YY_RULE_SETUP #line 767 "lexor.lex" { if (!keyword_mask_stack.empty()) { lexor_keyword_mask = keyword_mask_stack.front(); keyword_mask_stack.pop_front(); } else { VLwarn(yylloc, "warning: Mismatched `end_keywords directive"); } } YY_BREAK /* Notice and handle the `default_nettype directive. */ case 181: YY_RULE_SETUP #line 778 "lexor.lex" { BEGIN(PPDEFAULT_NETTYPE); } YY_BREAK case 182: YY_RULE_SETUP #line 780 "lexor.lex" { NetNet::Type net_type; /* Add support for other wire types and better error detection. */ if (strcmp(yytext,"wire") == 0) { net_type = NetNet::WIRE; } else if (strcmp(yytext,"tri") == 0) { net_type = NetNet::TRI; } else if (strcmp(yytext,"tri0") == 0) { net_type = NetNet::TRI0; } else if (strcmp(yytext,"tri1") == 0) { net_type = NetNet::TRI1; } else if (strcmp(yytext,"wand") == 0) { net_type = NetNet::WAND; } else if (strcmp(yytext,"triand") == 0) { net_type = NetNet::TRIAND; } else if (strcmp(yytext,"wor") == 0) { net_type = NetNet::WOR; } else if (strcmp(yytext,"trior") == 0) { net_type = NetNet::TRIOR; } else if (strcmp(yytext,"none") == 0) { net_type = NetNet::NONE; } else { VLerror(yylloc, "error: Net type '%s' is not a valid (or supported) " "default net type.", yytext); net_type = NetNet::WIRE; error_count += 1; } pform_set_default_nettype(net_type, yylloc.text, yylloc.first_line); BEGIN(0); } YY_BREAK case 183: YY_RULE_SETUP #line 820 "lexor.lex" { comment_enter = PPDEFAULT_NETTYPE; BEGIN(LCOMMENT); } YY_BREAK case 184: YY_RULE_SETUP #line 821 "lexor.lex" { comment_enter = PPDEFAULT_NETTYPE; BEGIN(CCOMMENT); } YY_BREAK case 185: /* rule 185 can match eol */ YY_RULE_SETUP #line 822 "lexor.lex" { yylloc.first_line += 1; } YY_BREAK case 186: YY_RULE_SETUP #line 823 "lexor.lex" { ; } YY_BREAK case 187: YY_RULE_SETUP #line 824 "lexor.lex" { BEGIN(PPDEFAULT_NETTYPE_ERROR); } YY_BREAK /* On error, try to recover by skipping to the end of the line. */ case 188: YY_RULE_SETUP #line 827 "lexor.lex" { VLerror(yylloc, "error: Invalid `default_nettype directive."); BEGIN(0); } YY_BREAK /* These are directives that are not supported by me and should have been handled by an external preprocessor such as ivlpp. */ case 189: YY_RULE_SETUP #line 834 "lexor.lex" { VLwarn(yylloc, "warning: `define not supported. Use an external preprocessor."); } YY_BREAK case 190: YY_RULE_SETUP #line 838 "lexor.lex" { VLwarn(yylloc, "warning: `else not supported. Use an external preprocessor."); } YY_BREAK case 191: YY_RULE_SETUP #line 842 "lexor.lex" { VLwarn(yylloc, "warning: `elsif not supported. Use an external preprocessor."); } YY_BREAK case 192: YY_RULE_SETUP #line 846 "lexor.lex" { VLwarn(yylloc, "warning: `endif not supported. Use an external preprocessor."); } YY_BREAK case 193: YY_RULE_SETUP #line 850 "lexor.lex" { VLwarn(yylloc, "warning: `ifdef not supported. Use an external preprocessor."); } YY_BREAK case 194: YY_RULE_SETUP #line 854 "lexor.lex" { VLwarn(yylloc, "warning: `ifndef not supported. Use an external preprocessor."); } YY_BREAK case 195: YY_RULE_SETUP #line 858 "lexor.lex" { VLwarn(yylloc, "warning: `include not supported. Use an external preprocessor."); } YY_BREAK case 196: YY_RULE_SETUP #line 862 "lexor.lex" { VLwarn(yylloc, "warning: `undef not supported. Use an external preprocessor."); } YY_BREAK case 197: YY_RULE_SETUP #line 866 "lexor.lex" { VLwarn(yylloc, "warning: Macro replacement not supported. " "Use an external preprocessor."); } YY_BREAK case 198: YY_RULE_SETUP #line 872 "lexor.lex" { VLerror(yylloc, "error: Stray tic (`) here. Perhaps you put white " "space between the tic and preprocessor directive?"); } YY_BREAK case 199: YY_RULE_SETUP #line 875 "lexor.lex" { return yytext[0]; } YY_BREAK /* Final catchall. something got lost or mishandled. */ /* XXX Should we tell the user something about the lexical state? */ case 200: /* rule 200 can match eol */ YY_RULE_SETUP #line 880 "lexor.lex" { if (isprint(yytext[0])) VLerror(yylloc, "error: Unmatched character (%c).", yytext[0]); else VLerror(yylloc, "error: Unmatched character (0x%x).", (unsigned char) yytext[0]); } YY_BREAK case 201: YY_RULE_SETUP #line 888 "lexor.lex" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK #line 4179 "" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(CCOMMENT): case YY_STATE_EOF(PCOMMENT): case YY_STATE_EOF(LCOMMENT): case YY_STATE_EOF(CSTRING): case YY_STATE_EOF(UDPTABLE): case YY_STATE_EOF(PPTIMESCALE_SCALE): case YY_STATE_EOF(PPTIMESCALE_UNITS): case YY_STATE_EOF(PPTIMESCALE_SLASH): case YY_STATE_EOF(PPTIMESCALE_ERROR): case YY_STATE_EOF(PPUCDRIVE): case YY_STATE_EOF(PPUCDRIVE_ERROR): case YY_STATE_EOF(PPDEFAULT_NETTYPE): case YY_STATE_EOF(PPDEFAULT_NETTYPE_ERROR): case YY_STATE_EOF(PPBEGIN_KEYWORDS): case YY_STATE_EOF(PPBEGIN_KEYWORDS_ERROR): case YY_STATE_EOF(EDGES): case YY_STATE_EOF(REAL_SCALE): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (yy_did_buffer_switch_on_eof) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; yy_current_state = yy_get_previous_state( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of 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. */ YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); } 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(); (yy_state_ptr) = (yy_state_buf); *(yy_state_ptr)++ = yy_current_state; 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); 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 >= 927 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; *(yy_state_ptr)++ = yy_current_state; } 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; YY_CHAR yy_c = 1; 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 >= 927 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 926); if ( ! yy_is_jam ) *(yy_state_ptr)++ = yy_current_state; 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; (yy_state_buf) = 0; (yy_state_ptr) = 0; (yy_full_match) = 0; (yy_lp) = 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; yyfree ( (yy_state_buf) ); (yy_state_buf) = 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 888 "lexor.lex" /* * The UDP state table needs some slightly different treatment by the * lexor. The level characters are normally accepted as other things, * so the parser needs to switch my mode when it believes in needs to. */ void lex_end_table() { BEGIN(INITIAL); } static unsigned truncate_to_integer_width(const verinum::V*bits, unsigned size) { if (size <= integer_width) return size; verinum::V pad = bits[size-1]; if (pad == verinum::V1) pad = verinum::V0; for (unsigned idx = integer_width; idx < size; idx += 1) { if (bits[idx] != pad) { VLwarn(yylloc, "warning: Unsized numeric constant truncated " "to integer width."); break; } } return integer_width; } verinum*make_unsized_binary(const char*txt) { bool sign_flag = false; bool single_flag = false; const char*ptr = txt; assert(*ptr == '\''); ptr += 1; if (tolower(*ptr) == 's') { sign_flag = true; ptr += 1; } assert((tolower(*ptr) == 'b') || gn_system_verilog()); if (tolower(*ptr) == 'b') { ptr += 1; } else { assert(sign_flag == false); single_flag = true; } while (*ptr && ((*ptr == ' ') || (*ptr == '\t'))) ptr += 1; unsigned size = 0; for (const char*idx = ptr ; *idx ; idx += 1) if (*idx != '_') size += 1; if (size == 0) { VLerror(yylloc, "error: Numeric literal has no digits in it."); verinum*out = new verinum(); out->has_sign(sign_flag); out->is_single(single_flag); return out; } if ((based_size > 0) && (size > based_size)) VLwarn(yylloc, "warning: Extra digits given for sized binary constant."); // Allocate one extra bit in case we need to zero-extend. verinum::V*bits = new verinum::V[size+1]; unsigned idx = size; while (*ptr) { switch (ptr[0]) { case '0': bits[--idx] = verinum::V0; break; case '1': bits[--idx] = verinum::V1; break; case 'z': case 'Z': case '?': bits[--idx] = verinum::Vz; break; case 'x': case 'X': bits[--idx] = verinum::Vx; break; case '_': break; default: fprintf(stderr, "%c\n", ptr[0]); assert(0); } ptr += 1; } if (gn_strict_expr_width_flag && (based_size == 0)) size = truncate_to_integer_width(bits, size); if (sign_flag && (size < integer_width) && (bits[size-1] == verinum::V1)) bits[size++] = verinum::V0; verinum*out = new verinum(bits, size, false); out->has_sign(sign_flag); out->is_single(single_flag); delete[]bits; return out; } verinum*make_unsized_octal(const char*txt) { bool sign_flag = false; const char*ptr = txt; assert(*ptr == '\''); ptr += 1; if (tolower(*ptr) == 's') { sign_flag = true; ptr += 1; } assert(tolower(*ptr) == 'o'); ptr += 1; while (*ptr && ((*ptr == ' ') || (*ptr == '\t'))) ptr += 1; unsigned size = 0; for (const char*idx = ptr ; *idx ; idx += 1) if (*idx != '_') size += 3; if (based_size > 0) { int rem = based_size % 3; if (rem != 0) based_size += 3 - rem; if (size > based_size) VLwarn(yylloc, "warning: Extra digits given for sized octal constant."); } // Allocate one extra bit in case we need to zero-extend. verinum::V*bits = new verinum::V[size+1]; unsigned idx = size; while (*ptr) { unsigned val; switch (ptr[0]) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': val = *ptr - '0'; bits[--idx] = (val&4) ? verinum::V1 : verinum::V0; bits[--idx] = (val&2) ? verinum::V1 : verinum::V0; bits[--idx] = (val&1) ? verinum::V1 : verinum::V0; break; case 'x': case 'X': bits[--idx] = verinum::Vx; bits[--idx] = verinum::Vx; bits[--idx] = verinum::Vx; break; case 'z': case 'Z': case '?': bits[--idx] = verinum::Vz; bits[--idx] = verinum::Vz; bits[--idx] = verinum::Vz; break; case '_': break; default: assert(0); } ptr += 1; } if (gn_strict_expr_width_flag && (based_size == 0)) size = truncate_to_integer_width(bits, size); if (sign_flag && (size < integer_width) && (bits[size-1] == verinum::V1)) bits[size++] = verinum::V0; verinum*out = new verinum(bits, size, false); out->has_sign(sign_flag); delete[]bits; return out; } verinum*make_unsized_hex(const char*txt) { bool sign_flag = false; const char*ptr = txt; assert(*ptr == '\''); ptr += 1; if (tolower(*ptr) == 's') { sign_flag = true; ptr += 1; } assert(tolower(*ptr) == 'h'); ptr += 1; while (*ptr && ((*ptr == ' ') || (*ptr == '\t'))) ptr += 1; unsigned size = 0; for (const char*idx = ptr ; *idx ; idx += 1) if (*idx != '_') size += 4; if (based_size > 0) { int rem = based_size % 4; if (rem != 0) based_size += 4 - rem; if (size > based_size) VLwarn(yylloc, "warning: Extra digits given for sized hex constant."); } // Allocate one extra bit in case we need to zero-extend. verinum::V*bits = new verinum::V[size+1]; unsigned idx = size; while (*ptr) { unsigned val; switch (ptr[0]) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': val = *ptr - '0'; bits[--idx] = (val&8) ? verinum::V1 : verinum::V0; bits[--idx] = (val&4) ? verinum::V1 : verinum::V0; bits[--idx] = (val&2) ? verinum::V1 : verinum::V0; bits[--idx] = (val&1) ? verinum::V1 : verinum::V0; break; case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': val = tolower(*ptr) - 'a' + 10; bits[--idx] = (val&8) ? verinum::V1 : verinum::V0; bits[--idx] = (val&4) ? verinum::V1 : verinum::V0; bits[--idx] = (val&2) ? verinum::V1 : verinum::V0; bits[--idx] = (val&1) ? verinum::V1 : verinum::V0; break; case 'x': case 'X': bits[--idx] = verinum::Vx; bits[--idx] = verinum::Vx; bits[--idx] = verinum::Vx; bits[--idx] = verinum::Vx; break; case 'z': case 'Z': case '?': bits[--idx] = verinum::Vz; bits[--idx] = verinum::Vz; bits[--idx] = verinum::Vz; bits[--idx] = verinum::Vz; break; case '_': break; default: assert(0); } ptr += 1; } if (gn_strict_expr_width_flag && (based_size == 0)) size = truncate_to_integer_width(bits, size); if (sign_flag && (size < integer_width) && (bits[size-1] == verinum::V1)) bits[size++] = verinum::V0; verinum*out = new verinum(bits, size, false); out->has_sign(sign_flag); delete[]bits; return out; } /* Divide the integer given by the string by 2. Return the remainder bit. */ static int dec_buf_div2(char *buf) { int partial; int len = strlen(buf); char *dst_ptr; int pos; partial = 0; pos = 0; /* dst_ptr overwrites buf, but all characters that are overwritten were already used by the reader. */ dst_ptr = buf; while(buf[pos] == '0') ++pos; for(; pos= 2){ *dst_ptr = partial/2 + '0'; partial = partial & 1; ++dst_ptr; } else{ *dst_ptr = '0'; ++dst_ptr; } } // If result of division was zero string, it should remain that way. // Don't eat the last zero... if (dst_ptr == buf){ *dst_ptr = '0'; ++dst_ptr; } *dst_ptr = 0; return partial; } /* Support a single x, z or ? as a decimal constant (from 1364-2005). */ verinum* make_undef_highz_dec(const char* ptr) { bool signed_flag = false; assert(*ptr == '\''); /* The number may have decorations of the form 'sd, possibly with space between the d and the . Also, the 's' is optional, and marks the number as signed. */ ptr += 1; if (tolower(*ptr) == 's') { signed_flag = true; ptr += 1; } assert(tolower(*ptr) == 'd'); ptr += 1; while (*ptr && ((*ptr == ' ') || (*ptr == '\t'))) ptr += 1; /* Process the code. */ verinum::V* bits = new verinum::V[1]; switch (*ptr) { case 'x': case 'X': bits[0] = verinum::Vx; break; case 'z': case 'Z': case '?': bits[0] = verinum::Vz; break; default: assert(0); } ptr += 1; while (*ptr == '_') ptr += 1; assert(*ptr == 0); verinum*out = new verinum(bits, 1, false); out->has_sign(signed_flag); delete[]bits; return out; } /* * Making a decimal number is much easier than the other base numbers * because there are no z or x values to worry about. It is much * harder than other base numbers because the width needed in bits is * hard to calculate. */ verinum*make_unsized_dec(const char*ptr) { char buf[4096]; bool signed_flag = false; unsigned idx; if (ptr[0] == '\'') { /* The number has decorations of the form 'sd, possibly with space between the d and the . Also, the 's' is optional, and marks the number as signed. */ ptr += 1; if (tolower(*ptr) == 's') { signed_flag = true; ptr += 1; } assert(tolower(*ptr) == 'd'); ptr += 1; while (*ptr && ((*ptr == ' ') || (*ptr == '\t'))) ptr += 1; } else { /* ... or an undecorated decimal number is passed it. These numbers are treated as signed decimal. */ assert(isdigit(*ptr)); signed_flag = true; } /* Copy the digits into a buffer that I can use to do in-place decimal divides. */ idx = 0; while ((idx < sizeof buf) && (*ptr != 0)) { if (*ptr == '_') { ptr += 1; continue; } buf[idx++] = *ptr++; } if (idx == sizeof buf) { fprintf(stderr, "Ridiculously long" " decimal constant will be truncated!\n"); idx -= 1; } buf[idx] = 0; unsigned tmp_size = idx * 4 + 1; verinum::V *bits = new verinum::V[tmp_size]; idx = 0; while (idx < tmp_size) { int rem = dec_buf_div2(buf); bits[idx++] = (rem == 1) ? verinum::V1 : verinum::V0; } assert(strcmp(buf, "0") == 0); /* Now calculate the minimum number of bits needed to represent this unsigned number. */ unsigned size = tmp_size; while ((size > 1) && (bits[size-1] == verinum::V0)) size -= 1; /* Now account for the signedness. Don't leave a 1 in the high bit if this is a signed number. */ if (signed_flag && (bits[size-1] == verinum::V1)) { size += 1; assert(size <= tmp_size); } /* Since we never have the real number of bits that a decimal number represents we do not check for extra bits. */ // if (based_size > 0) { } if (gn_strict_expr_width_flag && (based_size == 0)) size = truncate_to_integer_width(bits, size); verinum*res = new verinum(bits, size, false); res->has_sign(signed_flag); delete[]bits; return res; } /* * Convert a string to a scale value ("1" -> 0, "10" -> 1, "100" -> 2). * We have already checked the string is valid. */ static int get_timescale_scale(const char *cp) { /* Skip the 1 digit. */ assert(*cp == '1'); cp += 1; /* Check the number of zeros after the 1. */ int scale = strspn(cp, "0"); assert(scale < 3); cp += scale; assert(*cp == '\0'); return scale; } /* * Convert a scale and a units string to a time unit or precision. * We have already checked the string is valid. */ static int get_timescale_const(int scale, const char *units) { if (strncmp("s", units, 1) == 0) { return scale; } else if (strncmp("ms", units, 2) == 0) { return scale - 3; } else if (strncmp("us", units, 2) == 0) { return scale - 6; } else if (strncmp("ns", units, 2) == 0) { return scale - 9; } else if (strncmp("ps", units, 2) == 0) { return scale - 12; } else if (strncmp("fs", units, 2) == 0) { return scale - 15; } assert(0); return 0; } /* * Process either a pull0 or a pull1. */ static void process_ucdrive(const char*txt) { UCDriveType ucd = UCD_NONE; const char*cp = txt; if (strncmp("pull", cp, 4) != 0) { VLerror(yylloc, "error: pull required for `unconnected_drive " "directive."); return; } cp += 4; if (*cp == '0') ucd = UCD_PULL0; else if (*cp == '1') ucd = UCD_PULL1; else { VLerror(yylloc, "error: `unconnected_drive does not support " "'pull%c'.", *cp); return; } cp += 1; if (*cp != '\0') { VLerror(yylloc, "error: Invalid `unconnected_drive directive " "(extra garbage after pull direction)."); return; } uc_drive = ucd; } int yywrap(void) { return 1; } /* * The line directive matches lines of the form #line "foo" N and * calls this function. Here I parse out the file name and line * number, and change the yylloc to suite. */ static void line_directive() { char *cpr; /* Skip any leading space. */ char *cp = strchr(yytext, '#'); /* Skip the #line directive. */ assert(strncmp(cp, "#line", 5) == 0); cp += 5; /* Skip the space after the #line directive. */ cp += strspn(cp, " \t"); /* Find the starting " and skip it. */ char *fn_start = strchr(cp, '"'); if (cp != fn_start) { VLerror(yylloc, "error: Invalid #line directive (file name start)."); return; } fn_start += 1; /* Find the last ". */ char *fn_end = strrchr(fn_start, '"'); if (!fn_end) { VLerror(yylloc, "error: Invalid #line directive (file name end)."); return; } /* Copy the file name and assign it to yylloc. */ char*buf = new char[fn_end-fn_start+1]; strncpy(buf, fn_start, fn_end-fn_start); buf[fn_end-fn_start] = 0; /* Skip the space after the file name. */ cp = fn_end; cp += 1; cpr = cp; cpr += strspn(cp, " \t"); if (cp == cpr) { VLerror(yylloc, "error: Invalid #line directive (missing space " "after file name)."); delete[] buf; return; } cp = cpr; /* Get the line number and verify that it is correct. */ unsigned long lineno = strtoul(cp, &cpr, 10); if (cp == cpr) { VLerror(yylloc, "error: Invalid line number for #line directive."); delete[] buf; return; } cp = cpr; /* Verify that only space is left. */ cpr += strspn(cp, " \t"); if ((size_t)(cpr-yytext) != strlen(yytext)) { VLerror(yylloc, "error: Invalid #line directive (extra garbage " "after line number)."); delete[] buf; return; } /* Now we can assign the new values to yyloc. */ yylloc.text = set_file_name(buf); yylloc.first_line = lineno; } /* * The line directive matches lines of the form `line N "foo" M and * calls this function. Here I parse out the file name and line * number, and change the yylloc to suite. M is ignored. */ static void line_directive2() { char *cpr; /* Skip any leading space. */ char *cp = strchr(yytext, '`'); /* Skip the `line directive. */ assert(strncmp(cp, "`line", 5) == 0); cp += 5; /* strtol skips leading space. */ long lineno = strtol(cp, &cpr, 10); if (cp == cpr) { VLerror(yylloc, "error: Invalid line number for `line directive."); return; } if (lineno < 1) { VLerror(yylloc, "error: Line number for `line directive most be greater than zero."); return; } cp = cpr; /* Skip the space between the line number and the file name. */ cpr += strspn(cp, " \t"); if (cp == cpr) { VLerror(yylloc, "error: Invalid `line directive (missing space " "after line number)."); return; } cp = cpr; /* Find the starting " and skip it. */ char *fn_start = strchr(cp, '"'); if (cp != fn_start) { VLerror(yylloc, "error: Invalid `line directive (file name start)."); return; } fn_start += 1; /* Find the last ". */ char*fn_end = strrchr(fn_start, '"'); if (!fn_end) { VLerror(yylloc, "error: Invalid `line directive (file name end)."); return; } /* Skip the space after the file name. */ cp = fn_end + 1; cpr = cp; cpr += strspn(cp, " \t"); if (cp == cpr) { VLerror(yylloc, "error: Invalid `line directive (missing space " "after file name)."); return; } cp = cpr; /* Check that the level is correct, we do not need the level. */ if (strspn(cp, "012") != 1) { VLerror(yylloc, "error: Invalid level for `line directive."); return; } cp += 1; /* Verify that only space and/or a single line comment is left. */ cp += strspn(cp, " \t"); if (strncmp(cp, "//", 2) != 0 && (size_t)(cp-yytext) != strlen(yytext)) { VLerror(yylloc, "error: Invalid `line directive (extra garbage " "after level)."); return; } /* Copy the file name and assign it and the line number to yylloc. */ char*buf = new char[fn_end-fn_start+1]; strncpy(buf, fn_start, fn_end-fn_start); buf[fn_end-fn_start] = 0; yylloc.text = set_file_name(buf); yylloc.first_line = lineno-1; } /* * Reset all compiler directives. This will be called when a `resetall * directive is encountered or when a new compilation unit is started. */ static void reset_all() { pform_set_default_nettype(NetNet::WIRE, yylloc.text, yylloc.first_line); in_celldefine = false; uc_drive = UCD_NONE; pform_set_timescale(def_ts_units, def_ts_prec, 0, 0); } extern FILE*vl_input; void reset_lexor() { yyrestart(vl_input); yylloc.first_line = 1; /* Announce the first file name. */ yylloc.text = set_file_name(strdupnew(vl_file.c_str())); if (separate_compilation) { reset_all(); if (!keyword_mask_stack.empty()) { lexor_keyword_mask = keyword_mask_stack.back(); keyword_mask_stack.clear(); } } } /* * 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 }