#line 2 "flex_lexer.cpp" #line 4 "flex_lexer.cpp" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 #define YY_FLEX_SUBMINOR_VERSION 4 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif #ifdef yy_create_buffer #define hsql__create_buffer_ALREADY_DEFINED #else #define yy_create_buffer hsql__create_buffer #endif #ifdef yy_delete_buffer #define hsql__delete_buffer_ALREADY_DEFINED #else #define yy_delete_buffer hsql__delete_buffer #endif #ifdef yy_scan_buffer #define hsql__scan_buffer_ALREADY_DEFINED #else #define yy_scan_buffer hsql__scan_buffer #endif #ifdef yy_scan_string #define hsql__scan_string_ALREADY_DEFINED #else #define yy_scan_string hsql__scan_string #endif #ifdef yy_scan_bytes #define hsql__scan_bytes_ALREADY_DEFINED #else #define yy_scan_bytes hsql__scan_bytes #endif #ifdef yy_init_buffer #define hsql__init_buffer_ALREADY_DEFINED #else #define yy_init_buffer hsql__init_buffer #endif #ifdef yy_flush_buffer #define hsql__flush_buffer_ALREADY_DEFINED #else #define yy_flush_buffer hsql__flush_buffer #endif #ifdef yy_load_buffer_state #define hsql__load_buffer_state_ALREADY_DEFINED #else #define yy_load_buffer_state hsql__load_buffer_state #endif #ifdef yy_switch_to_buffer #define hsql__switch_to_buffer_ALREADY_DEFINED #else #define yy_switch_to_buffer hsql__switch_to_buffer #endif #ifdef yypush_buffer_state #define hsql_push_buffer_state_ALREADY_DEFINED #else #define yypush_buffer_state hsql_push_buffer_state #endif #ifdef yypop_buffer_state #define hsql_pop_buffer_state_ALREADY_DEFINED #else #define yypop_buffer_state hsql_pop_buffer_state #endif #ifdef yyensure_buffer_stack #define hsql_ensure_buffer_stack_ALREADY_DEFINED #else #define yyensure_buffer_stack hsql_ensure_buffer_stack #endif #ifdef yylex #define hsql_lex_ALREADY_DEFINED #else #define yylex hsql_lex #endif #ifdef yyrestart #define hsql_restart_ALREADY_DEFINED #else #define yyrestart hsql_restart #endif #ifdef yylex_init #define hsql_lex_init_ALREADY_DEFINED #else #define yylex_init hsql_lex_init #endif #ifdef yylex_init_extra #define hsql_lex_init_extra_ALREADY_DEFINED #else #define yylex_init_extra hsql_lex_init_extra #endif #ifdef yylex_destroy #define hsql_lex_destroy_ALREADY_DEFINED #else #define yylex_destroy hsql_lex_destroy #endif #ifdef yyget_debug #define hsql_get_debug_ALREADY_DEFINED #else #define yyget_debug hsql_get_debug #endif #ifdef yyset_debug #define hsql_set_debug_ALREADY_DEFINED #else #define yyset_debug hsql_set_debug #endif #ifdef yyget_extra #define hsql_get_extra_ALREADY_DEFINED #else #define yyget_extra hsql_get_extra #endif #ifdef yyset_extra #define hsql_set_extra_ALREADY_DEFINED #else #define yyset_extra hsql_set_extra #endif #ifdef yyget_in #define hsql_get_in_ALREADY_DEFINED #else #define yyget_in hsql_get_in #endif #ifdef yyset_in #define hsql_set_in_ALREADY_DEFINED #else #define yyset_in hsql_set_in #endif #ifdef yyget_out #define hsql_get_out_ALREADY_DEFINED #else #define yyget_out hsql_get_out #endif #ifdef yyset_out #define hsql_set_out_ALREADY_DEFINED #else #define yyset_out hsql_set_out #endif #ifdef yyget_leng #define hsql_get_leng_ALREADY_DEFINED #else #define yyget_leng hsql_get_leng #endif #ifdef yyget_text #define hsql_get_text_ALREADY_DEFINED #else #define yyget_text hsql_get_text #endif #ifdef yyget_lineno #define hsql_get_lineno_ALREADY_DEFINED #else #define yyget_lineno hsql_get_lineno #endif #ifdef yyset_lineno #define hsql_set_lineno_ALREADY_DEFINED #else #define yyset_lineno hsql_set_lineno #endif #ifdef yyget_column #define hsql_get_column_ALREADY_DEFINED #else #define yyget_column hsql_get_column #endif #ifdef yyset_column #define hsql_set_column_ALREADY_DEFINED #else #define yyset_column hsql_set_column #endif #ifdef yywrap #define hsql_wrap_ALREADY_DEFINED #else #define yywrap hsql_wrap #endif #ifdef yyget_lval #define hsql_get_lval_ALREADY_DEFINED #else #define yyget_lval hsql_get_lval #endif #ifdef yyset_lval #define hsql_set_lval_ALREADY_DEFINED #else #define yyset_lval hsql_set_lval #endif #ifdef yyget_lloc #define hsql_get_lloc_ALREADY_DEFINED #else #define yyget_lloc hsql_get_lloc #endif #ifdef yyset_lloc #define hsql_set_lloc_ALREADY_DEFINED #else #define yyset_lloc hsql_set_lloc #endif #ifdef yyalloc #define hsql_alloc_ALREADY_DEFINED #else #define yyalloc hsql_alloc #endif #ifdef yyrealloc #define hsql_realloc_ALREADY_DEFINED #else #define yyrealloc hsql_realloc #endif #ifdef yyfree #define hsql_free_ALREADY_DEFINED #else #define yyfree hsql_free #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)) /* An opaque pointer. */ #ifndef YY_TYPEDEF_YY_SCANNER_T #define YY_TYPEDEF_YY_SCANNER_T typedef void* yyscan_t; #endif /* For convenience, these vars (plus the bison vars far below) are macros in the reentrant scanner. */ #define yyin yyg->yyin_r #define yyout yyg->yyout_r #define yyextra yyg->yyextra_r #define yyleng yyg->yyleng_r #define yytext yyg->yytext_r #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) #define yy_flex_debug yyg->yy_flex_debug_r /* 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 yyg->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 ((yyg->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 , yyscanner ) #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 #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 = yyg->yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yyg->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, yyg->yytext_ptr , yyscanner ) #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 */ /* 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 ( yyg->yy_buffer_stack \ ? yyg->yy_buffer_stack[yyg->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 yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] void yyrestart ( FILE *input_file , yyscan_t yyscanner ); void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner ); void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); void yypop_buffer_state ( yyscan_t yyscanner ); static void yyensure_buffer_stack ( yyscan_t yyscanner ); static void yy_load_buffer_state ( yyscan_t yyscanner ); static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file , yyscan_t yyscanner ); #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER , yyscanner) YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner ); YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner ); YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner ); void *yyalloc ( yy_size_t , yyscan_t yyscanner ); void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner ); void yyfree ( void * , yyscan_t yyscanner ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ yyensure_buffer_stack (yyscanner); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ yyensure_buffer_stack (yyscanner); \ YY_CURRENT_BUFFER_LVALUE = \ yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ #define hsql_wrap(yyscanner) (/*CONSTCOND*/1) #define YY_SKIP_YYWRAP typedef flex_uint8_t YY_CHAR; typedef int yy_state_type; #define yytext_ptr yytext_r static yy_state_type yy_get_previous_state ( yyscan_t yyscanner ); static yy_state_type yy_try_NUL_trans ( yy_state_type current_state , yyscan_t yyscanner); static int yy_get_next_buffer ( yyscan_t yyscanner ); static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ yyg->yytext_ptr = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ yyg->yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yyg->yy_c_buf_p = yy_cp; #define YY_NUM_RULES 152 #define YY_END_OF_BUFFER 153 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static const flex_int16_t yy_accept[1026] = { 0, 0, 0, 149, 149, 2, 2, 153, 151, 4, 4, 151, 151, 141, 147, 141, 141, 144, 141, 141, 141, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 141, 149, 150, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 136, 0, 1, 144, 143, 142, 138, 137, 135, 139, 146, 146, 146, 146, 146, 146, 118, 146, 119, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 120, 146, 146, 121, 122, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 123, 124, 125, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 126, 146, 146, 146, 146, 146, 146, 146, 146, 146, 140, 149, 148, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 145, 142, 104, 146, 105, 146, 146, 106, 146, 107, 146, 146, 146, 146, 146, 146, 146, 146, 146, 108, 146, 130, 146, 146, 146, 146, 146, 146, 146, 146, 146, 109, 146, 146, 146, 146, 146, 146, 146, 146, 146, 110, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 111, 146, 146, 112, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 113, 146, 146, 114, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 115, 146, 146, 146, 146, 116, 146, 146, 146, 146, 117, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 146, 146, 146, 146, 146, 146, 76, 146, 77, 78, 146, 146, 146, 146, 79, 146, 146, 146, 146, 80, 146, 146, 146, 81, 82, 146, 146, 146, 146, 146, 146, 146, 83, 146, 84, 85, 146, 146, 86, 146, 87, 146, 129, 146, 146, 146, 146, 146, 146, 88, 146, 89, 90, 91, 146, 93, 146, 94, 146, 146, 146, 146, 95, 146, 146, 146, 146, 146, 96, 146, 146, 146, 146, 146, 146, 146, 146, 97, 146, 146, 146, 146, 98, 99, 100, 133, 146, 146, 146, 146, 146, 146, 146, 146, 101, 146, 102, 146, 103, 132, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 56, 57, 146, 58, 146, 146, 146, 146, 146, 146, 59, 146, 146, 146, 60, 146, 146, 146, 146, 146, 146, 146, 146, 146, 134, 61, 146, 62, 146, 146, 92, 146, 63, 64, 146, 146, 146, 146, 65, 66, 67, 68, 146, 131, 146, 146, 146, 69, 70, 146, 146, 146, 146, 146, 71, 146, 146, 146, 146, 146, 72, 146, 146, 146, 73, 146, 146, 146, 74, 146, 146, 146, 75, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 146, 31, 146, 146, 32, 146, 33, 146, 146, 34, 35, 146, 36, 37, 38, 146, 39, 146, 146, 41, 42, 146, 43, 44, 146, 146, 45, 128, 146, 146, 46, 146, 146, 146, 47, 146, 48, 127, 49, 50, 146, 51, 146, 146, 146, 52, 53, 54, 55, 146, 146, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 14, 15, 16, 17, 18, 146, 19, 146, 20, 21, 40, 22, 23, 146, 24, 146, 146, 25, 26, 146, 27, 28, 146, 146, 146, 29, 30, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 146, 10, 146, 11, 146, 12, 146, 146, 13, 2, 2, 2, 2, 2, 2, 2, 2, 2, 146, 7, 146, 8, 9, 2, 2, 2, 2, 2, 5, 6, 2, 2, 0 } ; static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 5, 1, 1, 6, 1, 7, 6, 6, 6, 6, 6, 8, 9, 6, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 6, 6, 11, 12, 13, 6, 1, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 6, 1, 6, 6, 40, 1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 6, 67, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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[68] = { 0, 1, 1, 2, 1, 3, 1, 4, 1, 1, 5, 1, 1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1 } ; static const flex_int16_t yy_base[1033] = { 0, 0, 0, 470, 466, 67, 0, 470, 4074, 133, 135, 428, 0, 4074, 4074, 131, 400, 133, 132, 387, 357, 129, 129, 137, 135, 145, 196, 176, 184, 217, 124, 141, 201, 213, 238, 255, 250, 0, 243, 269, 312, 251, 191, 273, 144, 291, 0, 342, 0, 200, 212, 332, 315, 0, 0, 212, 296, 207, 247, 291, 284, 370, 437, 491, 543, 591, 643, 355, 301, 691, 300, 266, 366, 429, 743, 791, 438, 367, 442, 841, 893, 479, 537, 450, 388, 210, 333, 4074, 262, 4074, 338, 245, 237, 4074, 4074, 4074, 4074, 0, 147, 178, 365, 445, 195, 316, 481, 0, 371, 323, 491, 492, 306, 488, 544, 360, 374, 381, 395, 417, 442, 544, 440, 441, 473, 482, 497, 539, 539, 540, 548, 579, 536, 0, 550, 576, 631, 585, 591, 576, 596, 593, 608, 589, 598, 599, 594, 626, 635, 652, 648, 0, 652, 637, 641, 659, 658, 679, 658, 691, 699, 685, 683, 705, 705, 696, 723, 707, 700, 698, 694, 740, 714, 741, 739, 748, 749, 735, 755, 4074, 0, 4074, 0, 349, 0, 203, 0, 353, 190, 161, 0, 0, 0, 0, 762, 795, 781, 830, 806, 835, 860, 894, 793, 884, 912, 937, 836, 928, 927, 989, 966, 961, 991, 929, 995, 999, 1049, 1025, 1034, 1055, 1031, 1057, 1063, 1079, 1085, 1100, 1109, 1108, 854, 1111, 1119, 1168, 1134, 1133, 1066, 1171, 1197, 1216, 1149, 1193, 1222, 1159, 1208, 1226, 1251, 1237, 1207, 1262, 1266, 1267, 1272, 1296, 1297, 1283, 1301, 1322, 1325, 1326, 1340, 1354, 1350, 1371, 1341, 1375, 1365, 1380, 1404, 1394, 1405, 1426, 1429, 1428, 1430, 1444, 0, 4074, 145, 0, 756, 0, 757, 778, 0, 801, 0, 788, 798, 842, 1002, 846, 849, 884, 942, 937, 0, 960, 0, 976, 1039, 1148, 1100, 1165, 1158, 1187, 1210, 1275, 0, 1295, 1305, 1357, 1345, 1382, 1421, 1429, 1447, 1458, 0, 1450, 1452, 1465, 1447, 1462, 1464, 1463, 1464, 1467, 1476, 1473, 1484, 1487, 1488, 1493, 1478, 1487, 0, 1482, 1498, 1495, 1501, 1505, 1500, 1502, 1492, 1497, 1497, 0, 1509, 1504, 1504, 1519, 1522, 1536, 1524, 1523, 1528, 1541, 1523, 1538, 1542, 1537, 1548, 0, 1532, 1536, 1537, 1546, 0, 1543, 1540, 1547, 1557, 0, 1558, 1560, 1552, 1570, 1562, 1557, 1578, 1568, 1572, 1579, 1587, 1578, 0, 140, 1596, 1601, 1602, 1604, 1605, 1606, 1634, 1620, 1635, 1638, 1659, 1644, 1650, 1660, 1674, 1688, 1678, 1675, 1700, 1704, 1710, 1713, 1714, 1728, 1712, 1723, 1749, 1752, 1754, 1758, 1766, 1764, 1782, 1783, 1788, 1806, 1798, 1767, 1820, 1817, 1828, 1831, 1852, 1834, 1866, 1870, 1868, 1885, 1871, 1902, 1894, 1860, 1862, 1903, 1906, 1920, 1919, 1924, 1937, 1934, 1938, 1960, 1972, 1973, 1974, 1962, 1991, 1988, 1970, 2016, 2012, 2010, 2014, 2022, 2044, 2045, 2055, 2060, 2074, 2058, 2076, 2084, 2088, 2089, 2090, 2112, 2099, 2113, 2122, 2118, 2143, 2147, 2144, 2148, 2152, 2173, 2176, 2177, 2202, 2192, 2210, 2207, 2218, 2231, 2235, 2240, 2256, 1596, 1597, 1621, 1626, 1705, 1777, 0, 1804, 0, 0, 1824, 1943, 2011, 2015, 0, 2117, 2118, 2143, 2188, 0, 2208, 2237, 2240, 0, 0, 2239, 2241, 2243, 2246, 2268, 2270, 2272, 0, 2265, 0, 0, 2285, 2273, 0, 2276, 0, 2279, 0, 2290, 2279, 2275, 2282, 2284, 2296, 0, 2293, 0, 0, 0, 2286, 0, 2295, 0, 2304, 2291, 2307, 2300, 0, 2316, 2315, 2305, 2307, 2315, 0, 2330, 2334, 2326, 2322, 2323, 2331, 2334, 2346, 0, 2346, 2344, 2349, 2341, 0, 0, 2338, 0, 2356, 2346, 2340, 2362, 2344, 2358, 2363, 2361, 0, 2351, 0, 2368, 0, 0, 2380, 2384, 2369, 2372, 2388, 2398, 2402, 2410, 2412, 2414, 2436, 2438, 2440, 2448, 2423, 2446, 2472, 2454, 2490, 2464, 2500, 2502, 2514, 2477, 2503, 2531, 2532, 2540, 2553, 2566, 2576, 2508, 2518, 2577, 2544, 2554, 2588, 2594, 2582, 2598, 2590, 2606, 2620, 2622, 2631, 2636, 2639, 2648, 2660, 2630, 2665, 2654, 2664, 2670, 2693, 2676, 2698, 2694, 2702, 2716, 2724, 2706, 2728, 2739, 2742, 2747, 2752, 2768, 2750, 2782, 2784, 2773, 2801, 2798, 2816, 2810, 2834, 2806, 2822, 2835, 2838, 2850, 2844, 2847, 2872, 2856, 2875, 2884, 2889, 2910, 2908, 2924, 2898, 2938, 2907, 2940, 2939, 2942, 2943, 2952, 0, 0, 2431, 0, 2509, 2512, 2586, 2725, 2746, 2785, 0, 2780, 2789, 2852, 0, 2873, 2881, 2921, 2946, 2932, 2934, 2947, 2960, 2977, 0, 0, 2970, 0, 2976, 2967, 0, 2966, 0, 0, 2967, 2984, 2978, 2986, 0, 0, 0, 0, 2994, 0, 2999, 2993, 2982, 0, 0, 2998, 2987, 2988, 3003, 3002, 0, 3014, 3013, 2998, 3015, 3019, 3002, 3004, 3003, 3030, 0, 3029, 3032, 3032, 0, 3020, 3039, 3040, 0, 3046, 3047, 3048, 3050, 3051, 3052, 3065, 3080, 3101, 3082, 3083, 3104, 3106, 3088, 3105, 3119, 3136, 3117, 3122, 3147, 3150, 3159, 3171, 3160, 3168, 3176, 3201, 3184, 3210, 3209, 3193, 3199, 3205, 3224, 3227, 3233, 3245, 3243, 3255, 3258, 3261, 3264, 3267, 3273, 3283, 3295, 3289, 3297, 3299, 3301, 3327, 3332, 3323, 3329, 3335, 3338, 3364, 3351, 3369, 3377, 3387, 3386, 3388, 3409, 3392, 3417, 3421, 3418, 3422, 3440, 3450, 3455, 3452, 3049, 0, 3045, 3057, 3046, 3147, 0, 3157, 3175, 0, 0, 3314, 0, 0, 0, 3353, 0, 3366, 3368, 0, 0, 3411, 0, 0, 3440, 3457, 0, 0, 3452, 3465, 0, 3447, 3463, 3446, 0, 3473, 3460, 0, 0, 0, 3469, 0, 3487, 3489, 3476, 0, 0, 0, 0, 3479, 3487, 3495, 3496, 3500, 3504, 3514, 3506, 3505, 3537, 3529, 3538, 3539, 3548, 3550, 3554, 3560, 3563, 3569, 3579, 3578, 3582, 3591, 3592, 3594, 3603, 3604, 3608, 3613, 3622, 3627, 3636, 3637, 3652, 3646, 3648, 3658, 3682, 3676, 3671, 3677, 3681, 3706, 3692, 3714, 3715, 3716, 3700, 3725, 3730, 3744, 3746, 3748, 0, 0, 0, 0, 0, 3549, 0, 3628, 0, 0, 0, 0, 0, 3664, 0, 3709, 3751, 0, 0, 3739, 0, 0, 3743, 3752, 3765, 0, 0, 3769, 3770, 3774, 3779, 3780, 3788, 3785, 3798, 3802, 3803, 3804, 3814, 3819, 3838, 3828, 3844, 3833, 3842, 3847, 3868, 3852, 3870, 3873, 3896, 3878, 3881, 3882, 3795, 0, 3861, 0, 3874, 0, 3872, 3895, 0, 3907, 3912, 3921, 3918, 3924, 3926, 3930, 3947, 3935, 3942, 0, 3938, 0, 0, 3956, 3960, 3961, 3966, 3970, 0, 0, 3972, 3978, 4074, 4043, 4048, 135, 4053, 4058, 4063, 4068 } ; static const flex_int16_t yy_def[1033] = { 0, 1025, 1, 1026, 1026, 1025, 5, 1025, 1025, 1025, 1025, 1025, 1027, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1029, 1025, 1030, 1030, 1025, 1030, 1031, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1032, 1032, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1030, 1025, 1025, 1027, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1025, 1029, 1025, 1030, 1030, 1030, 1031, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 1030, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1030, 1025, 1025, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1030, 1030, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 62, 62, 62, 62, 62, 62, 62, 62, 62, 1028, 1028, 1028, 1028, 1028, 62, 62, 62, 62, 62, 1028, 1028, 62, 62, 0, 1025, 1025, 1025, 1025, 1025, 1025, 1025 } ; static const flex_int16_t yy_nxt[4142] = { 0, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 37, 44, 37, 8, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 37, 44, 37, 45, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 77, 84, 77, 48, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 77, 84, 77, 85, 86, 86, 86, 86, 89, 97, 90, 92, 90, 93, 94, 98, 104, 99, 111, 383, 106, 136, 112, 100, 274, 101, 113, 107, 137, 102, 103, 176, 114, 275, 108, 115, 105, 109, 110, 116, 383, 117, 98, 104, 99, 111, 118, 106, 136, 112, 100, 119, 101, 113, 107, 137, 102, 103, 176, 114, 275, 108, 115, 105, 109, 110, 116, 128, 117, 186, 126, 181, 86, 118, 172, 129, 127, 382, 119, 120, 276, 130, 173, 86, 86, 187, 185, 121, 138, 184, 122, 185, 139, 123, 128, 281, 124, 126, 140, 125, 141, 172, 129, 127, 142, 131, 120, 276, 130, 173, 143, 132, 133, 134, 121, 138, 274, 122, 135, 139, 123, 144, 281, 124, 91, 140, 125, 141, 188, 189, 155, 142, 131, 152, 156, 145, 273, 143, 132, 133, 134, 146, 147, 148, 153, 135, 272, 169, 144, 170, 154, 149, 171, 232, 157, 150, 158, 155, 151, 159, 152, 156, 145, 174, 175, 191, 160, 161, 146, 147, 148, 153, 190, 192, 169, 186, 170, 154, 149, 171, 232, 157, 150, 158, 223, 151, 159, 192, 192, 180, 174, 175, 224, 160, 161, 162, 163, 231, 225, 164, 192, 282, 165, 166, 86, 86, 287, 192, 192, 167, 292, 223, 168, 182, 192, 192, 92, 90, 179, 224, 181, 86, 162, 163, 231, 225, 164, 177, 282, 165, 166, 187, 185, 287, 192, 192, 167, 292, 96, 168, 180, 180, 192, 180, 180, 180, 180, 180, 180, 221, 180, 180, 180, 233, 192, 222, 193, 234, 194, 277, 299, 300, 192, 235, 195, 285, 196, 278, 95, 192, 197, 198, 286, 192, 192, 271, 221, 301, 302, 91, 233, 192, 222, 193, 234, 194, 277, 299, 300, 192, 235, 195, 285, 196, 278, 192, 303, 197, 198, 286, 192, 192, 271, 304, 301, 302, 180, 180, 180, 87, 180, 180, 180, 180, 180, 180, 236, 180, 180, 180, 237, 247, 192, 303, 199, 192, 238, 305, 279, 250, 304, 280, 248, 251, 311, 312, 192, 192, 249, 1025, 269, 270, 47, 236, 200, 192, 47, 237, 247, 192, 1025, 199, 192, 238, 305, 279, 250, 192, 280, 248, 251, 311, 312, 192, 192, 249, 192, 269, 270, 283, 313, 200, 192, 180, 201, 264, 192, 265, 192, 290, 266, 202, 314, 284, 192, 288, 192, 289, 203, 291, 293, 204, 205, 192, 315, 294, 283, 313, 192, 1025, 1025, 201, 264, 1025, 265, 192, 290, 266, 202, 314, 284, 1025, 288, 192, 289, 203, 291, 293, 204, 205, 267, 315, 294, 1025, 192, 192, 206, 295, 268, 306, 207, 307, 296, 316, 208, 308, 317, 318, 297, 323, 209, 324, 309, 210, 192, 298, 310, 267, 1025, 319, 192, 192, 320, 206, 295, 268, 306, 207, 307, 296, 316, 208, 308, 317, 318, 297, 323, 209, 324, 309, 210, 192, 298, 310, 325, 321, 319, 192, 192, 320, 322, 330, 331, 332, 333, 211, 334, 212, 335, 339, 1025, 336, 213, 337, 340, 341, 342, 214, 192, 1025, 1025, 325, 321, 1025, 338, 192, 1025, 322, 330, 331, 332, 333, 211, 334, 212, 335, 339, 326, 336, 213, 337, 340, 341, 342, 214, 192, 215, 327, 343, 344, 192, 338, 328, 329, 216, 345, 346, 217, 347, 348, 218, 349, 350, 219, 326, 351, 220, 355, 1025, 352, 192, 1025, 1025, 215, 327, 343, 344, 192, 1025, 328, 329, 216, 345, 346, 217, 347, 348, 218, 349, 350, 219, 1025, 351, 220, 355, 353, 352, 192, 192, 226, 354, 356, 360, 361, 357, 227, 228, 229, 362, 363, 364, 1025, 230, 358, 367, 368, 369, 370, 192, 1025, 373, 359, 353, 1025, 1025, 192, 226, 354, 356, 360, 361, 357, 227, 228, 229, 362, 363, 364, 365, 230, 358, 367, 368, 369, 370, 192, 239, 373, 359, 366, 192, 371, 374, 375, 372, 377, 379, 380, 381, 376, 240, 1025, 1025, 491, 492, 365, 241, 242, 378, 192, 192, 1025, 1025, 239, 1025, 1025, 366, 192, 371, 374, 375, 372, 377, 379, 380, 381, 376, 240, 192, 192, 491, 492, 493, 241, 242, 378, 192, 192, 192, 243, 192, 384, 192, 385, 494, 495, 1025, 244, 192, 388, 1025, 245, 389, 192, 246, 192, 192, 1025, 192, 493, 192, 1025, 192, 496, 1025, 192, 243, 192, 384, 192, 385, 494, 495, 192, 244, 192, 388, 192, 245, 389, 192, 246, 192, 399, 386, 192, 252, 192, 253, 192, 496, 254, 387, 400, 1025, 390, 497, 192, 255, 256, 192, 192, 192, 192, 192, 391, 500, 192, 192, 192, 399, 386, 501, 252, 1025, 253, 1025, 1025, 254, 387, 400, 192, 390, 497, 192, 255, 256, 192, 192, 192, 192, 192, 391, 500, 192, 192, 257, 258, 394, 501, 259, 192, 392, 260, 261, 395, 502, 1025, 192, 1025, 262, 192, 1025, 263, 192, 396, 393, 1025, 192, 192, 192, 192, 1025, 257, 258, 394, 1025, 259, 192, 392, 260, 261, 395, 502, 192, 192, 192, 262, 192, 192, 263, 1025, 396, 393, 192, 503, 192, 192, 192, 402, 412, 397, 401, 398, 403, 192, 192, 1025, 504, 1025, 1025, 192, 192, 192, 192, 1025, 192, 505, 192, 1025, 1025, 192, 503, 192, 1025, 1025, 402, 412, 397, 401, 398, 403, 192, 192, 410, 504, 408, 409, 192, 1025, 506, 192, 404, 192, 505, 192, 192, 405, 192, 1025, 192, 413, 192, 406, 414, 1025, 192, 498, 411, 499, 407, 410, 1025, 408, 409, 192, 192, 506, 192, 404, 192, 1025, 192, 192, 405, 192, 192, 1025, 413, 192, 406, 414, 192, 192, 498, 411, 499, 407, 192, 420, 1025, 192, 507, 192, 1025, 192, 1025, 1025, 421, 192, 1025, 423, 192, 192, 415, 1025, 416, 1025, 192, 192, 417, 192, 192, 1025, 192, 192, 420, 418, 192, 507, 192, 419, 422, 192, 424, 421, 192, 425, 423, 192, 1025, 415, 192, 416, 192, 192, 192, 417, 192, 192, 192, 192, 192, 441, 418, 1025, 426, 192, 419, 422, 192, 424, 427, 192, 425, 510, 192, 192, 1025, 192, 1025, 192, 192, 192, 1025, 192, 192, 192, 192, 192, 441, 428, 433, 426, 429, 430, 192, 192, 1025, 427, 431, 432, 510, 192, 192, 192, 192, 434, 192, 192, 192, 192, 192, 192, 440, 192, 192, 1025, 428, 433, 439, 429, 430, 192, 192, 508, 192, 431, 432, 1025, 192, 192, 192, 192, 434, 192, 192, 192, 192, 448, 509, 440, 511, 192, 435, 192, 192, 439, 192, 442, 512, 451, 508, 192, 436, 1025, 192, 192, 192, 437, 438, 513, 1025, 192, 1025, 192, 448, 509, 192, 511, 192, 435, 192, 192, 192, 192, 442, 512, 451, 449, 443, 436, 444, 192, 192, 192, 437, 438, 513, 445, 192, 446, 192, 192, 192, 192, 1025, 192, 514, 192, 452, 192, 447, 192, 192, 192, 449, 443, 450, 444, 453, 192, 192, 192, 192, 455, 445, 192, 446, 192, 192, 192, 1025, 192, 454, 514, 192, 452, 192, 447, 192, 192, 192, 1025, 192, 450, 1025, 453, 456, 192, 192, 192, 455, 192, 192, 459, 192, 1025, 192, 192, 192, 454, 515, 1025, 1025, 192, 1025, 458, 457, 192, 192, 192, 464, 192, 192, 456, 192, 1025, 516, 192, 192, 192, 459, 460, 192, 192, 192, 461, 192, 515, 192, 465, 517, 462, 458, 457, 192, 192, 463, 464, 192, 192, 1025, 192, 192, 516, 192, 466, 192, 192, 460, 192, 192, 192, 461, 192, 467, 192, 465, 517, 462, 1025, 469, 471, 468, 463, 470, 192, 476, 192, 192, 192, 192, 192, 466, 192, 192, 192, 472, 192, 192, 192, 518, 467, 473, 1025, 519, 192, 192, 469, 471, 468, 192, 470, 192, 476, 192, 192, 192, 192, 192, 192, 192, 478, 192, 472, 474, 192, 192, 518, 477, 473, 192, 519, 192, 192, 520, 475, 192, 192, 482, 192, 192, 479, 192, 192, 1025, 192, 192, 192, 478, 192, 192, 474, 192, 480, 483, 477, 481, 192, 1025, 192, 1025, 520, 475, 192, 1025, 482, 192, 192, 479, 192, 192, 192, 192, 488, 486, 192, 192, 192, 484, 521, 480, 483, 1025, 481, 485, 490, 192, 487, 522, 192, 489, 192, 523, 192, 192, 192, 192, 192, 192, 524, 488, 486, 192, 525, 526, 484, 521, 527, 528, 192, 529, 485, 490, 530, 487, 522, 192, 489, 192, 523, 192, 192, 192, 531, 532, 533, 524, 534, 535, 536, 525, 526, 537, 538, 527, 528, 192, 529, 539, 541, 530, 542, 543, 544, 545, 546, 547, 548, 540, 549, 531, 532, 533, 550, 534, 535, 536, 551, 552, 537, 538, 553, 554, 555, 556, 539, 541, 557, 542, 543, 544, 545, 546, 547, 548, 540, 549, 558, 559, 560, 550, 561, 562, 563, 551, 552, 564, 565, 553, 554, 555, 556, 566, 567, 557, 568, 569, 570, 571, 572, 573, 574, 575, 576, 558, 559, 560, 580, 561, 562, 563, 581, 577, 564, 565, 578, 582, 579, 583, 566, 567, 584, 568, 569, 570, 571, 572, 573, 574, 575, 576, 585, 586, 587, 580, 589, 590, 588, 581, 577, 1025, 192, 578, 582, 579, 583, 591, 192, 584, 592, 192, 192, 1025, 1025, 691, 692, 1025, 593, 585, 586, 587, 192, 589, 590, 588, 192, 192, 192, 192, 192, 192, 192, 1025, 591, 192, 594, 592, 192, 192, 192, 192, 691, 692, 192, 593, 192, 693, 598, 192, 599, 595, 694, 192, 192, 192, 192, 192, 192, 192, 192, 192, 596, 594, 192, 192, 192, 192, 192, 600, 192, 192, 597, 192, 693, 598, 192, 599, 595, 694, 192, 192, 601, 192, 192, 192, 192, 192, 192, 596, 603, 192, 192, 192, 192, 602, 600, 192, 604, 597, 192, 192, 1025, 192, 192, 1025, 605, 192, 192, 601, 192, 192, 192, 192, 192, 607, 192, 603, 611, 192, 608, 192, 602, 606, 695, 604, 192, 192, 192, 192, 192, 192, 610, 605, 192, 609, 192, 192, 192, 192, 192, 192, 607, 192, 612, 611, 192, 608, 1025, 192, 606, 695, 613, 192, 192, 192, 192, 192, 192, 610, 615, 192, 609, 192, 192, 192, 192, 192, 616, 614, 617, 612, 192, 623, 1025, 192, 192, 1025, 192, 613, 192, 192, 192, 696, 192, 192, 618, 615, 192, 192, 192, 192, 192, 192, 192, 616, 614, 617, 1025, 192, 623, 620, 192, 619, 192, 192, 697, 192, 192, 192, 696, 192, 192, 618, 192, 192, 192, 192, 622, 192, 192, 192, 624, 192, 192, 621, 192, 1025, 620, 1025, 619, 192, 192, 697, 192, 192, 192, 192, 698, 192, 192, 192, 625, 192, 626, 622, 192, 1025, 1025, 624, 192, 192, 621, 192, 192, 627, 628, 192, 192, 192, 192, 192, 1025, 1025, 192, 698, 636, 192, 637, 625, 192, 626, 192, 192, 192, 629, 192, 192, 192, 1025, 630, 192, 627, 628, 192, 192, 192, 192, 192, 631, 633, 192, 192, 636, 192, 637, 192, 192, 1025, 192, 192, 192, 629, 192, 192, 192, 632, 630, 192, 638, 635, 192, 639, 192, 634, 192, 631, 633, 192, 192, 192, 192, 640, 192, 192, 192, 192, 192, 192, 192, 192, 1025, 192, 632, 642, 192, 638, 635, 192, 639, 644, 634, 641, 192, 192, 192, 192, 192, 645, 640, 192, 1025, 192, 192, 1025, 192, 192, 192, 643, 192, 192, 642, 699, 192, 192, 646, 192, 644, 192, 641, 192, 192, 192, 192, 647, 645, 192, 192, 192, 192, 192, 648, 649, 1025, 650, 643, 192, 192, 192, 699, 192, 192, 646, 192, 192, 192, 192, 192, 192, 192, 192, 647, 1025, 192, 1025, 192, 192, 192, 648, 649, 652, 650, 651, 192, 192, 192, 192, 192, 192, 1025, 656, 192, 192, 192, 192, 192, 192, 192, 657, 653, 655, 654, 700, 1025, 1025, 701, 192, 652, 192, 651, 192, 192, 192, 192, 192, 192, 658, 656, 192, 192, 192, 192, 1025, 1025, 1025, 657, 653, 655, 654, 700, 659, 192, 701, 192, 192, 192, 192, 192, 1025, 192, 192, 192, 660, 658, 661, 192, 662, 192, 192, 663, 192, 192, 192, 1025, 192, 664, 192, 659, 192, 1025, 665, 192, 1025, 192, 192, 667, 192, 192, 192, 660, 192, 661, 192, 662, 666, 192, 663, 192, 192, 192, 192, 192, 664, 192, 192, 192, 192, 665, 192, 192, 669, 192, 667, 192, 192, 192, 1025, 192, 192, 192, 702, 666, 192, 1025, 670, 671, 668, 192, 192, 192, 703, 192, 192, 192, 192, 192, 192, 669, 192, 192, 192, 192, 192, 192, 675, 192, 1025, 702, 192, 674, 672, 670, 671, 668, 704, 192, 192, 703, 673, 192, 192, 192, 1025, 192, 192, 192, 192, 192, 192, 676, 192, 675, 192, 192, 1025, 192, 674, 672, 677, 1025, 705, 704, 678, 680, 679, 673, 192, 192, 192, 192, 192, 192, 192, 192, 681, 192, 676, 682, 192, 192, 192, 684, 706, 192, 1025, 677, 192, 705, 192, 678, 680, 679, 1025, 1025, 192, 192, 192, 1025, 192, 192, 192, 681, 683, 192, 682, 192, 192, 192, 684, 706, 192, 192, 685, 192, 192, 192, 192, 707, 1025, 689, 687, 192, 686, 708, 688, 192, 709, 192, 710, 683, 192, 192, 192, 192, 192, 711, 192, 712, 192, 685, 713, 192, 714, 192, 707, 690, 689, 687, 715, 686, 708, 688, 192, 709, 192, 710, 716, 717, 192, 192, 718, 719, 711, 192, 712, 720, 721, 713, 722, 714, 723, 724, 690, 725, 726, 715, 728, 729, 730, 192, 731, 732, 733, 716, 717, 727, 734, 718, 719, 735, 736, 737, 720, 721, 738, 722, 739, 723, 724, 740, 725, 726, 741, 728, 729, 730, 742, 731, 732, 733, 743, 744, 727, 734, 745, 746, 735, 736, 737, 747, 748, 738, 749, 739, 750, 751, 740, 752, 753, 741, 754, 755, 756, 742, 757, 758, 759, 743, 744, 760, 761, 745, 746, 762, 763, 192, 747, 748, 192, 749, 1025, 750, 751, 1025, 752, 753, 192, 754, 755, 756, 192, 757, 758, 759, 192, 766, 760, 761, 767, 764, 762, 763, 192, 765, 769, 192, 192, 768, 192, 1025, 192, 1025, 770, 192, 192, 1025, 192, 192, 192, 1025, 192, 192, 766, 1025, 192, 767, 764, 1025, 192, 192, 765, 769, 1025, 192, 768, 192, 192, 192, 192, 770, 192, 192, 192, 192, 192, 192, 192, 192, 1025, 192, 771, 192, 192, 1025, 192, 192, 192, 772, 837, 775, 192, 773, 192, 192, 192, 192, 192, 192, 774, 192, 192, 192, 192, 192, 192, 777, 192, 771, 192, 192, 192, 192, 1025, 192, 772, 837, 775, 192, 773, 192, 192, 192, 778, 192, 776, 774, 192, 192, 192, 192, 1025, 192, 777, 192, 779, 192, 192, 192, 192, 192, 192, 1025, 780, 1025, 788, 838, 192, 192, 839, 778, 192, 776, 1025, 192, 192, 192, 192, 781, 192, 192, 192, 779, 1025, 192, 192, 192, 192, 192, 192, 780, 192, 788, 838, 192, 192, 839, 192, 192, 782, 783, 192, 192, 1025, 192, 781, 192, 192, 192, 192, 192, 192, 192, 784, 1025, 192, 192, 192, 192, 786, 1025, 192, 192, 192, 192, 785, 782, 783, 192, 787, 192, 192, 1025, 192, 192, 192, 192, 192, 192, 192, 784, 790, 840, 192, 192, 192, 786, 192, 192, 789, 192, 192, 785, 192, 192, 192, 787, 192, 192, 192, 192, 192, 791, 192, 792, 192, 192, 192, 790, 840, 192, 192, 192, 793, 192, 192, 789, 192, 192, 794, 192, 192, 192, 192, 1025, 1025, 192, 192, 192, 791, 192, 792, 192, 192, 192, 1025, 192, 192, 192, 192, 793, 795, 192, 1025, 192, 192, 794, 192, 192, 797, 192, 192, 796, 192, 192, 192, 192, 192, 798, 799, 192, 192, 192, 192, 192, 192, 192, 192, 795, 801, 800, 192, 192, 192, 192, 192, 797, 192, 192, 796, 192, 192, 192, 192, 192, 798, 799, 192, 192, 192, 192, 192, 192, 192, 192, 192, 801, 800, 192, 804, 192, 1025, 803, 192, 192, 802, 1025, 1025, 192, 192, 192, 192, 1025, 192, 192, 192, 808, 192, 192, 192, 192, 192, 192, 192, 807, 192, 804, 805, 806, 803, 192, 841, 802, 192, 809, 1025, 192, 192, 192, 810, 192, 192, 192, 808, 192, 192, 192, 192, 192, 192, 192, 807, 192, 842, 805, 806, 192, 811, 841, 192, 192, 809, 812, 192, 192, 192, 810, 192, 192, 192, 192, 192, 192, 813, 192, 814, 192, 815, 816, 192, 842, 192, 843, 192, 811, 192, 192, 844, 1025, 812, 192, 192, 192, 845, 192, 192, 192, 192, 192, 192, 813, 192, 814, 192, 815, 816, 192, 192, 192, 843, 818, 817, 192, 192, 844, 192, 820, 192, 192, 822, 845, 819, 192, 192, 1025, 192, 192, 192, 192, 821, 192, 192, 192, 192, 192, 824, 823, 818, 817, 192, 192, 192, 192, 820, 192, 192, 822, 192, 819, 846, 192, 192, 192, 192, 192, 192, 821, 825, 192, 192, 192, 192, 824, 823, 192, 1025, 192, 192, 192, 192, 827, 192, 192, 192, 192, 1025, 846, 1025, 192, 192, 192, 192, 192, 826, 825, 847, 192, 848, 192, 192, 828, 192, 192, 1025, 192, 833, 192, 827, 1025, 192, 192, 192, 829, 830, 192, 192, 192, 192, 192, 1025, 826, 1025, 847, 192, 848, 192, 192, 828, 849, 192, 831, 192, 833, 832, 192, 192, 1025, 192, 192, 829, 830, 192, 192, 192, 192, 192, 192, 192, 834, 836, 192, 192, 192, 850, 851, 849, 852, 831, 192, 192, 832, 192, 192, 835, 192, 192, 192, 192, 853, 192, 192, 854, 192, 192, 192, 834, 836, 192, 192, 192, 850, 851, 855, 852, 856, 857, 192, 858, 859, 860, 835, 861, 192, 192, 192, 853, 192, 192, 854, 862, 863, 864, 865, 866, 867, 868, 192, 869, 870, 855, 871, 856, 857, 872, 858, 859, 860, 873, 861, 874, 875, 876, 877, 878, 879, 880, 862, 863, 864, 865, 866, 867, 868, 881, 869, 870, 882, 871, 883, 884, 872, 885, 886, 887, 873, 1025, 874, 875, 876, 877, 878, 879, 880, 192, 192, 192, 939, 192, 889, 890, 881, 940, 1025, 882, 941, 883, 884, 942, 885, 886, 887, 891, 192, 192, 192, 192, 888, 192, 192, 192, 192, 192, 192, 939, 192, 889, 890, 192, 940, 894, 192, 941, 192, 1025, 942, 897, 892, 1025, 891, 192, 192, 192, 192, 888, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 894, 192, 893, 192, 896, 895, 897, 892, 900, 1025, 192, 1025, 192, 901, 1025, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 898, 192, 192, 192, 893, 192, 896, 895, 192, 1025, 900, 899, 192, 192, 192, 901, 192, 192, 192, 192, 943, 944, 192, 1025, 906, 192, 192, 898, 902, 192, 192, 903, 192, 192, 192, 192, 192, 192, 899, 904, 192, 905, 192, 192, 1025, 192, 192, 943, 944, 192, 192, 906, 192, 192, 192, 902, 945, 192, 903, 192, 192, 192, 192, 192, 192, 192, 904, 192, 905, 192, 192, 192, 192, 192, 907, 192, 192, 192, 908, 192, 910, 192, 1025, 945, 192, 192, 192, 192, 909, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 912, 1025, 907, 192, 192, 1025, 908, 192, 910, 911, 192, 192, 192, 192, 192, 192, 909, 914, 192, 192, 192, 192, 192, 192, 192, 192, 913, 912, 192, 1025, 192, 192, 192, 1025, 915, 1025, 911, 192, 192, 192, 192, 192, 192, 1025, 914, 192, 916, 192, 192, 192, 192, 192, 192, 913, 192, 192, 192, 192, 192, 192, 192, 915, 192, 1025, 192, 917, 192, 192, 919, 192, 192, 918, 192, 916, 1025, 192, 192, 192, 192, 946, 1025, 192, 192, 192, 192, 1025, 192, 192, 192, 192, 922, 192, 917, 192, 192, 919, 192, 192, 918, 192, 923, 924, 192, 192, 1025, 192, 946, 920, 1025, 192, 192, 192, 921, 192, 192, 192, 192, 922, 192, 192, 947, 192, 192, 192, 1025, 192, 192, 923, 924, 192, 925, 192, 192, 926, 920, 927, 192, 192, 192, 921, 928, 192, 948, 192, 192, 192, 192, 947, 1025, 192, 949, 192, 192, 192, 192, 192, 192, 925, 192, 192, 926, 1025, 927, 192, 192, 192, 930, 928, 929, 948, 931, 192, 932, 192, 192, 192, 192, 949, 192, 192, 192, 192, 192, 192, 933, 935, 192, 934, 192, 192, 1025, 192, 1025, 930, 1025, 929, 192, 931, 950, 932, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 1025, 933, 935, 937, 934, 192, 192, 192, 938, 192, 951, 936, 192, 192, 952, 950, 953, 192, 954, 955, 956, 192, 192, 957, 192, 192, 192, 192, 958, 192, 937, 959, 192, 960, 192, 938, 192, 951, 936, 192, 961, 952, 962, 953, 192, 954, 955, 956, 963, 964, 957, 965, 966, 192, 192, 958, 192, 192, 959, 192, 960, 968, 192, 192, 1025, 1025, 967, 961, 1025, 962, 970, 192, 192, 192, 1025, 963, 964, 192, 965, 966, 192, 192, 192, 192, 192, 969, 192, 1025, 968, 192, 192, 192, 971, 967, 192, 192, 192, 970, 192, 192, 192, 972, 993, 973, 192, 192, 192, 192, 192, 192, 192, 192, 969, 192, 192, 192, 192, 192, 192, 971, 974, 192, 192, 192, 1025, 192, 192, 192, 972, 993, 973, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 975, 192, 974, 192, 192, 976, 192, 192, 192, 192, 192, 192, 1025, 192, 192, 192, 192, 192, 192, 192, 979, 192, 192, 192, 977, 192, 192, 975, 192, 978, 192, 192, 976, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 981, 192, 980, 979, 192, 192, 192, 977, 192, 192, 192, 994, 978, 1025, 983, 192, 192, 192, 192, 192, 192, 1025, 192, 192, 192, 192, 192, 981, 192, 980, 995, 192, 192, 1025, 192, 982, 984, 192, 994, 192, 192, 983, 192, 192, 192, 192, 192, 192, 985, 192, 192, 192, 192, 192, 1025, 1025, 1025, 995, 986, 192, 192, 192, 982, 984, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 985, 192, 192, 988, 989, 192, 987, 192, 192, 192, 986, 192, 192, 192, 1025, 996, 192, 192, 192, 192, 192, 192, 192, 192, 990, 1025, 192, 192, 192, 192, 988, 989, 192, 987, 192, 192, 192, 192, 192, 192, 192, 192, 996, 192, 997, 192, 192, 998, 992, 999, 192, 990, 991, 1000, 192, 192, 192, 192, 1001, 192, 1025, 192, 192, 192, 192, 192, 192, 192, 192, 1025, 192, 997, 192, 192, 998, 992, 999, 1002, 192, 991, 1000, 192, 192, 192, 192, 1001, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 1025, 1011, 1002, 192, 1003, 192, 192, 192, 192, 192, 192, 1025, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 1006, 192, 192, 1004, 1011, 192, 192, 1003, 192, 192, 1025, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 1025, 192, 1025, 1005, 192, 1025, 1006, 192, 192, 1004, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 1012, 1025, 1010, 192, 192, 192, 192, 1007, 1005, 192, 1008, 1013, 192, 192, 192, 192, 1014, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 1012, 1009, 1010, 1015, 192, 192, 192, 1007, 1025, 192, 1008, 1013, 192, 192, 192, 192, 1014, 192, 192, 1016, 192, 192, 192, 192, 192, 192, 192, 192, 1009, 192, 1015, 192, 192, 1017, 1018, 192, 192, 1025, 192, 1021, 192, 192, 192, 192, 192, 192, 1016, 1019, 192, 1022, 192, 192, 192, 1023, 192, 1020, 192, 192, 192, 192, 1017, 1018, 192, 192, 192, 192, 1021, 192, 192, 192, 192, 192, 1024, 192, 1019, 192, 1022, 192, 192, 192, 1023, 1025, 1020, 192, 192, 192, 1025, 192, 1025, 192, 192, 192, 1025, 1025, 192, 192, 192, 1025, 1025, 1024, 192, 1025, 192, 1025, 192, 192, 1025, 1025, 1025, 1025, 192, 1025, 1025, 1025, 192, 1025, 192, 1025, 1025, 1025, 1025, 1025, 192, 46, 46, 46, 46, 46, 88, 1025, 1025, 88, 88, 178, 178, 178, 1025, 178, 180, 1025, 180, 180, 180, 183, 1025, 183, 183, 183, 192, 1025, 192, 192, 192, 7, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025 } ; static const flex_int16_t yy_chk[4142] = { 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, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 9, 9, 10, 10, 15, 1028, 15, 17, 17, 18, 18, 21, 22, 21, 24, 383, 23, 30, 24, 21, 274, 21, 24, 23, 31, 21, 21, 44, 24, 98, 23, 24, 22, 23, 23, 25, 187, 25, 21, 22, 21, 24, 25, 23, 30, 24, 21, 25, 21, 24, 23, 31, 21, 21, 44, 24, 98, 23, 24, 22, 23, 23, 25, 28, 25, 186, 27, 49, 49, 25, 42, 28, 27, 183, 25, 26, 99, 28, 42, 50, 50, 57, 57, 26, 32, 55, 26, 55, 32, 26, 28, 102, 26, 27, 32, 26, 33, 42, 28, 27, 33, 29, 26, 99, 28, 42, 33, 29, 29, 29, 26, 32, 92, 26, 29, 32, 26, 34, 102, 26, 91, 32, 26, 33, 58, 58, 38, 33, 29, 36, 38, 34, 88, 33, 29, 29, 29, 34, 34, 35, 36, 29, 85, 41, 34, 41, 36, 35, 41, 71, 39, 35, 39, 38, 35, 39, 36, 38, 34, 43, 43, 60, 39, 39, 34, 34, 35, 36, 59, 71, 41, 56, 41, 36, 35, 41, 71, 39, 35, 39, 68, 35, 39, 70, 68, 52, 43, 43, 68, 39, 39, 40, 40, 70, 68, 40, 71, 103, 40, 40, 86, 86, 107, 70, 68, 40, 110, 68, 40, 51, 70, 68, 90, 90, 47, 68, 181, 181, 40, 40, 70, 68, 40, 45, 103, 40, 40, 185, 185, 107, 70, 68, 40, 110, 20, 40, 61, 61, 67, 61, 61, 61, 61, 61, 61, 67, 61, 61, 61, 72, 77, 67, 61, 72, 61, 100, 113, 113, 67, 72, 61, 106, 61, 100, 19, 67, 61, 61, 106, 72, 77, 84, 67, 114, 115, 16, 72, 77, 67, 61, 72, 61, 100, 113, 113, 67, 72, 61, 106, 61, 100, 84, 116, 61, 61, 106, 72, 77, 84, 117, 114, 115, 61, 62, 62, 11, 62, 62, 62, 62, 62, 62, 73, 62, 62, 62, 73, 76, 84, 116, 62, 76, 73, 118, 101, 78, 117, 101, 76, 78, 120, 121, 73, 83, 76, 7, 83, 83, 4, 73, 62, 76, 3, 73, 76, 78, 0, 62, 76, 73, 118, 101, 78, 83, 101, 76, 78, 120, 121, 73, 83, 76, 81, 83, 83, 104, 122, 62, 76, 62, 63, 81, 78, 81, 63, 109, 81, 63, 123, 104, 83, 108, 81, 108, 63, 109, 111, 63, 63, 81, 124, 111, 104, 122, 63, 0, 0, 63, 81, 0, 81, 63, 109, 81, 63, 123, 104, 0, 108, 81, 108, 63, 109, 111, 63, 63, 82, 124, 111, 0, 82, 63, 64, 112, 82, 119, 64, 119, 112, 125, 64, 119, 126, 127, 112, 130, 64, 132, 119, 64, 82, 112, 119, 82, 0, 128, 64, 82, 128, 64, 112, 82, 119, 64, 119, 112, 125, 64, 119, 126, 127, 112, 130, 64, 132, 119, 64, 82, 112, 119, 133, 129, 128, 64, 65, 128, 129, 135, 136, 137, 138, 65, 139, 65, 139, 141, 0, 140, 65, 140, 142, 143, 144, 65, 65, 0, 0, 133, 129, 0, 140, 65, 0, 129, 135, 136, 137, 138, 65, 139, 65, 139, 141, 134, 140, 65, 140, 142, 143, 144, 65, 65, 66, 134, 145, 146, 66, 140, 134, 134, 66, 147, 148, 66, 150, 151, 66, 152, 153, 66, 134, 154, 66, 156, 0, 154, 66, 0, 0, 66, 134, 145, 146, 66, 0, 134, 134, 66, 147, 148, 66, 150, 151, 66, 152, 153, 66, 0, 154, 66, 156, 155, 154, 66, 69, 69, 155, 157, 159, 160, 158, 69, 69, 69, 161, 162, 163, 0, 69, 158, 165, 166, 167, 168, 69, 0, 170, 158, 155, 0, 0, 69, 69, 155, 157, 159, 160, 158, 69, 69, 69, 161, 162, 163, 164, 69, 158, 165, 166, 167, 168, 69, 74, 170, 158, 164, 74, 169, 171, 172, 169, 173, 174, 175, 176, 172, 74, 0, 0, 276, 278, 164, 74, 74, 173, 192, 74, 0, 0, 74, 0, 0, 164, 74, 169, 171, 172, 169, 173, 174, 175, 176, 172, 74, 194, 192, 276, 278, 279, 74, 74, 173, 192, 74, 75, 75, 200, 193, 193, 194, 281, 283, 0, 75, 194, 196, 0, 75, 196, 196, 75, 194, 192, 0, 75, 279, 200, 0, 193, 284, 0, 75, 75, 200, 193, 193, 194, 281, 283, 196, 75, 194, 196, 195, 75, 196, 196, 75, 197, 204, 195, 75, 79, 200, 79, 193, 284, 79, 195, 204, 0, 197, 285, 195, 79, 79, 196, 226, 197, 204, 195, 198, 287, 198, 79, 197, 204, 195, 288, 79, 0, 79, 0, 0, 79, 195, 204, 226, 197, 285, 195, 79, 79, 198, 226, 197, 204, 201, 198, 287, 198, 79, 80, 80, 201, 288, 80, 199, 199, 80, 80, 201, 289, 0, 226, 0, 80, 201, 0, 80, 198, 202, 199, 0, 201, 202, 80, 199, 0, 80, 80, 201, 0, 80, 199, 199, 80, 80, 201, 289, 206, 205, 211, 80, 201, 202, 80, 0, 202, 199, 203, 290, 202, 80, 199, 206, 211, 203, 205, 203, 206, 205, 211, 0, 291, 0, 0, 206, 205, 211, 203, 0, 202, 293, 209, 0, 0, 203, 290, 208, 0, 0, 206, 211, 203, 205, 203, 206, 205, 211, 209, 291, 208, 208, 209, 0, 295, 203, 207, 208, 293, 209, 207, 207, 210, 0, 208, 212, 212, 207, 213, 0, 213, 286, 210, 286, 207, 209, 0, 208, 208, 209, 207, 295, 210, 207, 208, 0, 212, 207, 207, 210, 213, 0, 212, 212, 207, 213, 215, 213, 286, 210, 286, 207, 218, 215, 0, 216, 296, 207, 0, 210, 0, 0, 216, 212, 0, 218, 215, 213, 214, 0, 214, 0, 218, 215, 214, 216, 217, 0, 219, 218, 215, 214, 216, 296, 220, 214, 217, 232, 219, 216, 214, 220, 218, 215, 0, 214, 217, 214, 219, 218, 221, 214, 216, 217, 220, 219, 222, 232, 214, 0, 221, 220, 214, 217, 232, 219, 222, 214, 220, 298, 221, 223, 0, 217, 0, 219, 222, 221, 0, 225, 224, 220, 227, 222, 232, 223, 227, 221, 223, 224, 228, 223, 0, 222, 224, 225, 298, 221, 223, 225, 224, 228, 227, 222, 231, 230, 225, 224, 231, 227, 228, 0, 223, 227, 230, 223, 224, 228, 223, 297, 236, 224, 225, 0, 231, 230, 225, 224, 228, 227, 239, 231, 230, 236, 297, 231, 299, 228, 229, 229, 236, 230, 233, 233, 300, 239, 297, 236, 229, 0, 239, 231, 230, 229, 229, 301, 0, 239, 0, 229, 236, 297, 233, 299, 237, 229, 229, 236, 234, 233, 233, 300, 239, 237, 234, 229, 234, 239, 244, 240, 229, 229, 301, 235, 237, 235, 229, 235, 234, 233, 0, 237, 302, 238, 240, 234, 235, 241, 244, 240, 237, 234, 238, 234, 241, 244, 240, 235, 243, 243, 235, 237, 235, 238, 235, 234, 0, 241, 242, 302, 238, 240, 242, 235, 241, 244, 240, 0, 243, 238, 0, 241, 245, 245, 235, 243, 243, 246, 247, 248, 238, 0, 242, 248, 241, 242, 303, 0, 0, 242, 0, 247, 246, 245, 251, 243, 251, 246, 247, 245, 245, 0, 305, 248, 246, 247, 248, 249, 250, 242, 248, 249, 252, 303, 251, 252, 306, 250, 247, 246, 245, 251, 250, 251, 246, 247, 0, 249, 250, 305, 248, 253, 252, 253, 249, 250, 254, 255, 249, 252, 253, 251, 252, 306, 250, 0, 254, 256, 253, 250, 255, 256, 260, 253, 249, 250, 254, 255, 253, 252, 253, 258, 257, 254, 255, 257, 307, 253, 258, 0, 308, 256, 260, 254, 256, 253, 262, 255, 256, 260, 253, 258, 259, 254, 255, 257, 261, 262, 258, 257, 259, 263, 257, 307, 261, 258, 262, 308, 256, 260, 309, 259, 259, 262, 265, 265, 261, 263, 258, 259, 0, 263, 257, 261, 262, 264, 266, 259, 263, 264, 266, 261, 264, 262, 0, 265, 0, 309, 259, 259, 0, 265, 265, 261, 263, 264, 266, 267, 263, 269, 268, 270, 264, 266, 267, 310, 264, 266, 0, 264, 267, 271, 265, 268, 311, 271, 270, 267, 312, 269, 268, 270, 264, 266, 267, 313, 269, 268, 270, 315, 316, 267, 310, 317, 318, 271, 319, 267, 271, 320, 268, 311, 271, 270, 267, 312, 269, 268, 270, 321, 322, 323, 313, 324, 325, 326, 315, 316, 327, 328, 317, 318, 271, 319, 329, 330, 320, 331, 333, 334, 335, 336, 337, 338, 329, 339, 321, 322, 323, 340, 324, 325, 326, 341, 342, 327, 328, 344, 345, 346, 347, 329, 330, 348, 331, 333, 334, 335, 336, 337, 338, 329, 339, 349, 350, 351, 340, 352, 353, 354, 341, 342, 355, 356, 344, 345, 346, 347, 357, 358, 348, 360, 361, 362, 363, 365, 366, 367, 368, 370, 349, 350, 351, 372, 352, 353, 354, 373, 370, 355, 356, 371, 374, 371, 375, 357, 358, 376, 360, 361, 362, 363, 365, 366, 367, 368, 370, 377, 378, 379, 372, 380, 381, 379, 373, 370, 0, 384, 371, 374, 371, 375, 385, 386, 376, 387, 388, 389, 0, 0, 491, 492, 0, 388, 377, 378, 379, 384, 380, 381, 379, 391, 385, 386, 384, 387, 388, 389, 0, 385, 386, 390, 387, 388, 389, 390, 392, 491, 492, 393, 388, 391, 493, 395, 384, 395, 392, 494, 391, 385, 386, 396, 387, 388, 389, 390, 392, 393, 390, 393, 394, 397, 390, 392, 396, 395, 393, 394, 391, 493, 395, 396, 395, 392, 494, 398, 401, 397, 396, 400, 394, 397, 390, 392, 393, 399, 393, 394, 397, 399, 398, 396, 395, 400, 394, 398, 401, 0, 396, 400, 0, 402, 398, 401, 397, 403, 400, 394, 397, 399, 405, 404, 399, 408, 405, 406, 399, 398, 404, 495, 400, 402, 398, 401, 409, 403, 400, 407, 402, 407, 406, 404, 403, 408, 405, 406, 399, 405, 404, 409, 408, 405, 406, 0, 409, 404, 495, 410, 402, 407, 410, 409, 403, 411, 407, 412, 407, 406, 404, 413, 408, 405, 406, 414, 411, 415, 409, 414, 421, 0, 410, 409, 0, 411, 410, 412, 407, 410, 496, 413, 411, 416, 412, 416, 417, 415, 413, 414, 421, 418, 414, 411, 415, 0, 414, 421, 418, 410, 417, 420, 411, 498, 412, 416, 417, 496, 413, 419, 416, 418, 416, 417, 415, 420, 414, 421, 418, 422, 423, 420, 419, 422, 0, 418, 0, 417, 420, 419, 498, 424, 416, 417, 425, 501, 419, 427, 418, 424, 423, 425, 420, 422, 0, 0, 422, 423, 420, 419, 422, 424, 426, 427, 425, 426, 419, 427, 424, 0, 0, 425, 501, 435, 427, 436, 424, 423, 425, 428, 422, 430, 428, 429, 432, 426, 0, 429, 424, 426, 427, 425, 426, 435, 427, 436, 430, 432, 431, 428, 435, 430, 436, 429, 432, 0, 428, 434, 430, 428, 429, 432, 426, 431, 429, 433, 437, 434, 431, 438, 435, 433, 436, 430, 432, 431, 428, 434, 430, 438, 429, 432, 440, 439, 434, 433, 437, 441, 0, 438, 431, 440, 433, 437, 434, 431, 438, 443, 433, 439, 442, 444, 440, 439, 434, 444, 438, 441, 0, 440, 439, 0, 433, 437, 441, 442, 438, 443, 440, 502, 442, 444, 445, 445, 443, 449, 439, 442, 444, 440, 439, 446, 444, 452, 441, 446, 447, 448, 447, 448, 0, 449, 442, 445, 443, 449, 502, 442, 444, 445, 445, 451, 449, 452, 450, 446, 447, 448, 446, 0, 452, 0, 446, 447, 448, 447, 448, 451, 449, 450, 445, 451, 449, 455, 450, 454, 0, 456, 451, 453, 452, 450, 446, 447, 448, 457, 453, 455, 454, 503, 0, 0, 504, 455, 451, 454, 450, 456, 451, 453, 455, 450, 454, 458, 456, 457, 453, 458, 459, 0, 0, 0, 457, 453, 455, 454, 503, 459, 460, 504, 455, 463, 454, 461, 456, 0, 453, 458, 459, 460, 458, 461, 457, 462, 458, 459, 463, 462, 460, 464, 0, 463, 464, 461, 459, 460, 0, 465, 463, 0, 461, 466, 467, 468, 458, 459, 460, 462, 461, 464, 462, 466, 470, 463, 462, 460, 464, 465, 463, 464, 461, 466, 467, 468, 465, 469, 471, 470, 466, 467, 468, 473, 470, 0, 462, 472, 464, 506, 466, 470, 0, 471, 472, 469, 465, 469, 471, 507, 466, 467, 468, 473, 469, 471, 470, 472, 474, 476, 473, 470, 475, 477, 472, 0, 506, 478, 476, 474, 471, 472, 469, 508, 469, 471, 507, 475, 474, 476, 473, 0, 475, 477, 472, 474, 476, 478, 479, 475, 477, 480, 481, 0, 478, 476, 474, 479, 0, 509, 508, 480, 481, 480, 475, 474, 476, 483, 479, 475, 477, 480, 481, 482, 478, 479, 483, 482, 480, 481, 485, 511, 485, 0, 479, 484, 509, 483, 480, 481, 480, 0, 0, 486, 483, 479, 0, 482, 480, 481, 482, 484, 485, 483, 482, 484, 487, 485, 511, 485, 488, 486, 484, 486, 483, 489, 512, 0, 489, 488, 486, 487, 513, 488, 482, 516, 487, 517, 484, 485, 488, 490, 484, 487, 518, 489, 519, 488, 486, 520, 486, 521, 489, 512, 490, 489, 488, 522, 487, 513, 488, 490, 516, 487, 517, 524, 527, 488, 490, 528, 530, 518, 489, 519, 532, 534, 520, 535, 521, 536, 537, 490, 538, 539, 522, 541, 545, 547, 490, 549, 550, 550, 524, 527, 539, 551, 528, 530, 552, 554, 555, 532, 534, 556, 535, 557, 536, 537, 558, 538, 539, 560, 541, 545, 547, 561, 549, 550, 550, 562, 563, 539, 551, 564, 565, 552, 554, 555, 566, 567, 556, 569, 557, 570, 571, 558, 572, 575, 560, 577, 578, 579, 561, 580, 581, 582, 562, 563, 583, 584, 564, 565, 586, 588, 593, 566, 567, 594, 569, 0, 570, 571, 0, 572, 575, 591, 577, 578, 579, 592, 580, 581, 582, 595, 593, 583, 584, 594, 591, 586, 588, 593, 592, 596, 594, 591, 595, 597, 0, 592, 0, 598, 591, 595, 0, 598, 592, 599, 0, 600, 595, 593, 0, 596, 594, 591, 0, 597, 605, 592, 596, 0, 591, 595, 597, 598, 592, 599, 598, 600, 595, 601, 598, 602, 599, 603, 600, 0, 605, 601, 596, 606, 0, 604, 597, 605, 602, 693, 606, 608, 603, 601, 598, 602, 599, 603, 600, 604, 601, 610, 602, 606, 603, 604, 608, 605, 601, 607, 606, 608, 604, 0, 614, 602, 693, 606, 608, 603, 601, 610, 602, 609, 603, 607, 604, 609, 610, 607, 606, 0, 604, 608, 614, 611, 607, 611, 608, 612, 615, 614, 0, 612, 0, 622, 695, 609, 610, 696, 609, 613, 607, 0, 609, 623, 607, 611, 613, 612, 615, 614, 611, 0, 611, 622, 612, 615, 616, 617, 612, 613, 622, 695, 609, 623, 696, 618, 613, 616, 617, 625, 623, 0, 611, 613, 612, 615, 616, 617, 619, 626, 622, 618, 0, 616, 617, 618, 613, 620, 0, 625, 623, 620, 618, 619, 616, 617, 625, 621, 619, 626, 0, 621, 624, 616, 617, 619, 626, 629, 618, 627, 697, 620, 618, 627, 620, 631, 625, 624, 620, 628, 619, 621, 624, 630, 621, 619, 626, 629, 621, 624, 628, 632, 630, 627, 629, 631, 627, 697, 620, 628, 627, 632, 631, 630, 624, 633, 628, 634, 621, 624, 630, 632, 0, 0, 629, 640, 635, 628, 632, 630, 627, 636, 631, 0, 637, 633, 628, 634, 632, 635, 630, 0, 633, 638, 634, 640, 635, 637, 632, 642, 636, 636, 640, 635, 637, 639, 638, 639, 636, 643, 641, 637, 633, 638, 634, 644, 635, 641, 639, 642, 638, 646, 640, 635, 637, 639, 642, 636, 636, 643, 641, 637, 639, 638, 639, 644, 643, 641, 645, 648, 638, 646, 644, 647, 641, 639, 642, 649, 646, 0, 647, 652, 639, 645, 0, 0, 643, 641, 645, 648, 0, 650, 644, 647, 652, 645, 648, 649, 646, 651, 647, 652, 651, 653, 649, 650, 650, 647, 652, 698, 645, 650, 654, 0, 654, 645, 648, 655, 650, 651, 647, 652, 656, 653, 649, 659, 651, 657, 652, 651, 653, 699, 650, 650, 654, 656, 698, 655, 650, 654, 657, 654, 656, 658, 655, 659, 651, 657, 662, 656, 653, 658, 659, 660, 657, 661, 662, 660, 699, 661, 700, 654, 656, 658, 655, 702, 0, 657, 662, 656, 658, 703, 659, 664, 657, 662, 663, 660, 658, 661, 660, 668, 661, 662, 660, 666, 661, 700, 664, 663, 658, 665, 702, 664, 666, 662, 663, 669, 703, 665, 664, 668, 0, 663, 660, 666, 661, 667, 668, 667, 670, 665, 666, 671, 670, 664, 663, 669, 665, 673, 664, 666, 674, 663, 669, 672, 665, 704, 668, 667, 670, 676, 666, 671, 667, 672, 667, 670, 665, 673, 671, 670, 674, 0, 669, 672, 673, 675, 677, 674, 677, 676, 672, 0, 704, 0, 667, 670, 676, 678, 671, 675, 672, 706, 679, 707, 673, 675, 678, 674, 677, 0, 672, 683, 675, 677, 0, 677, 676, 678, 679, 680, 685, 681, 679, 680, 678, 0, 675, 0, 706, 679, 707, 683, 675, 678, 708, 677, 681, 682, 683, 682, 685, 681, 0, 680, 678, 679, 680, 685, 681, 679, 680, 684, 687, 686, 684, 688, 689, 682, 683, 709, 710, 708, 711, 681, 682, 690, 682, 685, 681, 686, 680, 684, 687, 686, 712, 688, 689, 713, 684, 687, 686, 684, 688, 689, 682, 690, 709, 710, 714, 711, 717, 719, 690, 720, 722, 725, 686, 726, 684, 687, 686, 712, 688, 689, 713, 727, 728, 733, 735, 736, 737, 740, 690, 741, 742, 714, 743, 717, 719, 744, 720, 722, 725, 746, 726, 747, 748, 749, 750, 751, 752, 753, 727, 728, 733, 735, 736, 737, 740, 754, 741, 742, 756, 743, 757, 758, 744, 760, 761, 762, 746, 0, 747, 748, 749, 750, 751, 752, 753, 764, 765, 766, 837, 767, 768, 769, 754, 839, 0, 756, 840, 757, 758, 841, 760, 761, 762, 770, 770, 764, 765, 766, 766, 767, 768, 769, 764, 765, 766, 837, 767, 768, 769, 771, 839, 773, 774, 840, 770, 0, 841, 777, 771, 0, 770, 770, 764, 765, 766, 766, 767, 768, 769, 771, 772, 773, 774, 775, 778, 776, 771, 777, 773, 774, 772, 770, 776, 775, 777, 771, 781, 0, 779, 0, 772, 782, 0, 775, 778, 776, 771, 772, 773, 774, 775, 778, 776, 779, 777, 780, 781, 772, 779, 776, 775, 782, 0, 781, 780, 779, 783, 772, 782, 784, 775, 778, 776, 842, 844, 780, 0, 787, 785, 787, 779, 783, 780, 781, 784, 779, 783, 788, 782, 784, 786, 780, 785, 783, 786, 789, 784, 0, 785, 787, 842, 844, 780, 791, 787, 785, 787, 788, 783, 845, 786, 784, 794, 783, 788, 789, 784, 786, 795, 785, 790, 786, 789, 791, 796, 785, 787, 790, 793, 792, 791, 792, 794, 795, 788, 0, 845, 786, 795, 794, 790, 793, 789, 797, 796, 795, 798, 790, 793, 792, 791, 796, 799, 0, 790, 793, 792, 0, 792, 794, 795, 798, 801, 797, 800, 795, 798, 790, 793, 801, 797, 796, 799, 798, 802, 793, 792, 803, 800, 799, 804, 0, 801, 805, 800, 0, 806, 0, 798, 801, 797, 800, 807, 798, 802, 0, 801, 803, 808, 799, 804, 802, 808, 805, 803, 800, 806, 804, 810, 801, 805, 800, 807, 806, 809, 0, 811, 809, 812, 807, 813, 802, 808, 810, 803, 808, 0, 804, 810, 808, 805, 848, 0, 806, 809, 810, 811, 0, 812, 807, 813, 809, 816, 811, 809, 812, 814, 813, 817, 808, 810, 815, 817, 819, 818, 810, 0, 819, 848, 814, 0, 809, 816, 811, 815, 812, 814, 813, 817, 816, 821, 815, 852, 814, 818, 817, 0, 819, 815, 817, 819, 818, 820, 820, 819, 821, 814, 822, 822, 816, 821, 815, 823, 814, 854, 817, 823, 821, 815, 852, 0, 818, 855, 820, 819, 825, 824, 826, 822, 820, 820, 828, 821, 0, 822, 822, 823, 821, 825, 823, 824, 854, 826, 823, 827, 825, 824, 826, 827, 855, 820, 828, 825, 824, 826, 822, 829, 831, 828, 830, 830, 832, 0, 823, 0, 825, 0, 824, 827, 826, 858, 827, 825, 824, 826, 827, 829, 831, 828, 833, 830, 832, 0, 829, 831, 834, 830, 830, 832, 834, 835, 836, 861, 833, 835, 827, 862, 858, 865, 833, 866, 868, 869, 829, 831, 870, 833, 830, 832, 834, 872, 836, 834, 873, 835, 877, 834, 835, 836, 861, 833, 835, 879, 862, 880, 865, 833, 866, 868, 869, 881, 886, 870, 887, 888, 889, 834, 872, 836, 890, 873, 835, 877, 891, 894, 893, 0, 0, 890, 879, 0, 880, 893, 892, 888, 889, 0, 881, 886, 890, 887, 888, 889, 891, 894, 893, 890, 892, 896, 0, 891, 894, 893, 892, 895, 890, 895, 897, 898, 893, 892, 888, 889, 896, 944, 899, 890, 899, 896, 900, 891, 894, 893, 901, 892, 896, 895, 897, 898, 902, 892, 895, 903, 895, 897, 898, 0, 899, 904, 900, 896, 944, 899, 901, 899, 896, 900, 906, 905, 902, 901, 907, 903, 895, 897, 898, 902, 905, 904, 903, 908, 909, 906, 910, 899, 904, 900, 906, 905, 0, 901, 907, 911, 912, 906, 905, 902, 913, 907, 903, 908, 909, 914, 910, 905, 904, 912, 908, 909, 906, 910, 915, 911, 912, 906, 905, 916, 913, 907, 911, 912, 917, 914, 916, 913, 917, 918, 908, 909, 914, 910, 915, 946, 912, 0, 920, 916, 921, 915, 911, 912, 919, 0, 916, 913, 917, 918, 922, 917, 914, 916, 952, 917, 918, 0, 920, 919, 921, 915, 946, 925, 919, 920, 916, 921, 924, 926, 922, 919, 923, 927, 923, 917, 918, 922, 0, 0, 0, 952, 924, 925, 929, 920, 919, 921, 924, 926, 925, 919, 933, 927, 923, 924, 926, 922, 928, 923, 927, 923, 930, 931, 929, 928, 930, 931, 932, 924, 925, 929, 933, 0, 954, 924, 926, 934, 928, 933, 927, 923, 935, 932, 0, 928, 930, 931, 932, 930, 931, 929, 928, 930, 931, 932, 936, 934, 937, 933, 938, 954, 935, 955, 934, 928, 958, 938, 961, 935, 932, 937, 962, 930, 931, 932, 936, 963, 937, 0, 938, 966, 967, 936, 934, 937, 968, 938, 0, 935, 955, 969, 970, 958, 938, 961, 971, 972, 937, 962, 971, 966, 967, 936, 963, 937, 968, 938, 966, 967, 973, 969, 970, 968, 974, 975, 976, 972, 969, 970, 971, 0, 993, 971, 972, 973, 977, 971, 966, 967, 973, 978, 0, 968, 974, 975, 976, 973, 969, 970, 980, 974, 975, 976, 972, 982, 977, 971, 979, 993, 979, 978, 973, 977, 983, 0, 981, 973, 978, 984, 980, 974, 975, 976, 986, 982, 0, 980, 0, 981, 979, 0, 982, 977, 983, 979, 981, 979, 978, 984, 985, 983, 987, 981, 986, 988, 984, 980, 995, 0, 990, 986, 982, 991, 992, 985, 981, 979, 988, 997, 985, 983, 987, 981, 999, 988, 984, 985, 989, 987, 990, 986, 988, 991, 992, 995, 989, 990, 1000, 1002, 991, 992, 985, 0, 1003, 988, 997, 985, 989, 987, 1005, 999, 988, 1004, 1002, 989, 1006, 990, 1007, 1002, 991, 992, 1008, 989, 1003, 1000, 1002, 1010, 1004, 1006, 1005, 1003, 0, 1004, 1011, 989, 1006, 1005, 1007, 1009, 1004, 1002, 1008, 1006, 1013, 1007, 1002, 1010, 1016, 1008, 1009, 1003, 1017, 1018, 1010, 1004, 1006, 1005, 1019, 1009, 1004, 1011, 1020, 1006, 1023, 1007, 1009, 1018, 1016, 1008, 1024, 1013, 1017, 1018, 1010, 1016, 0, 1009, 1019, 1017, 1018, 0, 1020, 0, 1023, 1019, 1009, 0, 0, 1020, 1024, 1023, 0, 0, 1018, 1016, 0, 1024, 0, 1017, 1018, 0, 0, 0, 0, 1019, 0, 0, 0, 1020, 0, 1023, 0, 0, 0, 0, 0, 1024, 1026, 1026, 1026, 1026, 1026, 1027, 0, 0, 1027, 1027, 1029, 1029, 1029, 0, 1029, 1030, 0, 1030, 1030, 1030, 1031, 0, 1031, 1031, 1031, 1032, 0, 1032, 1032, 1032, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025 } ; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET #line 1 "flex_lexer.l" /** * lexer * * */ /*************************** ** Section 1: Definitions ***************************/ #line 12 "flex_lexer.l" #include "../sql/Expr.h" #include "bison_parser.h" #include #include #define TOKEN(name) { return SQL_##name; } static thread_local std::stringstream strbuf; #line 1929 "flex_lexer.cpp" /*************************** ** Section 2: Rules ***************************/ /* Define the output files */ /* Make reentrant */ /* performance tweeks */ /* other flags */ /* %option nodefault */ /*************************** ** Section 3: Rules ***************************/ #line 1943 "flex_lexer.cpp" #define INITIAL 0 #define singlequotedstring 1 #define COMMENT 2 #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 /* Holds the entire state of the reentrant scanner. */ struct yyguts_t { /* User-defined. Not touched by flex. */ YY_EXTRA_TYPE yyextra_r; /* The rest are the same as the globals declared in the non-reentrant scanner. */ FILE *yyin_r, *yyout_r; size_t yy_buffer_stack_top; /**< index of top of stack. */ size_t yy_buffer_stack_max; /**< capacity of stack. */ YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */ char yy_hold_char; int yy_n_chars; int yyleng_r; char *yy_c_buf_p; int yy_init; int yy_start; int yy_did_buffer_switch_on_eof; int yy_start_stack_ptr; int yy_start_stack_depth; int *yy_start_stack; yy_state_type yy_last_accepting_state; char* yy_last_accepting_cpos; int yylineno_r; int yy_flex_debug_r; char *yytext_r; int yy_more_flag; int yy_more_len; YYSTYPE * yylval_r; YYLTYPE * yylloc_r; }; /* end struct yyguts_t */ static int yy_init_globals ( yyscan_t yyscanner ); /* This must go here because YYSTYPE and YYLTYPE are included * from bison output in section 1.*/ # define yylval yyg->yylval_r # define yylloc yyg->yylloc_r int yylex_init (yyscan_t* scanner); int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy ( yyscan_t yyscanner ); int yyget_debug ( yyscan_t yyscanner ); void yyset_debug ( int debug_flag , yyscan_t yyscanner ); YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner ); void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner ); FILE *yyget_in ( yyscan_t yyscanner ); void yyset_in ( FILE * _in_str , yyscan_t yyscanner ); FILE *yyget_out ( yyscan_t yyscanner ); void yyset_out ( FILE * _out_str , yyscan_t yyscanner ); int yyget_leng ( yyscan_t yyscanner ); char *yyget_text ( yyscan_t yyscanner ); int yyget_lineno ( yyscan_t yyscanner ); void yyset_lineno ( int _line_number , yyscan_t yyscanner ); int yyget_column ( yyscan_t yyscanner ); void yyset_column ( int _column_no , yyscan_t yyscanner ); YYSTYPE * yyget_lval ( yyscan_t yyscanner ); void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); YYLTYPE *yyget_lloc ( yyscan_t yyscanner ); void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner ); /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap ( yyscan_t yyscanner ); #else extern int yywrap ( yyscan_t yyscanner ); #endif #endif #ifndef YY_NO_UNPUT #endif #ifndef yytext_ptr static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen ( const char * , yyscan_t yyscanner); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput ( yyscan_t yyscanner ); #else static int input ( yyscan_t yyscanner ); #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 , yyscanner) #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 \ (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner); #define YY_DECL int yylex \ (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) #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 \ 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; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yylval = yylval_param; yylloc = yylloc_param; if ( !yyg->yy_init ) { yyg->yy_init = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! yyg->yy_start ) yyg->yy_start = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (yyscanner); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); } yy_load_buffer_state( yyscanner ); } { #line 56 "flex_lexer.l" #line 2230 "flex_lexer.cpp" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = yyg->yy_c_buf_p; /* Support of yytext. */ *yy_cp = yyg->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 = yyg->yy_start; yy_match: do { YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { yyg->yy_last_accepting_state = yy_current_state; yyg->yy_last_accepting_cpos = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1026 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } while ( yy_current_state != 1025 ); yy_cp = yyg->yy_last_accepting_cpos; yy_current_state = yyg->yy_last_accepting_state; yy_find_action: yy_act = yy_accept[yy_current_state]; YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = yyg->yy_hold_char; yy_cp = yyg->yy_last_accepting_cpos; yy_current_state = yyg->yy_last_accepting_state; goto yy_find_action; case 1: YY_RULE_SETUP #line 58 "flex_lexer.l" BEGIN(COMMENT); YY_BREAK case 2: YY_RULE_SETUP #line 59 "flex_lexer.l" /* skipping comment content until a end of line is read */; YY_BREAK case 3: /* rule 3 can match eol */ YY_RULE_SETUP #line 60 "flex_lexer.l" BEGIN(INITIAL); YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP #line 62 "flex_lexer.l" /* skip whitespace */; YY_BREAK case 5: YY_RULE_SETUP #line 64 "flex_lexer.l" TOKEN(DEALLOCATE) YY_BREAK case 6: YY_RULE_SETUP #line 65 "flex_lexer.l" TOKEN(PARAMETERS) YY_BREAK case 7: YY_RULE_SETUP #line 66 "flex_lexer.l" TOKEN(INTERSECT) YY_BREAK case 8: YY_RULE_SETUP #line 67 "flex_lexer.l" TOKEN(TEMPORARY) YY_BREAK case 9: YY_RULE_SETUP #line 68 "flex_lexer.l" TOKEN(TIMESTAMP) YY_BREAK case 10: YY_RULE_SETUP #line 69 "flex_lexer.l" TOKEN(DISTINCT) YY_BREAK case 11: YY_RULE_SETUP #line 70 "flex_lexer.l" TOKEN(NVARCHAR) YY_BREAK case 12: YY_RULE_SETUP #line 71 "flex_lexer.l" TOKEN(RESTRICT) YY_BREAK case 13: YY_RULE_SETUP #line 72 "flex_lexer.l" TOKEN(TRUNCATE) YY_BREAK case 14: YY_RULE_SETUP #line 73 "flex_lexer.l" TOKEN(ANALYZE) YY_BREAK case 15: YY_RULE_SETUP #line 74 "flex_lexer.l" TOKEN(BETWEEN) YY_BREAK case 16: YY_RULE_SETUP #line 75 "flex_lexer.l" TOKEN(CASCADE) YY_BREAK case 17: YY_RULE_SETUP #line 76 "flex_lexer.l" TOKEN(COLUMNS) YY_BREAK case 18: YY_RULE_SETUP #line 77 "flex_lexer.l" TOKEN(CONTROL) YY_BREAK case 19: YY_RULE_SETUP #line 78 "flex_lexer.l" TOKEN(DEFAULT) YY_BREAK case 20: YY_RULE_SETUP #line 79 "flex_lexer.l" TOKEN(EXECUTE) YY_BREAK case 21: YY_RULE_SETUP #line 80 "flex_lexer.l" TOKEN(EXPLAIN) YY_BREAK case 22: YY_RULE_SETUP #line 81 "flex_lexer.l" TOKEN(HISTORY) YY_BREAK case 23: YY_RULE_SETUP #line 82 "flex_lexer.l" TOKEN(INTEGER) YY_BREAK case 24: YY_RULE_SETUP #line 83 "flex_lexer.l" TOKEN(NATURAL) YY_BREAK case 25: YY_RULE_SETUP #line 84 "flex_lexer.l" TOKEN(PREPARE) YY_BREAK case 26: YY_RULE_SETUP #line 85 "flex_lexer.l" TOKEN(PRIMARY) YY_BREAK case 27: YY_RULE_SETUP #line 86 "flex_lexer.l" TOKEN(SCHEMAS) YY_BREAK case 28: YY_RULE_SETUP #line 87 "flex_lexer.l" TOKEN(SPATIAL) YY_BREAK case 29: YY_RULE_SETUP #line 88 "flex_lexer.l" TOKEN(VARCHAR) YY_BREAK case 30: YY_RULE_SETUP #line 89 "flex_lexer.l" TOKEN(VIRTUAL) YY_BREAK case 31: YY_RULE_SETUP #line 90 "flex_lexer.l" TOKEN(BEFORE) YY_BREAK case 32: YY_RULE_SETUP #line 91 "flex_lexer.l" TOKEN(COLUMN) YY_BREAK case 33: YY_RULE_SETUP #line 92 "flex_lexer.l" TOKEN(CREATE) YY_BREAK case 34: YY_RULE_SETUP #line 93 "flex_lexer.l" TOKEN(DELETE) YY_BREAK case 35: YY_RULE_SETUP #line 94 "flex_lexer.l" TOKEN(DIRECT) YY_BREAK case 36: YY_RULE_SETUP #line 95 "flex_lexer.l" TOKEN(DOUBLE) YY_BREAK case 37: YY_RULE_SETUP #line 96 "flex_lexer.l" TOKEN(ESCAPE) YY_BREAK case 38: YY_RULE_SETUP #line 97 "flex_lexer.l" TOKEN(EXCEPT) YY_BREAK case 39: YY_RULE_SETUP #line 98 "flex_lexer.l" TOKEN(EXISTS) YY_BREAK case 40: YY_RULE_SETUP #line 99 "flex_lexer.l" TOKEN(EXTRACT) YY_BREAK case 41: YY_RULE_SETUP #line 100 "flex_lexer.l" TOKEN(GLOBAL) YY_BREAK case 42: YY_RULE_SETUP #line 101 "flex_lexer.l" TOKEN(HAVING) YY_BREAK case 43: YY_RULE_SETUP #line 102 "flex_lexer.l" TOKEN(IMPORT) YY_BREAK case 44: YY_RULE_SETUP #line 103 "flex_lexer.l" TOKEN(INSERT) YY_BREAK case 45: YY_RULE_SETUP #line 104 "flex_lexer.l" TOKEN(ISNULL) YY_BREAK case 46: YY_RULE_SETUP #line 105 "flex_lexer.l" TOKEN(OFFSET) YY_BREAK case 47: YY_RULE_SETUP #line 106 "flex_lexer.l" TOKEN(RENAME) YY_BREAK case 48: YY_RULE_SETUP #line 107 "flex_lexer.l" TOKEN(SCHEMA) YY_BREAK case 49: YY_RULE_SETUP #line 108 "flex_lexer.l" TOKEN(SELECT) YY_BREAK case 50: YY_RULE_SETUP #line 109 "flex_lexer.l" TOKEN(SORTED) YY_BREAK case 51: YY_RULE_SETUP #line 110 "flex_lexer.l" TOKEN(TABLES) YY_BREAK case 52: YY_RULE_SETUP #line 111 "flex_lexer.l" TOKEN(UNIQUE) YY_BREAK case 53: YY_RULE_SETUP #line 112 "flex_lexer.l" TOKEN(UNLOAD) YY_BREAK case 54: YY_RULE_SETUP #line 113 "flex_lexer.l" TOKEN(UPDATE) YY_BREAK case 55: YY_RULE_SETUP #line 114 "flex_lexer.l" TOKEN(VALUES) YY_BREAK case 56: YY_RULE_SETUP #line 115 "flex_lexer.l" TOKEN(AFTER) YY_BREAK case 57: YY_RULE_SETUP #line 116 "flex_lexer.l" TOKEN(ALTER) YY_BREAK case 58: YY_RULE_SETUP #line 117 "flex_lexer.l" TOKEN(ARRAY) YY_BREAK case 59: YY_RULE_SETUP #line 118 "flex_lexer.l" TOKEN(CROSS) YY_BREAK case 60: YY_RULE_SETUP #line 119 "flex_lexer.l" TOKEN(DELTA) YY_BREAK case 61: YY_RULE_SETUP #line 120 "flex_lexer.l" TOKEN(FLOAT) YY_BREAK case 62: YY_RULE_SETUP #line 121 "flex_lexer.l" TOKEN(GROUP) YY_BREAK case 63: YY_RULE_SETUP #line 122 "flex_lexer.l" TOKEN(INDEX) YY_BREAK case 64: YY_RULE_SETUP #line 123 "flex_lexer.l" TOKEN(INNER) YY_BREAK case 65: YY_RULE_SETUP #line 124 "flex_lexer.l" TOKEN(LIMIT) YY_BREAK case 66: YY_RULE_SETUP #line 125 "flex_lexer.l" TOKEN(LOCAL) YY_BREAK case 67: YY_RULE_SETUP #line 126 "flex_lexer.l" TOKEN(MERGE) YY_BREAK case 68: YY_RULE_SETUP #line 127 "flex_lexer.l" TOKEN(MINUS) YY_BREAK case 69: YY_RULE_SETUP #line 128 "flex_lexer.l" TOKEN(ORDER) YY_BREAK case 70: YY_RULE_SETUP #line 129 "flex_lexer.l" TOKEN(OUTER) YY_BREAK case 71: YY_RULE_SETUP #line 130 "flex_lexer.l" TOKEN(RIGHT) YY_BREAK case 72: YY_RULE_SETUP #line 131 "flex_lexer.l" TOKEN(TABLE) YY_BREAK case 73: YY_RULE_SETUP #line 132 "flex_lexer.l" TOKEN(UNION) YY_BREAK case 74: YY_RULE_SETUP #line 133 "flex_lexer.l" TOKEN(USING) YY_BREAK case 75: YY_RULE_SETUP #line 134 "flex_lexer.l" TOKEN(WHERE) YY_BREAK case 76: YY_RULE_SETUP #line 135 "flex_lexer.l" TOKEN(CALL) YY_BREAK case 77: YY_RULE_SETUP #line 136 "flex_lexer.l" TOKEN(CASE) YY_BREAK case 78: YY_RULE_SETUP #line 137 "flex_lexer.l" TOKEN(CHAR) YY_BREAK case 79: YY_RULE_SETUP #line 138 "flex_lexer.l" TOKEN(DATE) YY_BREAK case 80: YY_RULE_SETUP #line 139 "flex_lexer.l" TOKEN(DESC) YY_BREAK case 81: YY_RULE_SETUP #line 140 "flex_lexer.l" TOKEN(DROP) YY_BREAK case 82: YY_RULE_SETUP #line 141 "flex_lexer.l" TOKEN(ELSE) YY_BREAK case 83: YY_RULE_SETUP #line 142 "flex_lexer.l" TOKEN(FILE) YY_BREAK case 84: YY_RULE_SETUP #line 143 "flex_lexer.l" TOKEN(FROM) YY_BREAK case 85: YY_RULE_SETUP #line 144 "flex_lexer.l" TOKEN(FULL) YY_BREAK case 86: YY_RULE_SETUP #line 145 "flex_lexer.l" TOKEN(HASH) YY_BREAK case 87: YY_RULE_SETUP #line 146 "flex_lexer.l" TOKEN(HINT) YY_BREAK case 88: YY_RULE_SETUP #line 147 "flex_lexer.l" TOKEN(INTO) YY_BREAK case 89: YY_RULE_SETUP #line 148 "flex_lexer.l" TOKEN(JOIN) YY_BREAK case 90: YY_RULE_SETUP #line 149 "flex_lexer.l" TOKEN(LEFT) YY_BREAK case 91: YY_RULE_SETUP #line 150 "flex_lexer.l" TOKEN(LIKE) YY_BREAK case 92: YY_RULE_SETUP #line 151 "flex_lexer.l" TOKEN(ILIKE) YY_BREAK case 93: YY_RULE_SETUP #line 152 "flex_lexer.l" TOKEN(LOAD) YY_BREAK case 94: YY_RULE_SETUP #line 153 "flex_lexer.l" TOKEN(LONG) YY_BREAK case 95: YY_RULE_SETUP #line 154 "flex_lexer.l" TOKEN(NULL) YY_BREAK case 96: YY_RULE_SETUP #line 155 "flex_lexer.l" TOKEN(PLAN) YY_BREAK case 97: YY_RULE_SETUP #line 156 "flex_lexer.l" TOKEN(SHOW) YY_BREAK case 98: YY_RULE_SETUP #line 157 "flex_lexer.l" TOKEN(TEXT) YY_BREAK case 99: YY_RULE_SETUP #line 158 "flex_lexer.l" TOKEN(THEN) YY_BREAK case 100: YY_RULE_SETUP #line 159 "flex_lexer.l" TOKEN(TIME) YY_BREAK case 101: YY_RULE_SETUP #line 160 "flex_lexer.l" TOKEN(VIEW) YY_BREAK case 102: YY_RULE_SETUP #line 161 "flex_lexer.l" TOKEN(WHEN) YY_BREAK case 103: YY_RULE_SETUP #line 162 "flex_lexer.l" TOKEN(WITH) YY_BREAK case 104: YY_RULE_SETUP #line 163 "flex_lexer.l" TOKEN(ADD) YY_BREAK case 105: YY_RULE_SETUP #line 164 "flex_lexer.l" TOKEN(ALL) YY_BREAK case 106: YY_RULE_SETUP #line 165 "flex_lexer.l" TOKEN(AND) YY_BREAK case 107: YY_RULE_SETUP #line 166 "flex_lexer.l" TOKEN(ASC) YY_BREAK case 108: YY_RULE_SETUP #line 167 "flex_lexer.l" TOKEN(CSV) YY_BREAK case 109: YY_RULE_SETUP #line 168 "flex_lexer.l" TOKEN(END) YY_BREAK case 110: YY_RULE_SETUP #line 169 "flex_lexer.l" TOKEN(FOR) YY_BREAK case 111: YY_RULE_SETUP #line 170 "flex_lexer.l" TOKEN(INT) YY_BREAK case 112: YY_RULE_SETUP #line 171 "flex_lexer.l" TOKEN(KEY) YY_BREAK case 113: YY_RULE_SETUP #line 172 "flex_lexer.l" TOKEN(NOT) YY_BREAK case 114: YY_RULE_SETUP #line 173 "flex_lexer.l" TOKEN(OFF) YY_BREAK case 115: YY_RULE_SETUP #line 174 "flex_lexer.l" TOKEN(SET) YY_BREAK case 116: YY_RULE_SETUP #line 175 "flex_lexer.l" TOKEN(TBL) YY_BREAK case 117: YY_RULE_SETUP #line 176 "flex_lexer.l" TOKEN(TOP) YY_BREAK case 118: YY_RULE_SETUP #line 177 "flex_lexer.l" TOKEN(AS) YY_BREAK case 119: YY_RULE_SETUP #line 178 "flex_lexer.l" TOKEN(BY) YY_BREAK case 120: YY_RULE_SETUP #line 179 "flex_lexer.l" TOKEN(IF) YY_BREAK case 121: YY_RULE_SETUP #line 180 "flex_lexer.l" TOKEN(IN) YY_BREAK case 122: YY_RULE_SETUP #line 181 "flex_lexer.l" TOKEN(IS) YY_BREAK case 123: YY_RULE_SETUP #line 182 "flex_lexer.l" TOKEN(OF) YY_BREAK case 124: YY_RULE_SETUP #line 183 "flex_lexer.l" TOKEN(ON) YY_BREAK case 125: YY_RULE_SETUP #line 184 "flex_lexer.l" TOKEN(OR) YY_BREAK case 126: YY_RULE_SETUP #line 185 "flex_lexer.l" TOKEN(TO) YY_BREAK case 127: YY_RULE_SETUP #line 186 "flex_lexer.l" TOKEN(SECOND) YY_BREAK case 128: YY_RULE_SETUP #line 187 "flex_lexer.l" TOKEN(MINUTE) YY_BREAK case 129: YY_RULE_SETUP #line 188 "flex_lexer.l" TOKEN(HOUR) YY_BREAK case 130: YY_RULE_SETUP #line 189 "flex_lexer.l" TOKEN(DAY) YY_BREAK case 131: YY_RULE_SETUP #line 190 "flex_lexer.l" TOKEN(MONTH) YY_BREAK case 132: YY_RULE_SETUP #line 191 "flex_lexer.l" TOKEN(YEAR) YY_BREAK case 133: YY_RULE_SETUP #line 192 "flex_lexer.l" TOKEN(TRUE) YY_BREAK case 134: YY_RULE_SETUP #line 193 "flex_lexer.l" TOKEN(FALSE) YY_BREAK /* Allow =/== see https://sqlite.org/lang_expr.html#collateop */ case 135: YY_RULE_SETUP #line 196 "flex_lexer.l" TOKEN(EQUALS) YY_BREAK case 136: YY_RULE_SETUP #line 197 "flex_lexer.l" TOKEN(NOTEQUALS) YY_BREAK case 137: YY_RULE_SETUP #line 198 "flex_lexer.l" TOKEN(NOTEQUALS) YY_BREAK case 138: YY_RULE_SETUP #line 199 "flex_lexer.l" TOKEN(LESSEQ) YY_BREAK case 139: YY_RULE_SETUP #line 200 "flex_lexer.l" TOKEN(GREATEREQ) YY_BREAK case 140: YY_RULE_SETUP #line 201 "flex_lexer.l" TOKEN(CONCAT) YY_BREAK case 141: YY_RULE_SETUP #line 203 "flex_lexer.l" { return yytext[0]; } YY_BREAK case 142: #line 206 "flex_lexer.l" case 143: YY_RULE_SETUP #line 206 "flex_lexer.l" { yylval->fval = atof(yytext); return SQL_FLOATVAL; } YY_BREAK case 144: YY_RULE_SETUP #line 211 "flex_lexer.l" { yylval->ival = atol(yytext); return SQL_INTVAL; } YY_BREAK case 145: YY_RULE_SETUP #line 216 "flex_lexer.l" { // Crop the leading and trailing quote char yylval->sval = hsql::substr(yytext, 1, strlen(yytext)-1); return SQL_IDENTIFIER; } YY_BREAK case 146: YY_RULE_SETUP #line 222 "flex_lexer.l" { yylval->sval = strdup(yytext); return SQL_IDENTIFIER; } YY_BREAK case 147: YY_RULE_SETUP #line 227 "flex_lexer.l" { BEGIN singlequotedstring; strbuf = std::stringstream{}; } YY_BREAK case 148: YY_RULE_SETUP #line 228 "flex_lexer.l" { strbuf << '\''; } YY_BREAK case 149: /* rule 149 can match eol */ YY_RULE_SETUP #line 229 "flex_lexer.l" { strbuf << yytext; } YY_BREAK case 150: YY_RULE_SETUP #line 230 "flex_lexer.l" { BEGIN 0; yylval->sval = strdup(strbuf.str().c_str()); return SQL_STRING; } YY_BREAK case YY_STATE_EOF(singlequotedstring): #line 231 "flex_lexer.l" { fprintf(stderr, "[SQL-Lexer-Error] Unterminated string\n"); return 0; } YY_BREAK case 151: YY_RULE_SETUP #line 233 "flex_lexer.l" { fprintf(stderr, "[SQL-Lexer-Error] Unknown Character: %c\n", yytext[0]); return 0; } YY_BREAK case 152: YY_RULE_SETUP #line 236 "flex_lexer.l" ECHO; YY_BREAK #line 3061 "flex_lexer.cpp" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(COMMENT): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = yyg->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. */ yyg->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 ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) { /* This was really a NUL. */ yy_state_type yy_next_state; yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( yyscanner ); /* 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 , yyscanner); yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++yyg->yy_c_buf_p; yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = yyg->yy_last_accepting_cpos; yy_current_state = yyg->yy_last_accepting_state; goto yy_find_action; } } else switch ( yy_get_next_buffer( yyscanner ) ) { case EOB_ACT_END_OF_FILE: { yyg->yy_did_buffer_switch_on_eof = 0; if ( yywrap( yyscanner ) ) { /* 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. */ yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! yyg->yy_did_buffer_switch_on_eof ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state( yyscanner ); yy_cp = yyg->yy_c_buf_p; yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: yyg->yy_c_buf_p = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars]; yy_current_state = yy_get_previous_state( yyscanner ); yy_cp = yyg->yy_c_buf_p; yy_bp = yyg->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 (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; char *source = yyg->yytext_ptr; int number_to_move, i; int ret_val; if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->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 ( yyg->yy_c_buf_p - yyg->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) (yyg->yy_c_buf_p - yyg->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 = yyg->yy_n_chars = 0; else { int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; int yy_c_buf_p_offset = (int) (yyg->yy_c_buf_p - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc( (void *) b->yy_ch_buf, (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = NULL; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), yyg->yy_n_chars, num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; } if ( yyg->yy_n_chars == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart( yyin , yyscanner); } 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 ((yyg->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 = yyg->yy_n_chars + number_to_move + (yyg->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 , yyscanner ); 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); } yyg->yy_n_chars += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; yyg->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 (yyscan_t yyscanner) { yy_state_type yy_current_state; char *yy_cp; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yy_current_state = yyg->yy_start; for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) { YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { yyg->yy_last_accepting_state = yy_current_state; yyg->yy_last_accepting_cpos = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1026 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner) { int yy_is_jam; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */ char *yy_cp = yyg->yy_c_buf_p; YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { yyg->yy_last_accepting_state = yy_current_state; yyg->yy_last_accepting_cpos = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 1026 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 1025); (void)yyg; return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (yyscan_t yyscanner) #else static int input (yyscan_t yyscanner) #endif { int c; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; *yyg->yy_c_buf_p = yyg->yy_hold_char; if ( *yyg->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 ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) /* This was really a NUL. */ *yyg->yy_c_buf_p = '\0'; else { /* need more input */ int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr); ++yyg->yy_c_buf_p; switch ( yy_get_next_buffer( yyscanner ) ) { 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 , yyscanner); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( yyscanner ) ) return 0; if ( ! yyg->yy_did_buffer_switch_on_eof ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(yyscanner); #else return input(yyscanner); #endif } case EOB_ACT_CONTINUE_SCAN: yyg->yy_c_buf_p = yyg->yytext_ptr + offset; break; } } } c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ yyg->yy_hold_char = *++yyg->yy_c_buf_p; return c; } #endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. * @param yyscanner The scanner object. * @note This function does not reset the start condition to @c INITIAL . */ void yyrestart (FILE * input_file , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; if ( ! YY_CURRENT_BUFFER ){ yyensure_buffer_stack (yyscanner); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); } yy_init_buffer( YY_CURRENT_BUFFER, input_file , yyscanner); yy_load_buffer_state( yyscanner ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * @param yyscanner The scanner object. */ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ yyensure_buffer_stack (yyscanner); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *yyg->yy_c_buf_p = yyg->yy_hold_char; YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; } YY_CURRENT_BUFFER_LVALUE = new_buffer; yy_load_buffer_state( yyscanner ); /* 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. */ yyg->yy_did_buffer_switch_on_eof = 1; } static void yy_load_buffer_state (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; yyg->yy_hold_char = *yyg->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. * @param yyscanner The scanner object. * @return the allocated buffer state. */ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size , yyscan_t yyscanner) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); 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) , yyscanner ); 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 , yyscanner); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * @param yyscanner The scanner object. */ void yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; 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 , yyscanner ); yyfree( (void *) b , yyscanner ); } /* 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 , yyscan_t yyscanner) { int oerrno = errno; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yy_flush_buffer( b , yyscanner); 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. * @param yyscanner The scanner object. */ void yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; 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( yyscanner ); } /** 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. * @param yyscanner The scanner object. */ void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; if (new_buffer == NULL) return; yyensure_buffer_stack(yyscanner); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *yyg->yy_c_buf_p = yyg->yy_hold_char; YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) yyg->yy_buffer_stack_top++; YY_CURRENT_BUFFER_LVALUE = new_buffer; /* copied from yy_switch_to_buffer. */ yy_load_buffer_state( yyscanner ); yyg->yy_did_buffer_switch_on_eof = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * @param yyscanner The scanner object. */ void yypop_buffer_state (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner); YY_CURRENT_BUFFER_LVALUE = NULL; if (yyg->yy_buffer_stack_top > 0) --yyg->yy_buffer_stack_top; if (YY_CURRENT_BUFFER) { yy_load_buffer_state( yyscanner ); yyg->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 (yyscan_t yyscanner) { yy_size_t num_to_alloc; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; if (!yyg->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... */ yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) , yyscanner); if ( ! yyg->yy_buffer_stack ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); yyg->yy_buffer_stack_max = num_to_alloc; yyg->yy_buffer_stack_top = 0; return; } if (yyg->yy_buffer_stack_top >= (yyg->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 = yyg->yy_buffer_stack_max + grow_size; yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc (yyg->yy_buffer_stack, num_to_alloc * sizeof(struct yy_buffer_state*) , yyscanner); if ( ! yyg->yy_buffer_stack ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); yyg->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 * @param yyscanner The scanner object. * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner) { 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 ) , yyscanner ); 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 , yyscanner ); 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 * @param yyscanner The scanner object. * @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 , yyscan_t yyscanner) { return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner); } /** 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. * @param yyscanner The scanner object. * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len , yyscan_t yyscanner) { 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 , yyscanner ); 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 , yyscanner); 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 , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; (void)yyg; 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] = yyg->yy_hold_char; \ yyg->yy_c_buf_p = yytext + yyless_macro_arg; \ yyg->yy_hold_char = *yyg->yy_c_buf_p; \ *yyg->yy_c_buf_p = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the user-defined data for this scanner. * @param yyscanner The scanner object. */ YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yyextra; } /** Get the current line number. * @param yyscanner The scanner object. */ int yyget_lineno (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; if (! YY_CURRENT_BUFFER) return 0; return yylineno; } /** Get the current column number. * @param yyscanner The scanner object. */ int yyget_column (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; if (! YY_CURRENT_BUFFER) return 0; return yycolumn; } /** Get the input stream. * @param yyscanner The scanner object. */ FILE *yyget_in (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yyin; } /** Get the output stream. * @param yyscanner The scanner object. */ FILE *yyget_out (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yyout; } /** Get the length of the current token. * @param yyscanner The scanner object. */ int yyget_leng (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yyleng; } /** Get the current token. * @param yyscanner The scanner object. */ char *yyget_text (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yytext; } /** Set the user-defined data. This data is never touched by the scanner. * @param user_defined The data to be associated with this scanner. * @param yyscanner The scanner object. */ void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yyextra = user_defined ; } /** Set the current line number. * @param _line_number line number * @param yyscanner The scanner object. */ void yyset_lineno (int _line_number , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* lineno is only valid if an input buffer exists. */ if (! YY_CURRENT_BUFFER ) YY_FATAL_ERROR( "yyset_lineno called with no buffer" ); yylineno = _line_number; } /** Set the current column. * @param _column_no column number * @param yyscanner The scanner object. */ void yyset_column (int _column_no , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* column is only valid if an input buffer exists. */ if (! YY_CURRENT_BUFFER ) YY_FATAL_ERROR( "yyset_column called with no buffer" ); yycolumn = _column_no; } /** Set the input stream. This does not discard the current * input buffer. * @param _in_str A readable stream. * @param yyscanner The scanner object. * @see yy_switch_to_buffer */ void yyset_in (FILE * _in_str , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yyin = _in_str ; } void yyset_out (FILE * _out_str , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yyout = _out_str ; } int yyget_debug (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yy_flex_debug; } void yyset_debug (int _bdebug , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yy_flex_debug = _bdebug ; } /* Accessor methods for yylval and yylloc */ YYSTYPE * yyget_lval (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yylval; } void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yylval = yylval_param; } YYLTYPE *yyget_lloc (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; return yylloc; } void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; yylloc = yylloc_param; } /* User-visible API */ /* yylex_init is special because it creates the scanner itself, so it is * the ONLY reentrant function that doesn't take the scanner as the last argument. * That's why we explicitly handle the declaration, instead of using our macros. */ int yylex_init(yyscan_t* ptr_yy_globals) { if (ptr_yy_globals == NULL){ errno = EINVAL; return 1; } *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL ); if (*ptr_yy_globals == NULL){ errno = ENOMEM; return 1; } /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */ memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); return yy_init_globals ( *ptr_yy_globals ); } /* yylex_init_extra has the same functionality as yylex_init, but follows the * convention of taking the scanner as the last argument. Note however, that * this is a *pointer* to a scanner, as it will be allocated by this call (and * is the reason, too, why this function also must handle its own declaration). * The user defined value in the first argument will be available to yyalloc in * the yyextra field. */ int yylex_init_extra( YY_EXTRA_TYPE yy_user_defined, yyscan_t* ptr_yy_globals ) { struct yyguts_t dummy_yyguts; yyset_extra (yy_user_defined, &dummy_yyguts); if (ptr_yy_globals == NULL){ errno = EINVAL; return 1; } *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); if (*ptr_yy_globals == NULL){ errno = ENOMEM; return 1; } /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */ memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); yyset_extra (yy_user_defined, *ptr_yy_globals); return yy_init_globals ( *ptr_yy_globals ); } static int yy_init_globals (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* Initialization is the same as for the non-reentrant scanner. * This function is called from yylex_destroy(), so don't allocate here. */ yyg->yy_buffer_stack = NULL; yyg->yy_buffer_stack_top = 0; yyg->yy_buffer_stack_max = 0; yyg->yy_c_buf_p = NULL; yyg->yy_init = 0; yyg->yy_start = 0; yyg->yy_start_stack_ptr = 0; yyg->yy_start_stack_depth = 0; yyg->yy_start_stack = NULL; /* 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 (yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner ); YY_CURRENT_BUFFER_LVALUE = NULL; yypop_buffer_state(yyscanner); } /* Destroy the stack itself. */ yyfree(yyg->yy_buffer_stack , yyscanner); yyg->yy_buffer_stack = NULL; /* Destroy the start condition stack. */ yyfree( yyg->yy_start_stack , yyscanner ); yyg->yy_start_stack = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( yyscanner); /* Destroy the main struct (reentrant only). */ yyfree ( yyscanner , yyscanner ); yyscanner = NULL; return 0; } /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, const char * s2, int n , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; (void)yyg; 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 , yyscan_t yyscanner) { int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; (void)yyg; return malloc(size); } void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; (void)yyg; /* 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 , yyscan_t yyscanner) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; (void)yyg; free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" #line 236 "flex_lexer.l" /*************************** ** Section 3: User code ***************************/ int yyerror(const char *msg) { fprintf(stderr, "[SQL-Lexer-Error] %s\n",msg); return 0; }