diff --git a/Makefile b/Makefile index 1a27fa77..028cbb49 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ $(SRCPARSER)/bison_parser.o: $(SRCPARSER)/bison_parser.cpp $(CXX) $(LIB_CFLAGS) -c -o $@ $< -Wno-unused-but-set-variable %.o: %.cpp $(PARSER_CPP) $(LIB_H) - $(CXX) $(LIB_CFLAGS) -c -o $@ $< + $(CXX) $(LIB_CFLAGS) $(CXXFLAGS) -c -o $@ $< $(SRCPARSER)/bison_parser.cpp: $(SRCPARSER)/bison_parser.y $(GMAKE) -C $(SRCPARSER)/ bison_parser.cpp @@ -140,7 +140,7 @@ test: $(TEST_BUILD) $(TEST_BUILD): $(TEST_ALL) $(LIB_BUILD) @mkdir -p $(BIN)/ - $(CXX) $(TEST_CFLAGS) $(TEST_CPP) -o $(TEST_BUILD) -lsqlparser -lstdc++ + $(CXX) $(CXXFLAGS) $(TEST_CFLAGS) $(TEST_CPP) -o $(TEST_BUILD) -lsqlparser -lstdc++ test_example: $(GMAKE) -C example/ diff --git a/src/parser/bison_parser.cpp b/src/parser/bison_parser.cpp index 702c8a04..389ae6d4 100644 --- a/src/parser/bison_parser.cpp +++ b/src/parser/bison_parser.cpp @@ -64,19 +64,18 @@ #define YYPULL 1 /* Substitute the type names. */ -#define YYSTYPE HSQL_STYPE -#define YYLTYPE HSQL_LTYPE +#define YYSTYPE HSQL_STYPE +#define YYLTYPE HSQL_LTYPE /* Substitute the variable and function names. */ -#define yyparse hsql_parse -#define yylex hsql_lex -#define yyerror hsql_error -#define yydebug hsql_debug -#define yynerrs hsql_nerrs +#define yyparse hsql_parse +#define yylex hsql_lex +#define yyerror hsql_error +#define yydebug hsql_debug +#define yynerrs hsql_nerrs /* First part of user prologue. */ #line 2 "bison_parser.y" - /** * bison_parser.y * defines bison_parser.h @@ -96,14 +95,14 @@ #include #include - using namespace hsql; +using namespace hsql; - int yyerror(YYLTYPE * llocp, SQLParserResult * result, yyscan_t scanner, const char* msg) { - result->setIsValid(false); - result->setErrorDetails(strdup(msg), llocp->first_line, llocp->first_column); - return 0; - } - // clang-format off +int yyerror(YYLTYPE* llocp, SQLParserResult* result, yyscan_t scanner, const char* msg) { + result->setIsValid(false); + result->setErrorDetails(strdup(msg), llocp->first_line, llocp->first_column); + return 0; +} +// clang-format off #line 109 "bison_parser.cpp" @@ -324,145 +323,146 @@ enum yysymbol_kind_t YYSYMBOL_UMINUS = 188, /* UMINUS */ YYSYMBOL_189_ = 189, /* '[' */ YYSYMBOL_190_ = 190, /* ']' */ - YYSYMBOL_191_ = 191, /* '(' */ - YYSYMBOL_192_ = 192, /* ')' */ - YYSYMBOL_193_ = 193, /* '.' */ - YYSYMBOL_194_ = 194, /* ';' */ - YYSYMBOL_195_ = 195, /* ',' */ - YYSYMBOL_196_ = 196, /* '?' */ - YYSYMBOL_YYACCEPT = 197, /* $accept */ - YYSYMBOL_input = 198, /* input */ - YYSYMBOL_statement_list = 199, /* statement_list */ - YYSYMBOL_statement = 200, /* statement */ - YYSYMBOL_preparable_statement = 201, /* preparable_statement */ - YYSYMBOL_opt_hints = 202, /* opt_hints */ - YYSYMBOL_hint_list = 203, /* hint_list */ - YYSYMBOL_hint = 204, /* hint */ - YYSYMBOL_transaction_statement = 205, /* transaction_statement */ - YYSYMBOL_opt_transaction_keyword = 206, /* opt_transaction_keyword */ - YYSYMBOL_prepare_statement = 207, /* prepare_statement */ - YYSYMBOL_prepare_target_query = 208, /* prepare_target_query */ - YYSYMBOL_execute_statement = 209, /* execute_statement */ - YYSYMBOL_import_statement = 210, /* import_statement */ - YYSYMBOL_file_type = 211, /* file_type */ - YYSYMBOL_file_path = 212, /* file_path */ - YYSYMBOL_opt_import_export_options = 213, /* opt_import_export_options */ - YYSYMBOL_import_export_options = 214, /* import_export_options */ - YYSYMBOL_export_statement = 215, /* export_statement */ - YYSYMBOL_show_statement = 216, /* show_statement */ - YYSYMBOL_create_statement = 217, /* create_statement */ - YYSYMBOL_opt_not_exists = 218, /* opt_not_exists */ - YYSYMBOL_table_elem_commalist = 219, /* table_elem_commalist */ - YYSYMBOL_table_elem = 220, /* table_elem */ - YYSYMBOL_column_def = 221, /* column_def */ - YYSYMBOL_column_type = 222, /* column_type */ - YYSYMBOL_opt_time_precision = 223, /* opt_time_precision */ - YYSYMBOL_opt_decimal_specification = 224, /* opt_decimal_specification */ - YYSYMBOL_opt_column_constraints = 225, /* opt_column_constraints */ - YYSYMBOL_column_constraint_set = 226, /* column_constraint_set */ - YYSYMBOL_column_constraint = 227, /* column_constraint */ - YYSYMBOL_table_constraint = 228, /* table_constraint */ - YYSYMBOL_drop_statement = 229, /* drop_statement */ - YYSYMBOL_opt_exists = 230, /* opt_exists */ - YYSYMBOL_alter_statement = 231, /* alter_statement */ - YYSYMBOL_alter_action = 232, /* alter_action */ - YYSYMBOL_drop_action = 233, /* drop_action */ - YYSYMBOL_delete_statement = 234, /* delete_statement */ - YYSYMBOL_truncate_statement = 235, /* truncate_statement */ - YYSYMBOL_insert_statement = 236, /* insert_statement */ - YYSYMBOL_opt_column_list = 237, /* opt_column_list */ - YYSYMBOL_update_statement = 238, /* update_statement */ - YYSYMBOL_update_clause_commalist = 239, /* update_clause_commalist */ - YYSYMBOL_update_clause = 240, /* update_clause */ - YYSYMBOL_select_statement = 241, /* select_statement */ - YYSYMBOL_select_within_set_operation = 242, /* select_within_set_operation */ - YYSYMBOL_select_within_set_operation_no_parentheses = 243, /* select_within_set_operation_no_parentheses */ - YYSYMBOL_select_with_paren = 244, /* select_with_paren */ - YYSYMBOL_select_no_paren = 245, /* select_no_paren */ - YYSYMBOL_set_operator = 246, /* set_operator */ - YYSYMBOL_set_type = 247, /* set_type */ - YYSYMBOL_opt_all = 248, /* opt_all */ - YYSYMBOL_select_clause = 249, /* select_clause */ - YYSYMBOL_opt_distinct = 250, /* opt_distinct */ - YYSYMBOL_select_list = 251, /* select_list */ - YYSYMBOL_opt_from_clause = 252, /* opt_from_clause */ - YYSYMBOL_from_clause = 253, /* from_clause */ - YYSYMBOL_opt_where = 254, /* opt_where */ - YYSYMBOL_opt_group = 255, /* opt_group */ - YYSYMBOL_opt_having = 256, /* opt_having */ - YYSYMBOL_opt_order = 257, /* opt_order */ - YYSYMBOL_order_list = 258, /* order_list */ - YYSYMBOL_order_desc = 259, /* order_desc */ - YYSYMBOL_opt_order_type = 260, /* opt_order_type */ - YYSYMBOL_opt_top = 261, /* opt_top */ - YYSYMBOL_opt_limit = 262, /* opt_limit */ - YYSYMBOL_expr_list = 263, /* expr_list */ - YYSYMBOL_opt_extended_literal_list = 264, /* opt_extended_literal_list */ - YYSYMBOL_extended_literal_list = 265, /* extended_literal_list */ - YYSYMBOL_casted_extended_literal = 266, /* casted_extended_literal */ - YYSYMBOL_extended_literal = 267, /* extended_literal */ - YYSYMBOL_expr_alias = 268, /* expr_alias */ - YYSYMBOL_expr = 269, /* expr */ - YYSYMBOL_operand = 270, /* operand */ - YYSYMBOL_scalar_expr = 271, /* scalar_expr */ - YYSYMBOL_unary_expr = 272, /* unary_expr */ - YYSYMBOL_binary_expr = 273, /* binary_expr */ - YYSYMBOL_logic_expr = 274, /* logic_expr */ - YYSYMBOL_in_expr = 275, /* in_expr */ - YYSYMBOL_case_expr = 276, /* case_expr */ - YYSYMBOL_case_list = 277, /* case_list */ - YYSYMBOL_exists_expr = 278, /* exists_expr */ - YYSYMBOL_comp_expr = 279, /* comp_expr */ - YYSYMBOL_function_expr = 280, /* function_expr */ - YYSYMBOL_opt_window = 281, /* opt_window */ - YYSYMBOL_opt_partition = 282, /* opt_partition */ - YYSYMBOL_opt_frame_clause = 283, /* opt_frame_clause */ - YYSYMBOL_frame_type = 284, /* frame_type */ - YYSYMBOL_frame_bound = 285, /* frame_bound */ - YYSYMBOL_extract_expr = 286, /* extract_expr */ - YYSYMBOL_cast_expr = 287, /* cast_expr */ - YYSYMBOL_datetime_field = 288, /* datetime_field */ - YYSYMBOL_datetime_field_plural = 289, /* datetime_field_plural */ - YYSYMBOL_duration_field = 290, /* duration_field */ - YYSYMBOL_array_expr = 291, /* array_expr */ - YYSYMBOL_array_index = 292, /* array_index */ - YYSYMBOL_between_expr = 293, /* between_expr */ - YYSYMBOL_column_name = 294, /* column_name */ - YYSYMBOL_literal = 295, /* literal */ - YYSYMBOL_string_literal = 296, /* string_literal */ - YYSYMBOL_bool_literal = 297, /* bool_literal */ - YYSYMBOL_num_literal = 298, /* num_literal */ - YYSYMBOL_int_literal = 299, /* int_literal */ - YYSYMBOL_null_literal = 300, /* null_literal */ - YYSYMBOL_date_literal = 301, /* date_literal */ - YYSYMBOL_interval_literal = 302, /* interval_literal */ - YYSYMBOL_param_expr = 303, /* param_expr */ - YYSYMBOL_table_ref = 304, /* table_ref */ - YYSYMBOL_table_ref_atomic = 305, /* table_ref_atomic */ - YYSYMBOL_nonjoin_table_ref_atomic = 306, /* nonjoin_table_ref_atomic */ - YYSYMBOL_table_ref_commalist = 307, /* table_ref_commalist */ - YYSYMBOL_table_ref_name = 308, /* table_ref_name */ - YYSYMBOL_table_ref_name_no_alias = 309, /* table_ref_name_no_alias */ - YYSYMBOL_table_name = 310, /* table_name */ - YYSYMBOL_opt_index_name = 311, /* opt_index_name */ - YYSYMBOL_table_alias = 312, /* table_alias */ - YYSYMBOL_opt_table_alias = 313, /* opt_table_alias */ - YYSYMBOL_alias = 314, /* alias */ - YYSYMBOL_opt_alias = 315, /* opt_alias */ - YYSYMBOL_opt_locking_clause = 316, /* opt_locking_clause */ - YYSYMBOL_opt_locking_clause_list = 317, /* opt_locking_clause_list */ - YYSYMBOL_locking_clause = 318, /* locking_clause */ - YYSYMBOL_row_lock_mode = 319, /* row_lock_mode */ - YYSYMBOL_opt_row_lock_policy = 320, /* opt_row_lock_policy */ - YYSYMBOL_opt_with_clause = 321, /* opt_with_clause */ - YYSYMBOL_with_clause = 322, /* with_clause */ - YYSYMBOL_with_description_list = 323, /* with_description_list */ - YYSYMBOL_with_description = 324, /* with_description */ - YYSYMBOL_join_clause = 325, /* join_clause */ - YYSYMBOL_opt_join_type = 326, /* opt_join_type */ - YYSYMBOL_join_condition = 327, /* join_condition */ - YYSYMBOL_opt_semicolon = 328, /* opt_semicolon */ - YYSYMBOL_ident_commalist = 329 /* ident_commalist */ + YYSYMBOL_SUBQUERY_AS_EXPR = 191, /* SUBQUERY_AS_EXPR */ + YYSYMBOL_192_ = 192, /* '(' */ + YYSYMBOL_193_ = 193, /* ')' */ + YYSYMBOL_194_ = 194, /* '.' */ + YYSYMBOL_195_ = 195, /* ';' */ + YYSYMBOL_196_ = 196, /* ',' */ + YYSYMBOL_197_ = 197, /* '?' */ + YYSYMBOL_YYACCEPT = 198, /* $accept */ + YYSYMBOL_input = 199, /* input */ + YYSYMBOL_statement_list = 200, /* statement_list */ + YYSYMBOL_statement = 201, /* statement */ + YYSYMBOL_preparable_statement = 202, /* preparable_statement */ + YYSYMBOL_opt_hints = 203, /* opt_hints */ + YYSYMBOL_hint_list = 204, /* hint_list */ + YYSYMBOL_hint = 205, /* hint */ + YYSYMBOL_transaction_statement = 206, /* transaction_statement */ + YYSYMBOL_opt_transaction_keyword = 207, /* opt_transaction_keyword */ + YYSYMBOL_prepare_statement = 208, /* prepare_statement */ + YYSYMBOL_prepare_target_query = 209, /* prepare_target_query */ + YYSYMBOL_execute_statement = 210, /* execute_statement */ + YYSYMBOL_import_statement = 211, /* import_statement */ + YYSYMBOL_file_type = 212, /* file_type */ + YYSYMBOL_file_path = 213, /* file_path */ + YYSYMBOL_opt_import_export_options = 214, /* opt_import_export_options */ + YYSYMBOL_import_export_options = 215, /* import_export_options */ + YYSYMBOL_export_statement = 216, /* export_statement */ + YYSYMBOL_show_statement = 217, /* show_statement */ + YYSYMBOL_create_statement = 218, /* create_statement */ + YYSYMBOL_opt_not_exists = 219, /* opt_not_exists */ + YYSYMBOL_table_elem_commalist = 220, /* table_elem_commalist */ + YYSYMBOL_table_elem = 221, /* table_elem */ + YYSYMBOL_column_def = 222, /* column_def */ + YYSYMBOL_column_type = 223, /* column_type */ + YYSYMBOL_opt_time_precision = 224, /* opt_time_precision */ + YYSYMBOL_opt_decimal_specification = 225, /* opt_decimal_specification */ + YYSYMBOL_opt_column_constraints = 226, /* opt_column_constraints */ + YYSYMBOL_column_constraint_set = 227, /* column_constraint_set */ + YYSYMBOL_column_constraint = 228, /* column_constraint */ + YYSYMBOL_table_constraint = 229, /* table_constraint */ + YYSYMBOL_drop_statement = 230, /* drop_statement */ + YYSYMBOL_opt_exists = 231, /* opt_exists */ + YYSYMBOL_alter_statement = 232, /* alter_statement */ + YYSYMBOL_alter_action = 233, /* alter_action */ + YYSYMBOL_drop_action = 234, /* drop_action */ + YYSYMBOL_delete_statement = 235, /* delete_statement */ + YYSYMBOL_truncate_statement = 236, /* truncate_statement */ + YYSYMBOL_insert_statement = 237, /* insert_statement */ + YYSYMBOL_opt_column_list = 238, /* opt_column_list */ + YYSYMBOL_update_statement = 239, /* update_statement */ + YYSYMBOL_update_clause_commalist = 240, /* update_clause_commalist */ + YYSYMBOL_update_clause = 241, /* update_clause */ + YYSYMBOL_select_statement = 242, /* select_statement */ + YYSYMBOL_query_expression = 243, /* query_expression */ + YYSYMBOL_query_expression_body = 244, /* query_expression_body */ + YYSYMBOL_query_expression_parens = 245, /* query_expression_parens */ + YYSYMBOL_query_term = 246, /* query_term */ + YYSYMBOL_subquery = 247, /* subquery */ + YYSYMBOL_set_operator = 248, /* set_operator */ + YYSYMBOL_set_type = 249, /* set_type */ + YYSYMBOL_opt_all = 250, /* opt_all */ + YYSYMBOL_query_primary = 251, /* query_primary */ + YYSYMBOL_opt_distinct = 252, /* opt_distinct */ + YYSYMBOL_select_list = 253, /* select_list */ + YYSYMBOL_opt_from_clause = 254, /* opt_from_clause */ + YYSYMBOL_from_clause = 255, /* from_clause */ + YYSYMBOL_opt_where = 256, /* opt_where */ + YYSYMBOL_opt_group = 257, /* opt_group */ + YYSYMBOL_opt_having = 258, /* opt_having */ + YYSYMBOL_opt_order = 259, /* opt_order */ + YYSYMBOL_order_list = 260, /* order_list */ + YYSYMBOL_order_desc = 261, /* order_desc */ + YYSYMBOL_opt_order_type = 262, /* opt_order_type */ + YYSYMBOL_opt_top = 263, /* opt_top */ + YYSYMBOL_opt_limit = 264, /* opt_limit */ + YYSYMBOL_expr_list = 265, /* expr_list */ + YYSYMBOL_opt_extended_literal_list = 266, /* opt_extended_literal_list */ + YYSYMBOL_extended_literal_list = 267, /* extended_literal_list */ + YYSYMBOL_casted_extended_literal = 268, /* casted_extended_literal */ + YYSYMBOL_extended_literal = 269, /* extended_literal */ + YYSYMBOL_expr_alias = 270, /* expr_alias */ + YYSYMBOL_expr = 271, /* expr */ + YYSYMBOL_operand = 272, /* operand */ + YYSYMBOL_scalar_expr = 273, /* scalar_expr */ + YYSYMBOL_unary_expr = 274, /* unary_expr */ + YYSYMBOL_binary_expr = 275, /* binary_expr */ + YYSYMBOL_logic_expr = 276, /* logic_expr */ + YYSYMBOL_in_expr = 277, /* in_expr */ + YYSYMBOL_case_expr = 278, /* case_expr */ + YYSYMBOL_case_list = 279, /* case_list */ + YYSYMBOL_exists_expr = 280, /* exists_expr */ + YYSYMBOL_comp_expr = 281, /* comp_expr */ + YYSYMBOL_function_expr = 282, /* function_expr */ + YYSYMBOL_opt_window = 283, /* opt_window */ + YYSYMBOL_opt_partition = 284, /* opt_partition */ + YYSYMBOL_opt_frame_clause = 285, /* opt_frame_clause */ + YYSYMBOL_frame_type = 286, /* frame_type */ + YYSYMBOL_frame_bound = 287, /* frame_bound */ + YYSYMBOL_extract_expr = 288, /* extract_expr */ + YYSYMBOL_cast_expr = 289, /* cast_expr */ + YYSYMBOL_datetime_field = 290, /* datetime_field */ + YYSYMBOL_datetime_field_plural = 291, /* datetime_field_plural */ + YYSYMBOL_duration_field = 292, /* duration_field */ + YYSYMBOL_array_expr = 293, /* array_expr */ + YYSYMBOL_array_index = 294, /* array_index */ + YYSYMBOL_between_expr = 295, /* between_expr */ + YYSYMBOL_column_name = 296, /* column_name */ + YYSYMBOL_literal = 297, /* literal */ + YYSYMBOL_string_literal = 298, /* string_literal */ + YYSYMBOL_bool_literal = 299, /* bool_literal */ + YYSYMBOL_num_literal = 300, /* num_literal */ + YYSYMBOL_int_literal = 301, /* int_literal */ + YYSYMBOL_null_literal = 302, /* null_literal */ + YYSYMBOL_date_literal = 303, /* date_literal */ + YYSYMBOL_interval_literal = 304, /* interval_literal */ + YYSYMBOL_param_expr = 305, /* param_expr */ + YYSYMBOL_table_ref = 306, /* table_ref */ + YYSYMBOL_table_ref_atomic = 307, /* table_ref_atomic */ + YYSYMBOL_nonjoin_table_ref_atomic = 308, /* nonjoin_table_ref_atomic */ + YYSYMBOL_table_ref_commalist = 309, /* table_ref_commalist */ + YYSYMBOL_table_ref_name = 310, /* table_ref_name */ + YYSYMBOL_table_ref_name_no_alias = 311, /* table_ref_name_no_alias */ + YYSYMBOL_table_name = 312, /* table_name */ + YYSYMBOL_opt_index_name = 313, /* opt_index_name */ + YYSYMBOL_table_alias = 314, /* table_alias */ + YYSYMBOL_opt_table_alias = 315, /* opt_table_alias */ + YYSYMBOL_alias = 316, /* alias */ + YYSYMBOL_opt_alias = 317, /* opt_alias */ + YYSYMBOL_opt_locking_clause = 318, /* opt_locking_clause */ + YYSYMBOL_opt_locking_clause_list = 319, /* opt_locking_clause_list */ + YYSYMBOL_locking_clause = 320, /* locking_clause */ + YYSYMBOL_row_lock_mode = 321, /* row_lock_mode */ + YYSYMBOL_opt_row_lock_policy = 322, /* opt_row_lock_policy */ + YYSYMBOL_with_clause = 323, /* with_clause */ + YYSYMBOL_with_description_list = 324, /* with_description_list */ + YYSYMBOL_with_description = 325, /* with_description */ + YYSYMBOL_join_clause = 326, /* join_clause */ + YYSYMBOL_opt_join_type = 327, /* opt_join_type */ + YYSYMBOL_join_condition = 328, /* join_condition */ + YYSYMBOL_opt_semicolon = 329, /* opt_semicolon */ + YYSYMBOL_ident_commalist = 330 /* ident_commalist */ }; typedef enum yysymbol_kind_t yysymbol_kind_t; @@ -791,21 +791,21 @@ union yyalloc #endif /* !YYCOPY_NEEDED */ /* YYFINAL -- State number of the termination state. */ -#define YYFINAL 69 +#define YYFINAL 79 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 924 +#define YYLAST 923 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 197 +#define YYNTOKENS 198 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 133 /* YYNRULES -- Number of rules. */ #define YYNRULES 345 /* YYNSTATES -- Number of states. */ -#define YYNSTATES 629 +#define YYNSTATES 628 /* YYMAXUTOK -- Last valid token kind. */ -#define YYMAXUTOK 434 +#define YYMAXUTOK 435 /* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM @@ -823,9 +823,9 @@ static const yytype_uint8 yytranslate[] = 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 186, 2, 2, - 191, 192, 184, 182, 195, 183, 193, 185, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 194, - 175, 172, 176, 196, 2, 2, 2, 2, 2, 2, + 192, 193, 184, 182, 196, 183, 194, 185, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 195, + 175, 172, 176, 197, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 189, 2, 190, 187, 2, 2, 2, 2, 2, @@ -862,48 +862,48 @@ static const yytype_uint8 yytranslate[] = 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 173, 174, 177, - 178, 179, 180, 181, 188 + 178, 179, 180, 181, 188, 191 }; #if HSQL_DEBUG /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ static const yytype_int16 yyrline[] = { - 0, 328, 328, 347, 353, 360, 364, 368, 369, 370, - 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, - 387, 388, 390, 394, 399, 403, 413, 414, 415, 417, - 417, 423, 429, 431, 435, 447, 453, 466, 481, 485, - 486, 487, 489, 498, 502, 512, 522, 533, 549, 550, - 555, 566, 579, 591, 598, 605, 614, 615, 617, 621, - 626, 627, 629, 636, 637, 638, 639, 640, 641, 642, - 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, - 656, 658, 659, 661, 662, 663, 665, 666, 668, 672, - 677, 678, 679, 680, 682, 683, 691, 697, 703, 709, - 715, 716, 723, 729, 731, 741, 748, 759, 766, 774, - 775, 782, 789, 793, 798, 808, 812, 816, 828, 828, - 830, 831, 840, 841, 843, 857, 869, 874, 878, 882, - 887, 888, 890, 900, 901, 903, 905, 906, 908, 910, - 911, 913, 918, 920, 921, 923, 924, 926, 930, 935, - 937, 938, 939, 943, 944, 946, 947, 948, 949, 950, - 951, 956, 960, 966, 967, 969, 973, 978, 978, 982, - 990, 991, 993, 1002, 1002, 1002, 1002, 1002, 1004, 1005, - 1005, 1005, 1005, 1005, 1005, 1005, 1005, 1006, 1006, 1010, - 1010, 1012, 1013, 1014, 1015, 1016, 1018, 1018, 1019, 1020, - 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1029, 1030, 1032, - 1033, 1034, 1035, 1039, 1040, 1041, 1042, 1044, 1045, 1047, - 1048, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1060, 1061, - 1065, 1066, 1068, 1069, 1074, 1075, 1076, 1080, 1081, 1082, - 1084, 1085, 1086, 1087, 1088, 1090, 1092, 1094, 1095, 1096, - 1097, 1098, 1099, 1101, 1102, 1103, 1104, 1105, 1106, 1108, - 1108, 1110, 1112, 1114, 1116, 1117, 1118, 1119, 1121, 1121, - 1121, 1121, 1121, 1121, 1121, 1123, 1125, 1126, 1128, 1129, - 1131, 1133, 1135, 1146, 1147, 1158, 1190, 1199, 1199, 1206, - 1206, 1208, 1208, 1215, 1219, 1224, 1232, 1238, 1242, 1247, - 1248, 1250, 1250, 1252, 1252, 1254, 1255, 1257, 1257, 1263, - 1264, 1266, 1270, 1275, 1281, 1288, 1289, 1290, 1291, 1293, - 1294, 1295, 1301, 1301, 1303, 1305, 1309, 1314, 1324, 1331, - 1339, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, - 1357, 1359, 1365, 1365, 1368, 1372 + 0, 332, 332, 351, 357, 364, 368, 372, 373, 374, + 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, + 391, 392, 394, 398, 403, 407, 417, 418, 419, 421, + 421, 427, 433, 435, 439, 451, 457, 470, 485, 487, + 488, 489, 491, 500, 504, 514, 524, 535, 551, 552, + 557, 568, 581, 593, 600, 607, 616, 617, 619, 623, + 628, 629, 631, 638, 639, 640, 641, 642, 643, 644, + 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, + 658, 660, 661, 663, 664, 665, 667, 668, 670, 674, + 679, 680, 681, 682, 684, 685, 693, 699, 705, 711, + 717, 718, 725, 731, 733, 743, 750, 761, 768, 776, + 777, 784, 791, 795, 800, 809, 809, 811, 831, 859, + 859, 870, 881, 892, 904, 905, 907, 909, 911, 916, + 920, 924, 929, 930, 932, 942, 943, 945, 947, 948, + 950, 952, 953, 955, 960, 962, 963, 965, 966, 968, + 972, 977, 979, 980, 981, 985, 986, 988, 989, 990, + 991, 992, 993, 998, 1002, 1008, 1009, 1011, 1015, 1020, + 1020, 1024, 1032, 1033, 1035, 1044, 1044, 1044, 1044, 1044, + 1046, 1047, 1047, 1047, 1047, 1047, 1047, 1047, 1047, 1048, + 1048, 1052, 1052, 1054, 1055, 1056, 1057, 1058, 1060, 1060, + 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1071, + 1072, 1074, 1075, 1076, 1077, 1081, 1082, 1083, 1084, 1086, + 1087, 1089, 1090, 1092, 1093, 1094, 1095, 1096, 1097, 1098, + 1102, 1103, 1107, 1108, 1110, 1111, 1116, 1117, 1118, 1122, + 1123, 1124, 1126, 1127, 1128, 1129, 1130, 1132, 1134, 1136, + 1137, 1138, 1139, 1140, 1141, 1143, 1144, 1145, 1146, 1147, + 1148, 1150, 1150, 1152, 1154, 1156, 1158, 1159, 1160, 1161, + 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1165, 1167, 1168, + 1170, 1171, 1173, 1175, 1177, 1188, 1189, 1200, 1232, 1241, + 1241, 1248, 1248, 1250, 1250, 1257, 1261, 1266, 1274, 1280, + 1284, 1289, 1290, 1292, 1292, 1294, 1294, 1296, 1297, 1299, + 1299, 1305, 1306, 1308, 1312, 1317, 1323, 1330, 1331, 1332, + 1333, 1335, 1336, 1337, 1343, 1345, 1349, 1354, 1370, 1377, + 1385, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, + 1403, 1405, 1411, 1411, 1414, 1418 }; #endif @@ -945,24 +945,24 @@ static const char *const yytname[] = "UNBOUNDED", "FOLLOWING", "PRECEDING", "CURRENT_ROW", "'='", "EQUALS", "NOTEQUALS", "'<'", "'>'", "LESS", "GREATER", "LESSEQ", "GREATEREQ", "NOTNULL", "'+'", "'-'", "'*'", "'/'", "'%'", "'^'", "UMINUS", "'['", - "']'", "'('", "')'", "'.'", "';'", "','", "'?'", "$accept", "input", - "statement_list", "statement", "preparable_statement", "opt_hints", - "hint_list", "hint", "transaction_statement", "opt_transaction_keyword", - "prepare_statement", "prepare_target_query", "execute_statement", - "import_statement", "file_type", "file_path", - "opt_import_export_options", "import_export_options", "export_statement", - "show_statement", "create_statement", "opt_not_exists", - "table_elem_commalist", "table_elem", "column_def", "column_type", - "opt_time_precision", "opt_decimal_specification", - "opt_column_constraints", "column_constraint_set", "column_constraint", - "table_constraint", "drop_statement", "opt_exists", "alter_statement", - "alter_action", "drop_action", "delete_statement", "truncate_statement", + "']'", "SUBQUERY_AS_EXPR", "'('", "')'", "'.'", "';'", "','", "'?'", + "$accept", "input", "statement_list", "statement", + "preparable_statement", "opt_hints", "hint_list", "hint", + "transaction_statement", "opt_transaction_keyword", "prepare_statement", + "prepare_target_query", "execute_statement", "import_statement", + "file_type", "file_path", "opt_import_export_options", + "import_export_options", "export_statement", "show_statement", + "create_statement", "opt_not_exists", "table_elem_commalist", + "table_elem", "column_def", "column_type", "opt_time_precision", + "opt_decimal_specification", "opt_column_constraints", + "column_constraint_set", "column_constraint", "table_constraint", + "drop_statement", "opt_exists", "alter_statement", "alter_action", + "drop_action", "delete_statement", "truncate_statement", "insert_statement", "opt_column_list", "update_statement", "update_clause_commalist", "update_clause", "select_statement", - "select_within_set_operation", - "select_within_set_operation_no_parentheses", "select_with_paren", - "select_no_paren", "set_operator", "set_type", "opt_all", - "select_clause", "opt_distinct", "select_list", "opt_from_clause", + "query_expression", "query_expression_body", "query_expression_parens", + "query_term", "subquery", "set_operator", "set_type", "opt_all", + "query_primary", "opt_distinct", "select_list", "opt_from_clause", "from_clause", "opt_where", "opt_group", "opt_having", "opt_order", "order_list", "order_desc", "opt_order_type", "opt_top", "opt_limit", "expr_list", "opt_extended_literal_list", "extended_literal_list", @@ -979,10 +979,9 @@ static const char *const yytname[] = "table_ref_commalist", "table_ref_name", "table_ref_name_no_alias", "table_name", "opt_index_name", "table_alias", "opt_table_alias", "alias", "opt_alias", "opt_locking_clause", "opt_locking_clause_list", - "locking_clause", "row_lock_mode", "opt_row_lock_policy", - "opt_with_clause", "with_clause", "with_description_list", - "with_description", "join_clause", "opt_join_type", "join_condition", - "opt_semicolon", "ident_commalist", YY_NULLPTR + "locking_clause", "row_lock_mode", "opt_row_lock_policy", "with_clause", + "with_description_list", "with_description", "join_clause", + "opt_join_type", "join_condition", "opt_semicolon", "ident_commalist", YY_NULLPTR }; static const char * @@ -992,12 +991,12 @@ yysymbol_name (yysymbol_kind_t yysymbol) } #endif -#define YYPACT_NINF (-482) +#define YYPACT_NINF (-528) #define yypact_value_is_default(Yyn) \ ((Yyn) == YYPACT_NINF) -#define YYTABLE_NINF (-343) +#define YYTABLE_NINF (-341) #define yytable_value_is_error(Yyn) \ ((Yyn) == YYTABLE_NINF) @@ -1006,69 +1005,69 @@ yysymbol_name (yysymbol_kind_t yysymbol) STATE-NUM. */ static const yytype_int16 yypact[] = { - 637, 33, 72, 80, 108, 72, -5, 65, 135, 89, - 72, 143, 15, 123, 43, 252, 62, 62, 62, 251, - 66, -482, 147, -482, 147, -482, -482, -482, -482, -482, - -482, -482, -482, -482, -482, -482, -482, -20, -482, 309, - 100, -482, 125, 230, -482, 221, 221, 221, 72, 362, - 72, 269, -482, 297, -20, 303, 122, 297, 297, 297, - 72, -482, 302, 253, -482, -482, -482, -482, -482, -482, - 628, -482, 334, -482, -482, 316, 188, -482, 154, -482, - 451, 338, 453, 331, 459, 72, 72, 378, -482, 372, - 280, 469, 427, 72, 283, 284, 473, 473, 473, 476, - 72, 72, -482, 291, 252, -482, 293, 475, 477, -482, - -482, -482, -20, 371, 361, -20, 10, -482, -482, -482, - 418, 304, 490, -482, 492, -482, -482, 24, -482, 305, - 306, -482, -482, -482, -482, -482, -482, -482, -482, -482, - -482, -482, -482, -482, 456, -482, 364, -31, 280, 332, - -482, 473, 497, 109, 333, -39, -482, -482, 411, -482, - -482, -482, -60, -60, -60, -482, -482, -482, -482, -482, - 503, -482, -482, -482, 332, 430, -482, -482, 188, -482, - -482, 332, 430, 332, 137, 388, -482, -482, -482, -482, - -482, -482, -482, -482, -482, -482, -482, -482, -482, -482, - -482, 39, -482, 248, -482, -482, -482, 338, -482, 72, - 508, 397, 75, 385, -10, 323, 327, 328, 262, 393, - 335, 420, -482, 282, 235, 447, -482, -482, -482, -482, - -482, -482, -482, -482, -482, -482, -482, -482, -482, -482, - -482, -482, 422, -482, -119, 329, -482, 332, 469, -482, - 485, -482, -482, 336, 46, -482, 378, -482, 339, 34, - -482, 433, 337, -482, 37, 10, -20, 340, -482, 129, - 10, 235, 480, 93, 16, -482, 388, -482, 405, -482, - -482, 346, 443, -482, 723, 416, 349, 111, -482, -482, - -482, 397, 11, 18, 482, 248, 332, 332, 236, 185, - 351, 420, 686, 332, 138, 353, -25, 332, 332, 420, - -482, 420, -46, 352, 51, 420, 420, 420, 420, 420, - 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, - 475, 72, -482, 546, 338, 235, -482, 297, 46, 547, - 362, 165, -482, 338, -482, 503, 17, 378, -482, 332, - -482, 549, -482, -482, -482, -482, 332, -482, -482, -482, - 388, 332, 332, -482, 389, 431, -482, -80, -482, 723, - 497, 473, -482, -482, 365, -482, 366, -482, -482, 381, - -482, -482, 390, -482, -482, -482, -482, 391, -482, -482, - 28, 392, 497, -482, 75, -482, 501, 332, -482, -482, - 363, 489, -64, 184, 220, 332, 332, -482, 482, 487, - -127, -482, -482, -482, 470, 596, 709, 420, 400, 282, - -482, 486, 404, 709, 709, 709, 709, 735, 735, 735, - 735, 138, 138, 12, 12, 12, -97, 406, -482, -482, - 167, 591, 169, -482, -482, -482, 55, 182, -482, 397, - -482, 172, -482, 402, -482, 38, -482, 524, -482, -482, - -482, -482, 235, 235, -482, 534, 497, -482, 436, -482, - 408, 183, -482, 595, 599, -482, 600, 601, 602, -482, - 479, -482, -482, 504, -482, 28, -482, 497, 190, -482, - 421, -482, 209, -482, 332, 723, 332, 332, -482, 180, - 228, 417, -482, 420, 709, 282, 423, 215, -482, -482, - -482, -482, -482, 609, 362, -482, 425, 513, -482, -482, - -482, 538, 544, 545, 536, 17, 635, -482, -482, -482, - 510, -482, -482, 88, -482, -482, -482, 448, 217, 449, - 450, 454, -482, -482, -482, 226, -482, 540, 501, -23, - 457, 235, 238, -482, 332, -482, 686, 461, 237, -482, - -482, -482, -482, 38, 17, -482, -482, -482, 17, 216, - 463, 332, -482, -482, -482, 639, -482, -482, -482, -482, - 519, 430, -482, -482, -482, -482, 235, -482, -482, -482, - -482, 136, 497, -19, 464, 332, 294, 466, 332, 239, - 332, -482, -482, 337, -482, -482, -482, 468, 19, 497, - 235, -482, -482, 235, -482, 112, 20, 214, -482, -482, - 255, -482, -482, 543, -482, -482, -482, 20, -482 + 568, 102, 148, 156, 164, 148, 225, 105, 136, 163, + 152, 148, 231, 16, 234, 26, 305, 144, 144, 144, + -23, 315, 145, -528, 240, -528, 240, -528, -528, -528, + -528, -528, -528, -528, -528, -528, -528, -528, -528, -528, + 215, 20, -528, -528, -24, 328, 166, -528, 158, 275, + -528, 253, 253, 253, 148, 376, 148, 375, 373, 268, + -528, 271, -528, 267, -13, 271, 271, 271, 148, -528, + 290, 232, -528, -528, -528, -528, -528, 238, 18, -528, + 568, -528, 336, -528, -528, -528, -528, 307, -528, -24, + 310, 161, -24, 215, 20, -528, 439, 36, 447, 319, + 449, 148, 148, 368, -528, 386, 279, -528, -528, -528, + 408, 480, 437, 148, 481, 481, 481, 483, 148, 148, + -528, 295, 305, -528, -528, -528, 297, 408, -528, -528, + -528, -528, 408, 242, 369, -528, -528, 161, -528, -528, + -528, 771, 300, 489, -528, 490, -528, -528, 62, -528, + 303, 301, -528, -528, -528, -528, -528, -528, -528, -528, + -528, -528, -528, -528, -528, 452, -528, 366, -65, 279, + 408, -528, 481, 498, 79, 63, 311, 313, 314, 262, + 463, 324, 470, -528, 190, -528, 406, 312, -528, 94, + 512, -528, -528, -528, -528, -528, -528, -528, -528, -528, + -528, -528, -528, -528, -528, -528, -528, 343, -55, -528, + -528, 428, -528, -82, -82, -82, -528, -528, -528, -528, + -528, 519, 327, -528, 134, 138, 468, 167, -17, -528, + 369, -528, 369, -528, -528, -528, -528, -528, -528, -528, + -528, -528, -528, -528, -528, -528, -528, -528, 44, -528, + 247, -528, -528, -528, 36, -528, 148, 523, -23, 81, + 399, 138, 430, -528, 38, 339, -528, 11, 21, 469, + 247, 408, 408, 219, 180, 342, 470, 699, 408, 137, + 18, -63, 17, 368, -528, 408, -528, 408, 532, 408, + -528, -528, 470, -528, 470, -7, 344, -16, 470, 470, + 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, + 470, 470, 470, 375, 408, 480, -528, 497, -528, -528, + 348, 50, -528, 368, -528, 349, 88, -528, 408, -528, + -528, -528, 408, 408, -528, 378, 420, -528, 125, -528, + -528, 416, -528, -528, 353, 453, -528, 678, 424, 357, + 124, -528, -528, -528, -23, 148, -528, 548, 36, 473, + 408, -528, -528, 365, 472, 160, 216, 198, 408, 408, + -528, 469, 456, 54, -528, -23, -528, 34, -528, 370, + -528, 25, -528, 493, -528, -528, -528, 454, 635, 722, + 470, 379, 401, -528, 459, 384, 722, 722, 722, 722, + 666, 666, 666, 666, 137, 137, -50, -50, -50, -96, + 387, 138, -528, 271, 50, 570, 376, 179, -528, 36, + -528, 519, -528, 138, 138, -528, 514, 498, -528, 417, + -528, 678, 498, 481, -528, -528, 389, -528, 390, -528, + -528, 394, -528, -528, 396, -528, -528, -528, -528, 397, + -528, -528, 130, 404, 498, -528, 81, -528, -528, -528, + 206, 405, -528, 226, -528, 408, 678, 408, 408, -528, + 243, 235, 409, -528, 410, 478, -528, -528, -528, 524, + 527, 531, 511, 17, 596, -528, -528, -528, 484, -528, + 470, 722, 401, 421, 227, -528, -528, 616, 228, -528, + -528, -528, 201, 236, -528, -528, -85, -528, 427, 237, + -528, 620, 622, -528, 623, 624, 625, -528, 510, -528, + -528, 528, -528, 130, -528, 498, 244, -528, -528, 530, + 473, -37, 445, 138, 249, -528, 408, -528, 25, 17, + -528, -528, -528, 17, 202, 448, 408, 699, 446, 245, + -528, -528, -528, -528, 637, 376, -528, -528, -528, -528, + 455, 251, 457, 465, 466, -528, -528, -528, 265, -528, + 513, 567, -528, -528, -528, -528, 138, -528, -528, 436, + 498, -34, -528, -528, -528, -528, -528, -528, 643, -528, + -528, -528, -528, 408, 298, 464, 408, 284, 408, -528, + 471, 312, -528, -528, -528, 475, 45, 498, 138, -528, + -528, 138, -528, -528, -90, 32, 51, -528, -528, 286, + -528, -528, 545, -528, -528, -528, 32, -528 }; /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. @@ -1076,107 +1075,107 @@ static const yytype_int16 yypact[] = means the default is an error. */ static const yytype_int16 yydefact[] = { - 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 30, 30, 30, 0, - 343, 3, 21, 19, 21, 18, 8, 9, 7, 11, - 16, 17, 13, 14, 12, 15, 10, 0, 322, 0, - 297, 106, 33, 0, 50, 57, 57, 57, 0, 0, - 0, 0, 296, 101, 0, 0, 0, 101, 101, 101, - 0, 48, 0, 324, 325, 29, 26, 28, 27, 1, - 323, 2, 0, 6, 5, 154, 115, 116, 146, 98, - 0, 164, 0, 0, 300, 0, 0, 140, 37, 0, - 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 49, 0, 0, 4, 0, 0, 134, 128, - 129, 127, 0, 131, 0, 0, 160, 298, 275, 278, - 280, 0, 0, 281, 0, 276, 277, 0, 286, 0, - 163, 165, 167, 169, 268, 269, 270, 279, 271, 272, - 273, 274, 32, 31, 0, 299, 0, 0, 110, 0, - 105, 0, 0, 0, 0, 140, 112, 100, 0, 123, - 122, 38, 41, 41, 41, 99, 96, 97, 327, 326, - 0, 280, 153, 133, 0, 146, 119, 118, 120, 130, - 126, 0, 146, 0, 0, 310, 247, 248, 249, 250, - 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, - 283, 0, 282, 285, 170, 171, 34, 0, 56, 0, - 0, 323, 0, 0, 264, 0, 0, 0, 0, 0, - 0, 0, 266, 0, 139, 173, 180, 181, 182, 175, - 177, 183, 176, 196, 184, 185, 186, 187, 179, 174, - 189, 190, 0, 344, 0, 0, 108, 0, 0, 111, - 0, 102, 103, 0, 0, 47, 140, 46, 24, 0, - 22, 137, 135, 161, 308, 160, 0, 145, 147, 152, - 160, 156, 158, 155, 0, 124, 309, 311, 0, 284, - 166, 0, 0, 53, 0, 0, 0, 0, 58, 60, - 61, 323, 134, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 192, 0, 191, 0, 0, 0, 0, 0, - 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 109, 0, 0, 114, 113, 101, 0, 0, - 0, 0, 36, 0, 20, 0, 0, 140, 136, 0, - 306, 0, 307, 172, 117, 121, 0, 151, 150, 149, - 310, 0, 0, 315, 0, 0, 317, 321, 312, 0, - 0, 0, 79, 73, 0, 75, 85, 76, 63, 0, - 70, 71, 0, 67, 68, 74, 77, 82, 72, 64, - 87, 0, 0, 52, 0, 55, 231, 0, 265, 267, - 0, 0, 0, 0, 0, 0, 0, 215, 0, 0, - 0, 188, 178, 207, 208, 0, 203, 0, 0, 0, - 194, 0, 206, 205, 221, 222, 223, 224, 225, 226, - 227, 198, 197, 200, 199, 201, 202, 0, 35, 345, - 0, 0, 0, 45, 43, 40, 0, 0, 23, 323, - 138, 287, 289, 0, 291, 304, 290, 142, 162, 305, - 148, 125, 159, 157, 318, 0, 0, 320, 0, 313, - 0, 0, 51, 0, 0, 69, 0, 0, 0, 78, - 0, 91, 92, 0, 62, 86, 88, 0, 0, 59, - 0, 228, 0, 219, 0, 0, 0, 0, 213, 0, - 0, 0, 261, 0, 204, 0, 0, 0, 195, 262, - 107, 104, 39, 0, 0, 25, 0, 0, 339, 331, - 337, 335, 338, 333, 0, 0, 0, 303, 295, 301, - 0, 132, 316, 321, 319, 168, 54, 0, 0, 0, - 0, 0, 90, 93, 89, 0, 95, 233, 231, 0, - 0, 217, 0, 216, 0, 220, 263, 0, 0, 211, - 209, 44, 42, 304, 0, 334, 336, 332, 0, 288, - 305, 0, 314, 66, 84, 0, 80, 65, 81, 94, - 0, 146, 229, 245, 246, 214, 218, 212, 210, 292, - 328, 340, 0, 144, 0, 0, 236, 0, 0, 0, - 0, 141, 83, 232, 237, 238, 239, 0, 0, 0, - 341, 329, 302, 143, 230, 0, 0, 0, 244, 234, - 0, 243, 241, 0, 242, 240, 330, 0, 235 + 156, 0, 0, 0, 0, 0, 0, 30, 30, 30, + 0, 0, 343, 3, 21, 19, 21, 18, 8, 9, + 7, 11, 16, 17, 13, 14, 12, 15, 10, 115, + 148, 116, 119, 126, 0, 0, 299, 106, 33, 0, + 50, 57, 57, 57, 0, 0, 0, 0, 136, 0, + 298, 101, 127, 0, 0, 101, 101, 101, 0, 48, + 0, 324, 325, 29, 26, 28, 27, 0, 0, 1, + 342, 2, 0, 6, 5, 130, 131, 0, 129, 0, + 133, 162, 0, 148, 0, 98, 0, 166, 0, 0, + 302, 0, 0, 142, 37, 0, 110, 282, 155, 135, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 49, 0, 0, 125, 124, 4, 0, 0, 122, 120, + 132, 128, 0, 0, 312, 123, 121, 162, 300, 277, + 280, 282, 0, 0, 283, 0, 278, 279, 0, 288, + 0, 165, 167, 169, 171, 270, 271, 272, 281, 273, + 274, 275, 276, 32, 31, 0, 301, 0, 0, 110, + 0, 105, 0, 0, 0, 266, 0, 0, 0, 0, + 0, 0, 0, 268, 0, 190, 139, 137, 163, 310, + 175, 182, 183, 184, 177, 179, 185, 178, 198, 186, + 187, 188, 189, 181, 176, 191, 192, 0, 142, 112, + 100, 0, 38, 41, 41, 41, 99, 96, 97, 327, + 326, 0, 147, 149, 154, 158, 160, 157, 0, 117, + 311, 313, 312, 249, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 259, 260, 261, 262, 285, 0, 284, + 287, 172, 173, 34, 0, 56, 0, 0, 0, 0, + 0, 141, 0, 344, 0, 0, 108, 136, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 194, 0, 193, + 127, 0, 0, 142, 138, 0, 308, 0, 0, 0, + 309, 174, 0, 195, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 111, 0, 102, 103, + 0, 0, 47, 142, 46, 24, 0, 22, 0, 153, + 152, 151, 0, 0, 317, 0, 0, 319, 323, 314, + 118, 0, 286, 168, 0, 0, 53, 0, 0, 0, + 0, 58, 60, 61, 0, 0, 109, 0, 0, 233, + 0, 267, 269, 0, 0, 0, 0, 0, 0, 0, + 217, 0, 0, 0, 180, 0, 140, 289, 291, 0, + 293, 306, 292, 144, 164, 209, 307, 210, 0, 205, + 0, 0, 0, 196, 0, 208, 207, 223, 224, 225, + 226, 227, 228, 229, 200, 199, 202, 201, 203, 204, + 0, 114, 113, 101, 0, 0, 0, 0, 36, 0, + 20, 0, 150, 161, 159, 320, 0, 0, 322, 0, + 315, 0, 0, 0, 79, 73, 0, 75, 85, 76, + 63, 0, 70, 71, 0, 67, 68, 74, 77, 82, + 72, 64, 87, 0, 0, 52, 0, 55, 35, 345, + 0, 0, 230, 0, 221, 0, 0, 0, 0, 215, + 0, 0, 0, 263, 0, 0, 339, 331, 337, 335, + 338, 333, 0, 0, 0, 305, 297, 303, 0, 134, + 0, 206, 0, 0, 0, 197, 264, 0, 0, 45, + 43, 40, 0, 0, 23, 318, 323, 321, 0, 0, + 51, 0, 0, 69, 0, 0, 0, 78, 0, 91, + 92, 0, 62, 86, 88, 0, 0, 59, 107, 235, + 233, 0, 0, 219, 0, 218, 0, 222, 306, 0, + 334, 336, 332, 0, 290, 307, 0, 265, 0, 0, + 213, 211, 104, 39, 0, 0, 25, 316, 170, 54, + 0, 0, 0, 0, 0, 90, 93, 89, 0, 95, + 0, 148, 231, 247, 248, 216, 220, 294, 328, 340, + 0, 146, 214, 212, 44, 42, 66, 84, 0, 80, + 65, 81, 94, 0, 238, 0, 0, 0, 0, 143, + 0, 234, 239, 240, 241, 0, 0, 0, 341, 329, + 304, 145, 83, 232, 0, 0, 0, 246, 236, 0, + 245, 243, 0, 244, 242, 330, 0, 237 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -482, -482, -482, 588, -482, 638, -482, 318, -482, 290, - -482, -482, -482, -482, -318, -93, 250, 330, -482, -482, - -482, 356, -482, 271, -482, -331, -482, -482, -482, -482, - 186, -482, -482, -43, -482, -482, -482, -482, -482, -482, - 525, -482, -482, 419, -203, -87, -482, 35, -53, -28, - -482, -482, -88, 380, -482, -482, -482, -124, -482, -482, - -173, -482, 320, -482, -482, -26, -291, -482, -161, 467, - 483, 344, -149, -202, -482, -482, -482, -482, -482, -482, - 379, -482, -482, -482, 132, -482, -482, -482, -481, -482, - -482, -151, -482, -482, -482, -482, -482, -482, -71, -482, - -482, 556, -100, -482, -482, 558, -482, -482, -477, 124, - -482, -482, -482, 1, -482, -482, 126, 432, -482, 326, - -482, 424, -482, 161, -482, -482, -482, 583, -482, -482, - -482, -482, -333 + -528, -528, -528, 585, -528, 640, -528, 248, -528, 317, + -528, -528, -528, -528, -390, -103, 150, 256, -528, -528, + -528, 356, -528, 217, -528, -353, -528, -528, -528, -528, + 149, -528, -528, -56, -528, -528, -528, -528, -528, -528, + 502, -528, -528, 359, -226, 1, 631, 2, -19, 12, + 117, -528, -528, -252, 411, -528, -528, -528, -171, -528, + -528, -93, -528, 351, -528, -528, 539, -274, -528, -302, + 426, 433, 415, -126, -128, -528, -528, -528, -528, -528, + -528, 429, -528, -528, -528, 174, -528, -528, -528, -527, + -528, -528, -175, -528, -528, -528, -528, -528, -528, -94, + -528, -528, 534, -42, -528, -528, 557, -528, -528, -418, + 154, -528, -528, -528, 3, -528, -528, 168, 518, -528, + 485, -528, 486, -528, 207, -528, -528, 593, -528, -528, + -528, -528, -393 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - 0, 19, 20, 21, 22, 73, 259, 260, 23, 66, - 24, 143, 25, 26, 89, 162, 255, 341, 27, 28, - 29, 84, 287, 288, 289, 390, 479, 475, 484, 485, - 486, 290, 30, 93, 31, 251, 252, 32, 33, 34, - 153, 35, 155, 156, 36, 175, 176, 177, 77, 112, - 113, 180, 78, 174, 261, 347, 348, 150, 531, 601, - 116, 267, 268, 359, 108, 185, 262, 129, 130, 131, - 132, 263, 264, 225, 226, 227, 228, 229, 230, 231, - 299, 232, 233, 234, 491, 581, 607, 608, 619, 235, - 236, 198, 199, 200, 237, 238, 239, 240, 241, 134, - 135, 136, 137, 138, 139, 140, 141, 450, 451, 452, - 453, 454, 51, 455, 146, 527, 528, 529, 353, 275, - 276, 277, 367, 469, 37, 38, 63, 64, 456, 524, - 611, 71, 244 + 0, 21, 22, 23, 24, 83, 326, 327, 25, 74, + 26, 164, 27, 28, 105, 213, 322, 417, 29, 30, + 31, 100, 350, 351, 352, 452, 517, 513, 522, 523, + 524, 353, 32, 113, 33, 318, 319, 34, 35, 36, + 174, 37, 208, 209, 38, 39, 40, 62, 42, 185, + 92, 90, 131, 43, 110, 186, 283, 284, 171, 489, + 599, 91, 222, 223, 331, 58, 134, 187, 150, 151, + 152, 153, 188, 189, 190, 191, 192, 193, 194, 195, + 196, 274, 197, 198, 199, 462, 571, 605, 606, 618, + 200, 201, 245, 246, 247, 202, 203, 204, 205, 206, + 155, 156, 157, 158, 159, 160, 161, 162, 376, 377, + 378, 379, 380, 59, 381, 167, 485, 486, 487, 291, + 229, 230, 231, 338, 430, 44, 71, 72, 382, 482, + 609, 81, 264 }; /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If @@ -1184,196 +1183,196 @@ static const yytype_int16 yydefgoto[] = number is the opposite. If YYTABLE_NINF, syntax error. */ static const yytype_int16 yytable[] = { - 224, 95, 265, 41, 163, 164, 44, 172, 283, 270, - 133, 52, 410, 56, 99, 100, 101, 302, 40, 304, - 40, 398, 444, 173, 178, 615, 615, 178, 182, 119, - 120, 249, 269, 600, 271, 273, 616, 471, 470, 75, - 350, 350, 315, 118, 119, 120, 149, 55, 569, 87, - 115, 90, 279, 466, 307, 253, 480, 417, 242, 488, - 39, 102, 60, 502, 495, 210, 183, 45, 349, 298, - 339, 308, 76, 332, 306, 40, 333, 46, 284, 513, - 363, 467, 468, 42, 184, 418, 147, 148, 395, 94, - 481, 591, 330, 307, 158, 307, 340, 211, 335, 302, - 246, 166, 167, 285, 61, 514, 492, 415, 47, 416, - 308, 43, 308, 422, 423, 424, 425, 426, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 507, 122, - 133, 254, 342, 533, 482, 623, 133, 286, 168, 364, - 214, 118, 119, 120, 401, 123, 628, 402, 403, 362, - 266, 315, 483, 365, 545, 307, 248, 420, 413, 414, - 212, 48, 517, 109, 550, 351, 526, 412, 75, 583, - 305, 54, 308, 440, 245, 421, 349, 124, 178, 355, - 366, 292, 447, 293, 215, 216, 217, 617, 617, 50, - 618, 618, 124, 125, 126, 57, 562, 109, 517, 329, - 110, 330, 399, 396, 518, 58, 54, 269, 449, 519, - 281, 307, 462, 463, 558, 504, 520, 521, 97, 65, - 597, 357, 127, 457, 218, 53, 344, 122, 308, 345, - 437, 49, 114, 522, 110, 128, 59, 111, 523, 354, - 518, 400, 517, 123, 360, 519, 516, 307, 358, 467, - 468, 69, 520, 521, 272, 62, 499, 500, 98, 599, - 70, 219, 72, 133, 308, 214, 118, 119, 120, 522, - 598, 111, 133, -340, 523, 220, 620, 315, 472, 405, - 593, 621, 622, 333, 518, 214, 118, 119, 120, 519, - 124, 125, 126, 80, 441, 496, 520, 521, 307, 406, - 553, 556, 307, 393, 603, 407, 394, 67, 68, 215, - 216, 217, 79, 522, 497, 308, 81, -340, 523, 308, - 221, 222, 326, 327, 328, 329, 82, 330, 223, 215, - 216, 217, 438, 128, 406, 214, 118, 119, 120, 554, - 498, 75, 118, 119, 120, 549, 307, 551, 552, 218, - 297, 83, 122, 307, 307, 501, 307, 445, 585, 510, - 446, 512, 207, 308, 446, 88, 506, -293, 123, 218, - 308, 308, 122, 308, 515, 536, 297, 207, 333, 215, - 216, 217, 546, 624, 625, 333, 219, 121, 123, 186, - 187, 188, 189, 190, 191, 91, 214, 118, 119, 120, - 220, 548, 85, 86, 349, 586, 219, 560, 596, 574, - 349, -294, 575, 256, 257, 124, 125, 126, 579, 218, - 220, 333, 122, 214, 118, 119, 120, 92, 122, 588, - 103, 612, 349, 106, 333, 124, 125, 126, 123, 96, - 300, 216, 217, 107, 123, 221, 222, 626, 104, 610, - 333, 613, 557, 223, 117, 144, 219, 142, 128, 604, - 605, 606, 145, 149, 309, 221, 222, 151, 216, 217, - 220, 152, 154, 223, 157, 159, 160, 161, 128, 165, - 218, 171, 54, 122, 170, 124, 125, 126, 179, 173, - 181, 124, 125, 126, 202, 201, 203, 206, 209, 123, - 243, 207, 310, 208, 250, 247, 258, 218, 114, 274, - 122, 282, 15, 291, 294, 221, 222, 301, 295, 296, - 334, 127, 331, 223, 303, 337, 123, 338, 128, 346, - 343, 220, 349, 369, 128, 356, 361, 370, 371, 391, - 392, 75, 408, 419, 301, 411, 124, 125, 126, 439, - 311, 443, 459, 464, 465, 493, 473, 474, 220, 186, - 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, - 197, 312, 476, 124, 125, 126, 221, 222, 313, 314, - 490, 477, 478, 487, 223, 494, 315, 316, 307, 128, - 417, 505, 508, 330, 511, 530, 509, 525, 532, 534, - 535, 537, 542, 221, 222, 538, 539, 540, 541, 555, - 543, 223, 547, 561, 564, 559, 128, 563, 565, 317, - 318, 319, 320, 321, 566, 567, 322, 323, -342, 324, - 325, 326, 327, 328, 329, 1, 330, 568, 570, 571, - 573, 576, 577, 2, 1, 594, 578, 580, 595, 584, - 3, 310, 2, 587, 592, 4, 602, 609, 105, 3, - 614, 627, 74, 448, 4, 489, 5, 336, 442, 6, - 7, 544, 397, 213, 280, 5, 460, 404, 6, 7, - 582, 8, 9, 204, 278, 205, 461, 169, 590, 589, - 8, 9, 10, 458, 572, 11, 352, 0, 0, 311, - 368, 10, 0, 0, 11, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 503, 0, 0, 12, 0, 0, - 409, 13, 0, 0, 0, 0, 12, 0, 314, 0, - 13, 0, 0, 0, 372, 315, 316, 14, 0, 0, - 0, 310, 0, 15, 0, 0, 14, 0, 373, 0, - 0, 0, 15, 374, 375, 376, 377, 378, 0, 379, - 0, 0, 0, 0, 310, 0, 0, 380, 317, 318, - 319, 320, 321, 0, 0, 322, 323, 0, 324, 325, - 326, 327, 328, 329, 0, 330, 16, 17, 18, 311, - 310, 0, 0, 381, 0, 16, 17, 18, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 409, 382, -343, 383, 384, 0, 0, 0, 314, 0, - 0, 0, 0, 0, 0, 315, 316, 0, 385, 0, - 0, 0, 0, 386, 0, 387, 0, 0, 0, 0, - 0, 314, 0, 0, 0, 388, 0, 0, 315, -343, - 0, 0, 0, 0, 0, 0, 0, 0, 317, 318, - 319, 320, 321, 0, 0, 322, 323, 314, 324, 325, - 326, 327, 328, 329, 315, 330, 0, 0, 0, 389, - 0, -343, -343, -343, 320, 321, 0, 0, 322, 323, - 0, 324, 325, 326, 327, 328, 329, 0, 330, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - -343, -343, 0, 0, -343, -343, 0, 324, 325, 326, - 327, 328, 329, 0, 330 + 137, 224, 41, 154, 373, 47, 225, 227, 50, 117, + 118, 119, 214, 215, 60, 108, 64, 363, 598, 46, + 46, 77, 78, 109, 361, 63, 500, 85, 286, 85, + 170, 257, 346, 320, 506, 10, 10, 316, 614, 509, + 139, 140, 141, 298, 261, 68, 94, 334, 139, 140, + 141, 614, 277, 273, 279, 287, 460, 103, 281, 106, + 475, 526, 615, 258, 86, 544, 86, 140, 141, 262, + 129, 120, 289, 136, 415, 342, 428, 429, 508, 620, + 621, 287, 41, 115, 347, 142, 463, 69, 622, 298, + 393, 128, 16, 313, 135, 364, 390, 286, 289, 627, + 416, 88, 476, 88, 168, 169, 335, 477, 394, 348, + 321, 357, 383, 532, 478, 479, 211, 503, 494, 472, + 336, 217, 218, 116, 391, 579, 143, 259, 457, 45, + 374, 480, 568, 219, 143, -340, 481, 312, 10, 313, + 493, 315, 144, 349, 265, 365, 366, 337, 277, 474, + 144, 46, 418, 484, 154, 266, 573, 89, 518, 48, + 154, 385, 285, 387, 388, 585, 389, 49, 20, 20, + 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, + 405, 406, 407, 408, 409, 77, 280, 597, 411, 145, + 146, 147, 519, 175, 139, 140, 141, 145, 146, 147, + 616, 54, 224, 617, 359, 362, 423, 424, 20, 375, + 89, 124, 287, 616, 619, 145, 617, 132, 549, 148, + 623, 624, 288, 333, 85, 554, 329, 148, 475, 289, + -295, 356, 55, 149, 357, 133, 520, 176, 177, 178, + 548, 149, 470, 471, 473, 175, 139, 140, 141, 10, + 285, 555, 287, 330, 521, 267, 287, 268, 427, 344, + 41, 86, 491, 56, 154, 175, 139, 140, 141, 289, + 476, 410, 581, 289, 368, 477, 298, 179, 287, 57, + 143, 420, 478, 479, 421, 287, 428, 429, 466, 176, + 177, 178, 468, 87, 369, 289, 144, 51, 88, 480, + 370, 73, 289, -340, 481, 16, 65, 52, 70, 176, + 177, 178, 369, 61, 180, 79, 66, 455, 469, 601, + 456, 309, 310, 311, 312, 154, 313, 467, 181, 179, + 510, 95, 143, 272, 287, 75, 76, 287, 53, 531, + 80, 533, 534, 145, 146, 147, 536, 67, 144, 179, + 97, 289, 143, 287, 289, 82, 41, 497, 458, 226, + 96, 287, 547, 535, 323, 324, 180, 287, 144, 575, + 289, 98, 501, 182, 183, 502, 272, 41, 289, 104, + 181, 107, 184, 99, 289, 109, 180, 149, 233, 234, + 235, 236, 237, 238, 111, 145, 146, 147, -296, 528, + 181, 112, 254, 114, 175, 139, 140, 141, 101, 102, + 576, 175, 139, 140, 141, 145, 146, 147, 121, 530, + 551, 553, 285, 285, 502, 182, 183, 130, 122, 556, + 559, 123, 254, 357, 184, 126, 127, 569, 583, 149, + 357, 285, 138, 165, 587, 182, 183, 588, 176, 177, + 178, 163, 166, 170, 184, 176, 177, 178, 592, 149, + 10, 357, 475, 602, 603, 604, 175, 139, 140, 141, + 608, 173, 611, 175, 139, 140, 141, 610, 594, 625, + 357, 172, 357, 207, 210, 212, 216, 20, 179, 221, + 228, 143, 248, 249, 250, 179, 253, 254, 143, 255, + 256, 263, 282, 269, 476, 270, 271, 144, 285, 477, + 275, 177, 178, 278, 144, 314, 478, 479, 177, 178, + 595, 317, 325, 328, 332, 180, 345, 354, 10, 292, + 355, 358, 180, 480, 371, 386, 392, 413, 481, 181, + 414, 419, 425, 426, 431, 432, 181, 453, 433, 454, + 179, 459, 461, 143, 145, 146, 147, 179, 464, 390, + 143, 145, 146, 147, 488, 495, 483, 293, 465, 144, + 596, 492, 287, 313, 499, 1, 144, 496, 505, 539, + 507, 511, 512, 2, 182, 183, 514, 276, 515, 516, + 3, 182, 183, 184, 276, 4, 525, 529, 149, 545, + 184, 181, 537, 538, 540, 149, 5, 541, 181, 6, + 7, 542, 543, 546, 550, 294, 145, 146, 147, 552, + 558, 8, 9, 145, 146, 147, 560, 10, 561, 562, + 563, 564, 11, 565, 566, 12, 295, 570, 574, 582, + 580, 584, 593, 296, 297, 87, 182, 183, 586, 600, + 589, 298, 299, 182, 183, 184, 607, 13, 590, 591, + 149, 14, 184, 626, 612, 125, 84, 149, 613, 504, + 498, 260, 567, 527, 412, 93, 232, 15, 360, 422, + 343, 341, 251, 16, 300, 301, 302, 303, 304, 434, + 293, 305, 306, 578, 307, 308, 309, 310, 311, 312, + 384, 313, 367, 435, 572, 252, 577, 290, 436, 437, + 438, 439, 440, 557, 441, 220, 339, 340, 0, 0, + 0, 293, 442, 0, 0, 0, 17, 18, 19, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 294, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 443, 0, + 0, 0, 0, 490, 293, 0, 0, 0, 0, 372, + 20, 0, 0, 0, 0, 0, 444, 297, 445, 446, + 0, 0, 0, 0, 298, 299, 0, 293, 0, 0, + 0, 0, 0, 447, 0, 0, 0, 0, 448, 0, + 449, 0, 0, 0, 0, 0, 0, 0, 297, 0, + 450, 0, 294, 0, 0, 298, 0, 300, 301, 302, + 303, 304, 0, 0, 305, 306, 0, 307, 308, 309, + 310, 311, 312, 372, 313, -341, 0, 0, 0, 0, + 0, 297, 0, 0, 451, 0, 0, 0, 298, 299, + 0, -341, -341, 0, 0, -341, -341, 0, 307, 308, + 309, 310, 311, 312, 297, 313, 0, 0, 0, 0, + 0, 298, -341, 0, 0, 0, 0, 0, 0, 0, + 0, 300, 301, 302, 303, 304, 0, 0, 305, 306, + 0, 307, 308, 309, 310, 311, 312, 0, 313, 0, + 0, 0, 0, 0, -341, -341, -341, 303, 304, 0, + 0, 305, 306, 0, 307, 308, 309, 310, 311, 312, + 0, 313, 233, 234, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 244 }; static const yytype_int16 yycheck[] = { - 149, 54, 175, 2, 97, 98, 5, 107, 211, 182, - 81, 10, 303, 12, 57, 58, 59, 219, 3, 221, - 3, 3, 340, 12, 112, 6, 6, 115, 115, 5, - 6, 155, 181, 52, 183, 184, 17, 370, 369, 59, - 3, 3, 139, 4, 5, 6, 85, 12, 525, 48, - 78, 50, 203, 133, 118, 115, 28, 103, 151, 392, - 27, 60, 19, 190, 128, 96, 56, 72, 195, 218, - 24, 135, 37, 192, 223, 3, 195, 82, 3, 24, - 64, 161, 162, 3, 74, 131, 85, 86, 291, 54, - 62, 568, 189, 118, 93, 118, 50, 128, 247, 301, - 153, 100, 101, 28, 61, 50, 397, 309, 113, 311, - 135, 3, 135, 315, 316, 317, 318, 319, 320, 321, - 322, 323, 324, 325, 326, 327, 328, 329, 419, 90, - 201, 191, 256, 466, 106, 616, 207, 62, 103, 123, - 3, 4, 5, 6, 295, 106, 627, 296, 297, 56, - 178, 139, 124, 137, 487, 118, 195, 106, 307, 308, - 191, 96, 26, 9, 495, 128, 128, 192, 59, 192, - 223, 191, 135, 334, 65, 124, 195, 153, 266, 266, - 164, 191, 343, 193, 47, 48, 49, 168, 168, 100, - 171, 171, 153, 154, 155, 72, 514, 9, 26, 187, - 46, 189, 184, 192, 68, 82, 191, 356, 191, 73, - 209, 118, 361, 362, 505, 417, 80, 81, 96, 157, - 84, 92, 183, 347, 87, 82, 192, 90, 135, 195, - 330, 96, 78, 97, 46, 196, 113, 83, 102, 265, - 68, 294, 26, 106, 270, 73, 449, 118, 119, 161, - 162, 0, 80, 81, 117, 3, 405, 406, 136, 592, - 194, 124, 115, 334, 135, 3, 4, 5, 6, 97, - 134, 83, 343, 101, 102, 138, 609, 139, 371, 94, - 571, 169, 170, 195, 68, 3, 4, 5, 6, 73, - 153, 154, 155, 193, 337, 111, 80, 81, 118, 114, - 120, 503, 118, 192, 595, 120, 195, 17, 18, 47, - 48, 49, 3, 97, 94, 135, 191, 101, 102, 135, - 183, 184, 184, 185, 186, 187, 96, 189, 191, 47, - 48, 49, 331, 196, 114, 3, 4, 5, 6, 111, - 120, 59, 4, 5, 6, 494, 118, 496, 497, 87, - 114, 130, 90, 118, 118, 408, 118, 192, 120, 192, - 195, 192, 195, 135, 195, 3, 419, 195, 106, 87, - 135, 135, 90, 135, 192, 192, 114, 195, 195, 47, - 48, 49, 192, 169, 170, 195, 124, 49, 106, 141, - 142, 143, 144, 145, 146, 126, 3, 4, 5, 6, - 138, 192, 46, 47, 195, 554, 124, 192, 581, 192, - 195, 195, 195, 163, 164, 153, 154, 155, 192, 87, - 138, 195, 90, 3, 4, 5, 6, 130, 90, 192, - 128, 192, 195, 99, 195, 153, 154, 155, 106, 136, - 47, 48, 49, 127, 106, 183, 184, 192, 195, 598, - 195, 600, 505, 191, 3, 124, 124, 4, 196, 165, - 166, 167, 3, 85, 17, 183, 184, 95, 48, 49, - 138, 191, 3, 191, 47, 192, 192, 4, 196, 3, - 87, 6, 191, 90, 191, 153, 154, 155, 117, 12, - 129, 153, 154, 155, 4, 191, 4, 192, 134, 106, - 3, 195, 55, 47, 93, 172, 3, 87, 78, 121, - 90, 3, 115, 128, 191, 183, 184, 124, 191, 191, - 191, 183, 100, 191, 189, 40, 106, 191, 196, 96, - 191, 138, 195, 128, 196, 195, 56, 191, 95, 123, - 191, 59, 191, 191, 124, 192, 153, 154, 155, 3, - 103, 4, 3, 164, 123, 192, 191, 191, 138, 141, - 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, - 152, 124, 191, 153, 154, 155, 183, 184, 131, 132, - 79, 191, 191, 191, 191, 96, 139, 140, 118, 196, - 103, 191, 106, 189, 3, 71, 190, 195, 64, 163, - 192, 6, 123, 183, 184, 6, 6, 6, 6, 192, - 106, 191, 191, 4, 101, 192, 196, 192, 80, 172, - 173, 174, 175, 176, 80, 80, 179, 180, 0, 182, - 183, 184, 185, 186, 187, 7, 189, 101, 3, 129, - 192, 192, 192, 15, 7, 6, 192, 107, 129, 192, - 22, 55, 15, 192, 191, 27, 192, 191, 70, 22, - 192, 118, 24, 345, 27, 394, 38, 248, 338, 41, - 42, 485, 292, 148, 207, 38, 356, 298, 41, 42, - 548, 53, 54, 127, 201, 127, 360, 104, 564, 563, - 53, 54, 64, 349, 533, 67, 264, -1, -1, 103, - 276, 64, -1, -1, 67, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 118, -1, -1, 89, -1, -1, - 124, 93, -1, -1, -1, -1, 89, -1, 132, -1, - 93, -1, -1, -1, 11, 139, 140, 109, -1, -1, - -1, 55, -1, 115, -1, -1, 109, -1, 25, -1, - -1, -1, 115, 30, 31, 32, 33, 34, -1, 36, - -1, -1, -1, -1, 55, -1, -1, 44, 172, 173, - 174, 175, 176, -1, -1, 179, 180, -1, 182, 183, - 184, 185, 186, 187, -1, 189, 158, 159, 160, 103, - 55, -1, -1, 70, -1, 158, 159, 160, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 124, 88, 103, 90, 91, -1, -1, -1, 132, -1, - -1, -1, -1, -1, -1, 139, 140, -1, 105, -1, - -1, -1, -1, 110, -1, 112, -1, -1, -1, -1, - -1, 132, -1, -1, -1, 122, -1, -1, 139, 140, - -1, -1, -1, -1, -1, -1, -1, -1, 172, 173, - 174, 175, 176, -1, -1, 179, 180, 132, 182, 183, - 184, 185, 186, 187, 139, 189, -1, -1, -1, 156, + 93, 127, 0, 97, 278, 2, 132, 133, 5, 65, + 66, 67, 115, 116, 11, 57, 13, 269, 52, 3, + 3, 20, 20, 12, 3, 13, 416, 9, 3, 9, + 85, 96, 258, 115, 427, 59, 59, 208, 6, 432, + 4, 5, 6, 139, 170, 19, 44, 64, 4, 5, + 6, 6, 180, 179, 182, 118, 358, 54, 184, 56, + 26, 454, 17, 128, 46, 483, 46, 5, 6, 172, + 89, 68, 135, 92, 24, 250, 161, 162, 431, 169, + 170, 118, 80, 96, 3, 49, 360, 61, 615, 139, + 106, 89, 115, 189, 92, 270, 103, 3, 135, 626, + 50, 83, 68, 83, 101, 102, 123, 73, 124, 28, + 192, 196, 283, 466, 80, 81, 113, 419, 392, 371, + 137, 118, 119, 136, 131, 543, 90, 192, 354, 27, + 193, 97, 525, 121, 90, 101, 102, 187, 59, 189, + 392, 196, 106, 62, 65, 271, 272, 164, 276, 375, + 106, 3, 323, 128, 248, 174, 193, 40, 28, 3, + 254, 287, 196, 289, 292, 555, 294, 3, 192, 192, + 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, + 308, 309, 310, 311, 312, 184, 184, 580, 314, 153, + 154, 155, 62, 3, 4, 5, 6, 153, 154, 155, + 168, 96, 328, 171, 193, 184, 332, 333, 192, 192, + 93, 193, 118, 168, 607, 153, 171, 56, 492, 183, + 169, 170, 128, 56, 9, 24, 92, 183, 26, 135, + 196, 193, 96, 197, 196, 74, 106, 47, 48, 49, + 492, 197, 368, 369, 190, 3, 4, 5, 6, 59, + 196, 50, 118, 119, 124, 192, 118, 194, 133, 256, + 258, 46, 390, 100, 358, 3, 4, 5, 6, 135, + 68, 313, 546, 135, 94, 73, 139, 87, 118, 127, + 90, 193, 80, 81, 196, 118, 161, 162, 128, 47, + 48, 49, 94, 78, 114, 135, 106, 72, 83, 97, + 120, 157, 135, 101, 102, 115, 72, 82, 3, 47, + 48, 49, 114, 82, 124, 0, 82, 193, 120, 593, + 196, 184, 185, 186, 187, 419, 189, 111, 138, 87, + 433, 3, 90, 114, 118, 18, 19, 118, 113, 465, + 195, 467, 468, 153, 154, 155, 111, 113, 106, 87, + 192, 135, 90, 118, 135, 115, 354, 413, 355, 117, + 194, 118, 490, 120, 214, 215, 124, 118, 106, 120, + 135, 96, 193, 183, 184, 196, 114, 375, 135, 3, + 138, 6, 192, 130, 135, 12, 124, 197, 141, 142, + 143, 144, 145, 146, 126, 153, 154, 155, 196, 193, + 138, 130, 196, 136, 3, 4, 5, 6, 52, 53, + 536, 3, 4, 5, 6, 153, 154, 155, 128, 193, + 193, 193, 196, 196, 196, 183, 184, 117, 196, 193, + 193, 193, 196, 196, 192, 99, 129, 193, 193, 197, + 196, 196, 3, 124, 193, 183, 184, 196, 47, 48, + 49, 4, 3, 85, 192, 47, 48, 49, 193, 197, + 59, 196, 26, 165, 166, 167, 3, 4, 5, 6, + 596, 192, 598, 3, 4, 5, 6, 193, 571, 193, + 196, 95, 196, 3, 47, 4, 3, 192, 87, 192, + 121, 90, 192, 4, 4, 87, 193, 196, 90, 47, + 134, 3, 96, 192, 68, 192, 192, 106, 196, 73, + 47, 48, 49, 189, 106, 172, 80, 81, 48, 49, + 84, 93, 3, 196, 56, 124, 3, 128, 59, 17, + 100, 192, 124, 97, 192, 3, 192, 40, 102, 138, + 192, 192, 164, 123, 128, 192, 138, 123, 95, 192, + 87, 3, 79, 90, 153, 154, 155, 87, 193, 103, + 90, 153, 154, 155, 71, 106, 196, 55, 96, 106, + 134, 192, 118, 189, 4, 7, 106, 190, 64, 101, + 163, 192, 192, 15, 183, 184, 192, 124, 192, 192, + 22, 183, 184, 192, 124, 27, 192, 192, 197, 3, + 192, 138, 193, 193, 80, 197, 38, 80, 138, 41, + 42, 80, 101, 129, 193, 103, 153, 154, 155, 3, + 193, 53, 54, 153, 154, 155, 6, 59, 6, 6, + 6, 6, 64, 123, 106, 67, 124, 107, 193, 193, + 192, 4, 129, 131, 132, 78, 183, 184, 193, 6, + 193, 139, 140, 183, 184, 192, 192, 89, 193, 193, + 197, 93, 192, 118, 193, 80, 26, 197, 193, 421, + 414, 169, 523, 456, 315, 44, 137, 109, 267, 328, + 254, 248, 148, 115, 172, 173, 174, 175, 176, 11, + 55, 179, 180, 539, 182, 183, 184, 185, 186, 187, + 285, 189, 273, 25, 530, 148, 538, 189, 30, 31, + 32, 33, 34, 506, 36, 122, 230, 232, -1, -1, + -1, 55, 44, -1, -1, -1, 158, 159, 160, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 103, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 70, -1, + -1, -1, -1, 118, 55, -1, -1, -1, -1, 124, + 192, -1, -1, -1, -1, -1, 88, 132, 90, 91, + -1, -1, -1, -1, 139, 140, -1, 55, -1, -1, + -1, -1, -1, 105, -1, -1, -1, -1, 110, -1, + 112, -1, -1, -1, -1, -1, -1, -1, 132, -1, + 122, -1, 103, -1, -1, 139, -1, 172, 173, 174, + 175, 176, -1, -1, 179, 180, -1, 182, 183, 184, + 185, 186, 187, 124, 189, 103, -1, -1, -1, -1, + -1, 132, -1, -1, 156, -1, -1, -1, 139, 140, + -1, 175, 176, -1, -1, 179, 180, -1, 182, 183, + 184, 185, 186, 187, 132, 189, -1, -1, -1, -1, + -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, 172, 173, 174, 175, 176, -1, -1, 179, 180, -1, 182, 183, 184, 185, 186, 187, -1, 189, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 175, 176, -1, -1, 179, 180, -1, 182, 183, 184, - 185, 186, 187, -1, 189 + -1, -1, -1, -1, 172, 173, 174, 175, 176, -1, + -1, 179, 180, -1, 182, 183, 184, 185, 186, 187, + -1, 189, 141, 142, 143, 144, 145, 146, 147, 148, + 149, 150, 151, 152 }; /* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of @@ -1381,108 +1380,108 @@ static const yytype_int16 yycheck[] = static const yytype_int16 yystos[] = { 0, 7, 15, 22, 27, 38, 41, 42, 53, 54, - 64, 67, 89, 93, 109, 115, 158, 159, 160, 198, - 199, 200, 201, 205, 207, 209, 210, 215, 216, 217, - 229, 231, 234, 235, 236, 238, 241, 321, 322, 27, - 3, 310, 3, 3, 310, 72, 82, 113, 96, 96, - 100, 309, 310, 82, 191, 244, 310, 72, 82, 113, - 19, 61, 3, 323, 324, 157, 206, 206, 206, 0, - 194, 328, 115, 202, 202, 59, 244, 245, 249, 3, - 193, 191, 96, 130, 218, 218, 218, 310, 3, 211, - 310, 126, 130, 230, 244, 245, 136, 96, 136, 230, - 230, 230, 310, 128, 195, 200, 99, 127, 261, 9, - 46, 83, 246, 247, 78, 246, 257, 3, 4, 5, - 6, 49, 90, 106, 153, 154, 155, 183, 196, 264, - 265, 266, 267, 295, 296, 297, 298, 299, 300, 301, - 302, 303, 4, 208, 124, 3, 311, 310, 310, 85, - 254, 95, 191, 237, 3, 239, 240, 47, 310, 192, - 192, 4, 212, 212, 212, 3, 310, 310, 244, 324, - 191, 6, 299, 12, 250, 242, 243, 244, 249, 117, - 248, 129, 242, 56, 74, 262, 141, 142, 143, 144, - 145, 146, 147, 148, 149, 150, 151, 152, 288, 289, - 290, 191, 4, 4, 298, 302, 192, 195, 47, 134, - 96, 128, 191, 237, 3, 47, 48, 49, 87, 124, - 138, 183, 184, 191, 269, 270, 271, 272, 273, 274, - 275, 276, 278, 279, 280, 286, 287, 291, 292, 293, - 294, 295, 212, 3, 329, 65, 245, 172, 195, 254, - 93, 232, 233, 115, 191, 213, 213, 213, 3, 203, - 204, 251, 263, 268, 269, 257, 246, 258, 259, 269, - 257, 269, 117, 269, 121, 316, 317, 318, 267, 288, - 266, 310, 3, 241, 3, 28, 62, 219, 220, 221, - 228, 128, 191, 193, 191, 191, 191, 114, 269, 277, - 47, 124, 270, 189, 270, 245, 269, 118, 135, 17, - 55, 103, 124, 131, 132, 139, 140, 172, 173, 174, - 175, 176, 179, 180, 182, 183, 184, 185, 186, 187, - 189, 100, 192, 195, 191, 269, 240, 40, 191, 24, - 50, 214, 254, 191, 192, 195, 96, 252, 253, 195, - 3, 128, 314, 315, 262, 242, 195, 92, 119, 260, - 262, 56, 56, 64, 123, 137, 164, 319, 318, 128, - 191, 95, 11, 25, 30, 31, 32, 33, 34, 36, - 44, 70, 88, 90, 91, 105, 110, 112, 122, 156, - 222, 123, 191, 192, 195, 241, 192, 250, 3, 184, - 245, 288, 269, 269, 277, 94, 114, 120, 191, 124, - 263, 192, 192, 269, 269, 270, 270, 103, 131, 191, - 106, 124, 270, 270, 270, 270, 270, 270, 270, 270, - 270, 270, 270, 270, 270, 270, 270, 299, 310, 3, - 265, 230, 214, 4, 211, 192, 195, 265, 204, 191, - 304, 305, 306, 307, 308, 310, 325, 254, 268, 3, - 259, 316, 269, 269, 164, 123, 133, 161, 162, 320, - 222, 329, 212, 191, 191, 224, 191, 191, 191, 223, - 28, 62, 106, 124, 225, 226, 227, 191, 329, 220, - 79, 281, 263, 192, 96, 128, 111, 94, 120, 269, - 269, 245, 190, 118, 270, 191, 245, 263, 106, 190, - 192, 3, 192, 24, 50, 192, 241, 26, 68, 73, - 80, 81, 97, 102, 326, 195, 128, 312, 313, 314, - 71, 255, 64, 329, 163, 192, 192, 6, 6, 6, - 6, 6, 123, 106, 227, 329, 192, 191, 192, 269, - 222, 269, 269, 120, 111, 192, 270, 245, 263, 192, - 192, 4, 211, 192, 101, 80, 80, 80, 101, 305, - 3, 129, 320, 192, 192, 195, 192, 192, 192, 192, - 107, 282, 281, 192, 192, 120, 269, 192, 192, 313, - 306, 305, 191, 263, 6, 129, 257, 84, 134, 329, - 52, 256, 192, 263, 165, 166, 167, 283, 284, 191, - 269, 327, 192, 269, 192, 6, 17, 168, 171, 285, - 329, 169, 170, 285, 169, 170, 192, 118, 285 + 59, 64, 67, 89, 93, 109, 115, 158, 159, 160, + 192, 199, 200, 201, 202, 206, 208, 210, 211, 216, + 217, 218, 230, 232, 235, 236, 237, 239, 242, 243, + 244, 245, 246, 251, 323, 27, 3, 312, 3, 3, + 312, 72, 82, 113, 96, 96, 100, 127, 263, 311, + 312, 82, 245, 247, 312, 72, 82, 113, 19, 61, + 3, 324, 325, 157, 207, 207, 207, 243, 245, 0, + 195, 329, 115, 203, 203, 9, 46, 78, 83, 248, + 249, 259, 248, 244, 245, 3, 194, 192, 96, 130, + 219, 219, 219, 312, 3, 212, 312, 6, 301, 12, + 252, 126, 130, 231, 136, 96, 136, 231, 231, 231, + 312, 128, 196, 193, 193, 201, 99, 129, 245, 246, + 117, 250, 56, 74, 264, 245, 246, 259, 3, 4, + 5, 6, 49, 90, 106, 153, 154, 155, 183, 197, + 266, 267, 268, 269, 297, 298, 299, 300, 301, 302, + 303, 304, 305, 4, 209, 124, 3, 313, 312, 312, + 85, 256, 95, 192, 238, 3, 47, 48, 49, 87, + 124, 138, 183, 184, 192, 247, 253, 265, 270, 271, + 272, 273, 274, 275, 276, 277, 278, 280, 281, 282, + 288, 289, 293, 294, 295, 296, 297, 3, 240, 241, + 47, 312, 4, 213, 213, 213, 3, 312, 312, 247, + 325, 192, 260, 261, 271, 271, 117, 271, 121, 318, + 319, 320, 264, 141, 142, 143, 144, 145, 146, 147, + 148, 149, 150, 151, 152, 290, 291, 292, 192, 4, + 4, 300, 304, 193, 196, 47, 134, 96, 128, 192, + 238, 271, 213, 3, 330, 65, 246, 192, 194, 192, + 192, 192, 114, 271, 279, 47, 124, 272, 189, 272, + 245, 271, 96, 254, 255, 196, 3, 118, 128, 135, + 316, 317, 17, 55, 103, 124, 131, 132, 139, 140, + 172, 173, 174, 175, 176, 179, 180, 182, 183, 184, + 185, 186, 187, 189, 172, 196, 256, 93, 233, 234, + 115, 192, 214, 214, 214, 3, 204, 205, 196, 92, + 119, 262, 56, 56, 64, 123, 137, 164, 321, 320, + 318, 269, 290, 268, 312, 3, 242, 3, 28, 62, + 220, 221, 222, 229, 128, 100, 193, 196, 192, 193, + 252, 3, 184, 251, 290, 271, 271, 279, 94, 114, + 120, 192, 124, 265, 193, 192, 306, 307, 308, 309, + 310, 312, 326, 256, 270, 271, 3, 271, 272, 272, + 103, 131, 192, 106, 124, 272, 272, 272, 272, 272, + 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, + 301, 271, 241, 40, 192, 24, 50, 215, 256, 192, + 193, 196, 261, 271, 271, 164, 123, 133, 161, 162, + 322, 128, 192, 95, 11, 25, 30, 31, 32, 33, + 34, 36, 44, 70, 88, 90, 91, 105, 110, 112, + 122, 156, 223, 123, 192, 193, 196, 242, 312, 3, + 267, 79, 283, 265, 193, 96, 128, 111, 94, 120, + 271, 271, 251, 190, 242, 26, 68, 73, 80, 81, + 97, 102, 327, 196, 128, 314, 315, 316, 71, 257, + 118, 272, 192, 251, 265, 106, 190, 231, 215, 4, + 212, 193, 196, 267, 205, 64, 330, 163, 223, 330, + 213, 192, 192, 225, 192, 192, 192, 224, 28, 62, + 106, 124, 226, 227, 228, 192, 330, 221, 193, 192, + 193, 271, 223, 271, 271, 120, 111, 193, 193, 101, + 80, 80, 80, 101, 307, 3, 129, 272, 251, 265, + 193, 193, 3, 193, 24, 50, 193, 322, 193, 193, + 6, 6, 6, 6, 6, 123, 106, 228, 330, 193, + 107, 284, 283, 193, 193, 120, 271, 315, 308, 307, + 192, 265, 193, 193, 4, 212, 193, 193, 196, 193, + 193, 193, 193, 129, 259, 84, 134, 330, 52, 258, + 6, 265, 165, 166, 167, 285, 286, 192, 271, 328, + 193, 271, 193, 193, 6, 17, 168, 171, 287, 330, + 169, 170, 287, 169, 170, 193, 118, 287 }; /* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */ static const yytype_int16 yyr1[] = { - 0, 197, 198, 199, 199, 200, 200, 200, 200, 200, - 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, - 202, 202, 203, 203, 204, 204, 205, 205, 205, 206, - 206, 207, 208, 209, 209, 210, 210, 211, 212, 213, - 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, - 216, 217, 217, 217, 217, 217, 218, 218, 219, 219, - 220, 220, 221, 222, 222, 222, 222, 222, 222, 222, - 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, - 222, 223, 223, 224, 224, 224, 225, 225, 226, 226, - 227, 227, 227, 227, 228, 228, 229, 229, 229, 229, - 230, 230, 231, 232, 233, 234, 235, 236, 236, 237, - 237, 238, 239, 239, 240, 241, 241, 241, 242, 242, - 243, 243, 244, 244, 245, 245, 246, 247, 247, 247, - 248, 248, 249, 250, 250, 251, 252, 252, 253, 254, - 254, 255, 255, 256, 256, 257, 257, 258, 258, 259, - 260, 260, 260, 261, 261, 262, 262, 262, 262, 262, - 262, 263, 263, 264, 264, 265, 265, 266, 266, 267, - 267, 267, 268, 269, 269, 269, 269, 269, 270, 270, - 270, 270, 270, 270, 270, 270, 270, 270, 270, 271, - 271, 272, 272, 272, 272, 272, 273, 273, 273, 273, - 273, 273, 273, 273, 273, 273, 273, 274, 274, 275, - 275, 275, 275, 276, 276, 276, 276, 277, 277, 278, - 278, 279, 279, 279, 279, 279, 279, 279, 280, 280, - 281, 281, 282, 282, 283, 283, 283, 284, 284, 284, - 285, 285, 285, 285, 285, 286, 287, 288, 288, 288, - 288, 288, 288, 289, 289, 289, 289, 289, 289, 290, - 290, 291, 292, 293, 294, 294, 294, 294, 295, 295, - 295, 295, 295, 295, 295, 296, 297, 297, 298, 298, - 299, 300, 301, 302, 302, 302, 303, 304, 304, 305, - 305, 306, 306, 307, 307, 308, 309, 310, 310, 311, - 311, 312, 312, 313, 313, 314, 314, 315, 315, 316, - 316, 317, 317, 318, 318, 319, 319, 319, 319, 320, - 320, 320, 321, 321, 322, 323, 323, 324, 325, 325, - 325, 326, 326, 326, 326, 326, 326, 326, 326, 326, - 326, 327, 328, 328, 329, 329 + 0, 198, 199, 200, 200, 201, 201, 201, 201, 201, + 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, + 203, 203, 204, 204, 205, 205, 206, 206, 206, 207, + 207, 208, 209, 210, 210, 211, 211, 212, 213, 214, + 214, 214, 215, 215, 215, 215, 216, 216, 217, 217, + 217, 218, 218, 218, 218, 218, 219, 219, 220, 220, + 221, 221, 222, 223, 223, 223, 223, 223, 223, 223, + 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, + 223, 224, 224, 225, 225, 225, 226, 226, 227, 227, + 228, 228, 228, 228, 229, 229, 230, 230, 230, 230, + 231, 231, 232, 233, 234, 235, 236, 237, 237, 238, + 238, 239, 240, 240, 241, 242, 242, 243, 243, 244, + 244, 244, 244, 244, 245, 245, 246, 247, 248, 249, + 249, 249, 250, 250, 251, 252, 252, 253, 254, 254, + 255, 256, 256, 257, 257, 258, 258, 259, 259, 260, + 260, 261, 262, 262, 262, 263, 263, 264, 264, 264, + 264, 264, 264, 265, 265, 266, 266, 267, 267, 268, + 268, 269, 269, 269, 270, 271, 271, 271, 271, 271, + 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, + 272, 273, 273, 274, 274, 274, 274, 274, 275, 275, + 275, 275, 275, 275, 275, 275, 275, 275, 275, 276, + 276, 277, 277, 277, 277, 278, 278, 278, 278, 279, + 279, 280, 280, 281, 281, 281, 281, 281, 281, 281, + 282, 282, 283, 283, 284, 284, 285, 285, 285, 286, + 286, 286, 287, 287, 287, 287, 287, 288, 289, 290, + 290, 290, 290, 290, 290, 291, 291, 291, 291, 291, + 291, 292, 292, 293, 294, 295, 296, 296, 296, 296, + 297, 297, 297, 297, 297, 297, 297, 298, 299, 299, + 300, 300, 301, 302, 303, 304, 304, 304, 305, 306, + 306, 307, 307, 308, 308, 309, 309, 310, 311, 312, + 312, 313, 313, 314, 314, 315, 315, 316, 316, 317, + 317, 318, 318, 319, 319, 320, 320, 321, 321, 321, + 321, 322, 322, 322, 323, 324, 324, 325, 326, 326, + 326, 327, 327, 327, 327, 327, 327, 327, 327, 327, + 327, 328, 329, 329, 330, 330 }; /* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */ @@ -1499,28 +1498,28 @@ static const yytype_int8 yyr2[] = 4, 3, 0, 5, 3, 0, 1, 0, 1, 2, 2, 1, 1, 2, 5, 4, 4, 4, 3, 4, 2, 0, 5, 1, 4, 4, 2, 8, 5, 3, - 0, 5, 1, 3, 3, 2, 2, 6, 1, 1, - 1, 3, 3, 3, 4, 6, 2, 1, 1, 1, - 1, 0, 7, 1, 0, 1, 1, 0, 2, 2, - 0, 4, 0, 2, 0, 3, 0, 1, 3, 2, - 1, 1, 0, 2, 0, 2, 2, 4, 2, 4, - 0, 1, 3, 1, 0, 1, 3, 1, 6, 1, - 2, 2, 2, 1, 1, 1, 1, 1, 3, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, - 1, 2, 2, 2, 3, 4, 1, 3, 3, 3, - 3, 3, 3, 3, 4, 3, 3, 3, 3, 5, - 6, 5, 6, 4, 6, 3, 5, 4, 5, 4, - 5, 3, 3, 3, 3, 3, 3, 3, 4, 6, - 6, 0, 3, 0, 2, 5, 0, 1, 1, 1, - 2, 2, 2, 2, 1, 6, 6, 1, 1, 1, + 0, 5, 1, 3, 3, 1, 1, 4, 5, 1, + 3, 3, 3, 3, 3, 3, 1, 1, 2, 1, + 1, 1, 1, 0, 7, 1, 0, 1, 1, 0, + 2, 2, 0, 4, 0, 2, 0, 3, 0, 1, + 3, 2, 1, 1, 0, 2, 0, 2, 2, 4, + 2, 4, 0, 1, 3, 1, 0, 1, 3, 1, + 6, 1, 2, 2, 2, 1, 1, 1, 1, 1, + 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 2, 2, 2, 3, 4, 1, 3, + 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, + 3, 5, 6, 5, 6, 4, 6, 3, 5, 4, + 5, 4, 5, 3, 3, 3, 3, 3, 3, 3, + 4, 6, 6, 0, 3, 0, 2, 5, 0, 1, + 1, 1, 2, 2, 2, 2, 1, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 4, 5, 1, 3, 1, 3, 1, 1, + 1, 1, 1, 4, 4, 5, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 3, 2, 1, 1, 3, 1, - 1, 1, 4, 1, 3, 2, 1, 1, 3, 1, - 0, 1, 5, 1, 0, 2, 1, 1, 0, 1, - 0, 1, 2, 3, 5, 1, 3, 1, 2, 2, - 1, 0, 1, 0, 2, 1, 3, 3, 4, 6, + 1, 1, 1, 1, 2, 2, 3, 2, 1, 1, + 3, 1, 1, 1, 4, 1, 3, 2, 1, 1, + 3, 1, 0, 1, 5, 1, 0, 2, 1, 1, + 0, 1, 0, 1, 2, 3, 5, 1, 3, 1, + 2, 2, 1, 0, 2, 1, 3, 3, 4, 6, 8, 1, 2, 1, 2, 1, 2, 1, 1, 1, 0, 1, 1, 0, 1, 3 }; @@ -2086,31 +2085,31 @@ yydestruct (const char *yymsg, switch (yykind) { case YYSYMBOL_IDENTIFIER: /* IDENTIFIER */ -#line 186 "bison_parser.y" +#line 188 "bison_parser.y" { free( (((*yyvaluep).sval)) ); } #line 2092 "bison_parser.cpp" break; case YYSYMBOL_STRING: /* STRING */ -#line 186 "bison_parser.y" +#line 188 "bison_parser.y" { free( (((*yyvaluep).sval)) ); } #line 2098 "bison_parser.cpp" break; case YYSYMBOL_FLOATVAL: /* FLOATVAL */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2104 "bison_parser.cpp" break; case YYSYMBOL_INTVAL: /* INTVAL */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2110 "bison_parser.cpp" break; case YYSYMBOL_statement_list: /* statement_list */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).stmt_vec)) { for (auto ptr : *(((*yyvaluep).stmt_vec))) { @@ -2123,19 +2122,19 @@ yydestruct (const char *yymsg, break; case YYSYMBOL_statement: /* statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).statement)); } #line 2129 "bison_parser.cpp" break; case YYSYMBOL_preparable_statement: /* preparable_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).statement)); } #line 2135 "bison_parser.cpp" break; case YYSYMBOL_opt_hints: /* opt_hints */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).expr_vec)) { for (auto ptr : *(((*yyvaluep).expr_vec))) { @@ -2148,7 +2147,7 @@ yydestruct (const char *yymsg, break; case YYSYMBOL_hint_list: /* hint_list */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).expr_vec)) { for (auto ptr : *(((*yyvaluep).expr_vec))) { @@ -2161,91 +2160,91 @@ yydestruct (const char *yymsg, break; case YYSYMBOL_hint: /* hint */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } #line 2167 "bison_parser.cpp" break; case YYSYMBOL_transaction_statement: /* transaction_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).transaction_stmt)); } #line 2173 "bison_parser.cpp" break; case YYSYMBOL_prepare_statement: /* prepare_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).prep_stmt)); } #line 2179 "bison_parser.cpp" break; case YYSYMBOL_prepare_target_query: /* prepare_target_query */ -#line 186 "bison_parser.y" +#line 188 "bison_parser.y" { free( (((*yyvaluep).sval)) ); } #line 2185 "bison_parser.cpp" break; case YYSYMBOL_execute_statement: /* execute_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).exec_stmt)); } #line 2191 "bison_parser.cpp" break; case YYSYMBOL_import_statement: /* import_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).import_stmt)); } #line 2197 "bison_parser.cpp" break; case YYSYMBOL_file_type: /* file_type */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2203 "bison_parser.cpp" break; case YYSYMBOL_file_path: /* file_path */ -#line 186 "bison_parser.y" +#line 188 "bison_parser.y" { free( (((*yyvaluep).sval)) ); } #line 2209 "bison_parser.cpp" break; case YYSYMBOL_opt_import_export_options: /* opt_import_export_options */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).import_export_option_t)); } #line 2215 "bison_parser.cpp" break; case YYSYMBOL_import_export_options: /* import_export_options */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).import_export_option_t)); } #line 2221 "bison_parser.cpp" break; case YYSYMBOL_export_statement: /* export_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).export_stmt)); } #line 2227 "bison_parser.cpp" break; case YYSYMBOL_show_statement: /* show_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).show_stmt)); } #line 2233 "bison_parser.cpp" break; case YYSYMBOL_create_statement: /* create_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).create_stmt)); } #line 2239 "bison_parser.cpp" break; case YYSYMBOL_opt_not_exists: /* opt_not_exists */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2245 "bison_parser.cpp" break; case YYSYMBOL_table_elem_commalist: /* table_elem_commalist */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).table_element_vec)) { for (auto ptr : *(((*yyvaluep).table_element_vec))) { @@ -2258,109 +2257,109 @@ yydestruct (const char *yymsg, break; case YYSYMBOL_table_elem: /* table_elem */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table_element_t)); } #line 2264 "bison_parser.cpp" break; case YYSYMBOL_column_def: /* column_def */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).column_t)); } #line 2270 "bison_parser.cpp" break; case YYSYMBOL_column_type: /* column_type */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2276 "bison_parser.cpp" break; case YYSYMBOL_opt_time_precision: /* opt_time_precision */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2282 "bison_parser.cpp" break; case YYSYMBOL_opt_decimal_specification: /* opt_decimal_specification */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).ival_pair)); } #line 2288 "bison_parser.cpp" break; case YYSYMBOL_opt_column_constraints: /* opt_column_constraints */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2294 "bison_parser.cpp" break; case YYSYMBOL_column_constraint_set: /* column_constraint_set */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2300 "bison_parser.cpp" break; case YYSYMBOL_column_constraint: /* column_constraint */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2306 "bison_parser.cpp" break; case YYSYMBOL_table_constraint: /* table_constraint */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table_constraint_t)); } #line 2312 "bison_parser.cpp" break; case YYSYMBOL_drop_statement: /* drop_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).drop_stmt)); } #line 2318 "bison_parser.cpp" break; case YYSYMBOL_opt_exists: /* opt_exists */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2324 "bison_parser.cpp" break; case YYSYMBOL_alter_statement: /* alter_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).alter_stmt)); } #line 2330 "bison_parser.cpp" break; case YYSYMBOL_alter_action: /* alter_action */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).alter_action_t)); } #line 2336 "bison_parser.cpp" break; case YYSYMBOL_drop_action: /* drop_action */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).drop_action_t)); } #line 2342 "bison_parser.cpp" break; case YYSYMBOL_delete_statement: /* delete_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).delete_stmt)); } #line 2348 "bison_parser.cpp" break; case YYSYMBOL_truncate_statement: /* truncate_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).delete_stmt)); } #line 2354 "bison_parser.cpp" break; case YYSYMBOL_insert_statement: /* insert_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).insert_stmt)); } #line 2360 "bison_parser.cpp" break; case YYSYMBOL_opt_column_list: /* opt_column_list */ -#line 178 "bison_parser.y" +#line 180 "bison_parser.y" { if (((*yyvaluep).str_vec)) { for (auto ptr : *(((*yyvaluep).str_vec))) { @@ -2373,13 +2372,13 @@ yydestruct (const char *yymsg, break; case YYSYMBOL_update_statement: /* update_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).update_stmt)); } #line 2379 "bison_parser.cpp" break; case YYSYMBOL_update_clause_commalist: /* update_clause_commalist */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).update_vec)) { for (auto ptr : *(((*yyvaluep).update_vec))) { @@ -2392,73 +2391,79 @@ yydestruct (const char *yymsg, break; case YYSYMBOL_update_clause: /* update_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).update_t)); } #line 2398 "bison_parser.cpp" break; case YYSYMBOL_select_statement: /* select_statement */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).select_stmt)); } #line 2404 "bison_parser.cpp" break; - case YYSYMBOL_select_within_set_operation: /* select_within_set_operation */ -#line 195 "bison_parser.y" + case YYSYMBOL_query_expression: /* query_expression */ +#line 197 "bison_parser.y" { delete (((*yyvaluep).select_stmt)); } #line 2410 "bison_parser.cpp" break; - case YYSYMBOL_select_within_set_operation_no_parentheses: /* select_within_set_operation_no_parentheses */ -#line 195 "bison_parser.y" + case YYSYMBOL_query_expression_body: /* query_expression_body */ +#line 197 "bison_parser.y" { delete (((*yyvaluep).select_stmt)); } #line 2416 "bison_parser.cpp" break; - case YYSYMBOL_select_with_paren: /* select_with_paren */ -#line 195 "bison_parser.y" + case YYSYMBOL_query_expression_parens: /* query_expression_parens */ +#line 197 "bison_parser.y" { delete (((*yyvaluep).select_stmt)); } #line 2422 "bison_parser.cpp" break; - case YYSYMBOL_select_no_paren: /* select_no_paren */ -#line 195 "bison_parser.y" + case YYSYMBOL_query_term: /* query_term */ +#line 197 "bison_parser.y" { delete (((*yyvaluep).select_stmt)); } #line 2428 "bison_parser.cpp" break; + case YYSYMBOL_subquery: /* subquery */ +#line 197 "bison_parser.y" + { delete (((*yyvaluep).select_stmt)); } +#line 2434 "bison_parser.cpp" + break; + case YYSYMBOL_set_operator: /* set_operator */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).set_operator_t)); } -#line 2434 "bison_parser.cpp" +#line 2440 "bison_parser.cpp" break; case YYSYMBOL_set_type: /* set_type */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).set_operator_t)); } -#line 2440 "bison_parser.cpp" +#line 2446 "bison_parser.cpp" break; case YYSYMBOL_opt_all: /* opt_all */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2446 "bison_parser.cpp" +#line 2452 "bison_parser.cpp" break; - case YYSYMBOL_select_clause: /* select_clause */ -#line 195 "bison_parser.y" + case YYSYMBOL_query_primary: /* query_primary */ +#line 197 "bison_parser.y" { delete (((*yyvaluep).select_stmt)); } -#line 2452 "bison_parser.cpp" +#line 2458 "bison_parser.cpp" break; case YYSYMBOL_opt_distinct: /* opt_distinct */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2458 "bison_parser.cpp" +#line 2464 "bison_parser.cpp" break; case YYSYMBOL_select_list: /* select_list */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).expr_vec)) { for (auto ptr : *(((*yyvaluep).expr_vec))) { @@ -2467,41 +2472,41 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).expr_vec)); } -#line 2471 "bison_parser.cpp" +#line 2477 "bison_parser.cpp" break; case YYSYMBOL_opt_from_clause: /* opt_from_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } -#line 2477 "bison_parser.cpp" +#line 2483 "bison_parser.cpp" break; case YYSYMBOL_from_clause: /* from_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } -#line 2483 "bison_parser.cpp" +#line 2489 "bison_parser.cpp" break; case YYSYMBOL_opt_where: /* opt_where */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2489 "bison_parser.cpp" +#line 2495 "bison_parser.cpp" break; case YYSYMBOL_opt_group: /* opt_group */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).group_t)); } -#line 2495 "bison_parser.cpp" +#line 2501 "bison_parser.cpp" break; case YYSYMBOL_opt_having: /* opt_having */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2501 "bison_parser.cpp" +#line 2507 "bison_parser.cpp" break; case YYSYMBOL_opt_order: /* opt_order */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).order_vec)) { for (auto ptr : *(((*yyvaluep).order_vec))) { @@ -2510,11 +2515,11 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).order_vec)); } -#line 2514 "bison_parser.cpp" +#line 2520 "bison_parser.cpp" break; case YYSYMBOL_order_list: /* order_list */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).order_vec)) { for (auto ptr : *(((*yyvaluep).order_vec))) { @@ -2523,35 +2528,35 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).order_vec)); } -#line 2527 "bison_parser.cpp" +#line 2533 "bison_parser.cpp" break; case YYSYMBOL_order_desc: /* order_desc */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).order)); } -#line 2533 "bison_parser.cpp" +#line 2539 "bison_parser.cpp" break; case YYSYMBOL_opt_order_type: /* opt_order_type */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2539 "bison_parser.cpp" +#line 2545 "bison_parser.cpp" break; case YYSYMBOL_opt_top: /* opt_top */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).limit)); } -#line 2545 "bison_parser.cpp" +#line 2551 "bison_parser.cpp" break; case YYSYMBOL_opt_limit: /* opt_limit */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).limit)); } -#line 2551 "bison_parser.cpp" +#line 2557 "bison_parser.cpp" break; case YYSYMBOL_expr_list: /* expr_list */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).expr_vec)) { for (auto ptr : *(((*yyvaluep).expr_vec))) { @@ -2560,11 +2565,11 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).expr_vec)); } -#line 2564 "bison_parser.cpp" +#line 2570 "bison_parser.cpp" break; case YYSYMBOL_opt_extended_literal_list: /* opt_extended_literal_list */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).expr_vec)) { for (auto ptr : *(((*yyvaluep).expr_vec))) { @@ -2573,11 +2578,11 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).expr_vec)); } -#line 2577 "bison_parser.cpp" +#line 2583 "bison_parser.cpp" break; case YYSYMBOL_extended_literal_list: /* extended_literal_list */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).expr_vec)) { for (auto ptr : *(((*yyvaluep).expr_vec))) { @@ -2586,107 +2591,107 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).expr_vec)); } -#line 2590 "bison_parser.cpp" +#line 2596 "bison_parser.cpp" break; case YYSYMBOL_casted_extended_literal: /* casted_extended_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2596 "bison_parser.cpp" +#line 2602 "bison_parser.cpp" break; case YYSYMBOL_extended_literal: /* extended_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2602 "bison_parser.cpp" +#line 2608 "bison_parser.cpp" break; case YYSYMBOL_expr_alias: /* expr_alias */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2608 "bison_parser.cpp" +#line 2614 "bison_parser.cpp" break; case YYSYMBOL_expr: /* expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2614 "bison_parser.cpp" +#line 2620 "bison_parser.cpp" break; case YYSYMBOL_operand: /* operand */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2620 "bison_parser.cpp" +#line 2626 "bison_parser.cpp" break; case YYSYMBOL_scalar_expr: /* scalar_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2626 "bison_parser.cpp" +#line 2632 "bison_parser.cpp" break; case YYSYMBOL_unary_expr: /* unary_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2632 "bison_parser.cpp" +#line 2638 "bison_parser.cpp" break; case YYSYMBOL_binary_expr: /* binary_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2638 "bison_parser.cpp" +#line 2644 "bison_parser.cpp" break; case YYSYMBOL_logic_expr: /* logic_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2644 "bison_parser.cpp" +#line 2650 "bison_parser.cpp" break; case YYSYMBOL_in_expr: /* in_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2650 "bison_parser.cpp" +#line 2656 "bison_parser.cpp" break; case YYSYMBOL_case_expr: /* case_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2656 "bison_parser.cpp" +#line 2662 "bison_parser.cpp" break; case YYSYMBOL_case_list: /* case_list */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2662 "bison_parser.cpp" +#line 2668 "bison_parser.cpp" break; case YYSYMBOL_exists_expr: /* exists_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2668 "bison_parser.cpp" +#line 2674 "bison_parser.cpp" break; case YYSYMBOL_comp_expr: /* comp_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2674 "bison_parser.cpp" +#line 2680 "bison_parser.cpp" break; case YYSYMBOL_function_expr: /* function_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2680 "bison_parser.cpp" +#line 2686 "bison_parser.cpp" break; case YYSYMBOL_opt_window: /* opt_window */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).window_description)); } -#line 2686 "bison_parser.cpp" +#line 2692 "bison_parser.cpp" break; case YYSYMBOL_opt_partition: /* opt_partition */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).expr_vec)) { for (auto ptr : *(((*yyvaluep).expr_vec))) { @@ -2695,155 +2700,155 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).expr_vec)); } -#line 2699 "bison_parser.cpp" +#line 2705 "bison_parser.cpp" break; case YYSYMBOL_opt_frame_clause: /* opt_frame_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).frame_description)); } -#line 2705 "bison_parser.cpp" +#line 2711 "bison_parser.cpp" break; case YYSYMBOL_frame_type: /* frame_type */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2711 "bison_parser.cpp" +#line 2717 "bison_parser.cpp" break; case YYSYMBOL_frame_bound: /* frame_bound */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).frame_bound)); } -#line 2717 "bison_parser.cpp" +#line 2723 "bison_parser.cpp" break; case YYSYMBOL_extract_expr: /* extract_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2723 "bison_parser.cpp" +#line 2729 "bison_parser.cpp" break; case YYSYMBOL_cast_expr: /* cast_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2729 "bison_parser.cpp" +#line 2735 "bison_parser.cpp" break; case YYSYMBOL_datetime_field: /* datetime_field */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2735 "bison_parser.cpp" +#line 2741 "bison_parser.cpp" break; case YYSYMBOL_datetime_field_plural: /* datetime_field_plural */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2741 "bison_parser.cpp" +#line 2747 "bison_parser.cpp" break; case YYSYMBOL_duration_field: /* duration_field */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2747 "bison_parser.cpp" +#line 2753 "bison_parser.cpp" break; case YYSYMBOL_array_expr: /* array_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2753 "bison_parser.cpp" +#line 2759 "bison_parser.cpp" break; case YYSYMBOL_array_index: /* array_index */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2759 "bison_parser.cpp" +#line 2765 "bison_parser.cpp" break; case YYSYMBOL_between_expr: /* between_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2765 "bison_parser.cpp" +#line 2771 "bison_parser.cpp" break; case YYSYMBOL_column_name: /* column_name */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2771 "bison_parser.cpp" +#line 2777 "bison_parser.cpp" break; case YYSYMBOL_literal: /* literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2777 "bison_parser.cpp" +#line 2783 "bison_parser.cpp" break; case YYSYMBOL_string_literal: /* string_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2783 "bison_parser.cpp" +#line 2789 "bison_parser.cpp" break; case YYSYMBOL_bool_literal: /* bool_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2789 "bison_parser.cpp" +#line 2795 "bison_parser.cpp" break; case YYSYMBOL_num_literal: /* num_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2795 "bison_parser.cpp" +#line 2801 "bison_parser.cpp" break; case YYSYMBOL_int_literal: /* int_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2801 "bison_parser.cpp" +#line 2807 "bison_parser.cpp" break; case YYSYMBOL_null_literal: /* null_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2807 "bison_parser.cpp" +#line 2813 "bison_parser.cpp" break; case YYSYMBOL_date_literal: /* date_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2813 "bison_parser.cpp" +#line 2819 "bison_parser.cpp" break; case YYSYMBOL_interval_literal: /* interval_literal */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2819 "bison_parser.cpp" +#line 2825 "bison_parser.cpp" break; case YYSYMBOL_param_expr: /* param_expr */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } -#line 2825 "bison_parser.cpp" +#line 2831 "bison_parser.cpp" break; case YYSYMBOL_table_ref: /* table_ref */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } -#line 2831 "bison_parser.cpp" +#line 2837 "bison_parser.cpp" break; case YYSYMBOL_table_ref_atomic: /* table_ref_atomic */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } -#line 2837 "bison_parser.cpp" +#line 2843 "bison_parser.cpp" break; case YYSYMBOL_nonjoin_table_ref_atomic: /* nonjoin_table_ref_atomic */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } -#line 2843 "bison_parser.cpp" +#line 2849 "bison_parser.cpp" break; case YYSYMBOL_table_ref_commalist: /* table_ref_commalist */ -#line 187 "bison_parser.y" +#line 189 "bison_parser.y" { if (((*yyvaluep).table_vec)) { for (auto ptr : *(((*yyvaluep).table_vec))) { @@ -2852,134 +2857,128 @@ yydestruct (const char *yymsg, } delete (((*yyvaluep).table_vec)); } -#line 2856 "bison_parser.cpp" +#line 2862 "bison_parser.cpp" break; case YYSYMBOL_table_ref_name: /* table_ref_name */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } -#line 2862 "bison_parser.cpp" +#line 2868 "bison_parser.cpp" break; case YYSYMBOL_table_ref_name_no_alias: /* table_ref_name_no_alias */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } -#line 2868 "bison_parser.cpp" +#line 2874 "bison_parser.cpp" break; case YYSYMBOL_table_name: /* table_name */ -#line 174 "bison_parser.y" +#line 176 "bison_parser.y" { free( (((*yyvaluep).table_name).name) ); free( (((*yyvaluep).table_name).schema) ); } -#line 2877 "bison_parser.cpp" +#line 2883 "bison_parser.cpp" break; case YYSYMBOL_opt_index_name: /* opt_index_name */ -#line 186 "bison_parser.y" +#line 188 "bison_parser.y" { free( (((*yyvaluep).sval)) ); } -#line 2883 "bison_parser.cpp" +#line 2889 "bison_parser.cpp" break; case YYSYMBOL_table_alias: /* table_alias */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).alias_t)); } -#line 2889 "bison_parser.cpp" +#line 2895 "bison_parser.cpp" break; case YYSYMBOL_opt_table_alias: /* opt_table_alias */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).alias_t)); } -#line 2895 "bison_parser.cpp" +#line 2901 "bison_parser.cpp" break; case YYSYMBOL_alias: /* alias */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).alias_t)); } -#line 2901 "bison_parser.cpp" +#line 2907 "bison_parser.cpp" break; case YYSYMBOL_opt_alias: /* opt_alias */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).alias_t)); } -#line 2907 "bison_parser.cpp" +#line 2913 "bison_parser.cpp" break; case YYSYMBOL_opt_locking_clause: /* opt_locking_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).locking_clause_vec)); } -#line 2913 "bison_parser.cpp" +#line 2919 "bison_parser.cpp" break; case YYSYMBOL_opt_locking_clause_list: /* opt_locking_clause_list */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).locking_clause_vec)); } -#line 2919 "bison_parser.cpp" +#line 2925 "bison_parser.cpp" break; case YYSYMBOL_locking_clause: /* locking_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).locking_t)); } -#line 2925 "bison_parser.cpp" +#line 2931 "bison_parser.cpp" break; case YYSYMBOL_row_lock_mode: /* row_lock_mode */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2931 "bison_parser.cpp" +#line 2937 "bison_parser.cpp" break; case YYSYMBOL_opt_row_lock_policy: /* opt_row_lock_policy */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } -#line 2937 "bison_parser.cpp" - break; - - case YYSYMBOL_opt_with_clause: /* opt_with_clause */ -#line 195 "bison_parser.y" - { delete (((*yyvaluep).with_description_vec)); } #line 2943 "bison_parser.cpp" break; case YYSYMBOL_with_clause: /* with_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).with_description_vec)); } #line 2949 "bison_parser.cpp" break; case YYSYMBOL_with_description_list: /* with_description_list */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).with_description_vec)); } #line 2955 "bison_parser.cpp" break; case YYSYMBOL_with_description: /* with_description */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).with_description_t)); } #line 2961 "bison_parser.cpp" break; case YYSYMBOL_join_clause: /* join_clause */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).table)); } #line 2967 "bison_parser.cpp" break; case YYSYMBOL_opt_join_type: /* opt_join_type */ -#line 173 "bison_parser.y" +#line 175 "bison_parser.y" { } #line 2973 "bison_parser.cpp" break; case YYSYMBOL_join_condition: /* join_condition */ -#line 195 "bison_parser.y" +#line 197 "bison_parser.y" { delete (((*yyvaluep).expr)); } #line 2979 "bison_parser.cpp" break; case YYSYMBOL_ident_commalist: /* ident_commalist */ -#line 178 "bison_parser.y" +#line 180 "bison_parser.y" { if (((*yyvaluep).str_vec)) { for (auto ptr : *(((*yyvaluep).str_vec))) { @@ -3085,7 +3084,7 @@ YYLTYPE yylloc = yyloc_default; /* User initialization code. */ -#line 76 "bison_parser.y" +#line 78 "bison_parser.y" { // Initialize yylloc.first_column = 0; @@ -3307,7 +3306,7 @@ YYLTYPE yylloc = yyloc_default; switch (yyn) { case 2: /* input: statement_list opt_semicolon */ -#line 328 "bison_parser.y" +#line 332 "bison_parser.y" { for (SQLStatement* stmt : *(yyvsp[-1].stmt_vec)) { // Transfers ownership of the statement. @@ -3329,7 +3328,7 @@ YYLTYPE yylloc = yyloc_default; break; case 3: /* statement_list: statement */ -#line 347 "bison_parser.y" +#line 351 "bison_parser.y" { (yyvsp[0].statement)->stringLength = yylloc.string_length; yylloc.string_length = 0; @@ -3340,7 +3339,7 @@ YYLTYPE yylloc = yyloc_default; break; case 4: /* statement_list: statement_list ';' statement */ -#line 353 "bison_parser.y" +#line 357 "bison_parser.y" { (yyvsp[0].statement)->stringLength = yylloc.string_length; yylloc.string_length = 0; @@ -3351,7 +3350,7 @@ YYLTYPE yylloc = yyloc_default; break; case 5: /* statement: prepare_statement opt_hints */ -#line 360 "bison_parser.y" +#line 364 "bison_parser.y" { (yyval.statement) = (yyvsp[-1].prep_stmt); (yyval.statement)->hints = (yyvsp[0].expr_vec); @@ -3360,7 +3359,7 @@ YYLTYPE yylloc = yyloc_default; break; case 6: /* statement: preparable_statement opt_hints */ -#line 364 "bison_parser.y" +#line 368 "bison_parser.y" { (yyval.statement) = (yyvsp[-1].statement); (yyval.statement)->hints = (yyvsp[0].expr_vec); @@ -3369,97 +3368,97 @@ YYLTYPE yylloc = yyloc_default; break; case 7: /* statement: show_statement */ -#line 368 "bison_parser.y" +#line 372 "bison_parser.y" { (yyval.statement) = (yyvsp[0].show_stmt); } #line 3375 "bison_parser.cpp" break; case 8: /* statement: import_statement */ -#line 369 "bison_parser.y" +#line 373 "bison_parser.y" { (yyval.statement) = (yyvsp[0].import_stmt); } #line 3381 "bison_parser.cpp" break; case 9: /* statement: export_statement */ -#line 370 "bison_parser.y" +#line 374 "bison_parser.y" { (yyval.statement) = (yyvsp[0].export_stmt); } #line 3387 "bison_parser.cpp" break; case 10: /* preparable_statement: select_statement */ -#line 372 "bison_parser.y" +#line 376 "bison_parser.y" { (yyval.statement) = (yyvsp[0].select_stmt); } #line 3393 "bison_parser.cpp" break; case 11: /* preparable_statement: create_statement */ -#line 373 "bison_parser.y" +#line 377 "bison_parser.y" { (yyval.statement) = (yyvsp[0].create_stmt); } #line 3399 "bison_parser.cpp" break; case 12: /* preparable_statement: insert_statement */ -#line 374 "bison_parser.y" +#line 378 "bison_parser.y" { (yyval.statement) = (yyvsp[0].insert_stmt); } #line 3405 "bison_parser.cpp" break; case 13: /* preparable_statement: delete_statement */ -#line 375 "bison_parser.y" +#line 379 "bison_parser.y" { (yyval.statement) = (yyvsp[0].delete_stmt); } #line 3411 "bison_parser.cpp" break; case 14: /* preparable_statement: truncate_statement */ -#line 376 "bison_parser.y" +#line 380 "bison_parser.y" { (yyval.statement) = (yyvsp[0].delete_stmt); } #line 3417 "bison_parser.cpp" break; case 15: /* preparable_statement: update_statement */ -#line 377 "bison_parser.y" +#line 381 "bison_parser.y" { (yyval.statement) = (yyvsp[0].update_stmt); } #line 3423 "bison_parser.cpp" break; case 16: /* preparable_statement: drop_statement */ -#line 378 "bison_parser.y" +#line 382 "bison_parser.y" { (yyval.statement) = (yyvsp[0].drop_stmt); } #line 3429 "bison_parser.cpp" break; case 17: /* preparable_statement: alter_statement */ -#line 379 "bison_parser.y" +#line 383 "bison_parser.y" { (yyval.statement) = (yyvsp[0].alter_stmt); } #line 3435 "bison_parser.cpp" break; case 18: /* preparable_statement: execute_statement */ -#line 380 "bison_parser.y" +#line 384 "bison_parser.y" { (yyval.statement) = (yyvsp[0].exec_stmt); } #line 3441 "bison_parser.cpp" break; case 19: /* preparable_statement: transaction_statement */ -#line 381 "bison_parser.y" +#line 385 "bison_parser.y" { (yyval.statement) = (yyvsp[0].transaction_stmt); } #line 3447 "bison_parser.cpp" break; case 20: /* opt_hints: WITH HINT '(' hint_list ')' */ -#line 387 "bison_parser.y" +#line 391 "bison_parser.y" { (yyval.expr_vec) = (yyvsp[-1].expr_vec); } #line 3453 "bison_parser.cpp" break; case 21: /* opt_hints: %empty */ -#line 388 "bison_parser.y" +#line 392 "bison_parser.y" { (yyval.expr_vec) = nullptr; } #line 3459 "bison_parser.cpp" break; case 22: /* hint_list: hint */ -#line 390 "bison_parser.y" +#line 394 "bison_parser.y" { (yyval.expr_vec) = new std::vector(); (yyval.expr_vec)->push_back((yyvsp[0].expr)); @@ -3468,7 +3467,7 @@ YYLTYPE yylloc = yyloc_default; break; case 23: /* hint_list: hint_list ',' hint */ -#line 394 "bison_parser.y" +#line 398 "bison_parser.y" { (yyvsp[-2].expr_vec)->push_back((yyvsp[0].expr)); (yyval.expr_vec) = (yyvsp[-2].expr_vec); @@ -3477,7 +3476,7 @@ YYLTYPE yylloc = yyloc_default; break; case 24: /* hint: IDENTIFIER */ -#line 399 "bison_parser.y" +#line 403 "bison_parser.y" { (yyval.expr) = Expr::make(kExprHint); (yyval.expr)->name = (yyvsp[0].sval); @@ -3486,7 +3485,7 @@ YYLTYPE yylloc = yyloc_default; break; case 25: /* hint: IDENTIFIER '(' extended_literal_list ')' */ -#line 403 "bison_parser.y" +#line 407 "bison_parser.y" { (yyval.expr) = Expr::make(kExprHint); (yyval.expr)->name = (yyvsp[-3].sval); @@ -3496,25 +3495,25 @@ YYLTYPE yylloc = yyloc_default; break; case 26: /* transaction_statement: BEGIN opt_transaction_keyword */ -#line 413 "bison_parser.y" +#line 417 "bison_parser.y" { (yyval.transaction_stmt) = new TransactionStatement(kBeginTransaction); } #line 3502 "bison_parser.cpp" break; case 27: /* transaction_statement: ROLLBACK opt_transaction_keyword */ -#line 414 "bison_parser.y" +#line 418 "bison_parser.y" { (yyval.transaction_stmt) = new TransactionStatement(kRollbackTransaction); } #line 3508 "bison_parser.cpp" break; case 28: /* transaction_statement: COMMIT opt_transaction_keyword */ -#line 415 "bison_parser.y" +#line 419 "bison_parser.y" { (yyval.transaction_stmt) = new TransactionStatement(kCommitTransaction); } #line 3514 "bison_parser.cpp" break; case 31: /* prepare_statement: PREPARE IDENTIFIER FROM prepare_target_query */ -#line 423 "bison_parser.y" +#line 427 "bison_parser.y" { (yyval.prep_stmt) = new PrepareStatement(); (yyval.prep_stmt)->name = (yyvsp[-2].sval); @@ -3524,7 +3523,7 @@ YYLTYPE yylloc = yyloc_default; break; case 33: /* execute_statement: EXECUTE IDENTIFIER */ -#line 431 "bison_parser.y" +#line 435 "bison_parser.y" { (yyval.exec_stmt) = new ExecuteStatement(); (yyval.exec_stmt)->name = (yyvsp[0].sval); @@ -3533,7 +3532,7 @@ YYLTYPE yylloc = yyloc_default; break; case 34: /* execute_statement: EXECUTE IDENTIFIER '(' opt_extended_literal_list ')' */ -#line 435 "bison_parser.y" +#line 439 "bison_parser.y" { (yyval.exec_stmt) = new ExecuteStatement(); (yyval.exec_stmt)->name = (yyvsp[-3].sval); @@ -3543,7 +3542,7 @@ YYLTYPE yylloc = yyloc_default; break; case 35: /* import_statement: IMPORT FROM file_type FILE file_path INTO table_name */ -#line 447 "bison_parser.y" +#line 451 "bison_parser.y" { (yyval.import_stmt) = new ImportStatement((yyvsp[-4].import_type_t)); (yyval.import_stmt)->filePath = (yyvsp[-2].sval); @@ -3554,7 +3553,7 @@ YYLTYPE yylloc = yyloc_default; break; case 36: /* import_statement: COPY table_name FROM file_path opt_import_export_options opt_where */ -#line 453 "bison_parser.y" +#line 457 "bison_parser.y" { (yyval.import_stmt) = new ImportStatement((yyvsp[-1].import_export_option_t)->format); (yyval.import_stmt)->filePath = (yyvsp[-2].sval); @@ -3571,7 +3570,7 @@ YYLTYPE yylloc = yyloc_default; break; case 37: /* file_type: IDENTIFIER */ -#line 466 "bison_parser.y" +#line 470 "bison_parser.y" { if (strcasecmp((yyvsp[0].sval), "csv") == 0) { (yyval.import_type_t) = kImportCSV; @@ -3590,33 +3589,31 @@ YYLTYPE yylloc = yyloc_default; break; case 38: /* file_path: STRING */ -#line 481 "bison_parser.y" - { - (yyval.sval) = (yyvsp[0].sval); -} -#line 3598 "bison_parser.cpp" +#line 485 "bison_parser.y" + { (yyval.sval) = (yyvsp[0].sval); } +#line 3596 "bison_parser.cpp" break; case 39: /* opt_import_export_options: WITH '(' import_export_options ')' */ -#line 485 "bison_parser.y" +#line 487 "bison_parser.y" { (yyval.import_export_option_t) = (yyvsp[-1].import_export_option_t); } -#line 3604 "bison_parser.cpp" +#line 3602 "bison_parser.cpp" break; case 40: /* opt_import_export_options: '(' import_export_options ')' */ -#line 486 "bison_parser.y" +#line 488 "bison_parser.y" { (yyval.import_export_option_t) = (yyvsp[-1].import_export_option_t); } -#line 3610 "bison_parser.cpp" +#line 3608 "bison_parser.cpp" break; case 41: /* opt_import_export_options: %empty */ -#line 487 "bison_parser.y" +#line 489 "bison_parser.y" { (yyval.import_export_option_t) = new ImportExportOptions{}; } -#line 3616 "bison_parser.cpp" +#line 3614 "bison_parser.cpp" break; case 42: /* import_export_options: import_export_options ',' FORMAT file_type */ -#line 489 "bison_parser.y" +#line 491 "bison_parser.y" { if ((yyvsp[-3].import_export_option_t)->format != kImportAuto) { delete (yyvsp[-3].import_export_option_t); @@ -3626,20 +3623,20 @@ YYLTYPE yylloc = yyloc_default; (yyvsp[-3].import_export_option_t)->format = (yyvsp[0].import_type_t); (yyval.import_export_option_t) = (yyvsp[-3].import_export_option_t); } -#line 3630 "bison_parser.cpp" +#line 3628 "bison_parser.cpp" break; case 43: /* import_export_options: FORMAT file_type */ -#line 498 "bison_parser.y" +#line 500 "bison_parser.y" { (yyval.import_export_option_t) = new ImportExportOptions{}; (yyval.import_export_option_t)->format = (yyvsp[0].import_type_t); } -#line 3639 "bison_parser.cpp" +#line 3637 "bison_parser.cpp" break; case 44: /* import_export_options: import_export_options ',' ENCODING STRING */ -#line 502 "bison_parser.y" +#line 504 "bison_parser.y" { if ((yyvsp[-3].import_export_option_t)->encoding) { delete (yyvsp[-3].import_export_option_t); @@ -3650,20 +3647,20 @@ YYLTYPE yylloc = yyloc_default; (yyvsp[-3].import_export_option_t)->encoding = (yyvsp[0].sval); (yyval.import_export_option_t) = (yyvsp[-3].import_export_option_t); } -#line 3654 "bison_parser.cpp" +#line 3652 "bison_parser.cpp" break; case 45: /* import_export_options: ENCODING STRING */ -#line 512 "bison_parser.y" +#line 514 "bison_parser.y" { (yyval.import_export_option_t) = new ImportExportOptions{}; (yyval.import_export_option_t)->encoding = (yyvsp[0].sval); } -#line 3663 "bison_parser.cpp" +#line 3661 "bison_parser.cpp" break; case 46: /* export_statement: COPY table_name TO file_path opt_import_export_options */ -#line 522 "bison_parser.y" +#line 524 "bison_parser.y" { (yyval.export_stmt) = new ExportStatement((yyvsp[0].import_export_option_t)->format); (yyval.export_stmt)->filePath = (yyvsp[-1].sval); @@ -3675,12 +3672,12 @@ YYLTYPE yylloc = yyloc_default; } delete (yyvsp[0].import_export_option_t); } -#line 3679 "bison_parser.cpp" +#line 3677 "bison_parser.cpp" break; - case 47: /* export_statement: COPY select_with_paren TO file_path opt_import_export_options */ -#line 533 "bison_parser.y" - { + case 47: /* export_statement: COPY subquery TO file_path opt_import_export_options */ +#line 535 "bison_parser.y" + { (yyval.export_stmt) = new ExportStatement((yyvsp[0].import_export_option_t)->format); (yyval.export_stmt)->filePath = (yyvsp[-1].sval); (yyval.export_stmt)->select = (yyvsp[-3].select_stmt); @@ -3690,37 +3687,37 @@ YYLTYPE yylloc = yyloc_default; } delete (yyvsp[0].import_export_option_t); } -#line 3694 "bison_parser.cpp" +#line 3692 "bison_parser.cpp" break; case 48: /* show_statement: SHOW TABLES */ -#line 549 "bison_parser.y" +#line 551 "bison_parser.y" { (yyval.show_stmt) = new ShowStatement(kShowTables); } -#line 3700 "bison_parser.cpp" +#line 3698 "bison_parser.cpp" break; case 49: /* show_statement: SHOW COLUMNS table_name */ -#line 550 "bison_parser.y" +#line 552 "bison_parser.y" { (yyval.show_stmt) = new ShowStatement(kShowColumns); (yyval.show_stmt)->schema = (yyvsp[0].table_name).schema; (yyval.show_stmt)->name = (yyvsp[0].table_name).name; } -#line 3710 "bison_parser.cpp" +#line 3708 "bison_parser.cpp" break; case 50: /* show_statement: DESCRIBE table_name */ -#line 555 "bison_parser.y" +#line 557 "bison_parser.y" { (yyval.show_stmt) = new ShowStatement(kShowColumns); (yyval.show_stmt)->schema = (yyvsp[0].table_name).schema; (yyval.show_stmt)->name = (yyvsp[0].table_name).name; } -#line 3720 "bison_parser.cpp" +#line 3718 "bison_parser.cpp" break; case 51: /* create_statement: CREATE TABLE opt_not_exists table_name FROM IDENTIFIER FILE file_path */ -#line 566 "bison_parser.y" +#line 568 "bison_parser.y" { (yyval.create_stmt) = new CreateStatement(kCreateTableFromTbl); (yyval.create_stmt)->ifNotExists = (yyvsp[-5].bval); @@ -3734,11 +3731,11 @@ YYLTYPE yylloc = yyloc_default; free((yyvsp[-2].sval)); (yyval.create_stmt)->filePath = (yyvsp[0].sval); } -#line 3738 "bison_parser.cpp" +#line 3736 "bison_parser.cpp" break; case 52: /* create_statement: CREATE TABLE opt_not_exists table_name '(' table_elem_commalist ')' */ -#line 579 "bison_parser.y" +#line 581 "bison_parser.y" { (yyval.create_stmt) = new CreateStatement(kCreateTable); (yyval.create_stmt)->ifNotExists = (yyvsp[-4].bval); @@ -3751,11 +3748,11 @@ YYLTYPE yylloc = yyloc_default; YYERROR; } } -#line 3755 "bison_parser.cpp" +#line 3753 "bison_parser.cpp" break; case 53: /* create_statement: CREATE TABLE opt_not_exists table_name AS select_statement */ -#line 591 "bison_parser.y" +#line 593 "bison_parser.y" { (yyval.create_stmt) = new CreateStatement(kCreateTable); (yyval.create_stmt)->ifNotExists = (yyvsp[-3].bval); @@ -3763,11 +3760,11 @@ YYLTYPE yylloc = yyloc_default; (yyval.create_stmt)->tableName = (yyvsp[-2].table_name).name; (yyval.create_stmt)->select = (yyvsp[0].select_stmt); } -#line 3767 "bison_parser.cpp" +#line 3765 "bison_parser.cpp" break; case 54: /* create_statement: CREATE INDEX opt_not_exists opt_index_name ON table_name '(' ident_commalist ')' */ -#line 598 "bison_parser.y" +#line 600 "bison_parser.y" { (yyval.create_stmt) = new CreateStatement(kCreateIndex); (yyval.create_stmt)->indexName = (yyvsp[-5].sval); @@ -3775,11 +3772,11 @@ YYLTYPE yylloc = yyloc_default; (yyval.create_stmt)->tableName = (yyvsp[-3].table_name).name; (yyval.create_stmt)->indexColumns = (yyvsp[-1].str_vec); } -#line 3779 "bison_parser.cpp" +#line 3777 "bison_parser.cpp" break; case 55: /* create_statement: CREATE VIEW opt_not_exists table_name opt_column_list AS select_statement */ -#line 605 "bison_parser.y" +#line 607 "bison_parser.y" { (yyval.create_stmt) = new CreateStatement(kCreateView); (yyval.create_stmt)->ifNotExists = (yyvsp[-4].bval); @@ -3788,371 +3785,371 @@ YYLTYPE yylloc = yyloc_default; (yyval.create_stmt)->viewColumns = (yyvsp[-2].str_vec); (yyval.create_stmt)->select = (yyvsp[0].select_stmt); } -#line 3792 "bison_parser.cpp" +#line 3790 "bison_parser.cpp" break; case 56: /* opt_not_exists: IF NOT EXISTS */ -#line 614 "bison_parser.y" +#line 616 "bison_parser.y" { (yyval.bval) = true; } -#line 3798 "bison_parser.cpp" +#line 3796 "bison_parser.cpp" break; case 57: /* opt_not_exists: %empty */ -#line 615 "bison_parser.y" +#line 617 "bison_parser.y" { (yyval.bval) = false; } -#line 3804 "bison_parser.cpp" +#line 3802 "bison_parser.cpp" break; case 58: /* table_elem_commalist: table_elem */ -#line 617 "bison_parser.y" +#line 619 "bison_parser.y" { (yyval.table_element_vec) = new std::vector(); (yyval.table_element_vec)->push_back((yyvsp[0].table_element_t)); } -#line 3813 "bison_parser.cpp" +#line 3811 "bison_parser.cpp" break; case 59: /* table_elem_commalist: table_elem_commalist ',' table_elem */ -#line 621 "bison_parser.y" +#line 623 "bison_parser.y" { (yyvsp[-2].table_element_vec)->push_back((yyvsp[0].table_element_t)); (yyval.table_element_vec) = (yyvsp[-2].table_element_vec); } -#line 3822 "bison_parser.cpp" +#line 3820 "bison_parser.cpp" break; case 60: /* table_elem: column_def */ -#line 626 "bison_parser.y" +#line 628 "bison_parser.y" { (yyval.table_element_t) = (yyvsp[0].column_t); } -#line 3828 "bison_parser.cpp" +#line 3826 "bison_parser.cpp" break; case 61: /* table_elem: table_constraint */ -#line 627 "bison_parser.y" +#line 629 "bison_parser.y" { (yyval.table_element_t) = (yyvsp[0].table_constraint_t); } -#line 3834 "bison_parser.cpp" +#line 3832 "bison_parser.cpp" break; case 62: /* column_def: IDENTIFIER column_type opt_column_constraints */ -#line 629 "bison_parser.y" +#line 631 "bison_parser.y" { (yyval.column_t) = new ColumnDefinition((yyvsp[-2].sval), (yyvsp[-1].column_type_t), (yyvsp[0].column_constraint_set)); if (!(yyval.column_t)->trySetNullableExplicit()) { yyerror(&yyloc, result, scanner, ("Conflicting nullability constraints for " + std::string{(yyvsp[-2].sval)}).c_str()); } } -#line 3845 "bison_parser.cpp" +#line 3843 "bison_parser.cpp" break; case 63: /* column_type: BIGINT */ -#line 636 "bison_parser.y" +#line 638 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::BIGINT}; } -#line 3851 "bison_parser.cpp" +#line 3849 "bison_parser.cpp" break; case 64: /* column_type: BOOLEAN */ -#line 637 "bison_parser.y" +#line 639 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::BOOLEAN}; } -#line 3857 "bison_parser.cpp" +#line 3855 "bison_parser.cpp" break; case 65: /* column_type: CHAR '(' INTVAL ')' */ -#line 638 "bison_parser.y" +#line 640 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::CHAR, (yyvsp[-1].ival)}; } -#line 3863 "bison_parser.cpp" +#line 3861 "bison_parser.cpp" break; case 66: /* column_type: CHARACTER_VARYING '(' INTVAL ')' */ -#line 639 "bison_parser.y" +#line 641 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::VARCHAR, (yyvsp[-1].ival)}; } -#line 3869 "bison_parser.cpp" +#line 3867 "bison_parser.cpp" break; case 67: /* column_type: DATE */ -#line 640 "bison_parser.y" +#line 642 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::DATE}; } -#line 3875 "bison_parser.cpp" +#line 3873 "bison_parser.cpp" break; case 68: /* column_type: DATETIME */ -#line 641 "bison_parser.y" +#line 643 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::DATETIME}; } -#line 3881 "bison_parser.cpp" +#line 3879 "bison_parser.cpp" break; case 69: /* column_type: DECIMAL opt_decimal_specification */ -#line 642 "bison_parser.y" +#line 644 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::DECIMAL, 0, (yyvsp[0].ival_pair)->first, (yyvsp[0].ival_pair)->second}; delete (yyvsp[0].ival_pair); } -#line 3890 "bison_parser.cpp" +#line 3888 "bison_parser.cpp" break; case 70: /* column_type: DOUBLE */ -#line 646 "bison_parser.y" +#line 648 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::DOUBLE}; } -#line 3896 "bison_parser.cpp" +#line 3894 "bison_parser.cpp" break; case 71: /* column_type: FLOAT */ -#line 647 "bison_parser.y" +#line 649 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::FLOAT}; } -#line 3902 "bison_parser.cpp" +#line 3900 "bison_parser.cpp" break; case 72: /* column_type: INT */ -#line 648 "bison_parser.y" +#line 650 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::INT}; } -#line 3908 "bison_parser.cpp" +#line 3906 "bison_parser.cpp" break; case 73: /* column_type: INTEGER */ -#line 649 "bison_parser.y" +#line 651 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::INT}; } -#line 3914 "bison_parser.cpp" +#line 3912 "bison_parser.cpp" break; case 74: /* column_type: LONG */ -#line 650 "bison_parser.y" +#line 652 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::LONG}; } -#line 3920 "bison_parser.cpp" +#line 3918 "bison_parser.cpp" break; case 75: /* column_type: REAL */ -#line 651 "bison_parser.y" +#line 653 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::REAL}; } -#line 3926 "bison_parser.cpp" +#line 3924 "bison_parser.cpp" break; case 76: /* column_type: SMALLINT */ -#line 652 "bison_parser.y" +#line 654 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::SMALLINT}; } -#line 3932 "bison_parser.cpp" +#line 3930 "bison_parser.cpp" break; case 77: /* column_type: TEXT */ -#line 653 "bison_parser.y" +#line 655 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::TEXT}; } -#line 3938 "bison_parser.cpp" +#line 3936 "bison_parser.cpp" break; case 78: /* column_type: TIME opt_time_precision */ -#line 654 "bison_parser.y" +#line 656 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::TIME, 0, (yyvsp[0].ival)}; } -#line 3944 "bison_parser.cpp" +#line 3942 "bison_parser.cpp" break; case 79: /* column_type: TIMESTAMP */ -#line 655 "bison_parser.y" +#line 657 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::DATETIME}; } -#line 3950 "bison_parser.cpp" +#line 3948 "bison_parser.cpp" break; case 80: /* column_type: VARCHAR '(' INTVAL ')' */ -#line 656 "bison_parser.y" +#line 658 "bison_parser.y" { (yyval.column_type_t) = ColumnType{DataType::VARCHAR, (yyvsp[-1].ival)}; } -#line 3956 "bison_parser.cpp" +#line 3954 "bison_parser.cpp" break; case 81: /* opt_time_precision: '(' INTVAL ')' */ -#line 658 "bison_parser.y" +#line 660 "bison_parser.y" { (yyval.ival) = (yyvsp[-1].ival); } -#line 3962 "bison_parser.cpp" +#line 3960 "bison_parser.cpp" break; case 82: /* opt_time_precision: %empty */ -#line 659 "bison_parser.y" +#line 661 "bison_parser.y" { (yyval.ival) = 0; } -#line 3968 "bison_parser.cpp" +#line 3966 "bison_parser.cpp" break; case 83: /* opt_decimal_specification: '(' INTVAL ',' INTVAL ')' */ -#line 661 "bison_parser.y" +#line 663 "bison_parser.y" { (yyval.ival_pair) = new std::pair{(yyvsp[-3].ival), (yyvsp[-1].ival)}; } -#line 3974 "bison_parser.cpp" +#line 3972 "bison_parser.cpp" break; case 84: /* opt_decimal_specification: '(' INTVAL ')' */ -#line 662 "bison_parser.y" +#line 664 "bison_parser.y" { (yyval.ival_pair) = new std::pair{(yyvsp[-1].ival), 0}; } -#line 3980 "bison_parser.cpp" +#line 3978 "bison_parser.cpp" break; case 85: /* opt_decimal_specification: %empty */ -#line 663 "bison_parser.y" +#line 665 "bison_parser.y" { (yyval.ival_pair) = new std::pair{0, 0}; } -#line 3986 "bison_parser.cpp" +#line 3984 "bison_parser.cpp" break; case 86: /* opt_column_constraints: column_constraint_set */ -#line 665 "bison_parser.y" +#line 667 "bison_parser.y" { (yyval.column_constraint_set) = (yyvsp[0].column_constraint_set); } -#line 3992 "bison_parser.cpp" +#line 3990 "bison_parser.cpp" break; case 87: /* opt_column_constraints: %empty */ -#line 666 "bison_parser.y" +#line 668 "bison_parser.y" { (yyval.column_constraint_set) = new std::unordered_set(); } -#line 3998 "bison_parser.cpp" +#line 3996 "bison_parser.cpp" break; case 88: /* column_constraint_set: column_constraint */ -#line 668 "bison_parser.y" +#line 670 "bison_parser.y" { (yyval.column_constraint_set) = new std::unordered_set(); (yyval.column_constraint_set)->insert((yyvsp[0].column_constraint_t)); } -#line 4007 "bison_parser.cpp" +#line 4005 "bison_parser.cpp" break; case 89: /* column_constraint_set: column_constraint_set column_constraint */ -#line 672 "bison_parser.y" +#line 674 "bison_parser.y" { (yyvsp[-1].column_constraint_set)->insert((yyvsp[0].column_constraint_t)); (yyval.column_constraint_set) = (yyvsp[-1].column_constraint_set); } -#line 4016 "bison_parser.cpp" +#line 4014 "bison_parser.cpp" break; case 90: /* column_constraint: PRIMARY KEY */ -#line 677 "bison_parser.y" +#line 679 "bison_parser.y" { (yyval.column_constraint_t) = ConstraintType::PrimaryKey; } -#line 4022 "bison_parser.cpp" +#line 4020 "bison_parser.cpp" break; case 91: /* column_constraint: UNIQUE */ -#line 678 "bison_parser.y" +#line 680 "bison_parser.y" { (yyval.column_constraint_t) = ConstraintType::Unique; } -#line 4028 "bison_parser.cpp" +#line 4026 "bison_parser.cpp" break; case 92: /* column_constraint: NULL */ -#line 679 "bison_parser.y" +#line 681 "bison_parser.y" { (yyval.column_constraint_t) = ConstraintType::Null; } -#line 4034 "bison_parser.cpp" +#line 4032 "bison_parser.cpp" break; case 93: /* column_constraint: NOT NULL */ -#line 680 "bison_parser.y" +#line 682 "bison_parser.y" { (yyval.column_constraint_t) = ConstraintType::NotNull; } -#line 4040 "bison_parser.cpp" +#line 4038 "bison_parser.cpp" break; case 94: /* table_constraint: PRIMARY KEY '(' ident_commalist ')' */ -#line 682 "bison_parser.y" +#line 684 "bison_parser.y" { (yyval.table_constraint_t) = new TableConstraint(ConstraintType::PrimaryKey, (yyvsp[-1].str_vec)); } -#line 4046 "bison_parser.cpp" +#line 4044 "bison_parser.cpp" break; case 95: /* table_constraint: UNIQUE '(' ident_commalist ')' */ -#line 683 "bison_parser.y" +#line 685 "bison_parser.y" { (yyval.table_constraint_t) = new TableConstraint(ConstraintType::Unique, (yyvsp[-1].str_vec)); } -#line 4052 "bison_parser.cpp" +#line 4050 "bison_parser.cpp" break; case 96: /* drop_statement: DROP TABLE opt_exists table_name */ -#line 691 "bison_parser.y" +#line 693 "bison_parser.y" { (yyval.drop_stmt) = new DropStatement(kDropTable); (yyval.drop_stmt)->ifExists = (yyvsp[-1].bval); (yyval.drop_stmt)->schema = (yyvsp[0].table_name).schema; (yyval.drop_stmt)->name = (yyvsp[0].table_name).name; } -#line 4063 "bison_parser.cpp" +#line 4061 "bison_parser.cpp" break; case 97: /* drop_statement: DROP VIEW opt_exists table_name */ -#line 697 "bison_parser.y" +#line 699 "bison_parser.y" { (yyval.drop_stmt) = new DropStatement(kDropView); (yyval.drop_stmt)->ifExists = (yyvsp[-1].bval); (yyval.drop_stmt)->schema = (yyvsp[0].table_name).schema; (yyval.drop_stmt)->name = (yyvsp[0].table_name).name; } -#line 4074 "bison_parser.cpp" +#line 4072 "bison_parser.cpp" break; case 98: /* drop_statement: DEALLOCATE PREPARE IDENTIFIER */ -#line 703 "bison_parser.y" +#line 705 "bison_parser.y" { (yyval.drop_stmt) = new DropStatement(kDropPreparedStatement); (yyval.drop_stmt)->ifExists = false; (yyval.drop_stmt)->name = (yyvsp[0].sval); } -#line 4084 "bison_parser.cpp" +#line 4082 "bison_parser.cpp" break; case 99: /* drop_statement: DROP INDEX opt_exists IDENTIFIER */ -#line 709 "bison_parser.y" +#line 711 "bison_parser.y" { (yyval.drop_stmt) = new DropStatement(kDropIndex); (yyval.drop_stmt)->ifExists = (yyvsp[-1].bval); (yyval.drop_stmt)->indexName = (yyvsp[0].sval); } -#line 4094 "bison_parser.cpp" +#line 4092 "bison_parser.cpp" break; case 100: /* opt_exists: IF EXISTS */ -#line 715 "bison_parser.y" +#line 717 "bison_parser.y" { (yyval.bval) = true; } -#line 4100 "bison_parser.cpp" +#line 4098 "bison_parser.cpp" break; case 101: /* opt_exists: %empty */ -#line 716 "bison_parser.y" +#line 718 "bison_parser.y" { (yyval.bval) = false; } -#line 4106 "bison_parser.cpp" +#line 4104 "bison_parser.cpp" break; case 102: /* alter_statement: ALTER TABLE opt_exists table_name alter_action */ -#line 723 "bison_parser.y" +#line 725 "bison_parser.y" { (yyval.alter_stmt) = new AlterStatement((yyvsp[-1].table_name).name, (yyvsp[0].alter_action_t)); (yyval.alter_stmt)->ifTableExists = (yyvsp[-2].bval); (yyval.alter_stmt)->schema = (yyvsp[-1].table_name).schema; } -#line 4116 "bison_parser.cpp" +#line 4114 "bison_parser.cpp" break; case 103: /* alter_action: drop_action */ -#line 729 "bison_parser.y" +#line 731 "bison_parser.y" { (yyval.alter_action_t) = (yyvsp[0].drop_action_t); } -#line 4122 "bison_parser.cpp" +#line 4120 "bison_parser.cpp" break; case 104: /* drop_action: DROP COLUMN opt_exists IDENTIFIER */ -#line 731 "bison_parser.y" +#line 733 "bison_parser.y" { (yyval.drop_action_t) = new DropColumnAction((yyvsp[0].sval)); (yyval.drop_action_t)->ifExists = (yyvsp[-1].bval); } -#line 4131 "bison_parser.cpp" +#line 4129 "bison_parser.cpp" break; case 105: /* delete_statement: DELETE FROM table_name opt_where */ -#line 741 "bison_parser.y" +#line 743 "bison_parser.y" { (yyval.delete_stmt) = new DeleteStatement(); (yyval.delete_stmt)->schema = (yyvsp[-1].table_name).schema; (yyval.delete_stmt)->tableName = (yyvsp[-1].table_name).name; (yyval.delete_stmt)->expr = (yyvsp[0].expr); } -#line 4142 "bison_parser.cpp" +#line 4140 "bison_parser.cpp" break; case 106: /* truncate_statement: TRUNCATE table_name */ -#line 748 "bison_parser.y" +#line 750 "bison_parser.y" { (yyval.delete_stmt) = new DeleteStatement(); (yyval.delete_stmt)->schema = (yyvsp[0].table_name).schema; (yyval.delete_stmt)->tableName = (yyvsp[0].table_name).name; } -#line 4152 "bison_parser.cpp" +#line 4150 "bison_parser.cpp" break; case 107: /* insert_statement: INSERT INTO table_name opt_column_list VALUES '(' extended_literal_list ')' */ -#line 759 "bison_parser.y" +#line 761 "bison_parser.y" { (yyval.insert_stmt) = new InsertStatement(kInsertValues); (yyval.insert_stmt)->schema = (yyvsp[-5].table_name).schema; @@ -4160,222 +4157,249 @@ YYLTYPE yylloc = yyloc_default; (yyval.insert_stmt)->columns = (yyvsp[-4].str_vec); (yyval.insert_stmt)->values = (yyvsp[-1].expr_vec); } -#line 4164 "bison_parser.cpp" +#line 4162 "bison_parser.cpp" break; - case 108: /* insert_statement: INSERT INTO table_name opt_column_list select_no_paren */ -#line 766 "bison_parser.y" - { + case 108: /* insert_statement: INSERT INTO table_name opt_column_list query_term */ +#line 768 "bison_parser.y" + { (yyval.insert_stmt) = new InsertStatement(kInsertSelect); (yyval.insert_stmt)->schema = (yyvsp[-2].table_name).schema; (yyval.insert_stmt)->tableName = (yyvsp[-2].table_name).name; (yyval.insert_stmt)->columns = (yyvsp[-1].str_vec); (yyval.insert_stmt)->select = (yyvsp[0].select_stmt); } -#line 4176 "bison_parser.cpp" +#line 4174 "bison_parser.cpp" break; case 109: /* opt_column_list: '(' ident_commalist ')' */ -#line 774 "bison_parser.y" +#line 776 "bison_parser.y" { (yyval.str_vec) = (yyvsp[-1].str_vec); } -#line 4182 "bison_parser.cpp" +#line 4180 "bison_parser.cpp" break; case 110: /* opt_column_list: %empty */ -#line 775 "bison_parser.y" +#line 777 "bison_parser.y" { (yyval.str_vec) = nullptr; } -#line 4188 "bison_parser.cpp" +#line 4186 "bison_parser.cpp" break; case 111: /* update_statement: UPDATE table_ref_name_no_alias SET update_clause_commalist opt_where */ -#line 782 "bison_parser.y" +#line 784 "bison_parser.y" { (yyval.update_stmt) = new UpdateStatement(); (yyval.update_stmt)->table = (yyvsp[-3].table); (yyval.update_stmt)->updates = (yyvsp[-1].update_vec); (yyval.update_stmt)->where = (yyvsp[0].expr); } -#line 4199 "bison_parser.cpp" +#line 4197 "bison_parser.cpp" break; case 112: /* update_clause_commalist: update_clause */ -#line 789 "bison_parser.y" +#line 791 "bison_parser.y" { (yyval.update_vec) = new std::vector(); (yyval.update_vec)->push_back((yyvsp[0].update_t)); } -#line 4208 "bison_parser.cpp" +#line 4206 "bison_parser.cpp" break; case 113: /* update_clause_commalist: update_clause_commalist ',' update_clause */ -#line 793 "bison_parser.y" +#line 795 "bison_parser.y" { (yyvsp[-2].update_vec)->push_back((yyvsp[0].update_t)); (yyval.update_vec) = (yyvsp[-2].update_vec); } -#line 4217 "bison_parser.cpp" +#line 4215 "bison_parser.cpp" break; case 114: /* update_clause: IDENTIFIER '=' expr */ -#line 798 "bison_parser.y" +#line 800 "bison_parser.y" { (yyval.update_t) = new UpdateClause(); (yyval.update_t)->column = (yyvsp[-2].sval); (yyval.update_t)->value = (yyvsp[0].expr); } -#line 4227 "bison_parser.cpp" +#line 4225 "bison_parser.cpp" break; - case 115: /* select_statement: opt_with_clause select_with_paren */ -#line 808 "bison_parser.y" - { - (yyval.select_stmt) = (yyvsp[0].select_stmt); - (yyval.select_stmt)->withDescriptions = (yyvsp[-1].with_description_vec); -} -#line 4236 "bison_parser.cpp" - break; + case 117: /* query_expression: query_expression_body opt_order opt_limit opt_locking_clause */ +#line 811 "bison_parser.y" + { + if ((yyvsp[-3].select_stmt)->setOperations == nullptr) { + (yyvsp[-3].select_stmt)->order = (yyvsp[-2].order_vec); - case 116: /* select_statement: opt_with_clause select_no_paren */ -#line 812 "bison_parser.y" - { - (yyval.select_stmt) = (yyvsp[0].select_stmt); - (yyval.select_stmt)->withDescriptions = (yyvsp[-1].with_description_vec); -} -#line 4245 "bison_parser.cpp" - break; + // Limit could have been set by TOP. + if ((yyvsp[-1].limit) != nullptr) { + delete (yyvsp[-3].select_stmt)->limit; + (yyvsp[-3].select_stmt)->limit = (yyvsp[-1].limit); + } - case 117: /* select_statement: opt_with_clause select_with_paren set_operator select_within_set_operation opt_order opt_limit */ -#line 816 "bison_parser.y" - { - (yyval.select_stmt) = (yyvsp[-4].select_stmt); - if ((yyval.select_stmt)->setOperations == nullptr) { - (yyval.select_stmt)->setOperations = new std::vector(); + if ((yyvsp[0].locking_clause_vec) != nullptr) { + (yyvsp[-3].select_stmt)->lockings = (yyvsp[0].locking_clause_vec); + } + } else { + (yyvsp[-3].select_stmt)->setOperations->back()->resultOrder = (yyvsp[-2].order_vec); + (yyvsp[-3].select_stmt)->setOperations->back()->resultLimit = (yyvsp[-1].limit); } - (yyval.select_stmt)->setOperations->push_back((yyvsp[-3].set_operator_t)); - (yyval.select_stmt)->setOperations->back()->nestedSelectStatement = (yyvsp[-2].select_stmt); - (yyval.select_stmt)->setOperations->back()->resultOrder = (yyvsp[-1].order_vec); - (yyval.select_stmt)->setOperations->back()->resultLimit = (yyvsp[0].limit); - (yyval.select_stmt)->withDescriptions = (yyvsp[-5].with_description_vec); -} -#line 4261 "bison_parser.cpp" - break; - case 120: /* select_within_set_operation_no_parentheses: select_clause */ -#line 830 "bison_parser.y" - { (yyval.select_stmt) = (yyvsp[0].select_stmt); } -#line 4267 "bison_parser.cpp" + (yyval.select_stmt) = (yyvsp[-3].select_stmt); +} +#line 4250 "bison_parser.cpp" break; - case 121: /* select_within_set_operation_no_parentheses: select_clause set_operator select_within_set_operation */ + case 118: /* query_expression: with_clause query_expression_body opt_order opt_limit opt_locking_clause */ #line 831 "bison_parser.y" - { - (yyval.select_stmt) = (yyvsp[-2].select_stmt); - if ((yyval.select_stmt)->setOperations == nullptr) { - (yyval.select_stmt)->setOperations = new std::vector(); + { + (yyvsp[-3].select_stmt)->withDescriptions = (yyvsp[-4].with_description_vec); + if ((yyvsp[-3].select_stmt)->setOperations == nullptr) { + (yyvsp[-3].select_stmt)->order = (yyvsp[-2].order_vec); + + // Limit could have been set by TOP. + if ((yyvsp[-1].limit) != nullptr) { + delete (yyvsp[-3].select_stmt)->limit; + (yyvsp[-3].select_stmt)->limit = (yyvsp[-1].limit); + } + + if ((yyvsp[0].locking_clause_vec) != nullptr) { + (yyvsp[-3].select_stmt)->lockings = (yyvsp[0].locking_clause_vec); + } + } else { + (yyvsp[-3].select_stmt)->setOperations->back()->resultOrder = (yyvsp[-2].order_vec); + (yyvsp[-3].select_stmt)->setOperations->back()->resultLimit = (yyvsp[-1].limit); } - (yyval.select_stmt)->setOperations->push_back((yyvsp[-1].set_operator_t)); - (yyval.select_stmt)->setOperations->back()->nestedSelectStatement = (yyvsp[0].select_stmt); + + (yyval.select_stmt) = (yyvsp[-3].select_stmt); } -#line 4280 "bison_parser.cpp" +#line 4276 "bison_parser.cpp" break; - case 122: /* select_with_paren: '(' select_no_paren ')' */ -#line 840 "bison_parser.y" - { (yyval.select_stmt) = (yyvsp[-1].select_stmt); } -#line 4286 "bison_parser.cpp" - break; + case 120: /* query_expression_body: query_expression_body set_operator query_term */ +#line 859 "bison_parser.y" + { + (yyval.select_stmt) = (yyvsp[-2].select_stmt); + auto* setOperations = &(yyvsp[-2].select_stmt)->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; + } + (yyvsp[-1].set_operator_t)->nestedSelectStatement = (yyvsp[0].select_stmt); + *setOperations = new std::vector({(yyvsp[-1].set_operator_t)}); - case 123: /* select_with_paren: '(' select_with_paren ')' */ -#line 841 "bison_parser.y" - { (yyval.select_stmt) = (yyvsp[-1].select_stmt); } + (yyval.select_stmt) = (yyvsp[-2].select_stmt); +} #line 4292 "bison_parser.cpp" break; - case 124: /* select_no_paren: select_clause opt_order opt_limit opt_locking_clause */ -#line 843 "bison_parser.y" - { - (yyval.select_stmt) = (yyvsp[-3].select_stmt); - (yyval.select_stmt)->order = (yyvsp[-2].order_vec); - - // Limit could have been set by TOP. - if ((yyvsp[-1].limit)) { - delete (yyval.select_stmt)->limit; - (yyval.select_stmt)->limit = (yyvsp[-1].limit); + case 121: /* query_expression_body: query_expression_parens set_operator query_term */ +#line 870 "bison_parser.y" + { + (yyval.select_stmt) = (yyvsp[-2].select_stmt); + auto* setOperations = &(yyvsp[-2].select_stmt)->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; } + (yyvsp[-1].set_operator_t)->nestedSelectStatement = (yyvsp[0].select_stmt); + *setOperations = new std::vector({(yyvsp[-1].set_operator_t)}); + + (yyval.select_stmt) = (yyvsp[-2].select_stmt); +} +#line 4308 "bison_parser.cpp" + break; - if ((yyvsp[0].locking_clause_vec)) { - (yyval.select_stmt)->lockings = (yyvsp[0].locking_clause_vec); + case 122: /* query_expression_body: query_expression_body set_operator query_expression_parens */ +#line 881 "bison_parser.y" + { + (yyval.select_stmt) = (yyvsp[-2].select_stmt); + auto* setOperations = &(yyvsp[-2].select_stmt)->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; } + (yyvsp[-1].set_operator_t)->nestedSelectStatement = (yyvsp[0].select_stmt); + *setOperations = new std::vector({(yyvsp[-1].set_operator_t)}); + + (yyval.select_stmt) = (yyvsp[-2].select_stmt); } -#line 4311 "bison_parser.cpp" +#line 4324 "bison_parser.cpp" break; - case 125: /* select_no_paren: select_clause set_operator select_within_set_operation opt_order opt_limit opt_locking_clause */ -#line 857 "bison_parser.y" - { - (yyval.select_stmt) = (yyvsp[-5].select_stmt); - if ((yyval.select_stmt)->setOperations == nullptr) { - (yyval.select_stmt)->setOperations = new std::vector(); + case 123: /* query_expression_body: query_expression_parens set_operator query_expression_parens */ +#line 892 "bison_parser.y" + { + (yyval.select_stmt) = (yyvsp[-2].select_stmt); + auto* setOperations = &(yyvsp[-2].select_stmt)->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; } - (yyval.select_stmt)->setOperations->push_back((yyvsp[-4].set_operator_t)); - (yyval.select_stmt)->setOperations->back()->nestedSelectStatement = (yyvsp[-3].select_stmt); - (yyval.select_stmt)->setOperations->back()->resultOrder = (yyvsp[-2].order_vec); - (yyval.select_stmt)->setOperations->back()->resultLimit = (yyvsp[-1].limit); - (yyval.select_stmt)->lockings = (yyvsp[0].locking_clause_vec); + (yyvsp[-1].set_operator_t)->nestedSelectStatement = (yyvsp[0].select_stmt); + *setOperations = new std::vector({(yyvsp[-1].set_operator_t)}); + + (yyval.select_stmt) = (yyvsp[-2].select_stmt); } -#line 4327 "bison_parser.cpp" +#line 4340 "bison_parser.cpp" break; - case 126: /* set_operator: set_type opt_all */ -#line 869 "bison_parser.y" - { + case 124: /* query_expression_parens: '(' query_expression_parens ')' */ +#line 904 "bison_parser.y" + { (yyval.select_stmt) = (yyvsp[-1].select_stmt); } +#line 4346 "bison_parser.cpp" + break; + + case 125: /* query_expression_parens: '(' query_expression ')' */ +#line 905 "bison_parser.y" + { (yyval.select_stmt) = (yyvsp[-1].select_stmt); } +#line 4352 "bison_parser.cpp" + break; + + case 128: /* set_operator: set_type opt_all */ +#line 911 "bison_parser.y" + { (yyval.set_operator_t) = (yyvsp[-1].set_operator_t); (yyval.set_operator_t)->isAll = (yyvsp[0].bval); } -#line 4336 "bison_parser.cpp" +#line 4361 "bison_parser.cpp" break; - case 127: /* set_type: UNION */ -#line 874 "bison_parser.y" + case 129: /* set_type: UNION */ +#line 916 "bison_parser.y" { (yyval.set_operator_t) = new SetOperation(); (yyval.set_operator_t)->setType = SetType::kSetUnion; } -#line 4345 "bison_parser.cpp" +#line 4370 "bison_parser.cpp" break; - case 128: /* set_type: INTERSECT */ -#line 878 "bison_parser.y" + case 130: /* set_type: INTERSECT */ +#line 920 "bison_parser.y" { (yyval.set_operator_t) = new SetOperation(); (yyval.set_operator_t)->setType = SetType::kSetIntersect; } -#line 4354 "bison_parser.cpp" +#line 4379 "bison_parser.cpp" break; - case 129: /* set_type: EXCEPT */ -#line 882 "bison_parser.y" + case 131: /* set_type: EXCEPT */ +#line 924 "bison_parser.y" { (yyval.set_operator_t) = new SetOperation(); (yyval.set_operator_t)->setType = SetType::kSetExcept; } -#line 4363 "bison_parser.cpp" +#line 4388 "bison_parser.cpp" break; - case 130: /* opt_all: ALL */ -#line 887 "bison_parser.y" + case 132: /* opt_all: ALL */ +#line 929 "bison_parser.y" { (yyval.bval) = true; } -#line 4369 "bison_parser.cpp" +#line 4394 "bison_parser.cpp" break; - case 131: /* opt_all: %empty */ -#line 888 "bison_parser.y" + case 133: /* opt_all: %empty */ +#line 930 "bison_parser.y" { (yyval.bval) = false; } -#line 4375 "bison_parser.cpp" +#line 4400 "bison_parser.cpp" break; - case 132: /* select_clause: SELECT opt_top opt_distinct select_list opt_from_clause opt_where opt_group */ -#line 890 "bison_parser.y" + case 134: /* query_primary: SELECT opt_top opt_distinct select_list opt_from_clause opt_where opt_group */ +#line 932 "bison_parser.y" { (yyval.select_stmt) = new SelectStatement(); (yyval.select_stmt)->limit = (yyvsp[-5].limit); @@ -4385,239 +4409,239 @@ YYLTYPE yylloc = yyloc_default; (yyval.select_stmt)->whereClause = (yyvsp[-1].expr); (yyval.select_stmt)->groupBy = (yyvsp[0].group_t); } -#line 4389 "bison_parser.cpp" +#line 4414 "bison_parser.cpp" break; - case 133: /* opt_distinct: DISTINCT */ -#line 900 "bison_parser.y" + case 135: /* opt_distinct: DISTINCT */ +#line 942 "bison_parser.y" { (yyval.bval) = true; } -#line 4395 "bison_parser.cpp" +#line 4420 "bison_parser.cpp" break; - case 134: /* opt_distinct: %empty */ -#line 901 "bison_parser.y" + case 136: /* opt_distinct: %empty */ +#line 943 "bison_parser.y" { (yyval.bval) = false; } -#line 4401 "bison_parser.cpp" +#line 4426 "bison_parser.cpp" break; - case 136: /* opt_from_clause: from_clause */ -#line 905 "bison_parser.y" + case 138: /* opt_from_clause: from_clause */ +#line 947 "bison_parser.y" { (yyval.table) = (yyvsp[0].table); } -#line 4407 "bison_parser.cpp" +#line 4432 "bison_parser.cpp" break; - case 137: /* opt_from_clause: %empty */ -#line 906 "bison_parser.y" + case 139: /* opt_from_clause: %empty */ +#line 948 "bison_parser.y" { (yyval.table) = nullptr; } -#line 4413 "bison_parser.cpp" +#line 4438 "bison_parser.cpp" break; - case 138: /* from_clause: FROM table_ref */ -#line 908 "bison_parser.y" + case 140: /* from_clause: FROM table_ref */ +#line 950 "bison_parser.y" { (yyval.table) = (yyvsp[0].table); } -#line 4419 "bison_parser.cpp" +#line 4444 "bison_parser.cpp" break; - case 139: /* opt_where: WHERE expr */ -#line 910 "bison_parser.y" + case 141: /* opt_where: WHERE expr */ +#line 952 "bison_parser.y" { (yyval.expr) = (yyvsp[0].expr); } -#line 4425 "bison_parser.cpp" +#line 4450 "bison_parser.cpp" break; - case 140: /* opt_where: %empty */ -#line 911 "bison_parser.y" + case 142: /* opt_where: %empty */ +#line 953 "bison_parser.y" { (yyval.expr) = nullptr; } -#line 4431 "bison_parser.cpp" +#line 4456 "bison_parser.cpp" break; - case 141: /* opt_group: GROUP BY expr_list opt_having */ -#line 913 "bison_parser.y" + case 143: /* opt_group: GROUP BY expr_list opt_having */ +#line 955 "bison_parser.y" { (yyval.group_t) = new GroupByDescription(); (yyval.group_t)->columns = (yyvsp[-1].expr_vec); (yyval.group_t)->having = (yyvsp[0].expr); } -#line 4441 "bison_parser.cpp" +#line 4466 "bison_parser.cpp" break; - case 142: /* opt_group: %empty */ -#line 918 "bison_parser.y" + case 144: /* opt_group: %empty */ +#line 960 "bison_parser.y" { (yyval.group_t) = nullptr; } -#line 4447 "bison_parser.cpp" +#line 4472 "bison_parser.cpp" break; - case 143: /* opt_having: HAVING expr */ -#line 920 "bison_parser.y" + case 145: /* opt_having: HAVING expr */ +#line 962 "bison_parser.y" { (yyval.expr) = (yyvsp[0].expr); } -#line 4453 "bison_parser.cpp" +#line 4478 "bison_parser.cpp" break; - case 144: /* opt_having: %empty */ -#line 921 "bison_parser.y" + case 146: /* opt_having: %empty */ +#line 963 "bison_parser.y" { (yyval.expr) = nullptr; } -#line 4459 "bison_parser.cpp" +#line 4484 "bison_parser.cpp" break; - case 145: /* opt_order: ORDER BY order_list */ -#line 923 "bison_parser.y" + case 147: /* opt_order: ORDER BY order_list */ +#line 965 "bison_parser.y" { (yyval.order_vec) = (yyvsp[0].order_vec); } -#line 4465 "bison_parser.cpp" +#line 4490 "bison_parser.cpp" break; - case 146: /* opt_order: %empty */ -#line 924 "bison_parser.y" + case 148: /* opt_order: %empty */ +#line 966 "bison_parser.y" { (yyval.order_vec) = nullptr; } -#line 4471 "bison_parser.cpp" +#line 4496 "bison_parser.cpp" break; - case 147: /* order_list: order_desc */ -#line 926 "bison_parser.y" + case 149: /* order_list: order_desc */ +#line 968 "bison_parser.y" { (yyval.order_vec) = new std::vector(); (yyval.order_vec)->push_back((yyvsp[0].order)); } -#line 4480 "bison_parser.cpp" +#line 4505 "bison_parser.cpp" break; - case 148: /* order_list: order_list ',' order_desc */ -#line 930 "bison_parser.y" + case 150: /* order_list: order_list ',' order_desc */ +#line 972 "bison_parser.y" { (yyvsp[-2].order_vec)->push_back((yyvsp[0].order)); (yyval.order_vec) = (yyvsp[-2].order_vec); } -#line 4489 "bison_parser.cpp" +#line 4514 "bison_parser.cpp" break; - case 149: /* order_desc: expr opt_order_type */ -#line 935 "bison_parser.y" + case 151: /* order_desc: expr opt_order_type */ +#line 977 "bison_parser.y" { (yyval.order) = new OrderDescription((yyvsp[0].order_type), (yyvsp[-1].expr)); } -#line 4495 "bison_parser.cpp" +#line 4520 "bison_parser.cpp" break; - case 150: /* opt_order_type: ASC */ -#line 937 "bison_parser.y" + case 152: /* opt_order_type: ASC */ +#line 979 "bison_parser.y" { (yyval.order_type) = kOrderAsc; } -#line 4501 "bison_parser.cpp" +#line 4526 "bison_parser.cpp" break; - case 151: /* opt_order_type: DESC */ -#line 938 "bison_parser.y" + case 153: /* opt_order_type: DESC */ +#line 980 "bison_parser.y" { (yyval.order_type) = kOrderDesc; } -#line 4507 "bison_parser.cpp" +#line 4532 "bison_parser.cpp" break; - case 152: /* opt_order_type: %empty */ -#line 939 "bison_parser.y" + case 154: /* opt_order_type: %empty */ +#line 981 "bison_parser.y" { (yyval.order_type) = kOrderAsc; } -#line 4513 "bison_parser.cpp" +#line 4538 "bison_parser.cpp" break; - case 153: /* opt_top: TOP int_literal */ -#line 943 "bison_parser.y" + case 155: /* opt_top: TOP int_literal */ +#line 985 "bison_parser.y" { (yyval.limit) = new LimitDescription((yyvsp[0].expr), nullptr); } -#line 4519 "bison_parser.cpp" +#line 4544 "bison_parser.cpp" break; - case 154: /* opt_top: %empty */ -#line 944 "bison_parser.y" + case 156: /* opt_top: %empty */ +#line 986 "bison_parser.y" { (yyval.limit) = nullptr; } -#line 4525 "bison_parser.cpp" +#line 4550 "bison_parser.cpp" break; - case 155: /* opt_limit: LIMIT expr */ -#line 946 "bison_parser.y" + case 157: /* opt_limit: LIMIT expr */ +#line 988 "bison_parser.y" { (yyval.limit) = new LimitDescription((yyvsp[0].expr), nullptr); } -#line 4531 "bison_parser.cpp" +#line 4556 "bison_parser.cpp" break; - case 156: /* opt_limit: OFFSET expr */ -#line 947 "bison_parser.y" + case 158: /* opt_limit: OFFSET expr */ +#line 989 "bison_parser.y" { (yyval.limit) = new LimitDescription(nullptr, (yyvsp[0].expr)); } -#line 4537 "bison_parser.cpp" +#line 4562 "bison_parser.cpp" break; - case 157: /* opt_limit: LIMIT expr OFFSET expr */ -#line 948 "bison_parser.y" + case 159: /* opt_limit: LIMIT expr OFFSET expr */ +#line 990 "bison_parser.y" { (yyval.limit) = new LimitDescription((yyvsp[-2].expr), (yyvsp[0].expr)); } -#line 4543 "bison_parser.cpp" +#line 4568 "bison_parser.cpp" break; - case 158: /* opt_limit: LIMIT ALL */ -#line 949 "bison_parser.y" + case 160: /* opt_limit: LIMIT ALL */ +#line 991 "bison_parser.y" { (yyval.limit) = new LimitDescription(nullptr, nullptr); } -#line 4549 "bison_parser.cpp" +#line 4574 "bison_parser.cpp" break; - case 159: /* opt_limit: LIMIT ALL OFFSET expr */ -#line 950 "bison_parser.y" + case 161: /* opt_limit: LIMIT ALL OFFSET expr */ +#line 992 "bison_parser.y" { (yyval.limit) = new LimitDescription(nullptr, (yyvsp[0].expr)); } -#line 4555 "bison_parser.cpp" +#line 4580 "bison_parser.cpp" break; - case 160: /* opt_limit: %empty */ -#line 951 "bison_parser.y" + case 162: /* opt_limit: %empty */ +#line 993 "bison_parser.y" { (yyval.limit) = nullptr; } -#line 4561 "bison_parser.cpp" +#line 4586 "bison_parser.cpp" break; - case 161: /* expr_list: expr_alias */ -#line 956 "bison_parser.y" + case 163: /* expr_list: expr_alias */ +#line 998 "bison_parser.y" { (yyval.expr_vec) = new std::vector(); (yyval.expr_vec)->push_back((yyvsp[0].expr)); } -#line 4570 "bison_parser.cpp" +#line 4595 "bison_parser.cpp" break; - case 162: /* expr_list: expr_list ',' expr_alias */ -#line 960 "bison_parser.y" + case 164: /* expr_list: expr_list ',' expr_alias */ +#line 1002 "bison_parser.y" { (yyvsp[-2].expr_vec)->push_back((yyvsp[0].expr)); (yyval.expr_vec) = (yyvsp[-2].expr_vec); } -#line 4579 "bison_parser.cpp" +#line 4604 "bison_parser.cpp" break; - case 163: /* opt_extended_literal_list: extended_literal_list */ -#line 966 "bison_parser.y" + case 165: /* opt_extended_literal_list: extended_literal_list */ +#line 1008 "bison_parser.y" { (yyval.expr_vec) = (yyvsp[0].expr_vec); } -#line 4585 "bison_parser.cpp" +#line 4610 "bison_parser.cpp" break; - case 164: /* opt_extended_literal_list: %empty */ -#line 967 "bison_parser.y" + case 166: /* opt_extended_literal_list: %empty */ +#line 1009 "bison_parser.y" { (yyval.expr_vec) = nullptr; } -#line 4591 "bison_parser.cpp" +#line 4616 "bison_parser.cpp" break; - case 165: /* extended_literal_list: casted_extended_literal */ -#line 969 "bison_parser.y" + case 167: /* extended_literal_list: casted_extended_literal */ +#line 1011 "bison_parser.y" { (yyval.expr_vec) = new std::vector(); (yyval.expr_vec)->push_back((yyvsp[0].expr)); } -#line 4600 "bison_parser.cpp" +#line 4625 "bison_parser.cpp" break; - case 166: /* extended_literal_list: extended_literal_list ',' casted_extended_literal */ -#line 973 "bison_parser.y" + case 168: /* extended_literal_list: extended_literal_list ',' casted_extended_literal */ +#line 1015 "bison_parser.y" { (yyvsp[-2].expr_vec)->push_back((yyvsp[0].expr)); (yyval.expr_vec) = (yyvsp[-2].expr_vec); } -#line 4609 "bison_parser.cpp" +#line 4634 "bison_parser.cpp" break; - case 168: /* casted_extended_literal: CAST '(' extended_literal AS column_type ')' */ -#line 978 "bison_parser.y" + case 170: /* casted_extended_literal: CAST '(' extended_literal AS column_type ')' */ +#line 1020 "bison_parser.y" { (yyval.expr) = Expr::makeCast((yyvsp[-3].expr), (yyvsp[-1].column_type_t)); } -#line 4617 "bison_parser.cpp" +#line 4642 "bison_parser.cpp" break; - case 169: /* extended_literal: literal */ -#line 982 "bison_parser.y" + case 171: /* extended_literal: literal */ +#line 1024 "bison_parser.y" { if ((yyvsp[0].expr)->type == ExprType::kExprParameter) { delete (yyvsp[0].expr); @@ -4626,23 +4650,23 @@ YYLTYPE yylloc = yyloc_default; } (yyval.expr) = (yyvsp[0].expr); } -#line 4630 "bison_parser.cpp" +#line 4655 "bison_parser.cpp" break; - case 170: /* extended_literal: '-' num_literal */ -#line 990 "bison_parser.y" + case 172: /* extended_literal: '-' num_literal */ +#line 1032 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpUnaryMinus, (yyvsp[0].expr)); } -#line 4636 "bison_parser.cpp" +#line 4661 "bison_parser.cpp" break; - case 171: /* extended_literal: '-' interval_literal */ -#line 991 "bison_parser.y" + case 173: /* extended_literal: '-' interval_literal */ +#line 1033 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpUnaryMinus, (yyvsp[0].expr)); } -#line 4642 "bison_parser.cpp" +#line 4667 "bison_parser.cpp" break; - case 172: /* expr_alias: expr opt_alias */ -#line 993 "bison_parser.y" + case 174: /* expr_alias: expr opt_alias */ +#line 1035 "bison_parser.y" { (yyval.expr) = (yyvsp[-1].expr); if ((yyvsp[0].alias_t)) { @@ -4651,507 +4675,507 @@ YYLTYPE yylloc = yyloc_default; delete (yyvsp[0].alias_t); } } -#line 4655 "bison_parser.cpp" +#line 4680 "bison_parser.cpp" break; - case 178: /* operand: '(' expr ')' */ -#line 1004 "bison_parser.y" + case 180: /* operand: '(' expr ')' */ +#line 1046 "bison_parser.y" { (yyval.expr) = (yyvsp[-1].expr); } -#line 4661 "bison_parser.cpp" +#line 4686 "bison_parser.cpp" break; - case 188: /* operand: '(' select_no_paren ')' */ -#line 1006 "bison_parser.y" - { - (yyval.expr) = Expr::makeSelect((yyvsp[-1].select_stmt)); + case 190: /* operand: subquery */ +#line 1048 "bison_parser.y" + { + (yyval.expr) = Expr::makeSelect((yyvsp[0].select_stmt)); } -#line 4669 "bison_parser.cpp" +#line 4694 "bison_parser.cpp" break; - case 191: /* unary_expr: '-' operand */ -#line 1012 "bison_parser.y" + case 193: /* unary_expr: '-' operand */ +#line 1054 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpUnaryMinus, (yyvsp[0].expr)); } -#line 4675 "bison_parser.cpp" +#line 4700 "bison_parser.cpp" break; - case 192: /* unary_expr: NOT operand */ -#line 1013 "bison_parser.y" + case 194: /* unary_expr: NOT operand */ +#line 1055 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpNot, (yyvsp[0].expr)); } -#line 4681 "bison_parser.cpp" +#line 4706 "bison_parser.cpp" break; - case 193: /* unary_expr: operand ISNULL */ -#line 1014 "bison_parser.y" + case 195: /* unary_expr: operand ISNULL */ +#line 1056 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpIsNull, (yyvsp[-1].expr)); } -#line 4687 "bison_parser.cpp" +#line 4712 "bison_parser.cpp" break; - case 194: /* unary_expr: operand IS NULL */ -#line 1015 "bison_parser.y" + case 196: /* unary_expr: operand IS NULL */ +#line 1057 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpIsNull, (yyvsp[-2].expr)); } -#line 4693 "bison_parser.cpp" +#line 4718 "bison_parser.cpp" break; - case 195: /* unary_expr: operand IS NOT NULL */ -#line 1016 "bison_parser.y" + case 197: /* unary_expr: operand IS NOT NULL */ +#line 1058 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpNot, Expr::makeOpUnary(kOpIsNull, (yyvsp[-3].expr))); } -#line 4699 "bison_parser.cpp" +#line 4724 "bison_parser.cpp" break; - case 197: /* binary_expr: operand '-' operand */ -#line 1018 "bison_parser.y" + case 199: /* binary_expr: operand '-' operand */ +#line 1060 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpMinus, (yyvsp[0].expr)); } -#line 4705 "bison_parser.cpp" +#line 4730 "bison_parser.cpp" break; - case 198: /* binary_expr: operand '+' operand */ -#line 1019 "bison_parser.y" + case 200: /* binary_expr: operand '+' operand */ +#line 1061 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpPlus, (yyvsp[0].expr)); } -#line 4711 "bison_parser.cpp" +#line 4736 "bison_parser.cpp" break; - case 199: /* binary_expr: operand '/' operand */ -#line 1020 "bison_parser.y" + case 201: /* binary_expr: operand '/' operand */ +#line 1062 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpSlash, (yyvsp[0].expr)); } -#line 4717 "bison_parser.cpp" +#line 4742 "bison_parser.cpp" break; - case 200: /* binary_expr: operand '*' operand */ -#line 1021 "bison_parser.y" + case 202: /* binary_expr: operand '*' operand */ +#line 1063 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpAsterisk, (yyvsp[0].expr)); } -#line 4723 "bison_parser.cpp" +#line 4748 "bison_parser.cpp" break; - case 201: /* binary_expr: operand '%' operand */ -#line 1022 "bison_parser.y" + case 203: /* binary_expr: operand '%' operand */ +#line 1064 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpPercentage, (yyvsp[0].expr)); } -#line 4729 "bison_parser.cpp" +#line 4754 "bison_parser.cpp" break; - case 202: /* binary_expr: operand '^' operand */ -#line 1023 "bison_parser.y" + case 204: /* binary_expr: operand '^' operand */ +#line 1065 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpCaret, (yyvsp[0].expr)); } -#line 4735 "bison_parser.cpp" +#line 4760 "bison_parser.cpp" break; - case 203: /* binary_expr: operand LIKE operand */ -#line 1024 "bison_parser.y" + case 205: /* binary_expr: operand LIKE operand */ +#line 1066 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpLike, (yyvsp[0].expr)); } -#line 4741 "bison_parser.cpp" +#line 4766 "bison_parser.cpp" break; - case 204: /* binary_expr: operand NOT LIKE operand */ -#line 1025 "bison_parser.y" + case 206: /* binary_expr: operand NOT LIKE operand */ +#line 1067 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-3].expr), kOpNotLike, (yyvsp[0].expr)); } -#line 4747 "bison_parser.cpp" +#line 4772 "bison_parser.cpp" break; - case 205: /* binary_expr: operand ILIKE operand */ -#line 1026 "bison_parser.y" + case 207: /* binary_expr: operand ILIKE operand */ +#line 1068 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpILike, (yyvsp[0].expr)); } -#line 4753 "bison_parser.cpp" +#line 4778 "bison_parser.cpp" break; - case 206: /* binary_expr: operand CONCAT operand */ -#line 1027 "bison_parser.y" + case 208: /* binary_expr: operand CONCAT operand */ +#line 1069 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpConcat, (yyvsp[0].expr)); } -#line 4759 "bison_parser.cpp" +#line 4784 "bison_parser.cpp" break; - case 207: /* logic_expr: expr AND expr */ -#line 1029 "bison_parser.y" + case 209: /* logic_expr: expr AND expr */ +#line 1071 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpAnd, (yyvsp[0].expr)); } -#line 4765 "bison_parser.cpp" +#line 4790 "bison_parser.cpp" break; - case 208: /* logic_expr: expr OR expr */ -#line 1030 "bison_parser.y" + case 210: /* logic_expr: expr OR expr */ +#line 1072 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpOr, (yyvsp[0].expr)); } -#line 4771 "bison_parser.cpp" +#line 4796 "bison_parser.cpp" break; - case 209: /* in_expr: operand IN '(' expr_list ')' */ -#line 1032 "bison_parser.y" + case 211: /* in_expr: operand IN '(' expr_list ')' */ +#line 1074 "bison_parser.y" { (yyval.expr) = Expr::makeInOperator((yyvsp[-4].expr), (yyvsp[-1].expr_vec)); } -#line 4777 "bison_parser.cpp" +#line 4802 "bison_parser.cpp" break; - case 210: /* in_expr: operand NOT IN '(' expr_list ')' */ -#line 1033 "bison_parser.y" + case 212: /* in_expr: operand NOT IN '(' expr_list ')' */ +#line 1075 "bison_parser.y" { (yyval.expr) = Expr::makeOpUnary(kOpNot, Expr::makeInOperator((yyvsp[-5].expr), (yyvsp[-1].expr_vec))); } -#line 4783 "bison_parser.cpp" +#line 4808 "bison_parser.cpp" break; - case 211: /* in_expr: operand IN '(' select_no_paren ')' */ -#line 1034 "bison_parser.y" - { (yyval.expr) = Expr::makeInOperator((yyvsp[-4].expr), (yyvsp[-1].select_stmt)); } -#line 4789 "bison_parser.cpp" + case 213: /* in_expr: operand IN '(' query_primary ')' */ +#line 1076 "bison_parser.y" + { (yyval.expr) = Expr::makeInOperator((yyvsp[-4].expr), (yyvsp[-1].select_stmt)); } +#line 4814 "bison_parser.cpp" break; - case 212: /* in_expr: operand NOT IN '(' select_no_paren ')' */ -#line 1035 "bison_parser.y" - { (yyval.expr) = Expr::makeOpUnary(kOpNot, Expr::makeInOperator((yyvsp[-5].expr), (yyvsp[-1].select_stmt))); } -#line 4795 "bison_parser.cpp" + case 214: /* in_expr: operand NOT IN '(' query_primary ')' */ +#line 1077 "bison_parser.y" + { (yyval.expr) = Expr::makeOpUnary(kOpNot, Expr::makeInOperator((yyvsp[-5].expr), (yyvsp[-1].select_stmt))); } +#line 4820 "bison_parser.cpp" break; - case 213: /* case_expr: CASE expr case_list END */ -#line 1039 "bison_parser.y" + case 215: /* case_expr: CASE expr case_list END */ +#line 1081 "bison_parser.y" { (yyval.expr) = Expr::makeCase((yyvsp[-2].expr), (yyvsp[-1].expr), nullptr); } -#line 4801 "bison_parser.cpp" +#line 4826 "bison_parser.cpp" break; - case 214: /* case_expr: CASE expr case_list ELSE expr END */ -#line 1040 "bison_parser.y" + case 216: /* case_expr: CASE expr case_list ELSE expr END */ +#line 1082 "bison_parser.y" { (yyval.expr) = Expr::makeCase((yyvsp[-4].expr), (yyvsp[-3].expr), (yyvsp[-1].expr)); } -#line 4807 "bison_parser.cpp" +#line 4832 "bison_parser.cpp" break; - case 215: /* case_expr: CASE case_list END */ -#line 1041 "bison_parser.y" + case 217: /* case_expr: CASE case_list END */ +#line 1083 "bison_parser.y" { (yyval.expr) = Expr::makeCase(nullptr, (yyvsp[-1].expr), nullptr); } -#line 4813 "bison_parser.cpp" +#line 4838 "bison_parser.cpp" break; - case 216: /* case_expr: CASE case_list ELSE expr END */ -#line 1042 "bison_parser.y" + case 218: /* case_expr: CASE case_list ELSE expr END */ +#line 1084 "bison_parser.y" { (yyval.expr) = Expr::makeCase(nullptr, (yyvsp[-3].expr), (yyvsp[-1].expr)); } -#line 4819 "bison_parser.cpp" +#line 4844 "bison_parser.cpp" break; - case 217: /* case_list: WHEN expr THEN expr */ -#line 1044 "bison_parser.y" + case 219: /* case_list: WHEN expr THEN expr */ +#line 1086 "bison_parser.y" { (yyval.expr) = Expr::makeCaseList(Expr::makeCaseListElement((yyvsp[-2].expr), (yyvsp[0].expr))); } -#line 4825 "bison_parser.cpp" +#line 4850 "bison_parser.cpp" break; - case 218: /* case_list: case_list WHEN expr THEN expr */ -#line 1045 "bison_parser.y" + case 220: /* case_list: case_list WHEN expr THEN expr */ +#line 1087 "bison_parser.y" { (yyval.expr) = Expr::caseListAppend((yyvsp[-4].expr), Expr::makeCaseListElement((yyvsp[-2].expr), (yyvsp[0].expr))); } -#line 4831 "bison_parser.cpp" +#line 4856 "bison_parser.cpp" break; - case 219: /* exists_expr: EXISTS '(' select_no_paren ')' */ -#line 1047 "bison_parser.y" - { (yyval.expr) = Expr::makeExists((yyvsp[-1].select_stmt)); } -#line 4837 "bison_parser.cpp" + case 221: /* exists_expr: EXISTS '(' query_primary ')' */ +#line 1089 "bison_parser.y" + { (yyval.expr) = Expr::makeExists((yyvsp[-1].select_stmt)); } +#line 4862 "bison_parser.cpp" break; - case 220: /* exists_expr: NOT EXISTS '(' select_no_paren ')' */ -#line 1048 "bison_parser.y" - { (yyval.expr) = Expr::makeOpUnary(kOpNot, Expr::makeExists((yyvsp[-1].select_stmt))); } -#line 4843 "bison_parser.cpp" + case 222: /* exists_expr: NOT EXISTS '(' query_primary ')' */ +#line 1090 "bison_parser.y" + { (yyval.expr) = Expr::makeOpUnary(kOpNot, Expr::makeExists((yyvsp[-1].select_stmt))); } +#line 4868 "bison_parser.cpp" break; - case 221: /* comp_expr: operand '=' operand */ -#line 1050 "bison_parser.y" + case 223: /* comp_expr: operand '=' operand */ +#line 1092 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpEquals, (yyvsp[0].expr)); } -#line 4849 "bison_parser.cpp" +#line 4874 "bison_parser.cpp" break; - case 222: /* comp_expr: operand EQUALS operand */ -#line 1051 "bison_parser.y" + case 224: /* comp_expr: operand EQUALS operand */ +#line 1093 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpEquals, (yyvsp[0].expr)); } -#line 4855 "bison_parser.cpp" +#line 4880 "bison_parser.cpp" break; - case 223: /* comp_expr: operand NOTEQUALS operand */ -#line 1052 "bison_parser.y" + case 225: /* comp_expr: operand NOTEQUALS operand */ +#line 1094 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpNotEquals, (yyvsp[0].expr)); } -#line 4861 "bison_parser.cpp" +#line 4886 "bison_parser.cpp" break; - case 224: /* comp_expr: operand '<' operand */ -#line 1053 "bison_parser.y" + case 226: /* comp_expr: operand '<' operand */ +#line 1095 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpLess, (yyvsp[0].expr)); } -#line 4867 "bison_parser.cpp" +#line 4892 "bison_parser.cpp" break; - case 225: /* comp_expr: operand '>' operand */ -#line 1054 "bison_parser.y" + case 227: /* comp_expr: operand '>' operand */ +#line 1096 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpGreater, (yyvsp[0].expr)); } -#line 4873 "bison_parser.cpp" +#line 4898 "bison_parser.cpp" break; - case 226: /* comp_expr: operand LESSEQ operand */ -#line 1055 "bison_parser.y" + case 228: /* comp_expr: operand LESSEQ operand */ +#line 1097 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpLessEq, (yyvsp[0].expr)); } -#line 4879 "bison_parser.cpp" +#line 4904 "bison_parser.cpp" break; - case 227: /* comp_expr: operand GREATEREQ operand */ -#line 1056 "bison_parser.y" + case 229: /* comp_expr: operand GREATEREQ operand */ +#line 1098 "bison_parser.y" { (yyval.expr) = Expr::makeOpBinary((yyvsp[-2].expr), kOpGreaterEq, (yyvsp[0].expr)); } -#line 4885 "bison_parser.cpp" +#line 4910 "bison_parser.cpp" break; - case 228: /* function_expr: IDENTIFIER '(' ')' opt_window */ -#line 1060 "bison_parser.y" + case 230: /* function_expr: IDENTIFIER '(' ')' opt_window */ +#line 1102 "bison_parser.y" { (yyval.expr) = Expr::makeFunctionRef((yyvsp[-3].sval), new std::vector(), false, (yyvsp[0].window_description)); } -#line 4891 "bison_parser.cpp" +#line 4916 "bison_parser.cpp" break; - case 229: /* function_expr: IDENTIFIER '(' opt_distinct expr_list ')' opt_window */ -#line 1061 "bison_parser.y" + case 231: /* function_expr: IDENTIFIER '(' opt_distinct expr_list ')' opt_window */ +#line 1103 "bison_parser.y" { (yyval.expr) = Expr::makeFunctionRef((yyvsp[-5].sval), (yyvsp[-2].expr_vec), (yyvsp[-3].bval), (yyvsp[0].window_description)); } -#line 4897 "bison_parser.cpp" +#line 4922 "bison_parser.cpp" break; - case 230: /* opt_window: OVER '(' opt_partition opt_order opt_frame_clause ')' */ -#line 1065 "bison_parser.y" + case 232: /* opt_window: OVER '(' opt_partition opt_order opt_frame_clause ')' */ +#line 1107 "bison_parser.y" { (yyval.window_description) = new WindowDescription((yyvsp[-3].expr_vec), (yyvsp[-2].order_vec), (yyvsp[-1].frame_description)); } -#line 4903 "bison_parser.cpp" +#line 4928 "bison_parser.cpp" break; - case 231: /* opt_window: %empty */ -#line 1066 "bison_parser.y" + case 233: /* opt_window: %empty */ +#line 1108 "bison_parser.y" { (yyval.window_description) = nullptr; } -#line 4909 "bison_parser.cpp" +#line 4934 "bison_parser.cpp" break; - case 232: /* opt_partition: PARTITION BY expr_list */ -#line 1068 "bison_parser.y" + case 234: /* opt_partition: PARTITION BY expr_list */ +#line 1110 "bison_parser.y" { (yyval.expr_vec) = (yyvsp[0].expr_vec); } -#line 4915 "bison_parser.cpp" +#line 4940 "bison_parser.cpp" break; - case 233: /* opt_partition: %empty */ -#line 1069 "bison_parser.y" + case 235: /* opt_partition: %empty */ +#line 1111 "bison_parser.y" { (yyval.expr_vec) = nullptr; } -#line 4921 "bison_parser.cpp" +#line 4946 "bison_parser.cpp" break; - case 234: /* opt_frame_clause: frame_type frame_bound */ -#line 1074 "bison_parser.y" + case 236: /* opt_frame_clause: frame_type frame_bound */ +#line 1116 "bison_parser.y" { (yyval.frame_description) = new FrameDescription{(yyvsp[-1].frame_type), (yyvsp[0].frame_bound), new FrameBound{0, kCurrentRow, false}}; } -#line 4927 "bison_parser.cpp" +#line 4952 "bison_parser.cpp" break; - case 235: /* opt_frame_clause: frame_type BETWEEN frame_bound AND frame_bound */ -#line 1075 "bison_parser.y" + case 237: /* opt_frame_clause: frame_type BETWEEN frame_bound AND frame_bound */ +#line 1117 "bison_parser.y" { (yyval.frame_description) = new FrameDescription{(yyvsp[-4].frame_type), (yyvsp[-2].frame_bound), (yyvsp[0].frame_bound)}; } -#line 4933 "bison_parser.cpp" +#line 4958 "bison_parser.cpp" break; - case 236: /* opt_frame_clause: %empty */ -#line 1076 "bison_parser.y" + case 238: /* opt_frame_clause: %empty */ +#line 1118 "bison_parser.y" { (yyval.frame_description) = new FrameDescription{kRange, new FrameBound{0, kPreceding, true}, new FrameBound{0, kCurrentRow, false}}; } -#line 4941 "bison_parser.cpp" +#line 4966 "bison_parser.cpp" break; - case 237: /* frame_type: RANGE */ -#line 1080 "bison_parser.y" + case 239: /* frame_type: RANGE */ +#line 1122 "bison_parser.y" { (yyval.frame_type) = kRange; } -#line 4947 "bison_parser.cpp" +#line 4972 "bison_parser.cpp" break; - case 238: /* frame_type: ROWS */ -#line 1081 "bison_parser.y" + case 240: /* frame_type: ROWS */ +#line 1123 "bison_parser.y" { (yyval.frame_type) = kRows; } -#line 4953 "bison_parser.cpp" +#line 4978 "bison_parser.cpp" break; - case 239: /* frame_type: GROUPS */ -#line 1082 "bison_parser.y" + case 241: /* frame_type: GROUPS */ +#line 1124 "bison_parser.y" { (yyval.frame_type) = kGroups; } -#line 4959 "bison_parser.cpp" +#line 4984 "bison_parser.cpp" break; - case 240: /* frame_bound: UNBOUNDED PRECEDING */ -#line 1084 "bison_parser.y" + case 242: /* frame_bound: UNBOUNDED PRECEDING */ +#line 1126 "bison_parser.y" { (yyval.frame_bound) = new FrameBound{0, kPreceding, true}; } -#line 4965 "bison_parser.cpp" +#line 4990 "bison_parser.cpp" break; - case 241: /* frame_bound: INTVAL PRECEDING */ -#line 1085 "bison_parser.y" + case 243: /* frame_bound: INTVAL PRECEDING */ +#line 1127 "bison_parser.y" { (yyval.frame_bound) = new FrameBound{(yyvsp[-1].ival), kPreceding, false}; } -#line 4971 "bison_parser.cpp" +#line 4996 "bison_parser.cpp" break; - case 242: /* frame_bound: UNBOUNDED FOLLOWING */ -#line 1086 "bison_parser.y" + case 244: /* frame_bound: UNBOUNDED FOLLOWING */ +#line 1128 "bison_parser.y" { (yyval.frame_bound) = new FrameBound{0, kFollowing, true}; } -#line 4977 "bison_parser.cpp" +#line 5002 "bison_parser.cpp" break; - case 243: /* frame_bound: INTVAL FOLLOWING */ -#line 1087 "bison_parser.y" + case 245: /* frame_bound: INTVAL FOLLOWING */ +#line 1129 "bison_parser.y" { (yyval.frame_bound) = new FrameBound{(yyvsp[-1].ival), kFollowing, false}; } -#line 4983 "bison_parser.cpp" +#line 5008 "bison_parser.cpp" break; - case 244: /* frame_bound: CURRENT_ROW */ -#line 1088 "bison_parser.y" + case 246: /* frame_bound: CURRENT_ROW */ +#line 1130 "bison_parser.y" { (yyval.frame_bound) = new FrameBound{0, kCurrentRow, false}; } -#line 4989 "bison_parser.cpp" +#line 5014 "bison_parser.cpp" break; - case 245: /* extract_expr: EXTRACT '(' datetime_field FROM expr ')' */ -#line 1090 "bison_parser.y" + case 247: /* extract_expr: EXTRACT '(' datetime_field FROM expr ')' */ +#line 1132 "bison_parser.y" { (yyval.expr) = Expr::makeExtract((yyvsp[-3].datetime_field), (yyvsp[-1].expr)); } -#line 4995 "bison_parser.cpp" +#line 5020 "bison_parser.cpp" break; - case 246: /* cast_expr: CAST '(' expr AS column_type ')' */ -#line 1092 "bison_parser.y" + case 248: /* cast_expr: CAST '(' expr AS column_type ')' */ +#line 1134 "bison_parser.y" { (yyval.expr) = Expr::makeCast((yyvsp[-3].expr), (yyvsp[-1].column_type_t)); } -#line 5001 "bison_parser.cpp" +#line 5026 "bison_parser.cpp" break; - case 247: /* datetime_field: SECOND */ -#line 1094 "bison_parser.y" + case 249: /* datetime_field: SECOND */ +#line 1136 "bison_parser.y" { (yyval.datetime_field) = kDatetimeSecond; } -#line 5007 "bison_parser.cpp" +#line 5032 "bison_parser.cpp" break; - case 248: /* datetime_field: MINUTE */ -#line 1095 "bison_parser.y" + case 250: /* datetime_field: MINUTE */ +#line 1137 "bison_parser.y" { (yyval.datetime_field) = kDatetimeMinute; } -#line 5013 "bison_parser.cpp" +#line 5038 "bison_parser.cpp" break; - case 249: /* datetime_field: HOUR */ -#line 1096 "bison_parser.y" + case 251: /* datetime_field: HOUR */ +#line 1138 "bison_parser.y" { (yyval.datetime_field) = kDatetimeHour; } -#line 5019 "bison_parser.cpp" +#line 5044 "bison_parser.cpp" break; - case 250: /* datetime_field: DAY */ -#line 1097 "bison_parser.y" + case 252: /* datetime_field: DAY */ +#line 1139 "bison_parser.y" { (yyval.datetime_field) = kDatetimeDay; } -#line 5025 "bison_parser.cpp" +#line 5050 "bison_parser.cpp" break; - case 251: /* datetime_field: MONTH */ -#line 1098 "bison_parser.y" + case 253: /* datetime_field: MONTH */ +#line 1140 "bison_parser.y" { (yyval.datetime_field) = kDatetimeMonth; } -#line 5031 "bison_parser.cpp" +#line 5056 "bison_parser.cpp" break; - case 252: /* datetime_field: YEAR */ -#line 1099 "bison_parser.y" + case 254: /* datetime_field: YEAR */ +#line 1141 "bison_parser.y" { (yyval.datetime_field) = kDatetimeYear; } -#line 5037 "bison_parser.cpp" +#line 5062 "bison_parser.cpp" break; - case 253: /* datetime_field_plural: SECONDS */ -#line 1101 "bison_parser.y" + case 255: /* datetime_field_plural: SECONDS */ +#line 1143 "bison_parser.y" { (yyval.datetime_field) = kDatetimeSecond; } -#line 5043 "bison_parser.cpp" +#line 5068 "bison_parser.cpp" break; - case 254: /* datetime_field_plural: MINUTES */ -#line 1102 "bison_parser.y" + case 256: /* datetime_field_plural: MINUTES */ +#line 1144 "bison_parser.y" { (yyval.datetime_field) = kDatetimeMinute; } -#line 5049 "bison_parser.cpp" +#line 5074 "bison_parser.cpp" break; - case 255: /* datetime_field_plural: HOURS */ -#line 1103 "bison_parser.y" + case 257: /* datetime_field_plural: HOURS */ +#line 1145 "bison_parser.y" { (yyval.datetime_field) = kDatetimeHour; } -#line 5055 "bison_parser.cpp" +#line 5080 "bison_parser.cpp" break; - case 256: /* datetime_field_plural: DAYS */ -#line 1104 "bison_parser.y" + case 258: /* datetime_field_plural: DAYS */ +#line 1146 "bison_parser.y" { (yyval.datetime_field) = kDatetimeDay; } -#line 5061 "bison_parser.cpp" +#line 5086 "bison_parser.cpp" break; - case 257: /* datetime_field_plural: MONTHS */ -#line 1105 "bison_parser.y" + case 259: /* datetime_field_plural: MONTHS */ +#line 1147 "bison_parser.y" { (yyval.datetime_field) = kDatetimeMonth; } -#line 5067 "bison_parser.cpp" +#line 5092 "bison_parser.cpp" break; - case 258: /* datetime_field_plural: YEARS */ -#line 1106 "bison_parser.y" + case 260: /* datetime_field_plural: YEARS */ +#line 1148 "bison_parser.y" { (yyval.datetime_field) = kDatetimeYear; } -#line 5073 "bison_parser.cpp" +#line 5098 "bison_parser.cpp" break; - case 261: /* array_expr: ARRAY '[' expr_list ']' */ -#line 1110 "bison_parser.y" + case 263: /* array_expr: ARRAY '[' expr_list ']' */ +#line 1152 "bison_parser.y" { (yyval.expr) = Expr::makeArray((yyvsp[-1].expr_vec)); } -#line 5079 "bison_parser.cpp" +#line 5104 "bison_parser.cpp" break; - case 262: /* array_index: operand '[' int_literal ']' */ -#line 1112 "bison_parser.y" + case 264: /* array_index: operand '[' int_literal ']' */ +#line 1154 "bison_parser.y" { (yyval.expr) = Expr::makeArrayIndex((yyvsp[-3].expr), (yyvsp[-1].expr)->ival); } -#line 5085 "bison_parser.cpp" +#line 5110 "bison_parser.cpp" break; - case 263: /* between_expr: operand BETWEEN operand AND operand */ -#line 1114 "bison_parser.y" + case 265: /* between_expr: operand BETWEEN operand AND operand */ +#line 1156 "bison_parser.y" { (yyval.expr) = Expr::makeBetween((yyvsp[-4].expr), (yyvsp[-2].expr), (yyvsp[0].expr)); } -#line 5091 "bison_parser.cpp" +#line 5116 "bison_parser.cpp" break; - case 264: /* column_name: IDENTIFIER */ -#line 1116 "bison_parser.y" + case 266: /* column_name: IDENTIFIER */ +#line 1158 "bison_parser.y" { (yyval.expr) = Expr::makeColumnRef((yyvsp[0].sval)); } -#line 5097 "bison_parser.cpp" +#line 5122 "bison_parser.cpp" break; - case 265: /* column_name: IDENTIFIER '.' IDENTIFIER */ -#line 1117 "bison_parser.y" + case 267: /* column_name: IDENTIFIER '.' IDENTIFIER */ +#line 1159 "bison_parser.y" { (yyval.expr) = Expr::makeColumnRef((yyvsp[-2].sval), (yyvsp[0].sval)); } -#line 5103 "bison_parser.cpp" +#line 5128 "bison_parser.cpp" break; - case 266: /* column_name: '*' */ -#line 1118 "bison_parser.y" + case 268: /* column_name: '*' */ +#line 1160 "bison_parser.y" { (yyval.expr) = Expr::makeStar(); } -#line 5109 "bison_parser.cpp" +#line 5134 "bison_parser.cpp" break; - case 267: /* column_name: IDENTIFIER '.' '*' */ -#line 1119 "bison_parser.y" + case 269: /* column_name: IDENTIFIER '.' '*' */ +#line 1161 "bison_parser.y" { (yyval.expr) = Expr::makeStar((yyvsp[-2].sval)); } -#line 5115 "bison_parser.cpp" +#line 5140 "bison_parser.cpp" break; - case 275: /* string_literal: STRING */ -#line 1123 "bison_parser.y" + case 277: /* string_literal: STRING */ +#line 1165 "bison_parser.y" { (yyval.expr) = Expr::makeLiteral((yyvsp[0].sval)); } -#line 5121 "bison_parser.cpp" +#line 5146 "bison_parser.cpp" break; - case 276: /* bool_literal: TRUE */ -#line 1125 "bison_parser.y" + case 278: /* bool_literal: TRUE */ +#line 1167 "bison_parser.y" { (yyval.expr) = Expr::makeLiteral(true); } -#line 5127 "bison_parser.cpp" +#line 5152 "bison_parser.cpp" break; - case 277: /* bool_literal: FALSE */ -#line 1126 "bison_parser.y" + case 279: /* bool_literal: FALSE */ +#line 1168 "bison_parser.y" { (yyval.expr) = Expr::makeLiteral(false); } -#line 5133 "bison_parser.cpp" +#line 5158 "bison_parser.cpp" break; - case 278: /* num_literal: FLOATVAL */ -#line 1128 "bison_parser.y" + case 280: /* num_literal: FLOATVAL */ +#line 1170 "bison_parser.y" { (yyval.expr) = Expr::makeLiteral((yyvsp[0].fval)); } -#line 5139 "bison_parser.cpp" +#line 5164 "bison_parser.cpp" break; - case 280: /* int_literal: INTVAL */ -#line 1131 "bison_parser.y" + case 282: /* int_literal: INTVAL */ +#line 1173 "bison_parser.y" { (yyval.expr) = Expr::makeLiteral((yyvsp[0].ival)); } -#line 5145 "bison_parser.cpp" +#line 5170 "bison_parser.cpp" break; - case 281: /* null_literal: NULL */ -#line 1133 "bison_parser.y" + case 283: /* null_literal: NULL */ +#line 1175 "bison_parser.y" { (yyval.expr) = Expr::makeNullLiteral(); } -#line 5151 "bison_parser.cpp" +#line 5176 "bison_parser.cpp" break; - case 282: /* date_literal: DATE STRING */ -#line 1135 "bison_parser.y" + case 284: /* date_literal: DATE STRING */ +#line 1177 "bison_parser.y" { int day{0}, month{0}, year{0}, chars_parsed{0}; // If the whole string is parsed, chars_parsed points to the terminating null byte after the last character @@ -5162,17 +5186,17 @@ YYLTYPE yylloc = yyloc_default; } (yyval.expr) = Expr::makeDateLiteral((yyvsp[0].sval)); } -#line 5166 "bison_parser.cpp" +#line 5191 "bison_parser.cpp" break; - case 283: /* interval_literal: INTVAL duration_field */ -#line 1146 "bison_parser.y" + case 285: /* interval_literal: INTVAL duration_field */ +#line 1188 "bison_parser.y" { (yyval.expr) = Expr::makeIntervalLiteral((yyvsp[-1].ival), (yyvsp[0].datetime_field)); } -#line 5172 "bison_parser.cpp" +#line 5197 "bison_parser.cpp" break; - case 284: /* interval_literal: INTERVAL STRING datetime_field */ -#line 1147 "bison_parser.y" + case 286: /* interval_literal: INTERVAL STRING datetime_field */ +#line 1189 "bison_parser.y" { int duration{0}, chars_parsed{0}; // If the whole string is parsed, chars_parsed points to the terminating null byte after the last character @@ -5184,11 +5208,11 @@ YYLTYPE yylloc = yyloc_default; free((yyvsp[-1].sval)); (yyval.expr) = Expr::makeIntervalLiteral(duration, (yyvsp[0].datetime_field)); } -#line 5188 "bison_parser.cpp" +#line 5213 "bison_parser.cpp" break; - case 285: /* interval_literal: INTERVAL STRING */ -#line 1158 "bison_parser.y" + case 287: /* interval_literal: INTERVAL STRING */ +#line 1200 "bison_parser.y" { int duration{0}, chars_parsed{0}; // 'seconds' and 'minutes' are the longest accepted interval qualifiers (7 chars) + null byte @@ -5220,61 +5244,61 @@ YYLTYPE yylloc = yyloc_default; } (yyval.expr) = Expr::makeIntervalLiteral(duration, unit); } -#line 5224 "bison_parser.cpp" +#line 5249 "bison_parser.cpp" break; - case 286: /* param_expr: '?' */ -#line 1190 "bison_parser.y" + case 288: /* param_expr: '?' */ +#line 1232 "bison_parser.y" { (yyval.expr) = Expr::makeParameter(yylloc.total_column); (yyval.expr)->ival2 = yyloc.param_list.size(); yyloc.param_list.push_back((yyval.expr)); } -#line 5234 "bison_parser.cpp" +#line 5259 "bison_parser.cpp" break; - case 288: /* table_ref: table_ref_commalist ',' table_ref_atomic */ -#line 1199 "bison_parser.y" + case 290: /* table_ref: table_ref_commalist ',' table_ref_atomic */ +#line 1241 "bison_parser.y" { (yyvsp[-2].table_vec)->push_back((yyvsp[0].table)); auto tbl = new TableRef(kTableCrossProduct); tbl->list = (yyvsp[-2].table_vec); (yyval.table) = tbl; } -#line 5245 "bison_parser.cpp" +#line 5270 "bison_parser.cpp" break; - case 292: /* nonjoin_table_ref_atomic: '(' select_statement ')' opt_table_alias */ -#line 1208 "bison_parser.y" + case 294: /* nonjoin_table_ref_atomic: '(' select_statement ')' opt_table_alias */ +#line 1250 "bison_parser.y" { auto tbl = new TableRef(kTableSelect); tbl->select = (yyvsp[-2].select_stmt); tbl->alias = (yyvsp[0].alias_t); (yyval.table) = tbl; } -#line 5256 "bison_parser.cpp" +#line 5281 "bison_parser.cpp" break; - case 293: /* table_ref_commalist: table_ref_atomic */ -#line 1215 "bison_parser.y" + case 295: /* table_ref_commalist: table_ref_atomic */ +#line 1257 "bison_parser.y" { (yyval.table_vec) = new std::vector(); (yyval.table_vec)->push_back((yyvsp[0].table)); } -#line 5265 "bison_parser.cpp" +#line 5290 "bison_parser.cpp" break; - case 294: /* table_ref_commalist: table_ref_commalist ',' table_ref_atomic */ -#line 1219 "bison_parser.y" + case 296: /* table_ref_commalist: table_ref_commalist ',' table_ref_atomic */ +#line 1261 "bison_parser.y" { (yyvsp[-2].table_vec)->push_back((yyvsp[0].table)); (yyval.table_vec) = (yyvsp[-2].table_vec); } -#line 5274 "bison_parser.cpp" +#line 5299 "bison_parser.cpp" break; - case 295: /* table_ref_name: table_name opt_table_alias */ -#line 1224 "bison_parser.y" + case 297: /* table_ref_name: table_name opt_table_alias */ +#line 1266 "bison_parser.y" { auto tbl = new TableRef(kTableName); tbl->schema = (yyvsp[-1].table_name).schema; @@ -5282,215 +5306,215 @@ YYLTYPE yylloc = yyloc_default; tbl->alias = (yyvsp[0].alias_t); (yyval.table) = tbl; } -#line 5286 "bison_parser.cpp" +#line 5311 "bison_parser.cpp" break; - case 296: /* table_ref_name_no_alias: table_name */ -#line 1232 "bison_parser.y" + case 298: /* table_ref_name_no_alias: table_name */ +#line 1274 "bison_parser.y" { (yyval.table) = new TableRef(kTableName); (yyval.table)->schema = (yyvsp[0].table_name).schema; (yyval.table)->name = (yyvsp[0].table_name).name; } -#line 5296 "bison_parser.cpp" +#line 5321 "bison_parser.cpp" break; - case 297: /* table_name: IDENTIFIER */ -#line 1238 "bison_parser.y" + case 299: /* table_name: IDENTIFIER */ +#line 1280 "bison_parser.y" { (yyval.table_name).schema = nullptr; (yyval.table_name).name = (yyvsp[0].sval); } -#line 5305 "bison_parser.cpp" +#line 5330 "bison_parser.cpp" break; - case 298: /* table_name: IDENTIFIER '.' IDENTIFIER */ -#line 1242 "bison_parser.y" + case 300: /* table_name: IDENTIFIER '.' IDENTIFIER */ +#line 1284 "bison_parser.y" { (yyval.table_name).schema = (yyvsp[-2].sval); (yyval.table_name).name = (yyvsp[0].sval); } -#line 5314 "bison_parser.cpp" +#line 5339 "bison_parser.cpp" break; - case 299: /* opt_index_name: IDENTIFIER */ -#line 1247 "bison_parser.y" + case 301: /* opt_index_name: IDENTIFIER */ +#line 1289 "bison_parser.y" { (yyval.sval) = (yyvsp[0].sval); } -#line 5320 "bison_parser.cpp" +#line 5345 "bison_parser.cpp" break; - case 300: /* opt_index_name: %empty */ -#line 1248 "bison_parser.y" + case 302: /* opt_index_name: %empty */ +#line 1290 "bison_parser.y" { (yyval.sval) = nullptr; } -#line 5326 "bison_parser.cpp" +#line 5351 "bison_parser.cpp" break; - case 302: /* table_alias: AS IDENTIFIER '(' ident_commalist ')' */ -#line 1250 "bison_parser.y" + case 304: /* table_alias: AS IDENTIFIER '(' ident_commalist ')' */ +#line 1292 "bison_parser.y" { (yyval.alias_t) = new Alias((yyvsp[-3].sval), (yyvsp[-1].str_vec)); } -#line 5332 "bison_parser.cpp" +#line 5357 "bison_parser.cpp" break; - case 304: /* opt_table_alias: %empty */ -#line 1252 "bison_parser.y" + case 306: /* opt_table_alias: %empty */ +#line 1294 "bison_parser.y" { (yyval.alias_t) = nullptr; } -#line 5338 "bison_parser.cpp" +#line 5363 "bison_parser.cpp" break; - case 305: /* alias: AS IDENTIFIER */ -#line 1254 "bison_parser.y" + case 307: /* alias: AS IDENTIFIER */ +#line 1296 "bison_parser.y" { (yyval.alias_t) = new Alias((yyvsp[0].sval)); } -#line 5344 "bison_parser.cpp" +#line 5369 "bison_parser.cpp" break; - case 306: /* alias: IDENTIFIER */ -#line 1255 "bison_parser.y" + case 308: /* alias: IDENTIFIER */ +#line 1297 "bison_parser.y" { (yyval.alias_t) = new Alias((yyvsp[0].sval)); } -#line 5350 "bison_parser.cpp" +#line 5375 "bison_parser.cpp" break; - case 308: /* opt_alias: %empty */ -#line 1257 "bison_parser.y" + case 310: /* opt_alias: %empty */ +#line 1299 "bison_parser.y" { (yyval.alias_t) = nullptr; } -#line 5356 "bison_parser.cpp" +#line 5381 "bison_parser.cpp" break; - case 309: /* opt_locking_clause: opt_locking_clause_list */ -#line 1263 "bison_parser.y" + case 311: /* opt_locking_clause: opt_locking_clause_list */ +#line 1305 "bison_parser.y" { (yyval.locking_clause_vec) = (yyvsp[0].locking_clause_vec); } -#line 5362 "bison_parser.cpp" +#line 5387 "bison_parser.cpp" break; - case 310: /* opt_locking_clause: %empty */ -#line 1264 "bison_parser.y" + case 312: /* opt_locking_clause: %empty */ +#line 1306 "bison_parser.y" { (yyval.locking_clause_vec) = nullptr; } -#line 5368 "bison_parser.cpp" +#line 5393 "bison_parser.cpp" break; - case 311: /* opt_locking_clause_list: locking_clause */ -#line 1266 "bison_parser.y" + case 313: /* opt_locking_clause_list: locking_clause */ +#line 1308 "bison_parser.y" { (yyval.locking_clause_vec) = new std::vector(); (yyval.locking_clause_vec)->push_back((yyvsp[0].locking_t)); } -#line 5377 "bison_parser.cpp" +#line 5402 "bison_parser.cpp" break; - case 312: /* opt_locking_clause_list: opt_locking_clause_list locking_clause */ -#line 1270 "bison_parser.y" + case 314: /* opt_locking_clause_list: opt_locking_clause_list locking_clause */ +#line 1312 "bison_parser.y" { (yyvsp[-1].locking_clause_vec)->push_back((yyvsp[0].locking_t)); (yyval.locking_clause_vec) = (yyvsp[-1].locking_clause_vec); } -#line 5386 "bison_parser.cpp" +#line 5411 "bison_parser.cpp" break; - case 313: /* locking_clause: FOR row_lock_mode opt_row_lock_policy */ -#line 1275 "bison_parser.y" + case 315: /* locking_clause: FOR row_lock_mode opt_row_lock_policy */ +#line 1317 "bison_parser.y" { (yyval.locking_t) = new LockingClause(); (yyval.locking_t)->rowLockMode = (yyvsp[-1].lock_mode_t); (yyval.locking_t)->rowLockWaitPolicy = (yyvsp[0].lock_wait_policy_t); (yyval.locking_t)->tables = nullptr; } -#line 5397 "bison_parser.cpp" +#line 5422 "bison_parser.cpp" break; - case 314: /* locking_clause: FOR row_lock_mode OF ident_commalist opt_row_lock_policy */ -#line 1281 "bison_parser.y" + case 316: /* locking_clause: FOR row_lock_mode OF ident_commalist opt_row_lock_policy */ +#line 1323 "bison_parser.y" { (yyval.locking_t) = new LockingClause(); (yyval.locking_t)->rowLockMode = (yyvsp[-3].lock_mode_t); (yyval.locking_t)->tables = (yyvsp[-1].str_vec); (yyval.locking_t)->rowLockWaitPolicy = (yyvsp[0].lock_wait_policy_t); } -#line 5408 "bison_parser.cpp" +#line 5433 "bison_parser.cpp" break; - case 315: /* row_lock_mode: UPDATE */ -#line 1288 "bison_parser.y" + case 317: /* row_lock_mode: UPDATE */ +#line 1330 "bison_parser.y" { (yyval.lock_mode_t) = RowLockMode::ForUpdate; } -#line 5414 "bison_parser.cpp" +#line 5439 "bison_parser.cpp" break; - case 316: /* row_lock_mode: NO KEY UPDATE */ -#line 1289 "bison_parser.y" + case 318: /* row_lock_mode: NO KEY UPDATE */ +#line 1331 "bison_parser.y" { (yyval.lock_mode_t) = RowLockMode::ForNoKeyUpdate; } -#line 5420 "bison_parser.cpp" +#line 5445 "bison_parser.cpp" break; - case 317: /* row_lock_mode: SHARE */ -#line 1290 "bison_parser.y" + case 319: /* row_lock_mode: SHARE */ +#line 1332 "bison_parser.y" { (yyval.lock_mode_t) = RowLockMode::ForShare; } -#line 5426 "bison_parser.cpp" +#line 5451 "bison_parser.cpp" break; - case 318: /* row_lock_mode: KEY SHARE */ -#line 1291 "bison_parser.y" + case 320: /* row_lock_mode: KEY SHARE */ +#line 1333 "bison_parser.y" { (yyval.lock_mode_t) = RowLockMode::ForKeyShare; } -#line 5432 "bison_parser.cpp" +#line 5457 "bison_parser.cpp" break; - case 319: /* opt_row_lock_policy: SKIP LOCKED */ -#line 1293 "bison_parser.y" + case 321: /* opt_row_lock_policy: SKIP LOCKED */ +#line 1335 "bison_parser.y" { (yyval.lock_wait_policy_t) = RowLockWaitPolicy::SkipLocked; } -#line 5438 "bison_parser.cpp" +#line 5463 "bison_parser.cpp" break; - case 320: /* opt_row_lock_policy: NOWAIT */ -#line 1294 "bison_parser.y" + case 322: /* opt_row_lock_policy: NOWAIT */ +#line 1336 "bison_parser.y" { (yyval.lock_wait_policy_t) = RowLockWaitPolicy::NoWait; } -#line 5444 "bison_parser.cpp" +#line 5469 "bison_parser.cpp" break; - case 321: /* opt_row_lock_policy: %empty */ -#line 1295 "bison_parser.y" + case 323: /* opt_row_lock_policy: %empty */ +#line 1337 "bison_parser.y" { (yyval.lock_wait_policy_t) = RowLockWaitPolicy::None; } -#line 5450 "bison_parser.cpp" - break; - - case 323: /* opt_with_clause: %empty */ -#line 1301 "bison_parser.y" - { (yyval.with_description_vec) = nullptr; } -#line 5456 "bison_parser.cpp" +#line 5475 "bison_parser.cpp" break; case 324: /* with_clause: WITH with_description_list */ -#line 1303 "bison_parser.y" +#line 1343 "bison_parser.y" { (yyval.with_description_vec) = (yyvsp[0].with_description_vec); } -#line 5462 "bison_parser.cpp" +#line 5481 "bison_parser.cpp" break; case 325: /* with_description_list: with_description */ -#line 1305 "bison_parser.y" +#line 1345 "bison_parser.y" { (yyval.with_description_vec) = new std::vector(); (yyval.with_description_vec)->push_back((yyvsp[0].with_description_t)); } -#line 5471 "bison_parser.cpp" +#line 5490 "bison_parser.cpp" break; case 326: /* with_description_list: with_description_list ',' with_description */ -#line 1309 "bison_parser.y" +#line 1349 "bison_parser.y" { (yyvsp[-2].with_description_vec)->push_back((yyvsp[0].with_description_t)); (yyval.with_description_vec) = (yyvsp[-2].with_description_vec); } -#line 5480 "bison_parser.cpp" +#line 5499 "bison_parser.cpp" break; - case 327: /* with_description: IDENTIFIER AS select_with_paren */ -#line 1314 "bison_parser.y" - { + case 327: /* with_description: IDENTIFIER AS subquery */ +#line 1354 "bison_parser.y" + { + if ((yyvsp[0].select_stmt)->withDescriptions != nullptr) { + free((yyvsp[-2].sval)); + delete (yyvsp[0].select_stmt); + yyerror(&yyloc, result, scanner, "Nested CTE is not allowed."); + YYERROR; + } (yyval.with_description_t) = new WithDescription(); (yyval.with_description_t)->alias = (yyvsp[-2].sval); (yyval.with_description_t)->select = (yyvsp[0].select_stmt); } -#line 5490 "bison_parser.cpp" +#line 5515 "bison_parser.cpp" break; case 328: /* join_clause: table_ref_atomic NATURAL JOIN nonjoin_table_ref_atomic */ -#line 1324 "bison_parser.y" +#line 1370 "bison_parser.y" { (yyval.table) = new TableRef(kTableJoin); (yyval.table)->join = new JoinDefinition(); @@ -5498,11 +5522,11 @@ YYLTYPE yylloc = yyloc_default; (yyval.table)->join->left = (yyvsp[-3].table); (yyval.table)->join->right = (yyvsp[0].table); } -#line 5502 "bison_parser.cpp" +#line 5527 "bison_parser.cpp" break; case 329: /* join_clause: table_ref_atomic opt_join_type JOIN table_ref_atomic ON join_condition */ -#line 1331 "bison_parser.y" +#line 1377 "bison_parser.y" { (yyval.table) = new TableRef(kTableJoin); (yyval.table)->join = new JoinDefinition(); @@ -5511,11 +5535,11 @@ YYLTYPE yylloc = yyloc_default; (yyval.table)->join->right = (yyvsp[-2].table); (yyval.table)->join->condition = (yyvsp[0].expr); } -#line 5515 "bison_parser.cpp" +#line 5540 "bison_parser.cpp" break; case 330: /* join_clause: table_ref_atomic opt_join_type JOIN table_ref_atomic USING '(' ident_commalist ')' */ -#line 1339 "bison_parser.y" +#line 1385 "bison_parser.y" { (yyval.table) = new TableRef(kTableJoin); (yyval.table)->join = new JoinDefinition(); @@ -5524,89 +5548,89 @@ YYLTYPE yylloc = yyloc_default; (yyval.table)->join->right = (yyvsp[-4].table); (yyval.table)->join->namedColumns = (yyvsp[-1].str_vec); } -#line 5528 "bison_parser.cpp" +#line 5553 "bison_parser.cpp" break; case 331: /* opt_join_type: INNER */ -#line 1348 "bison_parser.y" +#line 1394 "bison_parser.y" { (yyval.join_type) = kJoinInner; } -#line 5534 "bison_parser.cpp" +#line 5559 "bison_parser.cpp" break; case 332: /* opt_join_type: LEFT OUTER */ -#line 1349 "bison_parser.y" +#line 1395 "bison_parser.y" { (yyval.join_type) = kJoinLeft; } -#line 5540 "bison_parser.cpp" +#line 5565 "bison_parser.cpp" break; case 333: /* opt_join_type: LEFT */ -#line 1350 "bison_parser.y" +#line 1396 "bison_parser.y" { (yyval.join_type) = kJoinLeft; } -#line 5546 "bison_parser.cpp" +#line 5571 "bison_parser.cpp" break; case 334: /* opt_join_type: RIGHT OUTER */ -#line 1351 "bison_parser.y" +#line 1397 "bison_parser.y" { (yyval.join_type) = kJoinRight; } -#line 5552 "bison_parser.cpp" +#line 5577 "bison_parser.cpp" break; case 335: /* opt_join_type: RIGHT */ -#line 1352 "bison_parser.y" +#line 1398 "bison_parser.y" { (yyval.join_type) = kJoinRight; } -#line 5558 "bison_parser.cpp" +#line 5583 "bison_parser.cpp" break; case 336: /* opt_join_type: FULL OUTER */ -#line 1353 "bison_parser.y" +#line 1399 "bison_parser.y" { (yyval.join_type) = kJoinFull; } -#line 5564 "bison_parser.cpp" +#line 5589 "bison_parser.cpp" break; case 337: /* opt_join_type: OUTER */ -#line 1354 "bison_parser.y" +#line 1400 "bison_parser.y" { (yyval.join_type) = kJoinFull; } -#line 5570 "bison_parser.cpp" +#line 5595 "bison_parser.cpp" break; case 338: /* opt_join_type: FULL */ -#line 1355 "bison_parser.y" +#line 1401 "bison_parser.y" { (yyval.join_type) = kJoinFull; } -#line 5576 "bison_parser.cpp" +#line 5601 "bison_parser.cpp" break; case 339: /* opt_join_type: CROSS */ -#line 1356 "bison_parser.y" +#line 1402 "bison_parser.y" { (yyval.join_type) = kJoinCross; } -#line 5582 "bison_parser.cpp" +#line 5607 "bison_parser.cpp" break; case 340: /* opt_join_type: %empty */ -#line 1357 "bison_parser.y" +#line 1403 "bison_parser.y" { (yyval.join_type) = kJoinInner; } -#line 5588 "bison_parser.cpp" +#line 5613 "bison_parser.cpp" break; case 344: /* ident_commalist: IDENTIFIER */ -#line 1368 "bison_parser.y" +#line 1414 "bison_parser.y" { (yyval.str_vec) = new std::vector(); (yyval.str_vec)->push_back((yyvsp[0].sval)); } -#line 5597 "bison_parser.cpp" +#line 5622 "bison_parser.cpp" break; case 345: /* ident_commalist: ident_commalist ',' IDENTIFIER */ -#line 1372 "bison_parser.y" +#line 1418 "bison_parser.y" { (yyvsp[-2].str_vec)->push_back((yyvsp[0].sval)); (yyval.str_vec) = (yyvsp[-2].str_vec); } -#line 5606 "bison_parser.cpp" +#line 5631 "bison_parser.cpp" break; -#line 5610 "bison_parser.cpp" +#line 5635 "bison_parser.cpp" default: break; } @@ -5835,7 +5859,7 @@ YYLTYPE yylloc = yyloc_default; return yyresult; } -#line 1378 "bison_parser.y" +#line 1424 "bison_parser.y" /********************************* @@ -5844,4 +5868,4 @@ YYLTYPE yylloc = yyloc_default; /* empty */ - // clang-format on +// clang-format on diff --git a/src/parser/bison_parser.h b/src/parser/bison_parser.h index aa7c2a39..b1981f9e 100644 --- a/src/parser/bison_parser.h +++ b/src/parser/bison_parser.h @@ -36,19 +36,19 @@ private implementation details that can be changed or removed. */ #ifndef YY_HSQL_BISON_PARSER_H_INCLUDED -# define YY_HSQL_BISON_PARSER_H_INCLUDED +#define YY_HSQL_BISON_PARSER_H_INCLUDED /* Debug traces. */ #ifndef HSQL_DEBUG -# if defined YYDEBUG +#if defined YYDEBUG #if YYDEBUG -# define HSQL_DEBUG 1 -# else -# define HSQL_DEBUG 0 -# endif -# else /* ! defined YYDEBUG */ -# define HSQL_DEBUG 0 -# endif /* ! defined YYDEBUG */ -#endif /* ! defined HSQL_DEBUG */ +#define HSQL_DEBUG 1 +#else +#define HSQL_DEBUG 0 +#endif +#else /* ! defined YYDEBUG */ +#define HSQL_DEBUG 0 +#endif /* ! defined YYDEBUG */ +#endif /* ! defined HSQL_DEBUG */ #if HSQL_DEBUG extern int hsql_debug; #endif @@ -80,199 +80,198 @@ extern int hsql_debug; /* Token kinds. */ #ifndef HSQL_TOKENTYPE -# define HSQL_TOKENTYPE - enum hsql_tokentype - { - SQL_HSQL_EMPTY = -2, - SQL_YYEOF = 0, /* "end of file" */ - SQL_HSQL_error = 256, /* error */ - SQL_HSQL_UNDEF = 257, /* "invalid token" */ - SQL_IDENTIFIER = 258, /* IDENTIFIER */ - SQL_STRING = 259, /* STRING */ - SQL_FLOATVAL = 260, /* FLOATVAL */ - SQL_INTVAL = 261, /* INTVAL */ - SQL_DEALLOCATE = 262, /* DEALLOCATE */ - SQL_PARAMETERS = 263, /* PARAMETERS */ - SQL_INTERSECT = 264, /* INTERSECT */ - SQL_TEMPORARY = 265, /* TEMPORARY */ - SQL_TIMESTAMP = 266, /* TIMESTAMP */ - SQL_DISTINCT = 267, /* DISTINCT */ - SQL_NVARCHAR = 268, /* NVARCHAR */ - SQL_RESTRICT = 269, /* RESTRICT */ - SQL_TRUNCATE = 270, /* TRUNCATE */ - SQL_ANALYZE = 271, /* ANALYZE */ - SQL_BETWEEN = 272, /* BETWEEN */ - SQL_CASCADE = 273, /* CASCADE */ - SQL_COLUMNS = 274, /* COLUMNS */ - SQL_CONTROL = 275, /* CONTROL */ - SQL_DEFAULT = 276, /* DEFAULT */ - SQL_EXECUTE = 277, /* EXECUTE */ - SQL_EXPLAIN = 278, /* EXPLAIN */ - SQL_ENCODING = 279, /* ENCODING */ - SQL_INTEGER = 280, /* INTEGER */ - SQL_NATURAL = 281, /* NATURAL */ - SQL_PREPARE = 282, /* PREPARE */ - SQL_PRIMARY = 283, /* PRIMARY */ - SQL_SCHEMAS = 284, /* SCHEMAS */ - SQL_CHARACTER_VARYING = 285, /* CHARACTER_VARYING */ - SQL_REAL = 286, /* REAL */ - SQL_DECIMAL = 287, /* DECIMAL */ - SQL_SMALLINT = 288, /* SMALLINT */ - SQL_BIGINT = 289, /* BIGINT */ - SQL_SPATIAL = 290, /* SPATIAL */ - SQL_VARCHAR = 291, /* VARCHAR */ - SQL_VIRTUAL = 292, /* VIRTUAL */ - SQL_DESCRIBE = 293, /* DESCRIBE */ - SQL_BEFORE = 294, /* BEFORE */ - SQL_COLUMN = 295, /* COLUMN */ - SQL_CREATE = 296, /* CREATE */ - SQL_DELETE = 297, /* DELETE */ - SQL_DIRECT = 298, /* DIRECT */ - SQL_DOUBLE = 299, /* DOUBLE */ - SQL_ESCAPE = 300, /* ESCAPE */ - SQL_EXCEPT = 301, /* EXCEPT */ - SQL_EXISTS = 302, /* EXISTS */ - SQL_EXTRACT = 303, /* EXTRACT */ - SQL_CAST = 304, /* CAST */ - SQL_FORMAT = 305, /* FORMAT */ - SQL_GLOBAL = 306, /* GLOBAL */ - SQL_HAVING = 307, /* HAVING */ - SQL_IMPORT = 308, /* IMPORT */ - SQL_INSERT = 309, /* INSERT */ - SQL_ISNULL = 310, /* ISNULL */ - SQL_OFFSET = 311, /* OFFSET */ - SQL_RENAME = 312, /* RENAME */ - SQL_SCHEMA = 313, /* SCHEMA */ - SQL_SELECT = 314, /* SELECT */ - SQL_SORTED = 315, /* SORTED */ - SQL_TABLES = 316, /* TABLES */ - SQL_UNIQUE = 317, /* UNIQUE */ - SQL_UNLOAD = 318, /* UNLOAD */ - SQL_UPDATE = 319, /* UPDATE */ - SQL_VALUES = 320, /* VALUES */ - SQL_AFTER = 321, /* AFTER */ - SQL_ALTER = 322, /* ALTER */ - SQL_CROSS = 323, /* CROSS */ - SQL_DELTA = 324, /* DELTA */ - SQL_FLOAT = 325, /* FLOAT */ - SQL_GROUP = 326, /* GROUP */ - SQL_INDEX = 327, /* INDEX */ - SQL_INNER = 328, /* INNER */ - SQL_LIMIT = 329, /* LIMIT */ - SQL_LOCAL = 330, /* LOCAL */ - SQL_MERGE = 331, /* MERGE */ - SQL_MINUS = 332, /* MINUS */ - SQL_ORDER = 333, /* ORDER */ - SQL_OVER = 334, /* OVER */ - SQL_OUTER = 335, /* OUTER */ - SQL_RIGHT = 336, /* RIGHT */ - SQL_TABLE = 337, /* TABLE */ - SQL_UNION = 338, /* UNION */ - SQL_USING = 339, /* USING */ - SQL_WHERE = 340, /* WHERE */ - SQL_CALL = 341, /* CALL */ - SQL_CASE = 342, /* CASE */ - SQL_CHAR = 343, /* CHAR */ - SQL_COPY = 344, /* COPY */ - SQL_DATE = 345, /* DATE */ - SQL_DATETIME = 346, /* DATETIME */ - SQL_DESC = 347, /* DESC */ - SQL_DROP = 348, /* DROP */ - SQL_ELSE = 349, /* ELSE */ - SQL_FILE = 350, /* FILE */ - SQL_FROM = 351, /* FROM */ - SQL_FULL = 352, /* FULL */ - SQL_HASH = 353, /* HASH */ - SQL_HINT = 354, /* HINT */ - SQL_INTO = 355, /* INTO */ - SQL_JOIN = 356, /* JOIN */ - SQL_LEFT = 357, /* LEFT */ - SQL_LIKE = 358, /* LIKE */ - SQL_LOAD = 359, /* LOAD */ - SQL_LONG = 360, /* LONG */ - SQL_NULL = 361, /* NULL */ - SQL_PARTITION = 362, /* PARTITION */ - SQL_PLAN = 363, /* PLAN */ - SQL_SHOW = 364, /* SHOW */ - SQL_TEXT = 365, /* TEXT */ - SQL_THEN = 366, /* THEN */ - SQL_TIME = 367, /* TIME */ - SQL_VIEW = 368, /* VIEW */ - SQL_WHEN = 369, /* WHEN */ - SQL_WITH = 370, /* WITH */ - SQL_ADD = 371, /* ADD */ - SQL_ALL = 372, /* ALL */ - SQL_AND = 373, /* AND */ - SQL_ASC = 374, /* ASC */ - SQL_END = 375, /* END */ - SQL_FOR = 376, /* FOR */ - SQL_INT = 377, /* INT */ - SQL_KEY = 378, /* KEY */ - SQL_NOT = 379, /* NOT */ - SQL_OFF = 380, /* OFF */ - SQL_SET = 381, /* SET */ - SQL_TOP = 382, /* TOP */ - SQL_AS = 383, /* AS */ - SQL_BY = 384, /* BY */ - SQL_IF = 385, /* IF */ - SQL_IN = 386, /* IN */ - SQL_IS = 387, /* IS */ - SQL_OF = 388, /* OF */ - SQL_ON = 389, /* ON */ - SQL_OR = 390, /* OR */ - SQL_TO = 391, /* TO */ - SQL_NO = 392, /* NO */ - SQL_ARRAY = 393, /* ARRAY */ - SQL_CONCAT = 394, /* CONCAT */ - SQL_ILIKE = 395, /* ILIKE */ - SQL_SECOND = 396, /* SECOND */ - SQL_MINUTE = 397, /* MINUTE */ - SQL_HOUR = 398, /* HOUR */ - SQL_DAY = 399, /* DAY */ - SQL_MONTH = 400, /* MONTH */ - SQL_YEAR = 401, /* YEAR */ - SQL_SECONDS = 402, /* SECONDS */ - SQL_MINUTES = 403, /* MINUTES */ - SQL_HOURS = 404, /* HOURS */ - SQL_DAYS = 405, /* DAYS */ - SQL_MONTHS = 406, /* MONTHS */ - SQL_YEARS = 407, /* YEARS */ - SQL_INTERVAL = 408, /* INTERVAL */ - SQL_TRUE = 409, /* TRUE */ - SQL_FALSE = 410, /* FALSE */ - SQL_BOOLEAN = 411, /* BOOLEAN */ - SQL_TRANSACTION = 412, /* TRANSACTION */ - SQL_BEGIN = 413, /* BEGIN */ - SQL_COMMIT = 414, /* COMMIT */ - SQL_ROLLBACK = 415, /* ROLLBACK */ - SQL_NOWAIT = 416, /* NOWAIT */ - SQL_SKIP = 417, /* SKIP */ - SQL_LOCKED = 418, /* LOCKED */ - SQL_SHARE = 419, /* SHARE */ - SQL_RANGE = 420, /* RANGE */ - SQL_ROWS = 421, /* ROWS */ - SQL_GROUPS = 422, /* GROUPS */ - SQL_UNBOUNDED = 423, /* UNBOUNDED */ - SQL_FOLLOWING = 424, /* FOLLOWING */ - SQL_PRECEDING = 425, /* PRECEDING */ - SQL_CURRENT_ROW = 426, /* CURRENT_ROW */ - SQL_EQUALS = 427, /* EQUALS */ - SQL_NOTEQUALS = 428, /* NOTEQUALS */ - SQL_LESS = 429, /* LESS */ - SQL_GREATER = 430, /* GREATER */ - SQL_LESSEQ = 431, /* LESSEQ */ - SQL_GREATEREQ = 432, /* GREATEREQ */ - SQL_NOTNULL = 433, /* NOTNULL */ - SQL_UMINUS = 434 /* UMINUS */ - }; - typedef enum hsql_tokentype hsql_token_kind_t; +#define HSQL_TOKENTYPE +enum hsql_tokentype { + SQL_HSQL_EMPTY = -2, + SQL_YYEOF = 0, /* "end of file" */ + SQL_HSQL_error = 256, /* error */ + SQL_HSQL_UNDEF = 257, /* "invalid token" */ + SQL_IDENTIFIER = 258, /* IDENTIFIER */ + SQL_STRING = 259, /* STRING */ + SQL_FLOATVAL = 260, /* FLOATVAL */ + SQL_INTVAL = 261, /* INTVAL */ + SQL_DEALLOCATE = 262, /* DEALLOCATE */ + SQL_PARAMETERS = 263, /* PARAMETERS */ + SQL_INTERSECT = 264, /* INTERSECT */ + SQL_TEMPORARY = 265, /* TEMPORARY */ + SQL_TIMESTAMP = 266, /* TIMESTAMP */ + SQL_DISTINCT = 267, /* DISTINCT */ + SQL_NVARCHAR = 268, /* NVARCHAR */ + SQL_RESTRICT = 269, /* RESTRICT */ + SQL_TRUNCATE = 270, /* TRUNCATE */ + SQL_ANALYZE = 271, /* ANALYZE */ + SQL_BETWEEN = 272, /* BETWEEN */ + SQL_CASCADE = 273, /* CASCADE */ + SQL_COLUMNS = 274, /* COLUMNS */ + SQL_CONTROL = 275, /* CONTROL */ + SQL_DEFAULT = 276, /* DEFAULT */ + SQL_EXECUTE = 277, /* EXECUTE */ + SQL_EXPLAIN = 278, /* EXPLAIN */ + SQL_ENCODING = 279, /* ENCODING */ + SQL_INTEGER = 280, /* INTEGER */ + SQL_NATURAL = 281, /* NATURAL */ + SQL_PREPARE = 282, /* PREPARE */ + SQL_PRIMARY = 283, /* PRIMARY */ + SQL_SCHEMAS = 284, /* SCHEMAS */ + SQL_CHARACTER_VARYING = 285, /* CHARACTER_VARYING */ + SQL_REAL = 286, /* REAL */ + SQL_DECIMAL = 287, /* DECIMAL */ + SQL_SMALLINT = 288, /* SMALLINT */ + SQL_BIGINT = 289, /* BIGINT */ + SQL_SPATIAL = 290, /* SPATIAL */ + SQL_VARCHAR = 291, /* VARCHAR */ + SQL_VIRTUAL = 292, /* VIRTUAL */ + SQL_DESCRIBE = 293, /* DESCRIBE */ + SQL_BEFORE = 294, /* BEFORE */ + SQL_COLUMN = 295, /* COLUMN */ + SQL_CREATE = 296, /* CREATE */ + SQL_DELETE = 297, /* DELETE */ + SQL_DIRECT = 298, /* DIRECT */ + SQL_DOUBLE = 299, /* DOUBLE */ + SQL_ESCAPE = 300, /* ESCAPE */ + SQL_EXCEPT = 301, /* EXCEPT */ + SQL_EXISTS = 302, /* EXISTS */ + SQL_EXTRACT = 303, /* EXTRACT */ + SQL_CAST = 304, /* CAST */ + SQL_FORMAT = 305, /* FORMAT */ + SQL_GLOBAL = 306, /* GLOBAL */ + SQL_HAVING = 307, /* HAVING */ + SQL_IMPORT = 308, /* IMPORT */ + SQL_INSERT = 309, /* INSERT */ + SQL_ISNULL = 310, /* ISNULL */ + SQL_OFFSET = 311, /* OFFSET */ + SQL_RENAME = 312, /* RENAME */ + SQL_SCHEMA = 313, /* SCHEMA */ + SQL_SELECT = 314, /* SELECT */ + SQL_SORTED = 315, /* SORTED */ + SQL_TABLES = 316, /* TABLES */ + SQL_UNIQUE = 317, /* UNIQUE */ + SQL_UNLOAD = 318, /* UNLOAD */ + SQL_UPDATE = 319, /* UPDATE */ + SQL_VALUES = 320, /* VALUES */ + SQL_AFTER = 321, /* AFTER */ + SQL_ALTER = 322, /* ALTER */ + SQL_CROSS = 323, /* CROSS */ + SQL_DELTA = 324, /* DELTA */ + SQL_FLOAT = 325, /* FLOAT */ + SQL_GROUP = 326, /* GROUP */ + SQL_INDEX = 327, /* INDEX */ + SQL_INNER = 328, /* INNER */ + SQL_LIMIT = 329, /* LIMIT */ + SQL_LOCAL = 330, /* LOCAL */ + SQL_MERGE = 331, /* MERGE */ + SQL_MINUS = 332, /* MINUS */ + SQL_ORDER = 333, /* ORDER */ + SQL_OVER = 334, /* OVER */ + SQL_OUTER = 335, /* OUTER */ + SQL_RIGHT = 336, /* RIGHT */ + SQL_TABLE = 337, /* TABLE */ + SQL_UNION = 338, /* UNION */ + SQL_USING = 339, /* USING */ + SQL_WHERE = 340, /* WHERE */ + SQL_CALL = 341, /* CALL */ + SQL_CASE = 342, /* CASE */ + SQL_CHAR = 343, /* CHAR */ + SQL_COPY = 344, /* COPY */ + SQL_DATE = 345, /* DATE */ + SQL_DATETIME = 346, /* DATETIME */ + SQL_DESC = 347, /* DESC */ + SQL_DROP = 348, /* DROP */ + SQL_ELSE = 349, /* ELSE */ + SQL_FILE = 350, /* FILE */ + SQL_FROM = 351, /* FROM */ + SQL_FULL = 352, /* FULL */ + SQL_HASH = 353, /* HASH */ + SQL_HINT = 354, /* HINT */ + SQL_INTO = 355, /* INTO */ + SQL_JOIN = 356, /* JOIN */ + SQL_LEFT = 357, /* LEFT */ + SQL_LIKE = 358, /* LIKE */ + SQL_LOAD = 359, /* LOAD */ + SQL_LONG = 360, /* LONG */ + SQL_NULL = 361, /* NULL */ + SQL_PARTITION = 362, /* PARTITION */ + SQL_PLAN = 363, /* PLAN */ + SQL_SHOW = 364, /* SHOW */ + SQL_TEXT = 365, /* TEXT */ + SQL_THEN = 366, /* THEN */ + SQL_TIME = 367, /* TIME */ + SQL_VIEW = 368, /* VIEW */ + SQL_WHEN = 369, /* WHEN */ + SQL_WITH = 370, /* WITH */ + SQL_ADD = 371, /* ADD */ + SQL_ALL = 372, /* ALL */ + SQL_AND = 373, /* AND */ + SQL_ASC = 374, /* ASC */ + SQL_END = 375, /* END */ + SQL_FOR = 376, /* FOR */ + SQL_INT = 377, /* INT */ + SQL_KEY = 378, /* KEY */ + SQL_NOT = 379, /* NOT */ + SQL_OFF = 380, /* OFF */ + SQL_SET = 381, /* SET */ + SQL_TOP = 382, /* TOP */ + SQL_AS = 383, /* AS */ + SQL_BY = 384, /* BY */ + SQL_IF = 385, /* IF */ + SQL_IN = 386, /* IN */ + SQL_IS = 387, /* IS */ + SQL_OF = 388, /* OF */ + SQL_ON = 389, /* ON */ + SQL_OR = 390, /* OR */ + SQL_TO = 391, /* TO */ + SQL_NO = 392, /* NO */ + SQL_ARRAY = 393, /* ARRAY */ + SQL_CONCAT = 394, /* CONCAT */ + SQL_ILIKE = 395, /* ILIKE */ + SQL_SECOND = 396, /* SECOND */ + SQL_MINUTE = 397, /* MINUTE */ + SQL_HOUR = 398, /* HOUR */ + SQL_DAY = 399, /* DAY */ + SQL_MONTH = 400, /* MONTH */ + SQL_YEAR = 401, /* YEAR */ + SQL_SECONDS = 402, /* SECONDS */ + SQL_MINUTES = 403, /* MINUTES */ + SQL_HOURS = 404, /* HOURS */ + SQL_DAYS = 405, /* DAYS */ + SQL_MONTHS = 406, /* MONTHS */ + SQL_YEARS = 407, /* YEARS */ + SQL_INTERVAL = 408, /* INTERVAL */ + SQL_TRUE = 409, /* TRUE */ + SQL_FALSE = 410, /* FALSE */ + SQL_BOOLEAN = 411, /* BOOLEAN */ + SQL_TRANSACTION = 412, /* TRANSACTION */ + SQL_BEGIN = 413, /* BEGIN */ + SQL_COMMIT = 414, /* COMMIT */ + SQL_ROLLBACK = 415, /* ROLLBACK */ + SQL_NOWAIT = 416, /* NOWAIT */ + SQL_SKIP = 417, /* SKIP */ + SQL_LOCKED = 418, /* LOCKED */ + SQL_SHARE = 419, /* SHARE */ + SQL_RANGE = 420, /* RANGE */ + SQL_ROWS = 421, /* ROWS */ + SQL_GROUPS = 422, /* GROUPS */ + SQL_UNBOUNDED = 423, /* UNBOUNDED */ + SQL_FOLLOWING = 424, /* FOLLOWING */ + SQL_PRECEDING = 425, /* PRECEDING */ + SQL_CURRENT_ROW = 426, /* CURRENT_ROW */ + SQL_EQUALS = 427, /* EQUALS */ + SQL_NOTEQUALS = 428, /* NOTEQUALS */ + SQL_LESS = 429, /* LESS */ + SQL_GREATER = 430, /* GREATER */ + SQL_LESSEQ = 431, /* LESSEQ */ + SQL_GREATEREQ = 432, /* GREATEREQ */ + SQL_NOTNULL = 433, /* NOTNULL */ + SQL_UMINUS = 434, /* UMINUS */ + SQL_SUBQUERY_AS_EXPR = 435 /* SUBQUERY_AS_EXPR */ +}; +typedef enum hsql_tokentype hsql_token_kind_t; #endif /* Value type. */ -#if ! defined HSQL_STYPE && ! defined HSQL_STYPE_IS_DECLARED -union HSQL_STYPE -{ -#line 97 "bison_parser.y" +#if !defined HSQL_STYPE && !defined HSQL_STYPE_IS_DECLARED +union HSQL_STYPE { +#line 99 "bison_parser.y" // clang-format on bool bval; @@ -344,7 +343,7 @@ union HSQL_STYPE // clang-format off -#line 348 "bison_parser.h" +#line 349 "bison_parser.h" }; typedef union HSQL_STYPE HSQL_STYPE; diff --git a/src/parser/bison_parser.y b/src/parser/bison_parser.y index ce22351a..88df26b2 100644 --- a/src/parser/bison_parser.y +++ b/src/parser/bison_parser.y @@ -63,6 +63,8 @@ // %output "bison_parser.cpp" // %defines "bison_parser.h" +%expect 0 + // Tell bison to create a reentrant parser %define api.pure full @@ -232,7 +234,8 @@ %type execute_statement %type transaction_statement %type prepare_statement -%type select_statement select_with_paren select_no_paren select_clause select_within_set_operation select_within_set_operation_no_parentheses +%type query_expression query_expression_body query_expression_parens query_term + query_primary select_statement subquery %type import_statement %type export_statement %type create_statement @@ -290,7 +293,7 @@ %type expr_list select_list opt_extended_literal_list extended_literal_list hint_list opt_hints opt_partition %type table_ref_commalist %type opt_order order_list -%type opt_with_clause with_clause with_description_list +%type with_clause with_description_list %type update_clause_commalist %type table_elem_commalist %type opt_locking_clause_list opt_locking_clause @@ -316,6 +319,7 @@ /* Unary Operators */ %right UMINUS %left '[' ']' +%left SUBQUERY_AS_EXPR %left '(' ')' %left '.' %left JOIN @@ -478,9 +482,7 @@ file_type : IDENTIFIER { free($1); }; -file_path : STRING { - $$ = $1; -}; +file_path : STRING { $$ = $1; }; opt_import_export_options : WITH '(' import_export_options ')' { $$ = $3; } | '(' import_export_options ')' { $$ = $2; } @@ -530,7 +532,7 @@ export_statement : COPY table_name TO file_path opt_import_export_options { } delete $5; } -| COPY select_with_paren TO file_path opt_import_export_options { +| COPY subquery TO file_path opt_import_export_options { $$ = new ExportStatement($5->format); $$->filePath = $4; $$->select = $2; @@ -763,7 +765,7 @@ insert_statement : INSERT INTO table_name opt_column_list VALUES '(' extended_li $$->columns = $4; $$->values = $7; } -| INSERT INTO table_name opt_column_list select_no_paren { +| INSERT INTO table_name opt_column_list query_term { $$ = new InsertStatement(kInsertSelect); $$->schema = $3.schema; $$->tableName = $3.name; @@ -804,69 +806,109 @@ update_clause : IDENTIFIER '=' expr { /****************************** * Select Statement ******************************/ +select_statement : query_expression | query_expression_parens; -select_statement : opt_with_clause select_with_paren { - $$ = $2; - $$->withDescriptions = $1; -} -| opt_with_clause select_no_paren { - $$ = $2; - $$->withDescriptions = $1; -} -| opt_with_clause select_with_paren set_operator select_within_set_operation opt_order opt_limit { - $$ = $2; - if ($$->setOperations == nullptr) { - $$->setOperations = new std::vector(); - } - $$->setOperations->push_back($3); - $$->setOperations->back()->nestedSelectStatement = $4; - $$->setOperations->back()->resultOrder = $5; - $$->setOperations->back()->resultLimit = $6; - $$->withDescriptions = $1; -}; +query_expression : query_expression_body opt_order opt_limit opt_locking_clause { + if ($1->setOperations == nullptr) { + $1->order = $2; -select_within_set_operation : select_with_paren | select_within_set_operation_no_parentheses; + // Limit could have been set by TOP. + if ($3 != nullptr) { + delete $1->limit; + $1->limit = $3; + } + + if ($4 != nullptr) { + $1->lockings = $4; + } + } else { + $1->setOperations->back()->resultOrder = $2; + $1->setOperations->back()->resultLimit = $3; + } -select_within_set_operation_no_parentheses : select_clause { $$ = $1; } -| select_clause set_operator select_within_set_operation { $$ = $1; - if ($$->setOperations == nullptr) { - $$->setOperations = new std::vector(); +} +| with_clause query_expression_body opt_order opt_limit opt_locking_clause { + $2->withDescriptions = $1; + if ($2->setOperations == nullptr) { + $2->order = $3; + + // Limit could have been set by TOP. + if ($4 != nullptr) { + delete $2->limit; + $2->limit = $4; + } + + if ($5 != nullptr) { + $2->lockings = $5; + } + } else { + $2->setOperations->back()->resultOrder = $3; + $2->setOperations->back()->resultLimit = $4; } - $$->setOperations->push_back($2); - $$->setOperations->back()->nestedSelectStatement = $3; -}; -select_with_paren : '(' select_no_paren ')' { $$ = $2; } -| '(' select_with_paren ')' { $$ = $2; }; + $$ = $2; +} -select_no_paren : select_clause opt_order opt_limit opt_locking_clause { +/* + * The SQL standard defines this rule as left-recursive, however, the parser + * tree structure is right-recursive. To overcome this impedance mismatch, we + * have to build the parse tree top-down, by running down the tree to the + * deepest node and adding the set operation there. + */ +query_expression_body : query_term | query_expression_body set_operator query_term { $$ = $1; - $$->order = $2; + auto* setOperations = &$1->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; + } + $2->nestedSelectStatement = $3; + *setOperations = new std::vector({$2}); - // Limit could have been set by TOP. - if ($3) { - delete $$->limit; - $$->limit = $3; + $$ = $1; +} +| query_expression_parens set_operator query_term { + $$ = $1; + auto* setOperations = &$1->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; } + $2->nestedSelectStatement = $3; + *setOperations = new std::vector({$2}); - if ($4) { - $$->lockings = $4; + $$ = $1; +} +| query_expression_body set_operator query_expression_parens { + $$ = $1; + auto* setOperations = &$1->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; } + $2->nestedSelectStatement = $3; + *setOperations = new std::vector({$2}); + + $$ = $1; } -| select_clause set_operator select_within_set_operation opt_order opt_limit opt_locking_clause { +| query_expression_parens set_operator query_expression_parens { $$ = $1; - if ($$->setOperations == nullptr) { - $$->setOperations = new std::vector(); + auto* setOperations = &$1->setOperations; + while (*setOperations != nullptr) { + setOperations = &(*setOperations)->back()->nestedSelectStatement->setOperations; } - $$->setOperations->push_back($2); - $$->setOperations->back()->nestedSelectStatement = $3; - $$->setOperations->back()->resultOrder = $4; - $$->setOperations->back()->resultLimit = $5; - $$->lockings = $6; + $2->nestedSelectStatement = $3; + *setOperations = new std::vector({$2}); + + $$ = $1; }; -set_operator : set_type opt_all { +query_expression_parens : '(' query_expression_parens ')' { $$ = $2; } +| '(' query_expression ')' { $$ = $2; }; + +query_term : query_primary; + +subquery : query_expression_parens %prec SUBQUERY_AS_EXPR + + set_operator : set_type opt_all { $$ = $1; $$->isAll = $2; }; @@ -887,7 +929,7 @@ set_type : UNION { opt_all : ALL { $$ = true; } | /* empty */ { $$ = false; }; -select_clause : SELECT opt_top opt_distinct select_list opt_from_clause opt_where opt_group { +query_primary : SELECT opt_top opt_distinct select_list opt_from_clause opt_where opt_group { $$ = new SelectStatement(); $$->limit = $2; $$->selectDistinct = $3; @@ -1003,8 +1045,8 @@ expr : operand | between_expr | logic_expr | exists_expr | in_expr; operand : '(' expr ')' { $$ = $2; } | array_index | scalar_expr | unary_expr | binary_expr | case_expr | function_expr | extract_expr | cast_expr | - array_expr | '(' select_no_paren ')' { - $$ = Expr::makeSelect($2); + array_expr | subquery { + $$ = Expr::makeSelect($1); }; scalar_expr : column_name | literal; @@ -1031,8 +1073,8 @@ logic_expr : expr AND expr { $$ = Expr::makeOpBinary($1, kOpAnd, $3); } in_expr : operand IN '(' expr_list ')' { $$ = Expr::makeInOperator($1, $4); } | operand NOT IN '(' expr_list ')' { $$ = Expr::makeOpUnary(kOpNot, Expr::makeInOperator($1, $5)); } -| operand IN '(' select_no_paren ')' { $$ = Expr::makeInOperator($1, $4); } -| operand NOT IN '(' select_no_paren ')' { $$ = Expr::makeOpUnary(kOpNot, Expr::makeInOperator($1, $5)); }; +| operand IN '(' query_primary ')' { $$ = Expr::makeInOperator($1, $4); } +| operand NOT IN '(' query_primary ')' { $$ = Expr::makeOpUnary(kOpNot, Expr::makeInOperator($1, $5)); }; // CASE grammar based on: flex & bison by John Levine // https://www.safaribooksonline.com/library/view/flex-bison/9780596805418/ch04.html#id352665 @@ -1044,8 +1086,8 @@ case_expr : CASE expr case_list END { $$ = Expr::makeCase($2, $3, nullptr); } case_list : WHEN expr THEN expr { $$ = Expr::makeCaseList(Expr::makeCaseListElement($2, $4)); } | case_list WHEN expr THEN expr { $$ = Expr::caseListAppend($1, Expr::makeCaseListElement($3, $5)); }; -exists_expr : EXISTS '(' select_no_paren ')' { $$ = Expr::makeExists($3); } -| NOT EXISTS '(' select_no_paren ')' { $$ = Expr::makeOpUnary(kOpNot, Expr::makeExists($4)); }; +exists_expr : EXISTS '(' query_primary ')' { $$ = Expr::makeExists($3); } +| NOT EXISTS '(' query_primary ')' { $$ = Expr::makeOpUnary(kOpNot, Expr::makeExists($4)); }; comp_expr : operand '=' operand { $$ = Expr::makeOpBinary($1, kOpEquals, $3); } | operand EQUALS operand { $$ = Expr::makeOpBinary($1, kOpEquals, $3); } @@ -1298,8 +1340,6 @@ opt_row_lock_policy : SKIP LOCKED { $$ = RowLockWaitPolicy::SkipLocked; } * With Descriptions ******************************/ -opt_with_clause : with_clause | /* empty */ { $$ = nullptr; }; - with_clause : WITH with_description_list { $$ = $2; }; with_description_list : with_description { @@ -1311,7 +1351,13 @@ with_description_list : with_description { $$ = $1; }; -with_description : IDENTIFIER AS select_with_paren { +with_description : IDENTIFIER AS subquery { + if ($3->withDescriptions != nullptr) { + free($1); + delete $3; + yyerror(&yyloc, result, scanner, "Nested CTE is not allowed."); + YYERROR; + } $$ = new WithDescription(); $$->alias = $1; $$->select = $3; diff --git a/src/parser/flex_lexer.cpp b/src/parser/flex_lexer.cpp index f4052530..be8d910d 100644 --- a/src/parser/flex_lexer.cpp +++ b/src/parser/flex_lexer.cpp @@ -1,8 +1,8 @@ -#line 1 "flex_lexer.cpp" +#line 2 "flex_lexer.cpp" -#line 3 "flex_lexer.cpp" +#line 4 "flex_lexer.cpp" -#define YY_INT_ALIGNED short int +#define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ @@ -251,10 +251,10 @@ /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ -#include -#include #include +#include #include +#include /* end standard C headers. */ @@ -265,7 +265,7 @@ /* C99 systems have . Non-C99 systems may or may not. */ -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#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. @@ -285,41 +285,41 @@ typedef uint32_t flex_uint32_t; 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 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) +#define INT8_MIN (-128) #endif #ifndef INT16_MIN -#define INT16_MIN (-32767-1) +#define INT16_MIN (-32767 - 1) #endif #ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) +#define INT32_MIN (-2147483647 - 1) #endif #ifndef INT8_MAX -#define INT8_MAX (127) +#define INT8_MAX (127) #endif #ifndef INT16_MAX -#define INT16_MAX (32767) +#define INT16_MAX (32767) #endif #ifndef INT32_MAX -#define INT32_MAX (2147483647) +#define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX -#define UINT8_MAX (255U) +#define UINT8_MAX (255U) #endif #ifndef UINT16_MAX -#define UINT16_MAX (65535U) +#define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) +#define UINT32_MAX (4294967295U) #endif #ifndef SIZE_MAX -#define SIZE_MAX (~(size_t)0) +#define SIZE_MAX (~(size_t)0) #endif #endif /* ! C99 */ @@ -343,7 +343,7 @@ typedef unsigned int flex_uint32_t; /* 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)) +#define YY_SC_TO_UI(c) ((YY_CHAR)(c)) /* An opaque pointer. */ #ifndef YY_TYPEDEF_YY_SCANNER_T @@ -376,7 +376,7 @@ typedef void* yyscan_t; /* 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_NEW_FILE yyrestart(yyin, yyscanner) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ @@ -394,11 +394,11 @@ typedef void* yyscan_t; /* 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)) +#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; +typedef struct yy_buffer_state* YY_BUFFER_STATE; #endif #ifndef YY_TYPEDEF_YY_SIZE_T @@ -409,76 +409,73 @@ typedef size_t yy_size_t; #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) - + +#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 ) +#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; +struct yy_buffer_state { + FILE* yy_input_file; - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ + 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 + /* Size of input buffer in bytes, not including room for EOB * characters. */ - int yy_buf_size; + int yy_buf_size; - /* Number of characters read into yy_ch_buf, not including EOB + /* Number of characters read into yy_ch_buf, not including EOB * characters. */ - int yy_n_chars; + int yy_n_chars; - /* Whether we "own" the buffer - i.e., we know we created it, + /* 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; + int yy_is_our_buffer; - /* Whether this is an "interactive" input source; if so, and + /* 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; + int yy_is_interactive; - /* Whether we're considered to be at the beginning of a line. + /* 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_at_bol; - int yy_bs_lineno; /**< The line count. */ - int yy_bs_column; /**< The column count. */ + 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 + /* Whether to try to fill the input buffer when we reach the * end of it. */ - int yy_fill_buffer; + int yy_fill_buffer; - int yy_buffer_status; + 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 + /* 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 @@ -489,8 +486,7 @@ struct yy_buffer_state * 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 @@ -499,59 +495,55 @@ struct yy_buffer_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) +#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 ); +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) +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 ); +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 ); +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_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 hsql_wrap(yyscanner) (/*CONSTCOND*/ 1) #define YY_SKIP_YYWRAP typedef flex_uint8_t YY_CHAR; @@ -559,2480 +551,1559 @@ 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 ); +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_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 187 #define YY_END_OF_BUFFER 188 /* 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[1344] = - { 0, - 0, 0, 184, 184, 2, 2, 188, 186, 4, 4, - 186, 186, 175, 182, 175, 175, 179, 175, 175, 175, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 175, 184, 185, 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, 170, 0, 1, 0, - 177, 176, 179, 172, 171, 169, 173, 181, 181, 181, - - 181, 181, 181, 12, 181, 181, 181, 19, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 72, 181, 181, 75, 84, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 102, 181, 181, - 107, 110, 111, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 147, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 174, 184, 183, 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, 2, - 2, 2, 2, 2, 2, 2, 180, 0, 176, 5, - 181, 7, 181, 181, 10, 181, 13, 181, 181, 181, - - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 34, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 49, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 60, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 79, 181, 181, 87, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 103, 181, 181, 181, 108, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 133, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 148, 181, - - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 0, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 20, 181, 22, 23, 24, 181, 181, 181, 29, 181, - 181, 181, 32, 35, 181, 181, 181, 181, 181, 41, - 181, 181, 181, 46, 47, 181, 181, 181, 181, 181, - 181, 181, 181, 57, 181, 181, 181, 62, 63, 181, - 181, 67, 181, 69, 70, 181, 181, 181, 181, 181, - - 181, 83, 181, 86, 88, 89, 181, 91, 181, 181, - 94, 181, 181, 181, 181, 181, 105, 181, 181, 181, - 181, 114, 181, 181, 117, 181, 181, 181, 181, 122, - 181, 181, 181, 181, 127, 181, 181, 181, 181, 135, - 136, 181, 181, 181, 181, 181, 143, 144, 145, 181, - 150, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 160, 181, 162, 181, 164, 165, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 0, 6, 8, 181, 11, 181, 15, 181, - - 181, 181, 181, 181, 181, 181, 181, 181, 31, 181, - 181, 181, 181, 181, 181, 40, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 56, 58, 181, - 181, 181, 65, 181, 71, 73, 181, 76, 77, 181, - 181, 181, 181, 90, 92, 181, 95, 96, 181, 99, - 181, 181, 181, 181, 112, 113, 181, 181, 181, 181, - 181, 121, 181, 181, 125, 181, 181, 181, 181, 134, - 181, 181, 181, 140, 181, 181, 181, 181, 181, 153, - 181, 181, 181, 157, 181, 181, 181, 163, 166, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 0, 181, 14, 181, - 17, 181, 181, 181, 25, 27, 181, 30, 181, 181, - - 181, 181, 181, 39, 181, 43, 181, 45, 181, 50, - 51, 181, 53, 181, 181, 181, 61, 64, 66, 68, - 74, 78, 181, 181, 181, 85, 93, 97, 100, 181, - 104, 181, 109, 181, 181, 181, 181, 181, 123, 181, - 181, 128, 130, 132, 181, 138, 181, 141, 181, 181, - 181, 181, 181, 154, 155, 156, 158, 181, 181, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 0, 9, 16, 18, 21, 181, 26, 28, - 181, 181, 181, 37, 38, 181, 181, 181, 52, 54, - 55, 181, 80, 181, 181, 98, 101, 181, 181, 181, - 181, 119, 120, 181, 181, 129, 131, 181, 139, 181, - 181, 181, 181, 181, 159, 161, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 0, 181, 0, 33, 181, 42, 44, 48, 181, 181, - 82, 106, 181, 181, 181, 124, 126, 137, 181, 181, - 181, 151, 181, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 0, 181, 0, 181, - 59, 81, 181, 116, 118, 142, 146, 181, 152, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 0, 0, 0, 36, 115, 181, 2, 2, - - 2, 2, 2, 2, 0, 0, 167, 149, 2, 2, - 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, - 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, - 2, 2, 0, 168, 2, 2, 0, 2, 0, 2, - 178, 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, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 6, 6, 20, - 21, 22, 6, 1, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, - 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 6, 1, 6, 6, 49, 1, 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, 6, 76, 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[77] = - { 0, - 1, 1, 2, 1, 3, 1, 4, 1, 1, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 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[1351] = - { 0, - 0, 0, 852, 842, 76, 0, 842, 8757, 151, 153, - 786, 0, 8757, 8757, 149, 148, 160, 159, 777, 775, - 156, 156, 165, 210, 202, 255, 151, 163, 265, 152, - 171, 215, 218, 244, 295, 257, 0, 309, 349, 392, - 163, 279, 226, 180, 676, 0, 741, 0, 237, 251, - 696, 702, 0, 0, 243, 378, 451, 237, 682, 680, - 470, 546, 600, 652, 700, 752, 384, 458, 795, 466, - 532, 533, 534, 846, 895, 944, 547, 602, 990, 1042, - 307, 650, 587, 651, 596, 301, 8757, 666, 8757, 636, - 1107, 1117, 1128, 8757, 8757, 8757, 8757, 0, 218, 243, - - 300, 328, 250, 305, 379, 315, 319, 0, 376, 354, - 694, 389, 345, 440, 710, 387, 388, 436, 439, 476, - 463, 763, 460, 465, 480, 542, 481, 501, 521, 535, - 591, 539, 546, 0, 584, 581, 627, 592, 607, 637, - 657, 658, 717, 646, 658, 686, 681, 734, 705, 720, - 717, 0, 751, 739, 757, 745, 764, 766, 755, 802, - 770, 799, 770, 812, 811, 804, 816, 800, 822, 823, - 842, 824, 818, 817, 856, 861, 858, 856, 860, 880, - 870, 859, 879, 8757, 0, 8757, 0, 396, 0, 631, - 0, 614, 1138, 1148, 1159, 0, 0, 0, 0, 906, - - 942, 955, 1015, 1156, 1034, 1155, 1202, 1152, 1040, 1195, - 1199, 1232, 1272, 1257, 1272, 1301, 1353, 1350, 1361, 1388, - 1402, 1451, 1420, 1500, 1423, 1472, 1499, 1515, 1540, 1534, - 1554, 1559, 1575, 1569, 1588, 1611, 1613, 1628, 1677, 1644, - 1667, 1679, 1720, 1768, 1820, 1718, 1746, 1812, 1821, 1861, - 1864, 1885, 1908, 1877, 1921, 1944, 1746, 1956, 1988, 1786, - 1963, 1993, 2019, 2023, 2037, 2086, 2076, 2077, 2106, 2121, - 2140, 2145, 2166, 2179, 2205, 2217, 1699, 2268, 2204, 2219, - 2260, 2277, 2303, 2312, 2325, 0, 8757, 601, 2390, 0, - 882, 0, 903, 910, 0, 925, 0, 912, 925, 916, - - 932, 938, 943, 1158, 945, 948, 968, 965, 979, 1008, - 991, 993, 1008, 995, 1005, 1050, 1062, 1210, 1061, 1157, - 1145, 1170, 1196, 1220, 1213, 0, 1231, 1229, 1262, 1248, - 1256, 1256, 1256, 1271, 1279, 1286, 1287, 1292, 1307, 1318, - 1301, 1320, 1321, 1311, 1316, 1325, 1324, 1339, 1346, 1347, - 1383, 1339, 1370, 0, 1370, 1401, 1409, 1415, 1457, 1415, - 1422, 1430, 1432, 1439, 0, 1466, 1460, 1455, 1461, 1478, - 1496, 1499, 1612, 1526, 1663, 1537, 1564, 1566, 1603, 1599, - 1634, 1635, 1629, 1646, 1671, 1707, 0, 1704, 1717, 1732, - 1764, 1760, 1766, 1777, 1774, 1782, 1801, 1814, 0, 1811, - - 1916, 1812, 1875, 1815, 1836, 1829, 1826, 1852, 1856, 1919, - 1928, 1935, 1933, 0, 600, 2400, 2393, 2394, 2395, 2396, - 2319, 2430, 2438, 2439, 2450, 2478, 2486, 2491, 2493, 2507, - 2556, 2532, 2557, 2570, 2606, 2582, 2618, 2616, 2647, 2659, - 2661, 2675, 2700, 2718, 2715, 2750, 2759, 2768, 2794, 2809, - 2807, 2812, 2848, 2857, 2862, 2892, 2864, 2867, 2907, 2918, - 2918, 2940, 2959, 2967, 2975, 3005, 3018, 3019, 3054, 3066, - 3067, 3079, 3101, 3120, 3123, 3125, 3149, 3161, 3173, 3188, - 3192, 3216, 3217, 3236, 3261, 3313, 3239, 3275, 3310, 3274, - 3335, 3338, 3363, 3370, 3384, 3398, 3409, 3423, 3438, 3490, - - 3438, 3540, 3473, 3516, 3457, 3568, 3527, 3576, 3589, 3612, - 3624, 3629, 3632, 3637, 3673, 3678, 3681, 3680, 3688, 3724, - 3728, 3737, 3770, 3773, 3790, 3793, 3819, 3822, 3842, 3847, - 3844, 3892, 3863, 3891, 3919, 3933, 3947, 3963, 3977, 4001, - 582, 1935, 1961, 1959, 1971, 1982, 2011, 2023, 2022, 2036, - 0, 2047, 0, 0, 2056, 2053, 2058, 2069, 0, 2070, - 2076, 2091, 2077, 0, 2123, 2127, 2123, 2136, 2158, 2146, - 2166, 2166, 2177, 0, 0, 2194, 2184, 2207, 2217, 2219, - 2247, 2253, 2253, 0, 2242, 2248, 2263, 0, 0, 2266, - 2260, 0, 2273, 0, 2269, 2291, 2280, 2300, 2318, 2323, - - 2454, 0, 2330, 0, 0, 0, 2326, 0, 2335, 2344, - 0, 2401, 2394, 2399, 2398, 2458, 0, 2467, 2493, 2490, - 2495, 0, 2502, 2515, 0, 2524, 2562, 2566, 2564, 0, - 2560, 2599, 2600, 2623, 0, 2616, 2622, 2642, 2644, 0, - 0, 2639, 2664, 2668, 2674, 2666, 0, 0, 2664, 2671, - 0, 2715, 2701, 2715, 2710, 2733, 2719, 2737, 2758, 2770, - 0, 2758, 0, 2776, 0, 2794, 544, 4012, 4015, 4040, - 4059, 4062, 4069, 4064, 4105, 4113, 4116, 4125, 4154, 4155, - 4173, 4195, 4207, 4208, 4209, 4237, 4244, 4261, 4262, 4287, - 4287, 4303, 4334, 4345, 4369, 4387, 4395, 4412, 4428, 4431, - - 4437, 4461, 4475, 4489, 4503, 4517, 4533, 4559, 4550, 4576, - 4584, 4598, 4610, 4612, 4624, 4642, 4656, 4654, 4661, 4691, - 4697, 4708, 4709, 4743, 4751, 4754, 4799, 4795, 4796, 4837, - 4840, 4841, 4881, 4884, 4885, 4924, 4929, 4932, 4931, 4934, - 4974, 4974, 4982, 5018, 5026, 5027, 5056, 5068, 5071, 5080, - 5109, 5110, 5128, 5154, 5162, 5163, 5176, 5202, 5204, 5228, - 5216, 5250, 5255, 5259, 5272, 5294, 5302, 5301, 5307, 5326, - 5348, 5351, 5356, 5370, 5358, 5377, 5401, 5407, 5415, 5431, - 5450, 5464, 5461, 5492, 5504, 5509, 5543, 5544, 5545, 5557, - 5558, 5589, 543, 0, 0, 2802, 0, 2824, 0, 2828, - - 2818, 2841, 2843, 2872, 2897, 2892, 2905, 2924, 0, 2921, - 2927, 2925, 2965, 2962, 2970, 0, 2968, 2964, 2971, 2990, - 2987, 3004, 3005, 3007, 3009, 3025, 3047, 0, 0, 3030, - 3043, 3062, 3067, 3089, 0, 0, 3097, 0, 0, 3100, - 3117, 3141, 3129, 0, 0, 3138, 0, 0, 3141, 3164, - 3191, 3176, 3212, 3230, 0, 0, 3253, 3240, 3270, 3278, - 3284, 0, 3300, 3303, 0, 3329, 3333, 3344, 3334, 0, - 3350, 3362, 3372, 3360, 3374, 3384, 3412, 3426, 3419, 0, - 3441, 3462, 3462, 0, 3463, 3499, 3501, 0, 0, 536, - 5592, 5593, 5633, 5634, 5645, 5646, 5684, 5685, 5703, 5698, - - 5738, 5730, 5753, 5770, 5773, 5778, 5772, 5792, 5822, 5831, - 5829, 5830, 5856, 5880, 5881, 5885, 5905, 5910, 5929, 5944, - 5958, 5931, 5970, 5984, 5983, 5992, 6018, 6033, 6033, 6037, - 6075, 6078, 6079, 6119, 6122, 6123, 6163, 6171, 6176, 6187, - 6217, 6218, 6231, 6259, 6262, 6270, 6275, 6306, 6317, 6330, - 6358, 6361, 6372, 6378, 6412, 6420, 6448, 6456, 6470, 6482, - 6494, 6506, 6524, 6536, 6550, 6564, 6538, 6562, 6603, 6594, - 6601, 6619, 6637, 6661, 6667, 6680, 6691, 6718, 6720, 6744, - 6752, 6754, 6773, 6797, 6794, 6803, 526, 3499, 0, 3492, - 0, 3493, 3506, 3497, 3502, 0, 3524, 0, 3525, 3536, - - 3555, 3559, 3555, 0, 3575, 0, 3586, 0, 3579, 0, - 0, 3589, 0, 3591, 3598, 3614, 0, 0, 0, 0, - 0, 0, 3625, 3643, 3694, 0, 0, 3713, 0, 3725, - 0, 3740, 0, 3725, 3737, 3741, 3749, 3741, 0, 3783, - 3793, 3782, 3784, 0, 3796, 0, 3827, 0, 3843, 3880, - 3889, 3878, 3896, 0, 0, 0, 0, 3895, 3909, 525, - 6832, 6841, 6839, 6848, 6857, 6850, 6886, 6893, 6901, 6902, - 6937, 6943, 6946, 6988, 6984, 6997, 7028, 7039, 7042, 7070, - 7083, 7084, 7114, 7125, 7127, 7136, 7161, 7170, 7172, 7190, - 7214, 7222, 7236, 7244, 7258, 7266, 7280, 7292, 7294, 7316, - - 7179, 7321, 7335, 7351, 7365, 7359, 7389, 7409, 7412, 7414, - 7417, 7453, 7462, 7471, 7469, 7497, 7505, 7513, 7516, 7546, - 7549, 7565, 7593, 7596, 7626, 7629, 7637, 7640, 7670, 7673, - 7681, 7684, 529, 0, 0, 0, 0, 3918, 0, 0, - 436, 3921, 3934, 0, 0, 3931, 3921, 3939, 0, 0, - 0, 3937, 0, 3973, 3968, 0, 0, 3972, 3990, 3990, - 3996, 0, 0, 3991, 4010, 0, 0, 4015, 0, 4025, - 4046, 4055, 4073, 4080, 0, 0, 527, 7717, 7725, 7726, - 7761, 7769, 7774, 7783, 7815, 7813, 7828, 7827, 7853, 7866, - 7867, 7879, 7891, 7892, 7917, 7926, 7927, 7967, 7968, 7971, - - 8009, 8012, 8020, 8029, 8054, 8055, 8063, 8096, 8107, 8110, - 8138, 8151, 8154, 8162, 8197, 8200, 8217, 8220, 8225, 8249, - 526, 4091, 4203, 0, 4107, 0, 0, 0, 4128, 4119, - 0, 0, 4154, 4161, 4169, 0, 0, 0, 4167, 4195, - 4219, 0, 4250, 524, 8261, 4327, 8273, 8275, 8287, 8299, - 8311, 8323, 8341, 8349, 8367, 8389, 8394, 8398, 8424, 8438, - 8442, 8467, 8481, 8486, 8489, 8511, 514, 438, 4249, 4273, - 0, 0, 4291, 0, 0, 0, 0, 4305, 0, 506, - 8549, 4309, 8530, 8535, 8564, 8537, 8556, 8580, 8591, 8599, - 8619, 8624, 470, 4354, 4302, 0, 0, 4322, 468, 4380, - - 4317, 8638, 8643, 8645, 465, 4340, 8757, 0, 418, 4349, - 0, 8653, 418, 4344, 390, 4377, 388, 4379, 386, 4387, - 347, 4421, 343, 4426, 338, 4445, 335, 4449, 334, 4459, - 332, 4461, 303, 8757, 293, 0, 299, 286, 248, 243, - 8757, 0, 8757, 8726, 8731, 201, 8736, 8741, 8746, 8751 - } ; - -static const flex_int16_t yy_def[1351] = - { 0, - 1343, 1, 1344, 1344, 1343, 5, 1343, 1343, 1343, 1343, - 1343, 1345, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1343, 1347, 1343, 1348, 1348, 1343, - 1348, 1349, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, - 1350, 1350, 62, 62, 62, 63, 65, 62, 65, 62, - 62, 62, 62, 63, 63, 63, 62, 62, 62, 62, - 65, 62, 62, 62, 1348, 1343, 1343, 1345, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1346, 1346, 1346, - - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1343, 1347, 1343, 1348, 1348, 1348, 1349, - 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 62, - - 62, 62, 65, 65, 65, 65, 65, 65, 62, 62, - 65, 65, 65, 62, 62, 62, 65, 65, 65, 62, - 65, 65, 65, 62, 65, 65, 62, 65, 62, 65, - 62, 62, 65, 65, 65, 65, 62, 62, 65, 65, - 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 62, 62, 62, 62, - 65, 65, 65, 65, 65, 65, 62, 62, 62, 62, - 62, 62, 65, 62, 62, 62, 63, 62, 62, 62, - 65, 62, 62, 62, 62, 1348, 1343, 1343, 1343, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1348, 1348, 1348, 62, 62, 62, 62, - 65, 65, 65, 65, 62, 62, 62, 62, 65, 65, - 62, 62, 62, 62, 62, 62, 62, 65, 65, 62, - 65, 65, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 65, 65, 65, 65, - 62, 62, 65, 65, 65, 65, 65, 65, 65, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 65, - 65, 65, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 65, 65, 65, 62, 62, 62, 62, - - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 62, 62, 62, 62, 62, 62, 62, 65, 65, 65, - 65, 65, 65, 65, 62, 62, 65, 65, 62, 62, - 62, 62, 65, 65, 65, 65, 65, 65, 65, 65, - 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1348, 65, 65, 62, - 62, 62, 65, 62, 65, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 65, 62, 62, 62, - 65, 65, 65, 65, 65, 65, 65, 62, 65, 65, - - 65, 65, 65, 65, 65, 65, 65, 65, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 65, 65, - 65, 62, 62, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 62, 62, 62, 65, 65, - 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 65, 65, 62, 62, 62, 65, 62, 62, - 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 62, 62, 62, 62, 62, 62, - 62, 65, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, - 65, 65, 65, 65, 62, 62, 62, 62, 62, 62, - - 62, 65, 65, 62, 62, 62, 65, 62, 62, 62, - 65, 62, 62, 62, 62, 65, 62, 62, 62, 62, - 62, 65, 62, 62, 62, 62, 62, 62, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 62, 65, 65, - 65, 65, 65, 65, 65, 62, 65, 65, 65, 65, - 65, 65, 65, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 65, 65, 65, 65, 65, 65, 65, 62, 62, 62, - 62, 65, 65, 65, 65, 65, 1343, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, - 62, 62, 65, 65, 65, 62, 62, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 62, 62, 65, 65, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - - 65, 65, 65, 65, 65, 65, 65, 62, 62, 62, - 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1348, 65, 65, 65, - 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 65, 65, 65, 65, 65, - - 65, 65, 62, 62, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 62, 62, 62, 62, - 1343, 1346, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, - 1346, 1346, 1346, 1348, 62, 1348, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 65, 65, 65, 65, - 65, 62, 62, 62, 62, 62, 1343, 1346, 1343, 1346, - 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, - 62, 1348, 62, 62, 62, 65, 65, 65, 65, 65, - 62, 62, 1343, 1343, 1343, 1346, 1346, 1346, 1348, 1348, - - 1348, 62, 62, 65, 1343, 1343, 1343, 1346, 1348, 1348, - 1348, 65, 1343, 1343, 1348, 1348, 1343, 1343, 1348, 1348, - 1343, 1343, 1348, 1348, 1343, 1343, 1348, 1348, 1343, 1343, - 1348, 1348, 1343, 1343, 1348, 1348, 1343, 1348, 1343, 1348, - 1343, 1348, 0, 1343, 1343, 1343, 1343, 1343, 1343, 1343 - } ; - -static const flex_int16_t yy_nxt[8834] = - { 0, - 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 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, 57, 57, 57, 57, - 57, 57, 57, 57, 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, 91, 91, 91, - 91, 91, 91, 91, 91, 91, 91, 90, 92, 93, - 93, 93, 93, 93, 93, 93, 93, 93, 93, 94, - 95, 99, 105, 100, 129, 131, 106, 109, 139, 101, - 130, 102, 107, 132, 110, 103, 104, 140, 176, 133, - - 177, 111, 108, 178, 112, 98, 183, 113, 99, 105, - 100, 129, 131, 106, 109, 139, 101, 130, 102, 107, - 132, 110, 103, 104, 140, 176, 133, 177, 111, 108, - 178, 112, 114, 183, 113, 119, 115, 120, 188, 86, - 116, 141, 121, 290, 144, 142, 117, 122, 145, 118, - 191, 143, 86, 86, 146, 181, 182, 196, 197, 114, - 1342, 192, 119, 115, 120, 1341, 147, 116, 141, 121, - 290, 144, 142, 117, 122, 145, 118, 123, 143, 156, - 148, 146, 181, 182, 291, 124, 149, 150, 125, 296, - 157, 126, 134, 147, 127, 1340, 158, 128, 135, 136, - - 137, 179, 86, 86, 123, 138, 156, 148, 1339, 180, - 1338, 291, 124, 149, 150, 125, 296, 157, 126, 134, - 1337, 127, 151, 158, 128, 135, 136, 137, 179, 297, - 152, 159, 138, 292, 153, 160, 180, 154, 155, 161, - 200, 293, 278, 301, 279, 162, 1335, 280, 1333, 151, - 294, 1331, 200, 295, 1329, 302, 297, 152, 159, 1327, - 292, 153, 160, 1325, 154, 155, 161, 200, 293, 278, - 301, 279, 162, 163, 280, 164, 305, 294, 165, 200, - 295, 166, 302, 167, 312, 168, 169, 193, 193, 193, - 193, 193, 193, 193, 193, 193, 193, 188, 86, 1323, - - 163, 1321, 164, 305, 1319, 165, 298, 299, 166, 303, - 167, 312, 168, 169, 170, 310, 304, 231, 171, 200, - 300, 172, 173, 232, 200, 311, 320, 321, 174, 200, - 322, 175, 1317, 298, 299, 1315, 303, 1223, 1223, 1294, - 1294, 170, 310, 304, 231, 171, 200, 300, 172, 173, - 232, 200, 311, 320, 321, 174, 200, 322, 175, 194, - 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, - 187, 187, 323, 187, 187, 187, 187, 187, 187, 324, - 233, 313, 1313, 1309, 200, 1305, 314, 327, 234, 187, - 187, 187, 200, 333, 235, 201, 200, 202, 334, 323, - - 325, 326, 241, 203, 200, 204, 324, 233, 313, 205, - 206, 200, 200, 314, 327, 234, 335, 338, 1299, 200, - 333, 235, 201, 200, 202, 334, 1293, 325, 326, 241, - 203, 200, 204, 1280, 339, 1267, 205, 206, 1244, 200, - 1221, 1177, 1133, 335, 338, 187, 187, 187, 1060, 187, - 187, 187, 187, 187, 187, 987, 890, 340, 242, 243, - 246, 339, 200, 244, 247, 187, 187, 187, 200, 245, - 248, 341, 207, 200, 344, 336, 208, 200, 200, 200, - 200, 337, 209, 200, 340, 242, 243, 246, 345, 200, - 244, 247, 210, 200, 793, 200, 245, 248, 341, 207, - - 200, 344, 336, 208, 200, 200, 200, 200, 337, 209, - 200, 667, 541, 200, 346, 345, 283, 284, 347, 210, - 200, 187, 211, 200, 261, 415, 200, 352, 262, 212, - 200, 342, 263, 200, 343, 414, 213, 353, 264, 214, - 200, 346, 215, 283, 284, 347, 200, 288, 200, 211, - 200, 261, 348, 200, 352, 262, 212, 200, 342, 263, - 200, 343, 349, 213, 353, 264, 214, 350, 351, 215, - 287, 286, 281, 200, 216, 200, 200, 285, 217, 348, - 282, 200, 218, 354, 355, 361, 200, 200, 219, 349, - 356, 220, 357, 362, 350, 351, 200, 200, 200, 281, - - 199, 216, 198, 200, 285, 217, 187, 282, 200, 218, - 354, 355, 361, 200, 200, 219, 189, 356, 220, 357, - 362, 363, 364, 200, 200, 200, 200, 306, 307, 308, - 200, 309, 315, 221, 316, 222, 200, 317, 367, 358, - 223, 359, 368, 318, 369, 224, 200, 186, 363, 364, - 319, 184, 360, 200, 306, 307, 308, 200, 309, 315, - 221, 316, 222, 200, 317, 367, 358, 223, 359, 368, - 318, 369, 224, 200, 225, 365, 370, 319, 366, 360, - 371, 200, 226, 372, 373, 227, 374, 328, 228, 329, - 377, 229, 375, 330, 230, 97, 376, 96, 381, 384, - - 331, 225, 365, 370, 332, 366, 87, 371, 200, 226, - 372, 373, 227, 374, 328, 228, 329, 377, 229, 375, - 330, 230, 236, 376, 378, 381, 384, 331, 237, 238, - 239, 332, 382, 388, 390, 240, 385, 379, 391, 392, - 200, 1343, 380, 383, 393, 386, 394, 389, 47, 236, - 397, 378, 398, 387, 399, 237, 238, 239, 47, 382, - 388, 390, 240, 385, 379, 391, 392, 200, 249, 380, - 383, 393, 386, 394, 389, 200, 395, 397, 400, 398, - 387, 399, 250, 405, 402, 200, 406, 396, 251, 252, - 1343, 403, 1343, 407, 404, 249, 411, 1343, 401, 408, - - 412, 413, 200, 395, 1343, 400, 409, 1343, 542, 250, - 405, 402, 200, 406, 396, 251, 252, 200, 403, 410, - 407, 404, 253, 411, 200, 401, 408, 412, 413, 543, - 254, 200, 200, 409, 255, 542, 200, 256, 257, 1343, - 1343, 1343, 200, 544, 200, 1343, 410, 545, 546, 253, - 1343, 200, 200, 1343, 1343, 547, 543, 254, 200, 200, - 548, 255, 549, 200, 256, 257, 258, 417, 200, 200, - 544, 550, 200, 200, 545, 546, 551, 259, 200, 200, - 200, 200, 547, 260, 555, 200, 200, 548, 200, 549, - 556, 200, 1343, 258, 417, 200, 418, 1343, 550, 200, - - 200, 200, 557, 551, 259, 200, 558, 200, 200, 1343, - 260, 555, 200, 200, 265, 200, 266, 556, 200, 267, - 200, 1343, 268, 418, 269, 559, 270, 271, 200, 557, - 560, 561, 562, 558, 563, 564, 200, 1343, 565, 1343, - 1343, 265, 1343, 266, 1343, 1343, 267, 200, 419, 268, - 200, 269, 559, 270, 271, 200, 420, 560, 561, 562, - 200, 563, 564, 200, 272, 565, 200, 200, 273, 200, - 200, 274, 275, 423, 200, 419, 429, 200, 276, 200, - 566, 277, 200, 420, 567, 570, 200, 200, 200, 1343, - 1343, 272, 1343, 200, 200, 273, 200, 200, 274, 275, - - 423, 200, 1343, 429, 1343, 276, 200, 566, 277, 1343, - 1343, 567, 570, 200, 1343, 200, 91, 91, 91, 91, - 91, 91, 91, 91, 91, 91, 289, 289, 289, 289, - 289, 289, 289, 289, 289, 289, 92, 93, 93, 93, - 93, 93, 93, 93, 93, 93, 93, 193, 193, 193, - 193, 193, 193, 193, 193, 193, 193, 416, 416, 416, - 416, 416, 416, 416, 416, 416, 416, 194, 195, 195, - 195, 195, 195, 195, 195, 195, 195, 195, 421, 424, - 428, 422, 552, 571, 553, 200, 572, 200, 200, 200, - 200, 200, 200, 573, 1343, 200, 200, 200, 1343, 554, - - 200, 200, 1343, 1343, 1343, 421, 424, 428, 422, 552, - 571, 553, 200, 572, 200, 200, 200, 200, 200, 200, - 573, 200, 200, 200, 200, 200, 554, 200, 200, 425, - 426, 200, 430, 574, 200, 200, 568, 200, 1343, 431, - 1343, 200, 200, 427, 200, 1343, 575, 200, 200, 576, - 1343, 569, 200, 577, 432, 578, 425, 426, 200, 430, - 574, 200, 200, 568, 200, 200, 431, 200, 200, 200, - 427, 200, 200, 575, 200, 1343, 576, 200, 569, 1343, - 577, 432, 578, 437, 1343, 1343, 579, 200, 580, 581, - 1343, 1343, 200, 438, 200, 582, 583, 584, 200, 200, - - 1343, 585, 200, 200, 200, 433, 434, 435, 200, 436, - 437, 439, 200, 579, 200, 580, 581, 200, 200, 586, - 438, 587, 582, 583, 584, 200, 588, 200, 585, 200, - 200, 200, 433, 434, 435, 200, 436, 200, 439, 200, - 589, 590, 440, 591, 200, 200, 586, 441, 587, 592, - 1343, 593, 594, 588, 200, 595, 1343, 596, 200, 1343, - 597, 1343, 1343, 1343, 200, 598, 1343, 589, 590, 440, - 591, 1343, 599, 600, 441, 442, 592, 443, 593, 594, - 444, 603, 595, 200, 596, 200, 445, 597, 200, 447, - 448, 1343, 598, 446, 200, 200, 200, 1343, 200, 599, - - 600, 200, 442, 449, 443, 604, 200, 444, 603, 601, - 200, 605, 200, 445, 200, 200, 447, 448, 200, 602, - 446, 200, 200, 200, 450, 200, 1343, 606, 200, 1343, - 449, 1343, 604, 200, 200, 200, 601, 200, 605, 607, - 608, 200, 451, 611, 454, 200, 602, 200, 1343, 1343, - 612, 450, 1343, 200, 606, 200, 460, 1343, 200, 1343, - 200, 200, 200, 200, 200, 200, 607, 608, 200, 451, - 611, 454, 613, 614, 200, 452, 453, 612, 1343, 609, - 200, 615, 200, 460, 200, 200, 200, 200, 616, 610, - 200, 200, 200, 617, 618, 200, 200, 1343, 1343, 613, - - 614, 619, 452, 453, 620, 461, 609, 200, 615, 1343, - 1343, 200, 200, 200, 1343, 616, 610, 200, 200, 1343, - 617, 618, 621, 200, 455, 200, 456, 1343, 619, 200, - 457, 620, 461, 1343, 200, 462, 200, 458, 622, 200, - 1343, 459, 1343, 1343, 200, 200, 200, 1343, 463, 621, - 200, 455, 200, 456, 464, 200, 200, 457, 1343, 1343, - 200, 625, 462, 200, 458, 622, 200, 466, 459, 200, - 200, 628, 200, 200, 200, 463, 465, 200, 1343, 200, - 200, 464, 200, 1343, 200, 200, 200, 200, 625, 200, - 467, 1343, 629, 200, 466, 468, 200, 200, 628, 630, - - 200, 200, 200, 465, 471, 200, 200, 200, 200, 200, - 200, 200, 200, 200, 200, 469, 200, 467, 470, 629, - 200, 200, 468, 200, 1343, 631, 630, 200, 200, 200, - 472, 471, 200, 200, 623, 200, 200, 200, 1343, 200, - 632, 200, 469, 473, 200, 470, 200, 200, 200, 200, - 200, 200, 631, 624, 200, 200, 200, 472, 200, 200, - 200, 623, 1343, 633, 200, 474, 200, 632, 634, 635, - 473, 200, 636, 200, 200, 1343, 200, 200, 200, 479, - 624, 200, 1343, 200, 200, 200, 200, 626, 1343, 200, - 633, 200, 474, 200, 1343, 634, 635, 480, 1343, 636, - - 627, 200, 475, 200, 200, 200, 479, 637, 1343, 200, - 200, 200, 476, 200, 626, 200, 200, 477, 478, 1343, - 200, 527, 200, 1343, 480, 481, 1343, 627, 200, 475, - 200, 1343, 200, 638, 637, 200, 200, 200, 200, 476, - 200, 528, 200, 639, 477, 478, 200, 482, 527, 200, - 200, 200, 481, 200, 1343, 200, 200, 488, 200, 1343, - 638, 640, 200, 200, 1343, 200, 200, 1343, 528, 641, - 639, 1343, 499, 200, 482, 1343, 200, 200, 200, 200, - 200, 489, 200, 200, 488, 200, 200, 1343, 640, 1343, - 200, 200, 200, 200, 200, 1343, 641, 642, 200, 499, - - 483, 643, 484, 200, 200, 1343, 200, 644, 489, 200, - 645, 646, 502, 200, 200, 1343, 503, 1343, 200, 200, - 1343, 200, 200, 647, 642, 200, 1343, 483, 643, 484, - 1343, 200, 200, 1343, 644, 1343, 648, 645, 646, 502, - 649, 200, 485, 503, 486, 200, 650, 490, 653, 200, - 647, 656, 200, 200, 200, 487, 200, 200, 657, 200, - 200, 200, 491, 648, 658, 200, 200, 649, 659, 485, - 1343, 486, 200, 650, 490, 653, 660, 1343, 656, 200, - 200, 200, 487, 200, 200, 657, 1343, 200, 200, 491, - 1343, 658, 200, 200, 200, 659, 200, 494, 1343, 200, - - 661, 200, 492, 660, 200, 493, 200, 495, 1343, 200, - 200, 654, 200, 655, 1343, 1343, 1343, 200, 200, 1343, - 200, 200, 200, 200, 494, 200, 200, 661, 200, 492, - 200, 200, 493, 200, 495, 496, 200, 200, 654, 200, - 655, 200, 651, 200, 200, 200, 497, 200, 200, 200, - 1343, 652, 200, 200, 200, 1343, 200, 200, 1343, 1343, - 662, 200, 496, 663, 665, 1343, 200, 664, 200, 651, - 200, 1343, 666, 497, 794, 200, 1343, 200, 652, 200, - 200, 200, 200, 200, 200, 498, 200, 662, 200, 200, - 663, 665, 200, 200, 664, 500, 200, 1343, 504, 666, - - 795, 794, 200, 200, 200, 796, 200, 1343, 200, 200, - 501, 200, 498, 200, 200, 505, 200, 797, 200, 200, - 1343, 798, 500, 200, 200, 504, 200, 795, 506, 200, - 200, 1343, 796, 507, 200, 200, 1343, 501, 200, 1343, - 1343, 200, 505, 1343, 797, 200, 799, 508, 798, 800, - 1343, 200, 200, 200, 200, 506, 509, 801, 200, 200, - 507, 200, 802, 200, 200, 200, 511, 510, 200, 803, - 200, 1343, 200, 799, 508, 1343, 800, 200, 804, 200, - 1343, 200, 200, 509, 801, 200, 200, 805, 806, 802, - 200, 200, 1343, 511, 510, 200, 803, 200, 515, 200, - - 1343, 1343, 200, 200, 200, 804, 200, 517, 807, 200, - 512, 808, 516, 200, 805, 806, 809, 810, 811, 513, - 1343, 200, 200, 200, 1343, 515, 200, 514, 518, 200, - 200, 200, 200, 200, 517, 807, 200, 512, 808, 516, - 200, 1343, 200, 809, 810, 811, 513, 200, 200, 200, - 200, 200, 200, 200, 514, 518, 812, 200, 200, 200, - 519, 813, 520, 200, 1343, 814, 200, 200, 521, 200, - 200, 200, 1343, 1343, 200, 200, 200, 815, 200, 200, - 816, 200, 1343, 812, 200, 817, 200, 519, 813, 520, - 818, 200, 814, 200, 200, 521, 819, 200, 200, 200, - - 522, 200, 200, 200, 815, 524, 200, 816, 200, 200, - 820, 523, 817, 200, 1343, 200, 1343, 818, 200, 821, - 1343, 822, 1343, 819, 1343, 200, 200, 522, 200, 532, - 200, 200, 524, 200, 200, 200, 200, 820, 523, 525, - 200, 200, 200, 200, 823, 200, 821, 200, 822, 533, - 200, 200, 200, 200, 526, 200, 532, 200, 200, 824, - 825, 200, 200, 200, 1343, 200, 525, 200, 200, 826, - 200, 823, 200, 1343, 200, 827, 533, 200, 200, 828, - 200, 526, 200, 829, 830, 831, 824, 825, 832, 1343, - 200, 529, 200, 534, 200, 200, 826, 833, 530, 535, - - 200, 531, 827, 536, 200, 200, 828, 200, 834, 835, - 829, 830, 831, 200, 200, 832, 537, 836, 529, 837, - 534, 200, 200, 200, 833, 530, 535, 200, 531, 538, - 536, 200, 200, 200, 200, 834, 835, 1343, 200, 200, - 200, 200, 200, 537, 836, 838, 837, 540, 200, 200, - 200, 200, 670, 539, 200, 200, 538, 839, 200, 200, - 200, 200, 840, 843, 200, 200, 200, 844, 845, 200, - 846, 200, 838, 1343, 540, 200, 200, 1343, 200, 670, - 539, 200, 200, 1343, 839, 200, 200, 1343, 200, 840, - 843, 200, 1343, 1343, 844, 845, 1343, 846, 200, 289, - - 289, 289, 289, 289, 289, 289, 289, 289, 289, 416, - 416, 416, 416, 416, 416, 416, 416, 416, 416, 200, - 668, 200, 669, 200, 200, 200, 200, 847, 850, 200, - 200, 200, 200, 1343, 848, 849, 1343, 851, 1343, 200, - 200, 200, 200, 1343, 1343, 1343, 200, 668, 200, 669, - 200, 200, 200, 200, 847, 850, 200, 200, 200, 200, - 671, 848, 849, 200, 851, 200, 200, 200, 200, 200, - 200, 200, 200, 200, 200, 200, 200, 1343, 200, 200, - 200, 1343, 841, 200, 200, 1343, 672, 671, 852, 1343, - 200, 853, 200, 842, 1343, 1343, 200, 200, 200, 200, - - 200, 200, 200, 200, 200, 200, 200, 200, 673, 841, - 200, 200, 200, 672, 200, 852, 200, 200, 853, 854, - 842, 675, 200, 200, 200, 1343, 676, 200, 200, 855, - 674, 200, 200, 200, 856, 673, 857, 200, 200, 200, - 677, 200, 200, 200, 200, 858, 854, 200, 675, 200, - 859, 200, 200, 676, 200, 200, 855, 674, 200, 200, - 200, 856, 200, 857, 200, 200, 1343, 677, 200, 200, - 1343, 681, 858, 1343, 200, 1343, 1343, 859, 200, 200, - 678, 1343, 679, 200, 860, 200, 200, 200, 861, 200, - 862, 1343, 200, 200, 863, 200, 200, 680, 681, 682, - - 200, 1343, 200, 200, 683, 200, 200, 678, 200, 679, - 200, 860, 200, 200, 200, 861, 200, 862, 200, 200, - 200, 863, 1343, 200, 680, 1343, 682, 200, 685, 200, - 200, 683, 200, 200, 1343, 200, 200, 1343, 864, 200, - 686, 865, 200, 200, 200, 200, 866, 684, 200, 200, - 867, 200, 200, 1343, 200, 685, 687, 868, 1343, 200, - 1343, 200, 1343, 200, 200, 864, 869, 686, 865, 200, - 870, 200, 871, 866, 684, 200, 200, 867, 200, 200, - 200, 200, 200, 687, 868, 689, 688, 200, 200, 200, - 872, 200, 200, 869, 200, 200, 200, 870, 873, 871, - - 874, 690, 875, 1343, 876, 200, 200, 200, 691, 200, - 200, 877, 689, 688, 200, 200, 200, 872, 1343, 200, - 200, 200, 200, 200, 1343, 873, 200, 874, 690, 875, - 692, 876, 200, 200, 1343, 691, 200, 200, 877, 878, - 693, 694, 200, 879, 200, 200, 200, 200, 200, 1343, - 880, 200, 881, 200, 200, 882, 695, 692, 1343, 1343, - 883, 200, 1343, 200, 200, 884, 878, 693, 694, 1343, - 879, 200, 200, 200, 696, 200, 200, 880, 200, 881, - 200, 200, 882, 695, 885, 697, 200, 883, 200, 200, - 1343, 200, 884, 1343, 200, 200, 200, 1343, 200, 886, - - 887, 696, 888, 200, 200, 200, 1343, 200, 1343, 698, - 1343, 885, 697, 200, 200, 1343, 200, 699, 1343, 1343, - 200, 200, 200, 200, 200, 200, 886, 887, 1343, 888, - 200, 200, 200, 701, 889, 200, 698, 200, 200, 200, - 200, 200, 200, 200, 699, 200, 700, 200, 702, 988, - 989, 200, 1343, 200, 990, 200, 1343, 200, 200, 991, - 701, 889, 200, 992, 200, 200, 200, 200, 993, 200, - 200, 1343, 200, 700, 200, 702, 988, 989, 200, 703, - 200, 990, 200, 200, 200, 200, 991, 200, 704, 1343, - 992, 1343, 200, 200, 200, 993, 994, 200, 200, 200, - - 707, 200, 200, 200, 706, 200, 703, 200, 200, 200, - 200, 200, 200, 1343, 200, 704, 705, 1343, 200, 200, - 200, 200, 200, 994, 200, 200, 200, 707, 200, 200, - 200, 706, 995, 996, 200, 200, 200, 1343, 200, 200, - 200, 997, 200, 705, 710, 200, 708, 200, 200, 200, - 998, 200, 200, 200, 200, 200, 999, 1000, 709, 995, - 996, 1001, 711, 200, 200, 200, 200, 200, 997, 200, - 200, 710, 1343, 708, 200, 200, 200, 998, 200, 200, - 200, 200, 1343, 999, 1000, 709, 200, 1002, 1001, 711, - 200, 200, 712, 200, 200, 1003, 1004, 200, 1005, 200, - - 200, 713, 200, 200, 200, 1006, 1007, 200, 200, 714, - 200, 1343, 200, 200, 1002, 200, 1008, 1009, 1343, 712, - 200, 200, 1003, 1004, 1343, 1005, 200, 200, 713, 200, - 1010, 200, 1006, 1007, 200, 200, 714, 200, 715, 200, - 200, 716, 200, 1008, 1009, 200, 1011, 200, 1012, 1013, - 200, 200, 200, 200, 200, 1014, 1343, 1010, 200, 200, - 1343, 717, 1343, 200, 200, 715, 1343, 200, 716, 1343, - 1343, 1015, 200, 1011, 1016, 1012, 1013, 200, 200, 200, - 200, 200, 1014, 718, 1017, 200, 200, 200, 717, 200, - 200, 200, 200, 200, 200, 1018, 719, 200, 1015, 200, - - 1343, 1016, 200, 200, 1343, 200, 1343, 1019, 720, 200, - 718, 1017, 200, 200, 200, 200, 200, 1020, 721, 200, - 200, 200, 1018, 719, 200, 200, 200, 200, 1343, 200, - 200, 200, 200, 722, 1019, 720, 200, 200, 1021, 200, - 200, 1022, 200, 1023, 1020, 721, 200, 200, 1343, 724, - 200, 725, 200, 200, 200, 200, 723, 1343, 200, 200, - 722, 200, 1026, 1027, 200, 1021, 200, 1028, 1022, 200, - 1023, 200, 1343, 200, 200, 726, 724, 200, 725, 200, - 200, 1024, 200, 723, 1025, 200, 200, 727, 200, 1026, - 1027, 200, 1343, 200, 1028, 200, 200, 728, 200, 200, - - 1343, 1343, 726, 200, 1029, 1343, 200, 200, 1024, 200, - 1343, 1025, 200, 1030, 727, 729, 1343, 1031, 200, 200, - 1343, 200, 200, 730, 728, 200, 200, 200, 200, 1343, - 200, 1029, 200, 200, 200, 1343, 200, 200, 1343, 1343, - 1030, 1032, 729, 732, 1031, 1343, 200, 200, 200, 200, - 730, 200, 200, 200, 200, 200, 200, 731, 1343, 200, - 200, 200, 200, 200, 200, 200, 733, 737, 1032, 200, - 732, 1033, 200, 1343, 200, 200, 200, 1343, 200, 1034, - 200, 1035, 200, 200, 731, 200, 734, 200, 200, 200, - 200, 200, 200, 733, 737, 1036, 200, 200, 1033, 200, - - 200, 200, 200, 738, 200, 200, 1034, 200, 1035, 200, - 200, 200, 200, 734, 200, 740, 1343, 1037, 200, 1343, - 200, 200, 1036, 1038, 200, 1343, 1039, 200, 200, 1343, - 738, 200, 200, 1040, 200, 735, 200, 200, 200, 200, - 200, 1343, 740, 200, 1037, 736, 200, 200, 200, 200, - 1038, 1041, 739, 1039, 1343, 1042, 200, 1343, 1343, 200, - 1040, 200, 735, 200, 200, 200, 200, 200, 200, 1043, - 200, 200, 736, 200, 200, 1044, 200, 741, 1041, 739, - 1045, 200, 1042, 200, 200, 742, 200, 1046, 200, 200, - 1343, 200, 200, 200, 1047, 200, 1043, 1343, 200, 200, - - 1048, 200, 1044, 743, 741, 200, 1343, 1045, 200, 200, - 200, 200, 742, 1049, 1046, 200, 200, 200, 1343, 200, - 200, 1047, 1343, 744, 200, 1050, 200, 1048, 1343, 200, - 743, 200, 200, 200, 1051, 746, 200, 200, 745, 200, - 1049, 1343, 200, 200, 200, 200, 200, 1343, 1052, 747, - 744, 200, 1050, 200, 1053, 200, 200, 1343, 200, 200, - 200, 1051, 746, 1343, 200, 745, 200, 1054, 200, 200, - 200, 200, 200, 751, 200, 1052, 747, 748, 200, 1343, - 200, 1053, 200, 200, 200, 1343, 200, 1055, 1056, 1343, - 756, 200, 200, 1343, 1054, 200, 200, 200, 200, 1343, - - 751, 200, 200, 1057, 748, 200, 200, 754, 200, 1343, - 200, 200, 749, 200, 1055, 1056, 200, 756, 200, 200, - 200, 1058, 1343, 1059, 200, 1134, 200, 1135, 1136, 200, - 1057, 750, 1137, 200, 754, 200, 200, 1343, 1138, 749, - 200, 1343, 1139, 200, 755, 200, 1343, 200, 1058, 200, - 1059, 200, 1134, 200, 1135, 1136, 200, 1140, 750, 1137, - 200, 200, 200, 200, 752, 1138, 1141, 200, 758, 1139, - 1142, 755, 200, 200, 1343, 200, 200, 753, 200, 1143, - 200, 1343, 1343, 200, 1140, 200, 1343, 200, 200, 200, - 757, 752, 1144, 1141, 200, 758, 1145, 1142, 1146, 200, - - 200, 200, 200, 200, 753, 759, 1143, 200, 200, 200, - 1147, 200, 200, 200, 1148, 1149, 200, 757, 1343, 1144, - 1343, 200, 760, 1145, 200, 1146, 1150, 1343, 200, 200, - 200, 1343, 759, 1343, 200, 200, 200, 1147, 200, 1151, - 200, 1148, 1149, 200, 1152, 200, 1343, 200, 200, 760, - 762, 200, 761, 1150, 200, 200, 200, 200, 764, 200, - 200, 200, 200, 200, 1153, 763, 1151, 200, 200, 1154, - 200, 1152, 200, 200, 200, 200, 1343, 762, 200, 761, - 1343, 200, 200, 200, 200, 764, 200, 200, 1343, 200, - 200, 1153, 763, 1343, 200, 200, 1154, 200, 1343, 200, - - 200, 1343, 200, 200, 200, 200, 1343, 200, 200, 200, - 200, 200, 765, 768, 200, 200, 1155, 200, 767, 200, - 200, 200, 766, 200, 200, 200, 200, 200, 200, 769, - 200, 200, 1343, 200, 200, 200, 200, 1343, 200, 765, - 768, 200, 200, 1155, 200, 767, 200, 200, 200, 766, - 200, 200, 200, 1156, 200, 200, 769, 200, 1157, 200, - 200, 771, 1158, 200, 200, 770, 1159, 1160, 200, 200, - 200, 1161, 200, 200, 772, 1162, 1343, 200, 1343, 1343, - 1156, 1343, 200, 1343, 200, 1157, 200, 1163, 771, 1158, - 200, 200, 770, 1159, 1160, 200, 200, 200, 1161, 200, - - 200, 772, 1162, 200, 200, 200, 200, 1164, 774, 200, - 200, 773, 1343, 200, 1163, 200, 775, 1165, 200, 200, - 200, 1343, 1166, 200, 1167, 1343, 200, 1343, 1343, 200, - 200, 1168, 200, 200, 1164, 774, 200, 200, 773, 200, - 200, 1343, 200, 775, 1165, 200, 200, 200, 777, 1166, - 200, 1167, 200, 200, 776, 200, 200, 778, 1168, 200, - 1169, 1343, 200, 200, 200, 1170, 200, 200, 200, 1343, - 200, 1343, 200, 200, 200, 777, 1343, 200, 779, 200, - 782, 776, 200, 780, 778, 781, 200, 1169, 200, 200, - 200, 200, 1170, 200, 200, 200, 200, 200, 784, 200, - - 200, 200, 1171, 200, 200, 779, 1343, 782, 200, 1343, - 780, 1343, 781, 1172, 783, 200, 1343, 200, 200, 1173, - 200, 1174, 200, 200, 200, 784, 200, 1343, 200, 1171, - 200, 200, 1343, 785, 1175, 200, 200, 1343, 200, 1343, - 1172, 783, 1176, 786, 1222, 200, 1173, 1224, 1174, 200, - 1343, 200, 200, 200, 200, 200, 1225, 1226, 200, 200, - 785, 1175, 1227, 200, 200, 200, 200, 1228, 200, 1176, - 786, 1222, 1229, 200, 1224, 1343, 1343, 787, 200, 200, - 200, 200, 200, 1225, 1226, 1343, 200, 200, 788, 1227, - 1343, 200, 200, 200, 1228, 200, 200, 1230, 789, 1229, - - 200, 1231, 790, 200, 787, 200, 791, 200, 200, 200, - 200, 1232, 200, 1343, 200, 788, 1233, 200, 1343, 200, - 1343, 1343, 200, 200, 1230, 789, 1234, 1343, 1231, 790, - 200, 1235, 1236, 791, 200, 200, 200, 200, 1232, 200, - 792, 200, 1237, 1233, 200, 200, 200, 200, 200, 200, - 200, 891, 200, 1234, 892, 200, 1238, 200, 1235, 1236, - 200, 200, 1343, 200, 1239, 1343, 200, 792, 200, 1237, - 200, 1343, 200, 200, 200, 200, 200, 200, 891, 200, - 1240, 892, 200, 1238, 200, 200, 893, 200, 200, 200, - 897, 1239, 200, 200, 200, 200, 1241, 200, 200, 1242, - - 200, 895, 200, 200, 896, 894, 1243, 1240, 200, 200, - 200, 1343, 200, 893, 200, 200, 200, 897, 1343, 200, - 1343, 200, 200, 1241, 1343, 200, 1242, 200, 895, 200, - 1268, 896, 894, 1243, 1343, 200, 200, 200, 200, 899, - 898, 200, 200, 200, 1343, 200, 200, 900, 1270, 200, - 200, 200, 200, 1343, 1343, 200, 1271, 1268, 1343, 200, - 1272, 200, 200, 1343, 1343, 200, 899, 898, 1343, 200, - 200, 200, 200, 200, 900, 1270, 200, 200, 200, 200, - 200, 200, 200, 1271, 200, 200, 200, 1272, 200, 200, - 200, 200, 1343, 1273, 1343, 901, 1274, 1275, 200, 200, - - 200, 200, 1343, 200, 1223, 1223, 1343, 200, 200, 200, - 1343, 200, 200, 1276, 1343, 1343, 1343, 200, 200, 200, - 1273, 200, 901, 1274, 1275, 200, 200, 200, 200, 902, - 200, 200, 1277, 200, 200, 200, 200, 903, 200, 200, - 1276, 200, 1269, 200, 200, 200, 200, 904, 200, 1278, - 1343, 1343, 200, 200, 200, 200, 902, 1343, 200, 1277, - 200, 200, 200, 200, 903, 200, 200, 200, 200, 1269, - 200, 200, 200, 200, 904, 1279, 1278, 200, 905, 200, - 200, 200, 200, 200, 906, 1295, 1343, 907, 200, 200, - 200, 200, 200, 1343, 200, 1343, 1343, 200, 200, 1296, - - 200, 1343, 1279, 908, 200, 905, 200, 200, 200, 1343, - 200, 906, 1295, 200, 907, 200, 200, 200, 200, 200, - 909, 1343, 200, 200, 200, 200, 1296, 200, 1246, 1223, - 908, 1297, 200, 200, 200, 200, 200, 910, 200, 1343, - 200, 1298, 1343, 200, 200, 1301, 1307, 909, 200, 200, - 200, 1343, 1343, 1343, 200, 1294, 1294, 1308, 1297, 200, - 200, 1311, 1314, 200, 910, 200, 1282, 200, 1298, 200, - 200, 1316, 1301, 1307, 200, 200, 911, 1343, 200, 200, - 200, 1300, 1294, 1318, 1308, 200, 912, 1343, 1311, 1314, - 200, 913, 1343, 1282, 200, 1343, 200, 1306, 1316, 1343, - - 1343, 200, 200, 911, 200, 200, 200, 200, 1343, 200, - 1318, 1343, 200, 912, 200, 1343, 1320, 200, 913, 915, - 200, 1343, 200, 1310, 1306, 1322, 914, 200, 200, 200, - 200, 200, 200, 1324, 1343, 200, 200, 1343, 200, 1343, - 200, 200, 916, 1320, 1343, 1343, 915, 200, 200, 200, - 1310, 1326, 1322, 914, 200, 200, 1328, 200, 200, 200, - 1324, 917, 200, 200, 200, 200, 200, 200, 200, 916, - 200, 200, 200, 200, 1343, 200, 200, 200, 1326, 1343, - 1330, 1343, 200, 1328, 1332, 200, 918, 1334, 917, 1336, - 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, - - 200, 200, 1343, 200, 200, 1343, 200, 1330, 200, 200, - 200, 1332, 919, 918, 1334, 200, 1336, 1343, 1343, 1343, - 200, 200, 200, 200, 200, 1343, 920, 1343, 200, 200, - 1343, 1343, 1343, 200, 200, 200, 200, 200, 200, 919, - 1343, 1343, 200, 200, 1343, 921, 1343, 200, 200, 200, - 200, 200, 200, 920, 1343, 923, 200, 200, 922, 1343, - 1343, 200, 200, 200, 1343, 200, 200, 1343, 200, 1343, - 200, 1343, 921, 200, 1343, 200, 925, 200, 200, 200, - 200, 924, 923, 1343, 200, 922, 200, 1343, 1343, 200, - 1343, 1343, 200, 200, 200, 200, 200, 1343, 1343, 200, - - 200, 1343, 200, 925, 200, 200, 200, 200, 924, 1343, - 200, 1343, 200, 200, 200, 1343, 1343, 1343, 1343, 200, - 200, 200, 200, 200, 200, 926, 200, 1343, 200, 200, - 200, 200, 928, 200, 927, 1343, 200, 200, 200, 200, - 200, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, - 200, 200, 926, 1343, 200, 200, 200, 200, 200, 928, - 200, 927, 1343, 200, 929, 200, 1343, 200, 200, 200, - 200, 200, 200, 200, 1343, 200, 1343, 200, 200, 1343, - 200, 200, 200, 200, 200, 200, 200, 200, 200, 1343, - 200, 929, 200, 930, 200, 200, 931, 200, 1343, 200, - - 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 200, - 1343, 200, 1343, 200, 1343, 200, 1343, 200, 1343, 200, - 930, 200, 1343, 931, 200, 1343, 200, 200, 200, 200, - 200, 200, 200, 200, 933, 200, 200, 932, 200, 200, - 1343, 1343, 200, 1343, 200, 200, 1343, 1343, 934, 1343, - 1343, 200, 1343, 200, 200, 200, 1343, 200, 200, 200, - 1343, 933, 200, 200, 932, 200, 200, 1343, 1343, 200, - 1343, 200, 200, 1343, 1343, 934, 200, 1343, 200, 1343, - 1343, 200, 200, 200, 200, 1343, 200, 200, 935, 200, - 936, 200, 1343, 937, 200, 1343, 200, 1343, 1343, 200, - - 1343, 1343, 1343, 200, 1343, 200, 1343, 1343, 1343, 1343, - 200, 200, 1343, 200, 200, 935, 200, 936, 200, 1343, - 937, 200, 1343, 200, 1343, 1343, 200, 938, 200, 940, - 200, 200, 200, 1343, 200, 200, 200, 1343, 939, 200, - 200, 200, 1343, 1343, 200, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 938, 200, 940, 200, 200, 200, - 1343, 200, 200, 200, 1343, 939, 200, 200, 200, 1343, - 200, 200, 200, 200, 200, 200, 200, 200, 1343, 1343, - 200, 200, 200, 1343, 1343, 200, 200, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, - - 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, - 1343, 1343, 200, 200, 200, 1343, 200, 200, 942, 200, - 200, 200, 941, 1343, 200, 200, 200, 1343, 1343, 200, - 200, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 200, 1343, 200, 200, 942, 200, 200, 200, 941, - 943, 200, 200, 200, 200, 200, 200, 200, 944, 200, - 200, 1343, 200, 947, 200, 200, 200, 200, 200, 200, - 200, 945, 946, 1343, 200, 200, 200, 943, 200, 200, - 1343, 200, 200, 1343, 1343, 944, 200, 200, 1343, 200, - 947, 200, 200, 200, 200, 200, 200, 200, 945, 946, - - 200, 200, 200, 200, 949, 200, 200, 200, 200, 200, - 200, 1343, 200, 948, 200, 1343, 1343, 1343, 200, 200, - 200, 1343, 1343, 1343, 1343, 1343, 1343, 200, 200, 1343, - 1343, 949, 1343, 1343, 200, 200, 200, 200, 1343, 200, - 948, 200, 950, 1343, 200, 200, 200, 200, 200, 1343, - 1343, 1343, 951, 200, 200, 200, 200, 200, 1343, 1343, - 1343, 1343, 200, 200, 200, 1343, 952, 1343, 1343, 950, - 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 951, - 200, 200, 200, 200, 200, 1343, 200, 1343, 1343, 200, - 200, 200, 200, 952, 200, 953, 1343, 200, 200, 200, - - 200, 200, 200, 1343, 200, 954, 200, 200, 1343, 200, - 955, 1343, 1343, 200, 200, 1343, 200, 200, 1343, 200, - 1343, 200, 953, 1343, 200, 200, 200, 1343, 200, 200, - 1343, 200, 954, 200, 200, 200, 956, 955, 1343, 200, - 200, 200, 1343, 200, 200, 200, 200, 1343, 1343, 1343, - 957, 1343, 1343, 200, 200, 200, 200, 1343, 200, 1343, - 1343, 1343, 200, 956, 200, 1343, 200, 200, 1343, 1343, - 1343, 1343, 200, 200, 200, 1343, 958, 957, 1343, 1343, - 200, 200, 200, 200, 200, 200, 1343, 1343, 959, 200, - 200, 200, 200, 200, 1343, 1343, 1343, 1343, 200, 200, - - 200, 200, 200, 958, 1343, 1343, 200, 200, 200, 200, - 960, 200, 200, 1343, 1343, 959, 200, 200, 1343, 200, - 200, 1343, 200, 1343, 1343, 200, 200, 200, 200, 200, - 200, 1343, 200, 200, 200, 200, 200, 960, 200, 200, - 200, 961, 200, 1343, 1343, 962, 200, 1343, 200, 200, - 200, 963, 200, 1343, 200, 200, 1343, 200, 200, 200, - 1343, 200, 200, 1343, 200, 200, 1343, 200, 961, 200, - 1343, 1343, 962, 200, 200, 200, 200, 200, 963, 200, - 200, 200, 1343, 966, 964, 200, 200, 1343, 200, 200, - 965, 200, 200, 1343, 200, 200, 200, 1343, 967, 200, - - 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 1343, - 966, 964, 1343, 200, 1343, 200, 1343, 965, 200, 200, - 200, 200, 200, 200, 200, 967, 200, 200, 200, 200, - 200, 200, 200, 969, 968, 200, 200, 200, 200, 1343, - 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 1343, - 1343, 200, 200, 200, 1343, 200, 970, 200, 1343, 200, - 969, 968, 200, 200, 200, 200, 1343, 200, 200, 1343, - 200, 1343, 200, 200, 971, 200, 1343, 200, 200, 200, - 200, 200, 200, 970, 200, 1343, 200, 972, 1343, 200, - 1343, 200, 200, 200, 200, 1343, 200, 200, 973, 200, - - 200, 971, 200, 200, 200, 200, 200, 1343, 200, 200, - 200, 200, 200, 200, 972, 1343, 200, 974, 200, 200, - 200, 200, 200, 200, 200, 973, 1343, 200, 1343, 200, - 200, 975, 1343, 200, 200, 1343, 200, 200, 1343, 200, - 200, 200, 200, 200, 974, 1343, 200, 200, 200, 200, - 200, 1343, 200, 1343, 1343, 200, 1343, 976, 975, 1343, - 200, 200, 1343, 200, 200, 1343, 977, 200, 200, 200, - 1343, 200, 1343, 200, 200, 200, 200, 200, 1343, 200, - 1343, 1343, 200, 200, 976, 200, 979, 200, 1343, 1343, - 200, 200, 978, 977, 200, 200, 200, 200, 200, 200, - - 1343, 200, 980, 200, 200, 1343, 200, 1343, 1343, 200, - 200, 1343, 200, 979, 1343, 1343, 1343, 200, 1343, 978, - 981, 200, 200, 200, 200, 200, 200, 200, 200, 980, - 982, 200, 200, 200, 200, 200, 200, 200, 983, 200, - 200, 1343, 1343, 1343, 1343, 200, 1343, 981, 1343, 1343, - 200, 1343, 200, 1343, 200, 200, 1343, 982, 1343, 200, - 1343, 200, 200, 1343, 200, 983, 200, 200, 1343, 200, - 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 200, - 200, 200, 200, 985, 200, 1343, 984, 200, 200, 200, - 200, 200, 1343, 200, 200, 1343, 200, 200, 200, 1343, - - 200, 200, 200, 200, 200, 1343, 200, 200, 200, 1343, - 985, 200, 1343, 984, 200, 200, 200, 200, 200, 1343, - 200, 200, 200, 1343, 200, 200, 200, 200, 200, 986, - 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, - 1343, 200, 200, 200, 200, 200, 986, 1343, 1343, 200, - 200, 200, 1343, 1343, 200, 200, 200, 200, 200, 200, - 1343, 1062, 200, 200, 200, 200, 200, 1343, 200, 200, - 1061, 200, 200, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 200, 200, 200, 200, 200, 200, 1343, 1062, 200, - - 200, 200, 200, 200, 1343, 200, 200, 1061, 200, 200, - 1063, 200, 1343, 1343, 200, 200, 1343, 1343, 200, 200, - 200, 200, 1343, 1066, 200, 1065, 1064, 1343, 200, 200, - 200, 200, 1343, 200, 200, 1343, 1343, 1063, 200, 200, - 1343, 200, 200, 1343, 200, 1343, 1343, 200, 200, 200, - 1066, 200, 1065, 1064, 1343, 200, 200, 200, 200, 1343, - 200, 200, 1067, 200, 200, 1068, 200, 1343, 200, 1343, - 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 200, 1343, 200, 1343, 200, 1067, - 200, 200, 1068, 200, 1069, 200, 200, 200, 200, 1071, - - 200, 200, 200, 200, 200, 200, 1070, 1072, 200, 200, - 1343, 200, 200, 200, 200, 200, 200, 200, 200, 200, - 200, 1069, 1073, 200, 200, 200, 1071, 200, 200, 1343, - 200, 200, 200, 1070, 1072, 200, 200, 1343, 200, 200, - 1343, 200, 1343, 200, 200, 200, 200, 1343, 200, 1073, - 1343, 200, 200, 1075, 1343, 200, 1077, 200, 1074, 1343, - 200, 200, 1076, 1343, 200, 200, 200, 200, 200, 200, - 1343, 1343, 1343, 1343, 200, 200, 200, 200, 1343, 200, - 1075, 1343, 200, 1077, 200, 1074, 200, 200, 200, 1076, - 1343, 200, 200, 200, 200, 200, 200, 1343, 1343, 1343, - - 1343, 200, 200, 200, 200, 1343, 200, 200, 1343, 200, - 1078, 200, 1343, 200, 1343, 1343, 200, 200, 200, 200, - 1080, 1343, 1079, 1343, 1343, 200, 200, 200, 1343, 200, - 200, 1081, 1343, 200, 200, 200, 200, 1078, 200, 1343, - 1082, 200, 1343, 200, 200, 200, 200, 1080, 1343, 1079, - 1343, 200, 200, 200, 200, 1083, 200, 200, 1081, 200, - 1343, 1343, 200, 200, 200, 200, 200, 1082, 200, 1343, - 200, 1086, 1343, 200, 200, 200, 200, 1343, 200, 1343, - 200, 1343, 1083, 200, 200, 1084, 200, 1343, 200, 1343, - 200, 200, 200, 200, 200, 1343, 200, 200, 1086, 1085, - - 1087, 200, 200, 200, 200, 1343, 200, 200, 1088, 200, - 200, 200, 1084, 200, 200, 200, 200, 200, 200, 200, - 200, 200, 200, 200, 1343, 1343, 1085, 1087, 200, 200, - 200, 200, 1343, 200, 1343, 1088, 200, 200, 200, 1343, - 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, - 1343, 1343, 1343, 1343, 200, 200, 200, 200, 1343, 200, - 1343, 1343, 1089, 200, 200, 200, 1091, 1343, 200, 200, - 200, 200, 200, 200, 1090, 200, 1343, 1092, 200, 200, - 1343, 200, 200, 1343, 1343, 1343, 200, 1343, 1343, 1089, - 200, 200, 1343, 1091, 1343, 200, 200, 200, 1343, 200, - - 200, 1090, 1343, 1093, 1092, 200, 200, 1343, 200, 200, - 200, 200, 200, 200, 200, 200, 1343, 1343, 200, 200, - 200, 1343, 1343, 200, 200, 1343, 1343, 1343, 1343, 1343, - 1093, 1343, 1343, 1343, 1343, 200, 1343, 200, 200, 200, - 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, - 200, 200, 200, 1343, 200, 200, 200, 200, 200, 200, - 1094, 1343, 200, 200, 200, 1343, 1343, 200, 200, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, - 1343, 200, 200, 200, 200, 200, 200, 1094, 1343, 200, - 200, 200, 1343, 1343, 200, 200, 200, 1096, 200, 1343, - - 1343, 200, 1343, 200, 1095, 1343, 1343, 200, 200, 200, - 1343, 200, 1343, 1343, 1343, 1343, 1097, 200, 1343, 1098, - 1099, 200, 200, 200, 1096, 200, 1343, 200, 200, 1343, - 200, 1095, 200, 1343, 200, 200, 200, 1343, 200, 1343, - 1343, 1343, 1343, 1097, 200, 1343, 1098, 1099, 200, 200, - 200, 200, 200, 200, 200, 1343, 1100, 200, 200, 200, - 1343, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, - 1343, 200, 1343, 1343, 1343, 1343, 200, 200, 200, 200, - 200, 1343, 1343, 1100, 200, 200, 1343, 1343, 1343, 200, - 200, 200, 200, 200, 200, 200, 1101, 200, 200, 200, - - 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, - 200, 1343, 1343, 1343, 1343, 1102, 200, 1343, 1343, 200, - 200, 200, 200, 1101, 200, 1343, 200, 200, 1103, 200, - 1343, 200, 1343, 200, 200, 200, 1343, 200, 1343, 200, - 1343, 200, 1102, 200, 1343, 1343, 200, 200, 1343, 1343, - 200, 200, 200, 1343, 1343, 1103, 1343, 200, 1104, 1105, - 1343, 1343, 200, 200, 1343, 200, 200, 1343, 200, 1343, - 200, 1343, 1343, 200, 1343, 200, 1343, 200, 200, 200, - 1343, 1343, 1343, 1343, 200, 1104, 1105, 1343, 1343, 200, - 200, 200, 200, 200, 200, 1343, 200, 200, 200, 1106, - - 1343, 200, 200, 200, 1107, 200, 200, 200, 200, 1343, - 1343, 1343, 200, 1343, 200, 1343, 1343, 200, 200, 1343, - 200, 200, 1343, 200, 200, 200, 1106, 1343, 200, 1343, - 200, 1107, 200, 200, 200, 200, 1343, 1343, 200, 200, - 1343, 200, 200, 1343, 200, 1109, 200, 1343, 200, 1343, - 200, 200, 1343, 1108, 1343, 1343, 200, 1343, 200, 1343, - 1343, 1343, 1343, 1343, 1343, 200, 200, 1343, 1343, 200, - 1343, 1343, 1109, 200, 200, 200, 1343, 200, 200, 1343, - 1108, 1343, 200, 200, 200, 200, 200, 1110, 1343, 1343, - 1343, 1343, 200, 200, 200, 1111, 200, 1343, 1343, 1343, - - 200, 200, 200, 1343, 1343, 200, 200, 1343, 1112, 200, - 1343, 200, 200, 200, 1110, 1343, 200, 1343, 200, 200, - 200, 200, 1111, 200, 1113, 1343, 1343, 200, 200, 200, - 200, 1343, 200, 200, 1343, 1112, 200, 1343, 1343, 200, - 200, 1343, 200, 200, 1343, 200, 1114, 200, 1343, 1343, - 200, 1113, 200, 1343, 200, 200, 1343, 200, 1115, 200, - 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 200, - 200, 1343, 200, 1114, 200, 1116, 200, 200, 1343, 200, - 200, 200, 200, 1343, 200, 1115, 200, 200, 200, 200, - 200, 200, 1118, 200, 200, 200, 200, 200, 200, 200, - - 200, 200, 1116, 200, 1343, 1117, 1343, 200, 200, 200, - 200, 200, 1343, 200, 1343, 200, 1120, 200, 1343, 1118, - 200, 200, 1343, 200, 200, 200, 1343, 200, 1119, 200, - 200, 1343, 1117, 200, 200, 200, 200, 200, 1343, 200, - 200, 1121, 1343, 1120, 1343, 1343, 200, 200, 1343, 200, - 1343, 200, 200, 1343, 200, 1119, 200, 200, 1122, 200, - 200, 200, 1343, 200, 200, 1343, 200, 200, 1121, 1343, - 200, 1343, 200, 200, 1343, 1343, 200, 200, 1123, 200, - 1343, 200, 200, 1124, 1343, 1122, 200, 1343, 1343, 1125, - 1343, 200, 1343, 1343, 200, 1343, 200, 200, 1343, 200, - - 200, 200, 200, 1343, 200, 1123, 200, 200, 1343, 200, - 1124, 1343, 200, 200, 1343, 1126, 1125, 1343, 1343, 1343, - 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, - 1343, 200, 1343, 200, 200, 1343, 200, 1343, 1343, 200, - 200, 1343, 1126, 1343, 1127, 1128, 200, 200, 200, 1343, - 200, 200, 200, 200, 200, 1343, 200, 1343, 200, 1343, - 1343, 1343, 1343, 200, 200, 1343, 200, 1343, 1343, 1343, - 1129, 1127, 1128, 200, 200, 200, 1343, 200, 200, 1343, - 200, 200, 200, 200, 1343, 1343, 1343, 200, 200, 200, - 200, 200, 1343, 200, 1130, 1131, 1343, 1129, 200, 200, - - 1343, 200, 1343, 1343, 1343, 200, 200, 200, 200, 200, - 1343, 1343, 1343, 200, 200, 200, 200, 200, 200, 1132, - 1343, 1130, 1131, 1343, 1343, 200, 200, 200, 1343, 200, - 200, 1343, 200, 200, 200, 200, 200, 200, 200, 200, - 200, 1343, 200, 200, 1343, 200, 1132, 1343, 200, 1343, - 1343, 1343, 1343, 1343, 200, 1343, 200, 200, 1178, 200, - 1343, 200, 200, 200, 200, 200, 200, 200, 200, 200, - 200, 200, 200, 1343, 1179, 200, 1181, 200, 200, 200, - 200, 200, 1343, 200, 200, 1178, 200, 200, 200, 200, - 200, 1343, 1180, 200, 200, 200, 200, 200, 200, 200, - - 1343, 1179, 200, 1181, 200, 200, 200, 200, 200, 1343, - 200, 200, 200, 200, 200, 200, 200, 200, 1343, 1180, - 200, 1343, 200, 200, 200, 1343, 200, 1182, 200, 200, - 1343, 1343, 200, 1183, 200, 1184, 200, 200, 200, 200, - 1343, 200, 200, 200, 1343, 1343, 200, 200, 1343, 200, - 1343, 1343, 1343, 200, 1182, 200, 1343, 1343, 1343, 200, - 1183, 200, 1184, 200, 200, 200, 1343, 1343, 200, 200, - 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 200, - 1186, 200, 200, 200, 1185, 1343, 200, 1343, 200, 1343, - 1343, 200, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, - - 1343, 1343, 1343, 200, 200, 200, 200, 1186, 200, 200, - 200, 1185, 1187, 200, 1343, 200, 1343, 1188, 200, 200, - 1343, 200, 1343, 200, 200, 1343, 1343, 1343, 200, 200, - 200, 1343, 200, 200, 1343, 1343, 1343, 200, 1189, 1187, - 1343, 1343, 200, 1343, 1188, 1343, 200, 1343, 200, 1343, - 200, 200, 1343, 1343, 1343, 200, 200, 200, 1343, 200, - 200, 200, 1190, 200, 200, 1189, 1343, 1343, 200, 200, - 1343, 1343, 200, 200, 200, 200, 1343, 200, 1343, 200, - 1343, 1343, 200, 1343, 200, 1343, 1343, 200, 200, 1190, - 200, 1343, 1343, 1343, 1191, 200, 1343, 1343, 1343, 200, - - 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 200, - 200, 200, 1343, 1343, 200, 200, 200, 200, 200, 1192, - 1343, 1191, 1343, 200, 200, 1343, 1343, 1343, 200, 200, - 200, 1343, 200, 1343, 1343, 1343, 1343, 200, 1343, 1343, - 1343, 1343, 200, 200, 200, 200, 1192, 200, 1343, 200, - 200, 200, 1343, 1193, 200, 200, 200, 200, 200, 200, - 200, 1343, 200, 200, 1343, 200, 200, 1343, 1343, 1343, - 200, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, - 1193, 200, 200, 1343, 200, 200, 200, 200, 1343, 200, - 200, 1343, 200, 200, 200, 1343, 1194, 200, 200, 200, - - 200, 200, 1196, 200, 1343, 200, 200, 1343, 200, 200, - 200, 1195, 200, 1343, 200, 200, 200, 1343, 200, 1200, - 200, 200, 1343, 1194, 200, 200, 200, 1343, 200, 1196, - 200, 1343, 200, 200, 1343, 200, 200, 200, 1195, 200, - 200, 200, 200, 200, 200, 200, 1200, 200, 200, 1343, - 200, 200, 200, 200, 1343, 1343, 1343, 1343, 200, 1343, - 200, 1343, 200, 200, 1343, 1343, 200, 200, 200, 1343, - 200, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, - 200, 1343, 200, 1343, 200, 200, 1343, 200, 200, 200, - 200, 1343, 200, 200, 200, 200, 200, 200, 1343, 200, - - 1343, 200, 200, 1343, 200, 1197, 1198, 200, 1343, 200, - 200, 200, 200, 1343, 1199, 200, 200, 200, 200, 200, - 200, 200, 200, 200, 200, 1343, 200, 1343, 200, 200, - 200, 200, 1197, 1198, 1343, 1343, 1343, 200, 200, 200, - 200, 1199, 200, 200, 1343, 200, 200, 200, 1343, 200, - 1343, 200, 200, 200, 200, 200, 200, 200, 1343, 1343, - 1343, 200, 200, 1343, 1343, 200, 200, 200, 1201, 200, - 200, 1343, 1343, 200, 1343, 200, 1343, 1343, 1343, 200, - 200, 200, 1343, 200, 200, 1343, 200, 1202, 200, 200, - 1343, 200, 200, 200, 200, 1201, 200, 200, 200, 200, - - 200, 1343, 200, 1343, 200, 200, 1343, 200, 1343, 1343, - 200, 200, 1343, 200, 1202, 1343, 1343, 1343, 200, 200, - 1343, 200, 200, 200, 200, 200, 200, 200, 1343, 200, - 1203, 200, 200, 1343, 200, 200, 1343, 200, 200, 1204, - 1206, 1343, 1205, 200, 200, 200, 1343, 200, 200, 200, - 200, 200, 1343, 200, 1343, 200, 200, 1203, 200, 1343, - 200, 200, 200, 1207, 1343, 200, 1204, 1206, 1343, 1205, - 200, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, - 200, 1343, 200, 200, 1343, 200, 1208, 200, 200, 200, - 1207, 1343, 200, 1343, 1343, 1209, 1343, 200, 200, 200, - - 1343, 200, 200, 1343, 200, 1343, 200, 200, 200, 1210, - 200, 1343, 1343, 1208, 200, 200, 200, 200, 1343, 200, - 1343, 1343, 1209, 1343, 200, 200, 200, 1343, 200, 200, - 200, 200, 200, 1343, 200, 200, 1210, 1211, 200, 1343, - 200, 200, 200, 1343, 200, 200, 200, 1343, 1212, 200, - 200, 200, 1343, 200, 1343, 1343, 200, 200, 200, 200, - 1343, 200, 1343, 1343, 1211, 200, 1343, 200, 1343, 200, - 1343, 1343, 200, 200, 1343, 1212, 200, 200, 200, 1213, - 200, 200, 200, 200, 200, 200, 200, 1214, 200, 200, - 1343, 200, 1343, 1343, 200, 1343, 1343, 1343, 200, 1343, - - 200, 1343, 1343, 1343, 1343, 200, 1213, 1343, 200, 200, - 200, 200, 1343, 200, 1214, 1215, 200, 1343, 200, 1343, - 1216, 200, 1343, 1343, 1343, 200, 200, 200, 200, 200, - 1343, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, - 1343, 200, 1215, 1343, 1343, 1343, 1343, 1216, 1343, 1343, - 1343, 1343, 1343, 200, 1218, 200, 200, 1343, 200, 200, - 200, 200, 200, 200, 200, 200, 200, 1217, 200, 200, - 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 1343, - 200, 1218, 200, 1343, 1343, 200, 200, 1343, 200, 200, - 1343, 200, 1343, 200, 1217, 1343, 200, 200, 200, 200, - - 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, - 200, 1343, 200, 200, 200, 200, 200, 1220, 200, 200, - 1219, 200, 1343, 1343, 200, 1343, 200, 1343, 1343, 200, - 200, 1343, 200, 200, 1343, 200, 1343, 200, 1343, 1343, - 200, 200, 200, 200, 1220, 200, 200, 1219, 200, 1343, - 200, 200, 200, 200, 1343, 1343, 200, 200, 200, 200, - 200, 200, 200, 1343, 1343, 200, 200, 1343, 1343, 1343, - 200, 200, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, - 1343, 1343, 1343, 1343, 200, 200, 200, 200, 200, 200, - 1343, 1343, 200, 200, 200, 1245, 200, 200, 200, 200, - - 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 200, - 200, 1343, 1343, 200, 1343, 200, 1246, 1223, 1343, 200, - 200, 200, 1245, 200, 1343, 1343, 200, 200, 200, 200, - 1343, 200, 200, 200, 1343, 1343, 200, 200, 1343, 1247, - 200, 200, 200, 200, 1343, 200, 200, 200, 1343, 200, - 1248, 200, 1343, 200, 200, 1343, 200, 200, 200, 200, - 1343, 200, 1343, 200, 200, 1343, 1247, 1343, 200, 1343, - 200, 1343, 200, 200, 200, 1343, 200, 1248, 200, 200, - 200, 200, 1343, 200, 200, 200, 200, 1343, 200, 200, - 200, 200, 1249, 200, 1343, 1343, 200, 200, 1343, 200, - - 200, 200, 200, 200, 1343, 200, 200, 1251, 1250, 200, - 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 1249, - 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, - 200, 1343, 200, 1343, 1251, 1250, 200, 200, 200, 200, - 200, 1343, 200, 200, 200, 200, 1343, 200, 200, 200, - 1343, 1343, 200, 200, 200, 200, 1343, 1343, 1343, 200, - 200, 1252, 200, 200, 200, 200, 200, 200, 1343, 1343, - 200, 200, 200, 1343, 200, 1343, 1343, 1343, 1343, 1343, - 200, 1343, 1343, 1343, 1343, 1343, 200, 200, 1252, 200, - 200, 1253, 1343, 200, 200, 1343, 1343, 1343, 200, 200, - - 200, 1254, 200, 200, 200, 1343, 200, 200, 200, 1343, - 1343, 200, 200, 200, 1343, 1343, 200, 1343, 1253, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, 1254, 200, - 200, 200, 1343, 200, 200, 200, 1343, 1343, 200, 200, - 200, 1343, 200, 200, 200, 200, 1256, 200, 1343, 200, - 200, 1255, 200, 1343, 200, 200, 200, 200, 1343, 200, - 1343, 1343, 1343, 1343, 1343, 1257, 200, 1343, 1343, 200, - 1343, 200, 200, 1256, 200, 200, 200, 200, 1255, 200, - 1343, 200, 200, 200, 200, 1343, 200, 200, 200, 1258, - 200, 1343, 1257, 200, 200, 200, 200, 1343, 200, 200, - - 200, 1343, 200, 200, 1343, 1343, 1343, 1343, 200, 1343, - 1343, 1343, 1343, 1343, 200, 200, 1258, 200, 1343, 1343, - 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, 200, - 200, 200, 1343, 1343, 1343, 200, 200, 1259, 1343, 1260, - 200, 200, 200, 200, 1343, 200, 1343, 200, 1343, 1343, - 200, 1343, 200, 1343, 1343, 200, 200, 1343, 200, 1343, - 1343, 1343, 1343, 200, 1259, 1343, 1260, 200, 200, 200, - 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, - 1343, 1343, 200, 200, 200, 1343, 200, 200, 1343, 200, - 1343, 200, 1261, 1343, 200, 200, 200, 200, 200, 200, - - 200, 1262, 200, 1343, 1343, 200, 1343, 200, 1343, 1343, - 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 1261, - 1343, 200, 200, 200, 200, 1343, 200, 1343, 1262, 200, - 200, 1263, 200, 200, 200, 200, 1343, 200, 1343, 1343, - 200, 1264, 200, 1265, 1343, 200, 1266, 200, 1343, 1343, - 200, 200, 1343, 200, 1343, 200, 200, 200, 1263, 200, - 200, 200, 200, 200, 200, 1343, 200, 200, 1264, 200, - 1265, 200, 200, 1266, 200, 200, 1343, 200, 200, 200, - 200, 1343, 200, 200, 1343, 200, 1343, 200, 200, 1343, - 200, 200, 1343, 200, 1343, 200, 1343, 200, 200, 200, - - 1281, 200, 200, 200, 1343, 200, 200, 200, 1343, 200, - 1343, 200, 200, 200, 200, 1343, 1283, 200, 200, 200, - 1343, 200, 200, 200, 200, 200, 200, 1281, 200, 200, - 200, 1343, 200, 200, 200, 200, 200, 200, 200, 1343, - 200, 200, 1343, 1283, 200, 200, 200, 200, 200, 200, - 200, 1284, 200, 200, 1343, 1343, 200, 200, 1343, 200, - 200, 1343, 200, 1343, 200, 1343, 1343, 200, 200, 200, - 1343, 200, 200, 1343, 200, 200, 200, 200, 1284, 200, - 200, 1343, 1285, 1343, 200, 200, 200, 200, 1343, 1343, - 1343, 1343, 1343, 200, 200, 200, 200, 200, 200, 1343, - - 1343, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1285, - 1343, 1343, 200, 200, 200, 200, 1343, 1343, 1343, 200, - 200, 1343, 200, 1343, 200, 200, 1288, 200, 1286, 1287, - 200, 200, 1343, 200, 200, 200, 1343, 1343, 200, 200, - 200, 1343, 200, 200, 1343, 1343, 200, 1343, 1343, 1343, - 1343, 1343, 200, 1288, 200, 1286, 1287, 200, 200, 200, - 200, 200, 200, 1343, 200, 200, 200, 1343, 1343, 200, - 200, 200, 1343, 200, 1343, 200, 1343, 200, 200, 1343, - 1343, 1343, 200, 200, 200, 1343, 200, 200, 1343, 1343, - 1343, 200, 1343, 200, 1343, 1343, 200, 200, 200, 1343, - - 200, 1343, 200, 200, 200, 200, 1343, 200, 1343, 200, - 200, 200, 200, 1289, 200, 200, 1291, 200, 1290, 200, - 200, 1343, 200, 1343, 200, 200, 1343, 200, 1343, 1343, - 200, 1343, 200, 1343, 200, 200, 1292, 200, 200, 200, - 1289, 200, 200, 1291, 200, 1290, 200, 200, 1343, 200, - 1300, 1294, 200, 1343, 200, 1343, 1302, 200, 1343, 200, - 200, 200, 200, 1292, 200, 200, 200, 1343, 200, 1343, - 200, 200, 200, 1343, 200, 200, 200, 1303, 1343, 200, - 1343, 200, 200, 1302, 200, 200, 1343, 200, 200, 200, - 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, - - 200, 200, 200, 200, 1303, 1343, 200, 1343, 200, 200, - 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 1343, - 200, 200, 200, 200, 200, 200, 200, 200, 200, 1343, - 1343, 200, 200, 1343, 200, 1343, 200, 200, 1343, 200, - 200, 1343, 200, 1343, 200, 200, 1343, 200, 1343, 200, - 200, 200, 200, 200, 200, 1304, 1343, 1343, 200, 200, - 200, 200, 1343, 200, 200, 200, 200, 1343, 200, 200, - 200, 200, 200, 200, 200, 1343, 200, 200, 200, 200, - 1312, 200, 1304, 1343, 200, 200, 200, 200, 200, 200, - 200, 200, 200, 200, 1343, 200, 200, 200, 200, 1343, - - 200, 200, 1343, 1343, 1343, 200, 200, 1312, 1343, 1343, - 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, 1343, - 200, 1343, 1343, 1343, 1343, 200, 46, 46, 46, 46, - 46, 88, 1343, 1343, 88, 88, 185, 185, 185, 1343, - 185, 187, 1343, 187, 187, 187, 190, 1343, 190, 190, - 190, 200, 1343, 200, 200, 200, 7, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343 - } ; - -static const flex_int16_t yy_chk[8834] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 9, 9, 10, 10, 15, 16, 16, 16, - 16, 16, 16, 16, 16, 16, 16, 15, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 18, - 18, 21, 22, 21, 27, 28, 22, 23, 30, 21, - 27, 21, 22, 28, 23, 21, 21, 31, 41, 28, - - 41, 23, 22, 41, 23, 1346, 44, 23, 21, 22, - 21, 27, 28, 22, 23, 30, 21, 27, 21, 22, - 28, 23, 21, 21, 31, 41, 28, 41, 23, 22, - 41, 23, 24, 44, 23, 25, 24, 25, 49, 49, - 24, 32, 25, 99, 33, 32, 24, 25, 33, 24, - 55, 32, 50, 50, 33, 43, 43, 58, 58, 24, - 1340, 55, 25, 24, 25, 1339, 34, 24, 32, 25, - 99, 33, 32, 24, 25, 33, 24, 26, 32, 36, - 34, 33, 43, 43, 100, 26, 34, 34, 26, 103, - 36, 26, 29, 34, 26, 1338, 36, 26, 29, 29, - - 29, 42, 86, 86, 26, 29, 36, 34, 1337, 42, - 1335, 100, 26, 34, 34, 26, 103, 36, 26, 29, - 1333, 26, 35, 36, 26, 29, 29, 29, 42, 104, - 35, 38, 29, 101, 35, 38, 42, 35, 35, 38, - 81, 101, 81, 106, 81, 38, 1331, 81, 1329, 35, - 102, 1327, 81, 102, 1325, 107, 104, 35, 38, 1323, - 101, 35, 38, 1321, 35, 35, 38, 81, 101, 81, - 106, 81, 38, 39, 81, 39, 110, 102, 39, 81, - 102, 39, 107, 39, 113, 39, 39, 56, 56, 56, - 56, 56, 56, 56, 56, 56, 56, 188, 188, 1319, - - 39, 1317, 39, 110, 1315, 39, 105, 105, 39, 109, - 39, 113, 39, 39, 40, 112, 109, 67, 40, 67, - 105, 40, 40, 67, 67, 112, 116, 116, 40, 67, - 117, 40, 1313, 105, 105, 1309, 109, 1141, 1141, 1268, - 1268, 40, 112, 109, 67, 40, 67, 105, 40, 40, - 67, 67, 112, 116, 116, 40, 67, 117, 40, 57, - 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, - 61, 61, 118, 61, 61, 61, 61, 61, 61, 119, - 68, 114, 1305, 1299, 68, 1293, 114, 121, 68, 61, - 61, 61, 70, 123, 68, 61, 70, 61, 124, 118, - - 120, 120, 70, 61, 68, 61, 119, 68, 114, 61, - 61, 68, 70, 114, 121, 68, 125, 127, 1280, 70, - 123, 68, 61, 70, 61, 124, 1267, 120, 120, 70, - 61, 68, 61, 1244, 128, 1221, 61, 61, 1177, 70, - 1133, 1060, 987, 125, 127, 61, 62, 62, 890, 62, - 62, 62, 62, 62, 62, 793, 667, 129, 71, 72, - 73, 128, 71, 72, 73, 62, 62, 62, 71, 72, - 73, 130, 62, 77, 132, 126, 62, 77, 71, 72, - 73, 126, 62, 77, 129, 71, 72, 73, 133, 71, - 72, 73, 62, 77, 541, 71, 72, 73, 130, 62, - - 77, 132, 126, 62, 77, 71, 72, 73, 126, 62, - 77, 415, 288, 83, 135, 133, 83, 83, 136, 62, - 77, 62, 63, 83, 78, 192, 63, 138, 78, 63, - 63, 131, 78, 83, 131, 190, 63, 139, 78, 63, - 83, 135, 63, 83, 83, 136, 63, 90, 78, 63, - 83, 78, 137, 63, 138, 78, 63, 63, 131, 78, - 83, 131, 137, 63, 139, 78, 63, 137, 137, 63, - 88, 85, 82, 63, 64, 78, 82, 84, 64, 137, - 82, 84, 64, 140, 141, 144, 82, 84, 64, 137, - 142, 64, 142, 145, 137, 137, 82, 84, 64, 82, - - 60, 64, 59, 82, 84, 64, 52, 82, 84, 64, - 140, 141, 144, 82, 84, 64, 51, 142, 64, 142, - 145, 146, 147, 82, 84, 64, 65, 111, 111, 111, - 65, 111, 115, 65, 115, 65, 65, 115, 149, 143, - 65, 143, 150, 115, 151, 65, 65, 47, 146, 147, - 115, 45, 143, 65, 111, 111, 111, 65, 111, 115, - 65, 115, 65, 65, 115, 149, 143, 65, 143, 150, - 115, 151, 65, 65, 66, 148, 153, 115, 148, 143, - 154, 66, 66, 155, 156, 66, 157, 122, 66, 122, - 159, 66, 158, 122, 66, 20, 158, 19, 161, 163, - - 122, 66, 148, 153, 122, 148, 11, 154, 66, 66, - 155, 156, 66, 157, 122, 66, 122, 159, 66, 158, - 122, 66, 69, 158, 160, 161, 163, 122, 69, 69, - 69, 122, 162, 165, 166, 69, 164, 160, 167, 168, - 69, 7, 160, 162, 169, 164, 170, 165, 4, 69, - 172, 160, 173, 164, 174, 69, 69, 69, 3, 162, - 165, 166, 69, 164, 160, 167, 168, 69, 74, 160, - 162, 169, 164, 170, 165, 74, 171, 172, 175, 173, - 164, 174, 74, 177, 176, 74, 178, 171, 74, 74, - 0, 176, 0, 179, 176, 74, 181, 0, 175, 179, - - 182, 183, 74, 171, 0, 175, 180, 0, 291, 74, - 177, 176, 74, 178, 171, 74, 74, 75, 176, 180, - 179, 176, 75, 181, 75, 175, 179, 182, 183, 293, - 75, 75, 200, 180, 75, 291, 200, 75, 75, 0, - 0, 0, 200, 294, 75, 0, 180, 296, 298, 75, - 0, 75, 200, 0, 0, 299, 293, 75, 75, 200, - 300, 75, 301, 200, 75, 75, 76, 201, 201, 200, - 294, 302, 201, 76, 296, 298, 303, 76, 201, 200, - 76, 202, 299, 76, 305, 202, 76, 300, 201, 301, - 306, 202, 0, 76, 201, 201, 202, 0, 302, 201, - - 76, 202, 307, 303, 76, 201, 308, 76, 202, 0, - 76, 305, 202, 76, 79, 201, 79, 306, 202, 79, - 79, 0, 79, 202, 79, 309, 79, 79, 202, 307, - 310, 311, 312, 308, 313, 314, 79, 0, 315, 0, - 0, 79, 0, 79, 0, 0, 79, 79, 203, 79, - 203, 79, 309, 79, 79, 203, 203, 310, 311, 312, - 203, 313, 314, 79, 80, 315, 209, 205, 80, 205, - 209, 80, 80, 205, 205, 203, 209, 203, 80, 205, - 316, 80, 203, 203, 317, 319, 209, 203, 80, 0, - 0, 80, 0, 209, 205, 80, 205, 209, 80, 80, - - 205, 205, 0, 209, 0, 80, 205, 316, 80, 0, - 0, 317, 319, 209, 0, 80, 91, 91, 91, 91, - 91, 91, 91, 91, 91, 91, 92, 92, 92, 92, - 92, 92, 92, 92, 92, 92, 93, 93, 93, 93, - 93, 93, 93, 93, 93, 93, 93, 193, 193, 193, - 193, 193, 193, 193, 193, 193, 193, 194, 194, 194, - 194, 194, 194, 194, 194, 194, 194, 195, 195, 195, - 195, 195, 195, 195, 195, 195, 195, 195, 204, 206, - 208, 204, 304, 320, 304, 208, 321, 208, 206, 204, - 206, 204, 208, 322, 0, 206, 204, 208, 0, 304, - - 206, 204, 0, 0, 0, 204, 206, 208, 204, 304, - 320, 304, 208, 321, 208, 206, 204, 206, 204, 208, - 322, 210, 206, 204, 208, 210, 304, 206, 204, 207, - 207, 210, 211, 323, 211, 207, 318, 207, 0, 211, - 0, 210, 207, 207, 211, 0, 324, 207, 210, 325, - 0, 318, 210, 327, 212, 328, 207, 207, 210, 211, - 323, 211, 207, 318, 207, 212, 211, 212, 210, 207, - 207, 211, 212, 324, 207, 0, 325, 212, 318, 0, - 327, 212, 328, 214, 0, 0, 329, 214, 330, 331, - 0, 0, 212, 214, 212, 332, 333, 334, 215, 212, - - 0, 335, 215, 214, 212, 213, 213, 213, 215, 213, - 214, 215, 213, 329, 214, 330, 331, 213, 215, 336, - 214, 337, 332, 333, 334, 215, 338, 216, 335, 215, - 214, 216, 213, 213, 213, 215, 213, 216, 215, 213, - 339, 340, 216, 341, 213, 215, 336, 216, 337, 342, - 0, 343, 344, 338, 216, 345, 0, 346, 216, 0, - 347, 0, 0, 0, 216, 348, 0, 339, 340, 216, - 341, 0, 349, 350, 216, 217, 342, 217, 343, 344, - 217, 352, 345, 218, 346, 218, 217, 347, 217, 218, - 218, 0, 348, 217, 219, 218, 219, 0, 217, 349, - - 350, 219, 217, 219, 217, 353, 219, 217, 352, 351, - 218, 355, 218, 217, 220, 217, 218, 218, 220, 351, - 217, 219, 218, 219, 220, 217, 0, 356, 219, 0, - 219, 0, 353, 219, 220, 221, 351, 221, 355, 357, - 358, 220, 221, 360, 223, 220, 351, 221, 0, 0, - 361, 220, 0, 223, 356, 223, 225, 0, 225, 0, - 223, 220, 221, 225, 221, 223, 357, 358, 225, 221, - 360, 223, 362, 363, 221, 222, 222, 361, 0, 359, - 223, 364, 223, 225, 222, 225, 222, 223, 366, 359, - 225, 222, 223, 367, 368, 225, 222, 0, 0, 362, - - 363, 369, 222, 222, 370, 226, 359, 226, 364, 0, - 0, 222, 226, 222, 0, 366, 359, 226, 222, 0, - 367, 368, 371, 222, 224, 227, 224, 0, 369, 227, - 224, 370, 226, 0, 226, 227, 224, 224, 372, 226, - 0, 224, 0, 0, 226, 227, 224, 0, 228, 371, - 228, 224, 227, 224, 228, 228, 227, 224, 0, 0, - 228, 374, 227, 224, 224, 372, 229, 230, 224, 230, - 229, 376, 227, 224, 230, 228, 229, 228, 0, 230, - 231, 228, 228, 0, 231, 232, 229, 228, 374, 232, - 231, 0, 377, 229, 230, 232, 230, 229, 376, 378, - - 231, 230, 234, 229, 234, 232, 230, 231, 233, 234, - 233, 231, 232, 229, 234, 233, 232, 231, 233, 377, - 233, 235, 232, 235, 0, 379, 378, 231, 235, 234, - 235, 234, 232, 235, 373, 233, 234, 233, 0, 237, - 380, 234, 233, 237, 236, 233, 236, 233, 235, 237, - 235, 236, 379, 373, 238, 235, 236, 235, 238, 237, - 235, 373, 0, 381, 238, 238, 237, 380, 382, 383, - 237, 236, 384, 236, 238, 0, 237, 240, 236, 240, - 373, 238, 0, 236, 240, 238, 237, 375, 0, 240, - 381, 238, 238, 241, 0, 382, 383, 241, 0, 384, - - 375, 238, 239, 241, 240, 242, 240, 385, 0, 242, - 239, 240, 239, 241, 375, 242, 240, 239, 239, 0, - 241, 277, 239, 0, 241, 242, 0, 375, 277, 239, - 241, 0, 242, 386, 385, 277, 242, 239, 277, 239, - 241, 277, 242, 388, 239, 239, 243, 243, 277, 239, - 243, 246, 242, 246, 0, 277, 243, 246, 246, 0, - 386, 389, 277, 246, 0, 277, 243, 0, 277, 390, - 388, 0, 257, 243, 243, 0, 257, 243, 246, 247, - 246, 247, 257, 243, 246, 246, 247, 0, 389, 0, - 246, 247, 257, 243, 244, 0, 390, 391, 244, 257, - - 244, 392, 244, 257, 244, 0, 247, 393, 247, 257, - 394, 395, 260, 247, 244, 0, 260, 0, 247, 257, - 0, 244, 260, 396, 391, 244, 0, 244, 392, 244, - 0, 244, 260, 0, 393, 0, 397, 394, 395, 260, - 398, 244, 245, 260, 245, 248, 400, 248, 402, 260, - 396, 404, 248, 245, 249, 245, 249, 248, 405, 260, - 245, 249, 249, 397, 406, 245, 249, 398, 407, 245, - 0, 245, 248, 400, 248, 402, 408, 0, 404, 248, - 245, 249, 245, 249, 248, 405, 0, 245, 249, 249, - 0, 406, 245, 249, 250, 407, 250, 251, 0, 251, - - 409, 250, 250, 408, 251, 250, 250, 252, 0, 251, - 254, 403, 254, 403, 0, 0, 0, 254, 252, 0, - 252, 250, 254, 250, 251, 252, 251, 409, 250, 250, - 252, 251, 250, 250, 252, 253, 251, 254, 403, 254, - 403, 253, 401, 253, 254, 252, 255, 252, 253, 254, - 0, 401, 252, 253, 255, 0, 255, 252, 0, 0, - 410, 255, 253, 411, 412, 0, 255, 411, 253, 401, - 253, 0, 413, 255, 542, 253, 0, 256, 401, 256, - 253, 255, 258, 255, 256, 256, 258, 410, 255, 256, - 411, 412, 258, 255, 411, 258, 261, 0, 261, 413, - - 543, 542, 258, 261, 256, 544, 256, 0, 261, 258, - 259, 256, 256, 258, 259, 262, 256, 545, 259, 258, - 0, 546, 258, 261, 259, 261, 262, 543, 262, 258, - 261, 0, 544, 262, 259, 261, 0, 259, 262, 0, - 0, 259, 262, 0, 545, 259, 547, 263, 546, 548, - 0, 259, 263, 262, 263, 262, 264, 549, 264, 263, - 262, 259, 550, 264, 263, 262, 265, 264, 264, 552, - 265, 0, 265, 547, 263, 0, 548, 265, 555, 263, - 0, 263, 265, 264, 549, 264, 263, 556, 557, 550, - 264, 263, 0, 265, 264, 264, 552, 265, 267, 265, - - 0, 0, 267, 268, 265, 555, 267, 268, 558, 265, - 266, 560, 267, 268, 556, 557, 561, 562, 563, 266, - 0, 266, 267, 268, 0, 267, 266, 266, 269, 267, - 268, 266, 269, 267, 268, 558, 269, 266, 560, 267, - 268, 0, 269, 561, 562, 563, 266, 270, 266, 267, - 268, 270, 269, 266, 266, 269, 565, 270, 266, 269, - 270, 566, 271, 269, 0, 567, 271, 270, 272, 269, - 271, 272, 0, 0, 270, 272, 271, 568, 270, 269, - 569, 272, 0, 565, 270, 570, 271, 270, 566, 271, - 571, 272, 567, 271, 270, 272, 572, 271, 272, 273, - - 273, 273, 272, 271, 568, 274, 273, 569, 272, 274, - 573, 273, 570, 271, 0, 274, 0, 571, 272, 576, - 0, 577, 0, 572, 0, 274, 273, 273, 273, 279, - 279, 275, 274, 273, 279, 275, 274, 573, 273, 275, - 279, 275, 274, 276, 578, 280, 576, 276, 577, 280, - 279, 275, 274, 276, 276, 280, 279, 279, 275, 579, - 580, 279, 275, 276, 0, 280, 275, 279, 275, 581, - 276, 578, 280, 0, 276, 582, 280, 279, 275, 583, - 276, 276, 280, 585, 586, 587, 579, 580, 590, 0, - 276, 278, 280, 281, 278, 281, 581, 591, 278, 281, - - 281, 278, 582, 282, 278, 281, 583, 282, 593, 595, - 585, 586, 587, 282, 278, 590, 282, 596, 278, 597, - 281, 278, 281, 282, 591, 278, 281, 281, 278, 283, - 282, 278, 281, 283, 282, 593, 595, 0, 284, 283, - 282, 278, 284, 282, 596, 598, 597, 285, 284, 283, - 282, 285, 421, 284, 421, 285, 283, 599, 284, 421, - 283, 285, 600, 603, 421, 284, 283, 607, 609, 284, - 610, 285, 598, 0, 285, 284, 283, 0, 285, 421, - 284, 421, 285, 0, 599, 284, 421, 0, 285, 600, - 603, 421, 0, 0, 607, 609, 0, 610, 285, 289, - - 289, 289, 289, 289, 289, 289, 289, 289, 289, 416, - 416, 416, 416, 416, 416, 416, 416, 416, 416, 417, - 418, 419, 420, 417, 418, 419, 420, 612, 614, 417, - 418, 419, 420, 0, 613, 613, 0, 615, 0, 417, - 418, 419, 420, 0, 0, 0, 417, 418, 419, 420, - 417, 418, 419, 420, 612, 614, 417, 418, 419, 420, - 423, 613, 613, 422, 615, 422, 417, 418, 419, 420, - 422, 423, 424, 423, 424, 422, 425, 0, 423, 424, - 425, 0, 601, 423, 424, 0, 425, 423, 616, 0, - 422, 618, 422, 601, 0, 0, 425, 422, 423, 424, - - 423, 424, 422, 425, 426, 423, 424, 425, 426, 601, - 423, 424, 427, 425, 426, 616, 427, 428, 618, 619, - 601, 428, 427, 425, 426, 0, 429, 428, 429, 620, - 427, 426, 427, 429, 621, 426, 623, 428, 429, 427, - 430, 426, 430, 427, 428, 624, 619, 430, 428, 427, - 626, 426, 430, 429, 428, 429, 620, 427, 432, 427, - 429, 621, 432, 623, 428, 429, 0, 430, 432, 430, - 0, 432, 624, 0, 430, 0, 0, 626, 432, 430, - 431, 0, 431, 433, 627, 432, 431, 433, 628, 432, - 629, 0, 431, 433, 631, 432, 434, 431, 432, 433, - - 434, 0, 431, 433, 434, 432, 434, 431, 436, 431, - 433, 627, 436, 431, 433, 628, 434, 629, 436, 431, - 433, 631, 0, 434, 431, 0, 433, 434, 436, 431, - 433, 434, 435, 434, 0, 436, 435, 0, 632, 436, - 437, 633, 435, 434, 437, 436, 634, 435, 437, 438, - 636, 438, 435, 0, 437, 436, 438, 637, 0, 435, - 0, 438, 0, 435, 437, 632, 638, 437, 633, 435, - 639, 437, 642, 634, 435, 437, 438, 636, 438, 435, - 439, 437, 439, 438, 637, 440, 439, 439, 438, 440, - 643, 437, 439, 638, 441, 440, 441, 639, 644, 642, - - 645, 441, 646, 0, 649, 440, 441, 439, 442, 439, - 442, 650, 440, 439, 439, 442, 440, 643, 0, 439, - 442, 441, 440, 441, 0, 644, 443, 645, 441, 646, - 443, 649, 440, 441, 0, 442, 443, 442, 650, 652, - 444, 445, 442, 653, 444, 445, 443, 442, 444, 0, - 654, 445, 655, 443, 444, 656, 445, 443, 0, 0, - 657, 445, 0, 443, 444, 658, 652, 444, 445, 0, - 653, 444, 445, 443, 446, 444, 446, 654, 445, 655, - 446, 444, 656, 445, 659, 447, 446, 657, 445, 447, - 0, 444, 658, 0, 448, 447, 446, 0, 448, 660, - - 662, 446, 664, 446, 448, 447, 0, 446, 0, 448, - 0, 659, 447, 446, 448, 0, 447, 449, 0, 0, - 449, 448, 447, 446, 449, 448, 660, 662, 0, 664, - 449, 448, 447, 451, 666, 450, 448, 451, 452, 450, - 449, 448, 452, 451, 449, 450, 450, 449, 452, 796, - 798, 449, 0, 451, 800, 450, 0, 449, 452, 801, - 451, 666, 450, 802, 451, 452, 450, 449, 803, 452, - 451, 0, 450, 450, 453, 452, 796, 798, 453, 454, - 451, 800, 450, 454, 453, 452, 801, 454, 455, 0, - 802, 0, 455, 454, 453, 803, 804, 457, 455, 457, - - 458, 453, 458, 454, 457, 453, 454, 458, 455, 457, - 454, 453, 458, 0, 454, 455, 456, 0, 456, 455, - 454, 453, 456, 804, 457, 455, 457, 458, 456, 458, - 454, 457, 805, 806, 458, 455, 457, 0, 456, 458, - 459, 807, 459, 456, 461, 456, 459, 459, 461, 456, - 808, 460, 459, 460, 461, 456, 810, 811, 460, 805, - 806, 812, 462, 460, 461, 456, 462, 459, 807, 459, - 462, 461, 0, 459, 459, 461, 462, 808, 460, 459, - 460, 461, 0, 810, 811, 460, 462, 813, 812, 462, - 460, 461, 463, 462, 463, 814, 815, 462, 817, 463, - - 464, 464, 464, 462, 463, 818, 819, 464, 465, 465, - 465, 0, 464, 462, 813, 465, 820, 821, 0, 463, - 465, 463, 814, 815, 0, 817, 463, 464, 464, 464, - 822, 463, 818, 819, 464, 465, 465, 465, 466, 464, - 466, 467, 465, 820, 821, 466, 823, 465, 824, 825, - 466, 467, 468, 467, 468, 826, 0, 822, 467, 468, - 0, 468, 0, 467, 468, 466, 0, 466, 467, 0, - 0, 827, 466, 823, 830, 824, 825, 466, 467, 468, - 467, 468, 826, 469, 831, 467, 468, 469, 468, 469, - 467, 468, 470, 471, 469, 832, 470, 471, 827, 469, - - 0, 830, 470, 471, 0, 472, 0, 833, 471, 472, - 469, 831, 470, 471, 469, 472, 469, 834, 472, 470, - 471, 469, 832, 470, 471, 472, 469, 473, 0, 470, - 471, 473, 472, 473, 833, 471, 472, 473, 837, 470, - 471, 840, 472, 841, 834, 472, 474, 473, 0, 475, - 474, 476, 472, 475, 473, 476, 474, 0, 473, 475, - 473, 476, 843, 846, 473, 837, 474, 849, 840, 475, - 841, 476, 0, 474, 473, 477, 475, 474, 476, 477, - 475, 842, 476, 474, 842, 477, 475, 478, 476, 843, - 846, 478, 0, 474, 849, 477, 475, 478, 476, 479, - - 0, 0, 477, 479, 850, 0, 477, 478, 842, 479, - 0, 842, 477, 851, 478, 479, 0, 852, 478, 479, - 0, 480, 477, 480, 478, 481, 479, 481, 480, 0, - 479, 850, 481, 480, 478, 0, 479, 481, 0, 0, - 851, 853, 479, 483, 852, 0, 479, 483, 480, 482, - 480, 482, 481, 483, 481, 480, 482, 482, 0, 481, - 480, 482, 484, 483, 481, 487, 484, 487, 853, 487, - 483, 854, 484, 0, 483, 487, 482, 0, 482, 857, - 483, 858, 484, 482, 482, 487, 485, 485, 482, 484, - 483, 485, 487, 484, 487, 859, 487, 485, 854, 484, - - 490, 488, 487, 488, 490, 488, 857, 485, 858, 484, - 490, 488, 487, 485, 485, 490, 0, 860, 485, 0, - 490, 488, 859, 861, 485, 0, 863, 490, 488, 0, - 488, 490, 488, 864, 485, 486, 489, 490, 488, 486, - 489, 0, 490, 486, 860, 486, 489, 490, 488, 486, - 861, 866, 489, 863, 0, 867, 489, 0, 0, 486, - 864, 491, 486, 489, 492, 491, 486, 489, 492, 868, - 486, 491, 486, 489, 492, 869, 486, 491, 866, 489, - 871, 491, 867, 489, 492, 493, 486, 872, 491, 493, - 0, 492, 491, 493, 873, 492, 868, 0, 491, 493, - - 874, 492, 869, 494, 491, 494, 0, 871, 491, 493, - 494, 492, 493, 875, 872, 494, 493, 495, 0, 495, - 493, 873, 0, 495, 495, 876, 493, 874, 0, 495, - 494, 496, 494, 496, 877, 497, 493, 494, 496, 497, - 875, 0, 494, 496, 495, 497, 495, 0, 878, 498, - 495, 495, 876, 498, 879, 497, 495, 0, 496, 498, - 496, 877, 497, 0, 499, 496, 497, 881, 499, 498, - 496, 501, 497, 501, 499, 878, 498, 499, 501, 0, - 498, 879, 497, 501, 499, 0, 498, 882, 883, 0, - 505, 499, 505, 0, 881, 499, 498, 505, 501, 0, - - 501, 499, 505, 885, 499, 501, 503, 503, 503, 0, - 501, 499, 500, 503, 882, 883, 500, 505, 503, 505, - 500, 886, 0, 887, 505, 988, 500, 990, 992, 505, - 885, 500, 993, 503, 503, 503, 500, 0, 994, 500, - 503, 0, 995, 500, 504, 503, 0, 500, 886, 504, - 887, 504, 988, 500, 990, 992, 504, 997, 500, 993, - 507, 504, 507, 500, 502, 994, 999, 507, 507, 995, - 1000, 504, 507, 502, 0, 502, 504, 502, 504, 1001, - 502, 0, 0, 504, 997, 502, 0, 507, 504, 507, - 506, 502, 1002, 999, 507, 507, 1003, 1000, 1005, 507, - - 502, 506, 502, 506, 502, 508, 1001, 502, 506, 508, - 1007, 508, 502, 506, 1009, 1012, 508, 506, 0, 1002, - 0, 508, 509, 1003, 509, 1005, 1014, 0, 506, 509, - 506, 0, 508, 0, 509, 506, 508, 1007, 508, 1015, - 506, 1009, 1012, 508, 1016, 510, 0, 510, 508, 509, - 511, 509, 510, 1014, 511, 512, 509, 510, 513, 512, - 511, 509, 513, 514, 1023, 512, 1015, 514, 513, 1024, - 511, 1016, 510, 514, 510, 512, 0, 511, 513, 510, - 0, 511, 512, 514, 510, 513, 512, 511, 0, 513, - 514, 1023, 512, 0, 514, 513, 1024, 511, 0, 515, - - 514, 0, 512, 515, 516, 513, 0, 517, 516, 515, - 514, 517, 515, 518, 516, 518, 1025, 517, 517, 515, - 518, 519, 516, 519, 516, 518, 515, 517, 519, 519, - 515, 516, 0, 519, 517, 516, 515, 0, 517, 515, - 518, 516, 518, 1025, 517, 517, 515, 518, 519, 516, - 519, 516, 518, 1028, 517, 519, 519, 520, 1030, 520, - 519, 521, 1032, 521, 520, 520, 1034, 1035, 521, 520, - 522, 1036, 522, 521, 522, 1037, 0, 522, 0, 0, - 1028, 0, 522, 0, 520, 1030, 520, 1038, 521, 1032, - 521, 520, 520, 1034, 1035, 521, 520, 522, 1036, 522, - - 521, 522, 1037, 523, 522, 523, 524, 1040, 524, 522, - 523, 523, 0, 524, 1038, 523, 525, 1041, 524, 526, - 525, 0, 1042, 526, 1043, 0, 525, 0, 0, 526, - 523, 1045, 523, 524, 1040, 524, 525, 523, 523, 526, - 524, 0, 523, 525, 1041, 524, 526, 525, 528, 1042, - 526, 1043, 527, 525, 527, 528, 526, 528, 1045, 527, - 1047, 0, 528, 525, 527, 1049, 526, 528, 529, 0, - 531, 0, 529, 530, 531, 528, 0, 530, 529, 527, - 531, 527, 528, 530, 528, 530, 527, 1047, 529, 528, - 531, 527, 1049, 530, 528, 529, 533, 531, 533, 529, - - 530, 531, 1050, 533, 530, 529, 0, 531, 533, 0, - 530, 0, 530, 1051, 532, 529, 0, 531, 532, 1052, - 530, 1053, 532, 533, 534, 533, 534, 0, 532, 1050, - 533, 534, 0, 534, 1058, 533, 534, 0, 532, 0, - 1051, 532, 1059, 535, 1138, 532, 1052, 1142, 1053, 532, - 0, 534, 535, 534, 535, 532, 1143, 1146, 534, 535, - 534, 1058, 1147, 534, 535, 532, 536, 1148, 536, 1059, - 535, 1138, 1152, 536, 1142, 0, 0, 536, 536, 535, - 537, 535, 537, 1143, 1146, 0, 535, 537, 537, 1147, - 0, 535, 537, 536, 1148, 536, 538, 1154, 538, 1152, - - 536, 1155, 538, 538, 536, 536, 539, 537, 538, 537, - 539, 1158, 539, 0, 537, 537, 1159, 539, 0, 537, - 0, 0, 539, 538, 1154, 538, 1160, 0, 1155, 538, - 538, 1161, 1164, 539, 540, 538, 540, 539, 1158, 539, - 540, 540, 1165, 1159, 539, 668, 540, 668, 669, 539, - 669, 668, 668, 1160, 669, 669, 1168, 668, 1161, 1164, - 669, 540, 0, 540, 1170, 0, 670, 540, 540, 1165, - 670, 0, 668, 540, 668, 669, 670, 669, 668, 668, - 1171, 669, 669, 1168, 668, 671, 670, 669, 672, 671, - 674, 1170, 672, 670, 674, 671, 1172, 670, 672, 1173, - - 674, 672, 673, 670, 673, 671, 1174, 1171, 672, 673, - 674, 0, 671, 670, 673, 672, 671, 674, 0, 672, - 0, 674, 671, 1172, 0, 672, 1173, 674, 672, 673, - 1222, 673, 671, 1174, 0, 672, 673, 674, 675, 676, - 675, 673, 677, 676, 0, 675, 677, 678, 1225, 676, - 675, 678, 677, 0, 0, 678, 1229, 1222, 0, 676, - 1230, 678, 677, 0, 0, 675, 676, 675, 0, 677, - 676, 678, 675, 677, 678, 1225, 676, 675, 678, 677, - 679, 680, 678, 1229, 679, 680, 676, 1230, 678, 677, - 679, 680, 0, 1233, 0, 681, 1234, 1235, 678, 681, - - 679, 680, 0, 681, 1223, 1223, 0, 679, 680, 681, - 0, 679, 680, 1239, 0, 0, 0, 679, 680, 681, - 1233, 682, 681, 1234, 1235, 682, 681, 679, 680, 682, - 681, 682, 1240, 683, 684, 685, 681, 683, 684, 685, - 1239, 682, 1223, 683, 684, 685, 681, 684, 682, 1241, - 0, 0, 682, 683, 684, 685, 682, 0, 682, 1240, - 683, 684, 685, 686, 683, 684, 685, 686, 682, 1223, - 683, 684, 685, 686, 684, 1243, 1241, 687, 686, 687, - 683, 684, 685, 686, 687, 1269, 0, 688, 689, 687, - 686, 688, 689, 0, 686, 0, 0, 688, 689, 1270, - - 686, 0, 1243, 689, 687, 686, 687, 688, 689, 0, - 686, 687, 1269, 690, 688, 689, 687, 690, 688, 689, - 691, 0, 691, 690, 688, 689, 1270, 691, 1246, 1246, - 689, 1273, 691, 690, 688, 689, 692, 692, 692, 0, - 690, 1278, 0, 692, 690, 1282, 1295, 691, 692, 691, - 690, 0, 0, 0, 691, 1294, 1294, 1298, 1273, 691, - 690, 1301, 1306, 692, 692, 692, 1246, 693, 1278, 693, - 692, 1310, 1282, 1295, 693, 692, 693, 0, 694, 693, - 694, 1300, 1300, 1314, 1298, 694, 694, 0, 1301, 1306, - 694, 695, 0, 1246, 693, 0, 693, 1294, 1310, 0, - - 0, 693, 695, 693, 695, 694, 693, 694, 0, 695, - 1314, 0, 694, 694, 695, 0, 1316, 694, 695, 697, - 696, 0, 696, 1300, 1294, 1318, 696, 696, 697, 695, - 697, 695, 696, 1320, 0, 697, 695, 0, 698, 0, - 697, 695, 698, 1316, 0, 0, 697, 696, 698, 696, - 1300, 1322, 1318, 696, 696, 697, 1324, 697, 698, 696, - 1320, 699, 697, 699, 700, 698, 700, 697, 699, 698, - 701, 700, 701, 699, 0, 698, 700, 701, 1322, 0, - 1326, 0, 701, 1324, 1328, 698, 702, 1330, 699, 1332, - 699, 700, 0, 700, 702, 699, 702, 701, 700, 701, - - 699, 702, 0, 700, 701, 0, 702, 1326, 703, 701, - 703, 1328, 703, 702, 1330, 703, 1332, 0, 0, 0, - 703, 702, 704, 702, 704, 0, 704, 0, 702, 704, - 0, 0, 0, 702, 704, 703, 705, 703, 705, 703, - 0, 0, 703, 705, 0, 705, 0, 703, 705, 704, - 706, 704, 706, 704, 0, 707, 704, 706, 706, 0, - 0, 704, 706, 705, 0, 705, 707, 0, 707, 0, - 705, 0, 705, 707, 0, 705, 709, 706, 707, 706, - 709, 708, 707, 0, 706, 706, 709, 0, 0, 706, - 0, 0, 708, 707, 708, 707, 709, 0, 0, 708, - - 707, 0, 710, 709, 708, 707, 710, 709, 708, 0, - 711, 0, 710, 709, 711, 0, 0, 0, 0, 708, - 711, 708, 710, 709, 712, 711, 708, 0, 712, 710, - 711, 708, 713, 710, 712, 0, 713, 711, 714, 710, - 713, 711, 714, 0, 712, 0, 713, 711, 714, 710, - 715, 712, 711, 0, 715, 712, 713, 711, 714, 713, - 715, 712, 0, 713, 716, 714, 0, 713, 716, 714, - 715, 712, 716, 713, 0, 714, 0, 715, 716, 0, - 718, 715, 717, 713, 718, 714, 717, 715, 716, 0, - 718, 716, 717, 717, 719, 716, 719, 715, 0, 716, - - 718, 719, 717, 0, 0, 716, 719, 718, 0, 717, - 0, 718, 0, 717, 0, 716, 0, 718, 0, 717, - 717, 719, 0, 719, 720, 0, 720, 718, 719, 717, - 721, 720, 721, 719, 722, 723, 720, 721, 722, 723, - 0, 0, 721, 0, 722, 723, 0, 0, 723, 0, - 0, 720, 0, 720, 722, 723, 0, 721, 720, 721, - 0, 722, 723, 720, 721, 722, 723, 0, 0, 721, - 0, 722, 723, 0, 0, 723, 724, 0, 724, 0, - 0, 722, 723, 724, 725, 0, 725, 726, 724, 726, - 725, 725, 0, 726, 726, 0, 725, 0, 0, 726, - - 0, 0, 0, 724, 0, 724, 0, 0, 0, 0, - 724, 725, 0, 725, 726, 724, 726, 725, 725, 0, - 726, 726, 0, 725, 0, 0, 726, 727, 728, 729, - 728, 729, 727, 0, 727, 728, 729, 0, 727, 727, - 728, 729, 0, 0, 727, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 727, 728, 729, 728, 729, 727, - 0, 727, 728, 729, 0, 727, 727, 728, 729, 0, - 730, 727, 730, 731, 732, 731, 732, 730, 0, 0, - 731, 732, 730, 0, 0, 731, 732, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 730, 0, 730, - - 731, 732, 731, 732, 730, 0, 0, 731, 732, 730, - 0, 0, 731, 732, 733, 0, 733, 734, 735, 734, - 735, 733, 733, 0, 734, 735, 733, 0, 0, 734, - 735, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 733, 0, 733, 734, 735, 734, 735, 733, 733, - 736, 734, 735, 733, 736, 737, 734, 735, 738, 737, - 736, 0, 738, 740, 739, 737, 739, 740, 738, 740, - 736, 739, 739, 0, 740, 737, 739, 736, 738, 740, - 0, 736, 737, 0, 0, 738, 737, 736, 0, 738, - 740, 739, 737, 739, 740, 738, 740, 736, 739, 739, - - 742, 740, 737, 739, 742, 738, 740, 741, 743, 741, - 742, 0, 743, 741, 741, 0, 0, 0, 743, 741, - 742, 0, 0, 0, 0, 0, 0, 742, 743, 0, - 0, 742, 0, 0, 741, 743, 741, 742, 0, 743, - 741, 741, 744, 0, 744, 743, 741, 742, 744, 0, - 0, 0, 745, 746, 744, 743, 745, 746, 0, 0, - 0, 0, 745, 746, 744, 0, 746, 0, 0, 744, - 0, 744, 745, 746, 0, 744, 0, 0, 0, 745, - 746, 744, 747, 745, 746, 0, 747, 0, 0, 745, - 746, 744, 747, 746, 748, 747, 0, 749, 748, 745, - - 746, 749, 747, 0, 748, 749, 750, 749, 0, 747, - 750, 0, 0, 747, 748, 0, 750, 749, 0, 747, - 0, 748, 747, 0, 749, 748, 750, 0, 749, 747, - 0, 748, 749, 750, 749, 751, 752, 750, 0, 751, - 752, 748, 0, 750, 749, 751, 752, 0, 0, 0, - 753, 0, 0, 750, 753, 751, 752, 0, 753, 0, - 0, 0, 751, 752, 753, 0, 751, 752, 0, 0, - 0, 0, 751, 752, 753, 0, 754, 753, 0, 0, - 754, 753, 751, 752, 754, 753, 0, 0, 755, 756, - 754, 753, 755, 756, 0, 0, 0, 0, 755, 756, - - 754, 753, 757, 754, 0, 0, 757, 754, 755, 756, - 757, 754, 757, 0, 0, 755, 756, 754, 0, 755, - 756, 0, 757, 0, 0, 755, 756, 754, 758, 757, - 759, 0, 758, 757, 759, 755, 756, 757, 758, 757, - 759, 758, 761, 0, 0, 759, 761, 0, 758, 757, - 759, 760, 761, 0, 760, 758, 0, 759, 760, 758, - 0, 759, 761, 0, 760, 758, 0, 759, 758, 761, - 0, 0, 759, 761, 760, 758, 762, 759, 760, 761, - 762, 760, 0, 764, 762, 760, 762, 0, 763, 761, - 763, 760, 764, 0, 764, 763, 762, 0, 765, 764, - - 763, 760, 765, 762, 764, 0, 0, 762, 765, 0, - 764, 762, 0, 762, 0, 763, 0, 763, 765, 764, - 766, 764, 763, 762, 766, 765, 764, 763, 767, 765, - 766, 764, 767, 769, 768, 765, 768, 769, 767, 0, - 766, 768, 0, 769, 0, 765, 768, 766, 767, 0, - 0, 766, 770, 769, 0, 767, 770, 766, 0, 767, - 769, 768, 770, 768, 769, 767, 0, 766, 768, 0, - 769, 0, 770, 768, 771, 767, 0, 772, 771, 770, - 769, 772, 773, 770, 771, 0, 773, 772, 0, 770, - 0, 775, 773, 775, 771, 0, 774, 772, 775, 770, - - 774, 771, 773, 775, 772, 771, 774, 0, 772, 773, - 776, 771, 776, 773, 772, 0, 774, 776, 775, 773, - 775, 771, 776, 774, 772, 775, 0, 774, 0, 773, - 775, 778, 0, 774, 777, 0, 777, 776, 0, 776, - 778, 777, 778, 774, 776, 0, 777, 778, 779, 776, - 779, 0, 778, 0, 0, 779, 0, 779, 778, 0, - 779, 777, 0, 777, 780, 0, 780, 778, 777, 778, - 0, 780, 0, 777, 778, 779, 780, 779, 0, 778, - 0, 0, 779, 781, 779, 781, 782, 779, 0, 0, - 781, 780, 781, 780, 783, 781, 783, 782, 780, 782, - - 0, 783, 783, 780, 782, 0, 783, 0, 0, 782, - 781, 0, 781, 782, 0, 0, 0, 781, 0, 781, - 784, 783, 781, 783, 782, 784, 782, 784, 783, 783, - 785, 782, 784, 783, 785, 786, 782, 784, 786, 786, - 785, 0, 0, 0, 0, 786, 0, 784, 0, 0, - 785, 0, 784, 0, 784, 786, 0, 785, 0, 784, - 0, 785, 786, 0, 784, 786, 786, 785, 0, 787, - 788, 789, 786, 787, 788, 789, 0, 785, 0, 787, - 788, 789, 786, 790, 791, 0, 788, 790, 791, 787, - 788, 789, 0, 790, 791, 0, 787, 788, 789, 0, - - 787, 788, 789, 790, 791, 0, 787, 788, 789, 0, - 790, 791, 0, 788, 790, 791, 787, 788, 789, 0, - 790, 791, 792, 0, 792, 891, 892, 891, 892, 792, - 790, 791, 891, 892, 792, 0, 0, 891, 892, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 792, - 0, 792, 891, 892, 891, 892, 792, 0, 0, 891, - 892, 792, 0, 0, 891, 892, 893, 894, 893, 894, - 0, 895, 896, 893, 894, 895, 896, 0, 893, 894, - 893, 895, 896, 0, 0, 0, 0, 0, 0, 0, - 0, 895, 896, 893, 894, 893, 894, 0, 895, 896, - - 893, 894, 895, 896, 0, 893, 894, 893, 895, 896, - 897, 898, 0, 0, 897, 898, 0, 0, 895, 896, - 897, 898, 0, 900, 900, 899, 898, 0, 900, 899, - 897, 898, 0, 899, 900, 0, 0, 897, 898, 899, - 0, 897, 898, 0, 900, 0, 0, 897, 898, 899, - 900, 900, 899, 898, 0, 900, 899, 897, 898, 0, - 899, 900, 901, 902, 901, 902, 899, 0, 901, 0, - 902, 900, 0, 0, 901, 902, 899, 0, 0, 0, - 0, 0, 0, 0, 901, 0, 903, 0, 903, 901, - 902, 901, 902, 903, 903, 901, 904, 902, 903, 905, - - 904, 901, 902, 905, 906, 907, 904, 907, 906, 905, - 0, 901, 907, 903, 906, 903, 904, 907, 908, 905, - 903, 903, 908, 904, 906, 903, 905, 904, 908, 0, - 905, 906, 907, 904, 907, 906, 905, 0, 908, 907, - 0, 906, 0, 904, 907, 908, 905, 0, 909, 908, - 0, 906, 909, 910, 0, 908, 912, 910, 909, 0, - 912, 910, 911, 0, 911, 908, 912, 910, 909, 911, - 0, 0, 0, 0, 911, 909, 912, 910, 0, 909, - 910, 0, 913, 912, 910, 909, 913, 912, 910, 911, - 0, 911, 913, 912, 910, 909, 911, 0, 0, 0, - - 0, 911, 913, 912, 910, 0, 914, 915, 0, 913, - 914, 915, 0, 913, 0, 0, 914, 915, 916, 913, - 916, 0, 915, 0, 0, 916, 914, 915, 0, 913, - 916, 917, 0, 914, 915, 917, 918, 914, 915, 0, - 918, 917, 0, 914, 915, 916, 918, 916, 0, 915, - 0, 917, 916, 914, 915, 919, 918, 916, 917, 919, - 0, 0, 917, 918, 922, 919, 922, 918, 917, 0, - 920, 922, 0, 918, 920, 919, 922, 0, 917, 0, - 920, 0, 919, 918, 921, 920, 919, 0, 921, 0, - 920, 922, 919, 922, 921, 0, 923, 920, 922, 921, - - 923, 920, 919, 922, 921, 0, 923, 920, 924, 925, - 924, 921, 920, 925, 924, 921, 923, 920, 926, 925, - 924, 921, 926, 923, 0, 0, 921, 923, 926, 925, - 924, 921, 0, 923, 0, 924, 925, 924, 926, 0, - 925, 924, 0, 923, 927, 926, 925, 924, 927, 926, - 0, 0, 0, 0, 927, 926, 925, 924, 0, 928, - 0, 0, 927, 928, 927, 926, 929, 0, 929, 928, - 930, 927, 930, 929, 928, 927, 0, 930, 929, 928, - 0, 927, 930, 0, 0, 0, 928, 0, 0, 927, - 928, 927, 0, 929, 0, 929, 928, 930, 0, 930, - - 929, 928, 0, 931, 930, 929, 928, 0, 931, 930, - 931, 932, 933, 932, 933, 931, 0, 0, 932, 933, - 931, 0, 0, 932, 933, 0, 0, 0, 0, 0, - 931, 0, 0, 0, 0, 931, 0, 931, 932, 933, - 932, 933, 931, 0, 0, 932, 933, 931, 0, 0, - 932, 933, 934, 0, 934, 935, 936, 935, 936, 934, - 934, 0, 935, 936, 934, 0, 0, 935, 936, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 934, - 0, 934, 935, 936, 935, 936, 934, 934, 0, 935, - 936, 934, 0, 0, 935, 936, 937, 938, 937, 0, - - 0, 938, 0, 937, 937, 0, 0, 938, 937, 939, - 0, 939, 0, 0, 0, 0, 939, 938, 0, 939, - 940, 939, 940, 937, 938, 937, 0, 940, 938, 0, - 937, 937, 940, 0, 938, 937, 939, 0, 939, 0, - 0, 0, 0, 939, 938, 0, 939, 940, 939, 940, - 941, 942, 941, 942, 940, 0, 943, 941, 942, 940, - 0, 0, 941, 942, 943, 0, 943, 0, 0, 0, - 0, 943, 0, 0, 0, 0, 943, 941, 942, 941, - 942, 0, 0, 943, 941, 942, 0, 0, 0, 941, - 942, 943, 944, 943, 944, 945, 946, 945, 943, 944, - - 946, 0, 945, 943, 944, 0, 946, 945, 947, 0, - 947, 0, 0, 0, 0, 947, 946, 0, 0, 944, - 947, 944, 945, 946, 945, 0, 944, 946, 948, 945, - 0, 944, 0, 946, 945, 947, 0, 947, 0, 948, - 0, 948, 947, 946, 0, 0, 948, 947, 0, 0, - 949, 948, 949, 0, 0, 948, 0, 949, 949, 950, - 0, 0, 949, 950, 0, 950, 948, 0, 948, 0, - 950, 0, 0, 948, 0, 950, 0, 949, 948, 949, - 0, 0, 0, 0, 949, 949, 950, 0, 0, 949, - 950, 951, 950, 951, 952, 0, 952, 950, 951, 951, - - 0, 952, 950, 951, 954, 953, 952, 953, 954, 0, - 0, 0, 953, 0, 954, 0, 0, 953, 951, 0, - 951, 952, 0, 952, 954, 951, 951, 0, 952, 0, - 951, 954, 953, 952, 953, 954, 0, 0, 955, 953, - 0, 954, 955, 0, 953, 956, 956, 0, 955, 0, - 956, 954, 0, 955, 0, 0, 956, 0, 955, 0, - 0, 0, 0, 0, 0, 955, 956, 0, 0, 955, - 0, 0, 956, 956, 957, 955, 0, 956, 957, 0, - 955, 0, 958, 956, 957, 955, 958, 957, 0, 0, - 0, 0, 958, 956, 957, 958, 959, 0, 0, 0, - - 959, 957, 958, 0, 0, 957, 959, 0, 960, 958, - 0, 957, 960, 958, 957, 0, 959, 0, 960, 958, - 961, 957, 958, 959, 961, 0, 0, 959, 960, 958, - 961, 0, 962, 959, 0, 960, 962, 0, 0, 960, - 961, 0, 962, 959, 0, 960, 963, 961, 0, 0, - 963, 961, 962, 0, 963, 960, 0, 961, 964, 962, - 963, 0, 964, 962, 967, 0, 964, 961, 967, 962, - 963, 0, 964, 963, 967, 965, 965, 963, 0, 962, - 965, 963, 964, 0, 967, 964, 965, 963, 968, 964, - 966, 967, 968, 964, 966, 967, 965, 963, 968, 964, - - 966, 967, 965, 965, 0, 966, 0, 965, 968, 964, - 966, 967, 0, 965, 0, 968, 970, 966, 0, 968, - 970, 966, 0, 965, 970, 968, 0, 966, 969, 969, - 970, 0, 966, 969, 971, 968, 971, 966, 0, 969, - 970, 971, 0, 970, 0, 0, 971, 970, 0, 969, - 0, 970, 972, 0, 972, 969, 969, 970, 972, 972, - 969, 971, 0, 971, 972, 0, 969, 970, 971, 0, - 973, 0, 973, 971, 0, 0, 969, 973, 973, 972, - 0, 972, 973, 974, 0, 972, 972, 0, 0, 975, - 0, 972, 0, 0, 974, 0, 974, 973, 0, 973, - - 975, 974, 975, 0, 973, 973, 974, 975, 0, 973, - 974, 0, 975, 976, 0, 976, 975, 0, 0, 0, - 976, 974, 0, 974, 977, 976, 977, 975, 974, 975, - 0, 977, 0, 974, 975, 0, 977, 0, 0, 975, - 976, 0, 976, 0, 978, 979, 979, 976, 978, 0, - 979, 977, 976, 977, 978, 0, 979, 0, 977, 0, - 0, 0, 0, 977, 978, 0, 979, 0, 0, 0, - 980, 978, 979, 979, 980, 978, 0, 979, 981, 0, - 980, 978, 981, 979, 0, 0, 0, 982, 981, 982, - 980, 978, 0, 979, 982, 983, 0, 980, 981, 982, - - 0, 980, 0, 0, 0, 981, 983, 980, 983, 981, - 0, 0, 0, 983, 982, 981, 982, 980, 983, 984, - 0, 982, 983, 0, 0, 981, 982, 985, 0, 985, - 984, 0, 984, 983, 985, 983, 986, 984, 986, 985, - 983, 0, 984, 986, 0, 983, 984, 0, 986, 0, - 0, 0, 0, 0, 985, 0, 985, 984, 1061, 984, - 0, 985, 1061, 986, 984, 986, 985, 1062, 1061, 984, - 986, 1062, 1063, 0, 1063, 986, 1066, 1062, 1061, 1063, - 1066, 1064, 0, 1064, 1063, 1061, 1066, 1062, 1064, 1061, - 1065, 0, 1065, 1064, 1062, 1061, 1066, 1065, 1062, 1063, - - 0, 1063, 1065, 1066, 1062, 1061, 1063, 1066, 1064, 0, - 1064, 1063, 1067, 1066, 1062, 1064, 1067, 1065, 0, 1065, - 1064, 0, 1067, 1066, 1065, 0, 1068, 1067, 1068, 1065, - 0, 0, 1067, 1068, 1069, 1070, 1069, 1070, 1068, 1067, - 0, 1069, 1070, 1067, 0, 0, 1069, 1070, 0, 1067, - 0, 0, 0, 1068, 1067, 1068, 0, 0, 0, 1067, - 1068, 1069, 1070, 1069, 1070, 1068, 0, 0, 1069, 1070, - 1071, 0, 1071, 1069, 1070, 0, 1072, 1071, 1072, 1073, - 1073, 1073, 1071, 1072, 1072, 0, 1073, 0, 1072, 0, - 0, 1073, 0, 0, 0, 0, 0, 1071, 0, 1071, - - 0, 0, 0, 1072, 1071, 1072, 1073, 1073, 1073, 1071, - 1072, 1072, 1074, 1073, 0, 1072, 0, 1075, 1073, 1075, - 0, 1074, 0, 1074, 1075, 0, 0, 0, 1074, 1075, - 1076, 0, 1076, 1074, 0, 0, 0, 1076, 1076, 1074, - 0, 0, 1076, 0, 1075, 0, 1075, 0, 1074, 0, - 1074, 1075, 0, 0, 0, 1074, 1075, 1076, 0, 1076, - 1074, 1077, 1078, 1077, 1076, 1076, 0, 0, 1077, 1076, - 0, 0, 1078, 1077, 1078, 1079, 0, 1079, 0, 1078, - 0, 0, 1079, 0, 1078, 0, 0, 1079, 1077, 1078, - 1077, 0, 0, 0, 1080, 1077, 0, 0, 0, 1078, - - 1077, 1078, 1079, 1080, 1079, 1080, 1078, 0, 0, 1079, - 1080, 1078, 0, 0, 1079, 1080, 1081, 1082, 1081, 1082, - 0, 1080, 0, 1081, 1082, 0, 0, 0, 1081, 1082, - 1080, 0, 1080, 0, 0, 0, 0, 1080, 0, 0, - 0, 0, 1080, 1081, 1082, 1081, 1082, 1083, 0, 1083, - 1081, 1082, 0, 1085, 1083, 1081, 1082, 1085, 1084, 1083, - 1084, 0, 1086, 1085, 0, 1084, 1086, 0, 0, 0, - 1084, 0, 1086, 1085, 1083, 0, 1083, 0, 0, 0, - 1085, 1083, 1086, 0, 1085, 1084, 1083, 1084, 0, 1086, - 1085, 0, 1084, 1086, 1087, 0, 1087, 1084, 1089, 1086, - - 1085, 1087, 1089, 1088, 0, 1088, 1087, 0, 1089, 1086, - 1088, 1088, 1101, 0, 1101, 1088, 1090, 0, 1089, 1101, - 1090, 1087, 0, 1087, 1101, 1089, 1090, 0, 1087, 1089, - 1088, 0, 1088, 1087, 0, 1089, 1090, 1088, 1088, 1101, - 1091, 1101, 1088, 1090, 1091, 1089, 1101, 1090, 1092, 0, - 1091, 1101, 1092, 1090, 0, 0, 0, 0, 1092, 0, - 1091, 0, 1093, 1090, 0, 0, 1093, 1091, 1092, 0, - 1094, 1091, 1093, 0, 1094, 1092, 0, 1091, 0, 1092, - 1094, 0, 1093, 0, 1095, 1092, 0, 1091, 1095, 1093, - 1094, 0, 1096, 1093, 1095, 1092, 1096, 1094, 0, 1093, - - 0, 1094, 1096, 0, 1095, 1096, 1097, 1094, 0, 1093, - 1097, 1095, 1096, 0, 1098, 1095, 1097, 1094, 1098, 1096, - 1099, 1095, 1098, 1096, 1099, 0, 1097, 0, 1098, 1096, - 1099, 1095, 1096, 1097, 0, 0, 0, 1097, 1098, 1096, - 1099, 1098, 1100, 1097, 0, 1098, 1100, 1099, 0, 1098, - 0, 1099, 1100, 1097, 1102, 1098, 1102, 1099, 0, 0, - 0, 1102, 1100, 0, 0, 1098, 1102, 1099, 1103, 1100, - 1103, 0, 0, 1100, 0, 1103, 0, 0, 0, 1100, - 1103, 1102, 0, 1102, 1104, 0, 1104, 1105, 1102, 1100, - 0, 1104, 1106, 1102, 1106, 1103, 1104, 1103, 1105, 1106, - - 1105, 0, 1103, 0, 1106, 1105, 0, 1103, 0, 0, - 1105, 1104, 0, 1104, 1105, 0, 0, 0, 1104, 1106, - 0, 1106, 1107, 1104, 1107, 1105, 1106, 1105, 0, 1107, - 1107, 1106, 1105, 0, 1107, 1108, 0, 1105, 1109, 1108, - 1110, 0, 1109, 1111, 1110, 1108, 0, 1111, 1109, 1107, - 1110, 1107, 0, 1111, 0, 1108, 1107, 1107, 1109, 0, - 1110, 1107, 1108, 1111, 0, 1109, 1108, 1110, 0, 1109, - 1111, 1110, 1108, 0, 1111, 1109, 0, 1110, 0, 1112, - 1111, 0, 1108, 1112, 0, 1109, 1113, 1110, 1113, 1112, - 1111, 0, 1113, 0, 0, 1114, 0, 1114, 1113, 1112, - - 0, 1114, 1115, 0, 1115, 0, 1112, 1114, 1113, 1115, - 1112, 0, 0, 1113, 1115, 1113, 1112, 1114, 0, 1113, - 0, 0, 1114, 0, 1114, 1113, 1112, 0, 1114, 1115, - 1116, 1115, 1116, 0, 1114, 1113, 1115, 1116, 1117, 0, - 1117, 1115, 1116, 0, 1114, 1117, 1118, 0, 1118, 1119, - 1117, 1119, 0, 1118, 0, 0, 1119, 1116, 1118, 1116, - 0, 1119, 0, 0, 1116, 1117, 0, 1117, 0, 1116, - 0, 0, 1117, 1118, 0, 1118, 1119, 1117, 1119, 1120, - 1118, 1120, 1121, 1119, 1121, 1118, 1120, 1122, 1119, 1121, - 0, 1120, 0, 0, 1121, 0, 0, 0, 1122, 0, - - 1122, 0, 0, 0, 0, 1122, 1120, 0, 1120, 1121, - 1122, 1121, 0, 1120, 1122, 1123, 1121, 0, 1120, 0, - 1124, 1121, 0, 0, 0, 1122, 1123, 1122, 1123, 1124, - 0, 1124, 1122, 1123, 0, 0, 1124, 1122, 1123, 0, - 0, 1124, 1123, 0, 0, 0, 0, 1124, 0, 0, - 0, 0, 0, 1123, 1126, 1123, 1124, 0, 1124, 1125, - 1123, 1125, 1126, 1124, 1126, 1123, 1125, 1125, 1124, 1126, - 1127, 1125, 1127, 1128, 1126, 1128, 0, 1127, 0, 0, - 1128, 1126, 1127, 0, 0, 1128, 1125, 0, 1125, 1126, - 0, 1126, 0, 1125, 1125, 0, 1126, 1127, 1125, 1127, - - 1128, 1126, 1128, 1129, 1127, 1129, 1130, 1128, 1130, 1127, - 1129, 0, 1128, 1130, 1131, 1129, 1131, 1132, 1130, 1132, - 1131, 1131, 0, 0, 1132, 0, 1131, 0, 0, 1132, - 1129, 0, 1129, 1130, 0, 1130, 0, 1129, 0, 0, - 1130, 1131, 1129, 1131, 1132, 1130, 1132, 1131, 1131, 0, - 1178, 1132, 1178, 1131, 0, 0, 1132, 1178, 1179, 1180, - 1179, 1180, 1178, 0, 0, 1179, 1180, 0, 0, 0, - 1179, 1180, 0, 0, 0, 0, 0, 1178, 0, 1178, - 0, 0, 0, 0, 1178, 1179, 1180, 1179, 1180, 1178, - 0, 0, 1179, 1180, 1181, 1182, 1181, 1179, 1180, 1182, - - 1183, 1181, 0, 0, 1183, 1182, 1181, 0, 0, 1184, - 1183, 0, 0, 1184, 0, 1182, 1185, 1185, 0, 1184, - 1183, 1181, 1182, 1181, 0, 0, 1182, 1183, 1181, 1184, - 0, 1183, 1182, 1181, 0, 0, 1184, 1183, 0, 1186, - 1184, 1185, 1182, 1186, 0, 1185, 1184, 1183, 0, 1186, - 1187, 1185, 0, 1188, 1187, 0, 1184, 1188, 1187, 1186, - 0, 1185, 0, 1188, 1187, 0, 1186, 0, 1185, 0, - 1186, 0, 1185, 1188, 1187, 0, 1186, 1187, 1185, 1189, - 1188, 1187, 0, 1189, 1188, 1187, 1186, 0, 1185, 1189, - 1188, 1187, 1190, 1191, 0, 0, 1190, 1191, 0, 1189, - - 1188, 1187, 1190, 1191, 0, 1192, 1189, 1192, 1191, 1192, - 1189, 0, 1190, 1191, 0, 1192, 1189, 1193, 1194, 1190, - 1191, 1193, 1194, 1190, 1191, 1192, 1189, 1193, 1194, 1190, - 1191, 0, 1192, 0, 1192, 1191, 1192, 1193, 1194, 1190, - 1191, 0, 1192, 1195, 1193, 1194, 0, 1195, 1193, 1194, - 0, 0, 1192, 1195, 1193, 1194, 0, 0, 0, 1196, - 1197, 1196, 1197, 1195, 1193, 1194, 1196, 1197, 0, 0, - 1195, 1196, 1197, 0, 1195, 0, 0, 0, 0, 0, - 1195, 0, 0, 0, 0, 0, 1196, 1197, 1196, 1197, - 1195, 1198, 0, 1196, 1197, 0, 0, 0, 1196, 1197, - - 1198, 1199, 1198, 1199, 1200, 0, 1200, 1198, 1199, 0, - 0, 1200, 1198, 1199, 0, 0, 1200, 0, 1198, 0, - 0, 0, 0, 0, 0, 0, 0, 1198, 1199, 1198, - 1199, 1200, 0, 1200, 1198, 1199, 0, 0, 1200, 1198, - 1199, 0, 1201, 1200, 1201, 1202, 1203, 1202, 0, 1201, - 1203, 1202, 1202, 0, 1201, 1204, 1203, 1202, 0, 1204, - 0, 0, 0, 0, 0, 1204, 1203, 0, 0, 1201, - 0, 1201, 1202, 1203, 1202, 1204, 1201, 1203, 1202, 1202, - 0, 1201, 1204, 1203, 1202, 0, 1204, 1205, 1206, 1205, - 1206, 0, 1204, 1203, 1205, 1206, 1207, 0, 1207, 1205, - - 1206, 0, 1204, 1207, 0, 0, 0, 0, 1207, 0, - 0, 0, 0, 0, 1205, 1206, 1205, 1206, 0, 0, - 0, 1205, 1206, 1207, 0, 1207, 1205, 1206, 0, 1208, - 1207, 1208, 0, 0, 0, 1207, 1208, 1208, 0, 1209, - 1209, 1208, 1209, 1210, 0, 1210, 0, 1209, 0, 0, - 1210, 0, 1209, 0, 0, 1210, 1208, 0, 1208, 0, - 0, 0, 0, 1208, 1208, 0, 1209, 1209, 1208, 1209, - 1210, 1211, 1210, 1211, 1209, 0, 0, 1210, 1211, 1209, - 0, 0, 1210, 1211, 1212, 0, 1212, 1213, 0, 1213, - 0, 1212, 1212, 0, 1213, 1214, 1212, 1214, 1211, 1213, - - 1211, 1214, 1214, 0, 0, 1211, 0, 1214, 0, 0, - 1211, 1212, 0, 1212, 1213, 0, 1213, 0, 1212, 1212, - 0, 1213, 1214, 1212, 1214, 0, 1213, 0, 1214, 1214, - 1215, 1215, 1215, 1216, 1214, 1216, 0, 1215, 0, 0, - 1216, 1216, 1215, 1217, 0, 1216, 1218, 1217, 0, 0, - 1218, 1219, 0, 1217, 0, 1219, 1218, 1215, 1215, 1215, - 1216, 1219, 1216, 1217, 1215, 0, 1218, 1216, 1216, 1215, - 1217, 1219, 1216, 1218, 1217, 1220, 0, 1218, 1219, 1220, - 1217, 0, 1219, 1218, 0, 1220, 0, 1245, 1219, 0, - 1217, 1245, 0, 1218, 0, 1220, 0, 1245, 1219, 1247, - - 1245, 1248, 1220, 1247, 0, 1248, 1220, 1245, 0, 1247, - 0, 1248, 1220, 1249, 1245, 0, 1248, 1249, 1245, 1247, - 0, 1248, 1220, 1249, 1245, 1250, 1247, 1245, 1248, 1250, - 1247, 0, 1248, 1249, 1245, 1250, 1247, 1251, 1248, 0, - 1249, 1251, 0, 1248, 1249, 1250, 1247, 1251, 1248, 1252, - 1249, 1252, 1250, 1252, 0, 0, 1250, 1251, 0, 1252, - 1249, 0, 1250, 0, 1251, 0, 0, 1253, 1251, 1252, - 0, 1253, 1250, 0, 1251, 1254, 1252, 1253, 1252, 1254, - 1252, 0, 1253, 0, 1251, 1254, 1252, 1253, 0, 0, - 0, 0, 0, 1255, 1253, 1254, 1252, 1255, 1253, 0, - - 0, 0, 1254, 1255, 1253, 0, 1254, 0, 0, 1253, - 0, 0, 1254, 1255, 1253, 1256, 0, 0, 0, 1256, - 1255, 0, 1254, 0, 1255, 1256, 1258, 1257, 1256, 1257, - 1255, 1258, 0, 1258, 1257, 1256, 0, 0, 1258, 1257, - 1255, 0, 1256, 1258, 0, 0, 1256, 0, 0, 0, - 0, 0, 1256, 1258, 1257, 1256, 1257, 1259, 1258, 1259, - 1258, 1257, 1256, 0, 1259, 1258, 1257, 0, 0, 1259, - 1258, 1260, 0, 1260, 0, 1261, 0, 1261, 1260, 0, - 0, 0, 1261, 1260, 1259, 0, 1259, 1261, 0, 0, - 0, 1259, 0, 1262, 0, 0, 1259, 1262, 1260, 0, - - 1260, 0, 1261, 1262, 1261, 1260, 0, 1263, 0, 1261, - 1260, 1263, 1264, 1262, 1261, 1265, 1264, 1263, 1263, 1265, - 1262, 0, 1264, 0, 1262, 1265, 0, 1263, 0, 0, - 1262, 0, 1264, 0, 1263, 1265, 1266, 1266, 1263, 1264, - 1262, 1266, 1265, 1264, 1263, 1263, 1265, 1266, 0, 1264, - 1281, 1281, 1265, 0, 1263, 0, 1283, 1266, 0, 1264, - 1283, 1284, 1265, 1266, 1266, 1284, 1283, 0, 1266, 0, - 1286, 1284, 1286, 0, 1266, 1281, 1283, 1286, 0, 1281, - 0, 1284, 1286, 1283, 1266, 1281, 0, 1283, 1284, 1287, - 1285, 1287, 1284, 1283, 1285, 1281, 1287, 1286, 1284, 1286, - - 1285, 1287, 1281, 1283, 1286, 0, 1281, 0, 1284, 1286, - 1285, 0, 1281, 1288, 0, 1288, 1287, 1285, 1287, 0, - 1288, 1285, 1281, 1287, 1289, 1288, 1289, 1285, 1287, 0, - 0, 1289, 1290, 0, 1290, 0, 1289, 1285, 0, 1290, - 1288, 0, 1288, 0, 1290, 1291, 0, 1288, 0, 1291, - 1292, 1289, 1288, 1289, 1292, 1291, 0, 0, 1289, 1290, - 1292, 1290, 0, 1289, 1302, 1291, 1290, 0, 1302, 1303, - 1292, 1290, 1291, 1303, 1302, 0, 1291, 1292, 1304, 1303, - 1304, 1292, 1291, 0, 1302, 1304, 1312, 1292, 1312, 1303, - 1304, 1302, 1291, 1312, 0, 1302, 1303, 1292, 1312, 0, - - 1303, 1302, 0, 0, 0, 1304, 1303, 1304, 0, 0, - 0, 1302, 1304, 1312, 0, 1312, 1303, 1304, 0, 0, - 1312, 0, 0, 0, 0, 1312, 1344, 1344, 1344, 1344, - 1344, 1345, 0, 0, 1345, 1345, 1347, 1347, 1347, 0, - 1347, 1348, 0, 1348, 1348, 1348, 1349, 0, 1349, 1349, - 1349, 1350, 0, 1350, 1350, 1350, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, - 1343, 1343, 1343 - } ; +struct yy_trans_info { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; +}; +static const flex_int16_t yy_accept[1344] = { + 0, 0, 0, 184, 184, 2, 2, 188, 186, 4, 4, 186, 186, 175, 182, 175, 175, 179, 175, 175, 175, 181, + 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, + 181, 175, 184, 185, 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, 170, + 0, 1, 0, 177, 176, 179, 172, 171, 169, 173, 181, 181, 181, + + 181, 181, 181, 12, 181, 181, 181, 19, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, + 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 72, 181, 181, 75, 84, 181, 181, 181, 181, 181, 181, + 181, 181, 181, 102, 181, 181, 107, 110, 111, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, + 181, 181, 181, 181, 181, 181, 181, 147, 181, 181, 181, 181, 181, 181, 181, 181, 181, 174, 184, 183, 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, 2, 2, 2, 2, 2, 2, 2, 180, 0, + 176, 5, 181, 7, 181, 181, 10, 181, 13, 181, 181, 181, + + 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 34, 181, 181, 181, 181, 181, 181, 181, 181, + 181, 181, 181, 49, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 60, 181, 181, 181, 181, 181, 181, 181, + 181, 181, 181, 181, 181, 181, 79, 181, 181, 87, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 103, 181, + 181, 181, 108, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 133, 181, + 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 148, 181, + + 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 181, 181, 181, + 181, 181, 181, 181, 181, 181, 20, 181, 22, 23, 24, 181, 181, 181, 29, 181, 181, 181, 32, 35, 181, 181, + 181, 181, 181, 41, 181, 181, 181, 46, 47, 181, 181, 181, 181, 181, 181, 181, 181, 57, 181, 181, 181, 62, + 63, 181, 181, 67, 181, 69, 70, 181, 181, 181, 181, 181, + + 181, 83, 181, 86, 88, 89, 181, 91, 181, 181, 94, 181, 181, 181, 181, 181, 105, 181, 181, 181, 181, 114, + 181, 181, 117, 181, 181, 181, 181, 122, 181, 181, 181, 181, 127, 181, 181, 181, 181, 135, 136, 181, 181, 181, + 181, 181, 143, 144, 145, 181, 150, 181, 181, 181, 181, 181, 181, 181, 181, 181, 160, 181, 162, 181, 164, 165, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 0, 6, 8, 181, 11, 181, 15, 181, + + 181, 181, 181, 181, 181, 181, 181, 181, 31, 181, 181, 181, 181, 181, 181, 40, 181, 181, 181, 181, 181, 181, + 181, 181, 181, 181, 181, 56, 58, 181, 181, 181, 65, 181, 71, 73, 181, 76, 77, 181, 181, 181, 181, 90, + 92, 181, 95, 96, 181, 99, 181, 181, 181, 181, 112, 113, 181, 181, 181, 181, 181, 121, 181, 181, 125, 181, + 181, 181, 181, 134, 181, 181, 181, 140, 181, 181, 181, 181, 181, 153, 181, 181, 181, 157, 181, 181, 181, 163, + 166, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 181, + 14, 181, 17, 181, 181, 181, 25, 27, 181, 30, 181, 181, + + 181, 181, 181, 39, 181, 43, 181, 45, 181, 50, 51, 181, 53, 181, 181, 181, 61, 64, 66, 68, 74, 78, + 181, 181, 181, 85, 93, 97, 100, 181, 104, 181, 109, 181, 181, 181, 181, 181, 123, 181, 181, 128, 130, 132, + 181, 138, 181, 141, 181, 181, 181, 181, 181, 154, 155, 156, 158, 181, 181, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 9, 16, 18, 21, 181, 26, 28, 181, 181, 181, 37, + 38, 181, 181, 181, 52, 54, 55, 181, 80, 181, 181, 98, 101, 181, 181, 181, 181, 119, 120, 181, 181, 129, + 131, 181, 139, 181, 181, 181, 181, 181, 159, 161, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 181, + 0, 33, 181, 42, 44, 48, 181, 181, 82, 106, 181, 181, 181, 124, 126, 137, 181, 181, 181, 151, 181, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 0, 181, 0, 181, 59, 81, 181, 116, 118, 142, 146, 181, 152, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 0, 0, 0, 36, 115, 181, 2, 2, + + 2, 2, 2, 2, 0, 0, 167, 149, 2, 2, 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, + 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 168, 2, 2, 0, 2, 0, 2, 178, 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, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 6, 6, 20, 21, 22, 6, 1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 6, 1, 6, 6, 49, 1, 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, 6, 76, 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[77] = {0, 1, 1, 2, 1, 3, 1, 4, 1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 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[1351] = { + 0, 0, 0, 852, 842, 76, 0, 842, 8757, 151, 153, 786, 0, 8757, 8757, 149, 148, + 160, 159, 777, 775, 156, 156, 165, 210, 202, 255, 151, 163, 265, 152, 171, 215, 218, + 244, 295, 257, 0, 309, 349, 392, 163, 279, 226, 180, 676, 0, 741, 0, 237, 251, + 696, 702, 0, 0, 243, 378, 451, 237, 682, 680, 470, 546, 600, 652, 700, 752, 384, + 458, 795, 466, 532, 533, 534, 846, 895, 944, 547, 602, 990, 1042, 307, 650, 587, 651, + 596, 301, 8757, 666, 8757, 636, 1107, 1117, 1128, 8757, 8757, 8757, 8757, 0, 218, 243, + + 300, 328, 250, 305, 379, 315, 319, 0, 376, 354, 694, 389, 345, 440, 710, 387, 388, + 436, 439, 476, 463, 763, 460, 465, 480, 542, 481, 501, 521, 535, 591, 539, 546, 0, + 584, 581, 627, 592, 607, 637, 657, 658, 717, 646, 658, 686, 681, 734, 705, 720, 717, + 0, 751, 739, 757, 745, 764, 766, 755, 802, 770, 799, 770, 812, 811, 804, 816, 800, + 822, 823, 842, 824, 818, 817, 856, 861, 858, 856, 860, 880, 870, 859, 879, 8757, 0, + 8757, 0, 396, 0, 631, 0, 614, 1138, 1148, 1159, 0, 0, 0, 0, 906, + + 942, 955, 1015, 1156, 1034, 1155, 1202, 1152, 1040, 1195, 1199, 1232, 1272, 1257, 1272, 1301, 1353, + 1350, 1361, 1388, 1402, 1451, 1420, 1500, 1423, 1472, 1499, 1515, 1540, 1534, 1554, 1559, 1575, 1569, + 1588, 1611, 1613, 1628, 1677, 1644, 1667, 1679, 1720, 1768, 1820, 1718, 1746, 1812, 1821, 1861, 1864, + 1885, 1908, 1877, 1921, 1944, 1746, 1956, 1988, 1786, 1963, 1993, 2019, 2023, 2037, 2086, 2076, 2077, + 2106, 2121, 2140, 2145, 2166, 2179, 2205, 2217, 1699, 2268, 2204, 2219, 2260, 2277, 2303, 2312, 2325, + 0, 8757, 601, 2390, 0, 882, 0, 903, 910, 0, 925, 0, 912, 925, 916, + + 932, 938, 943, 1158, 945, 948, 968, 965, 979, 1008, 991, 993, 1008, 995, 1005, 1050, 1062, + 1210, 1061, 1157, 1145, 1170, 1196, 1220, 1213, 0, 1231, 1229, 1262, 1248, 1256, 1256, 1256, 1271, + 1279, 1286, 1287, 1292, 1307, 1318, 1301, 1320, 1321, 1311, 1316, 1325, 1324, 1339, 1346, 1347, 1383, + 1339, 1370, 0, 1370, 1401, 1409, 1415, 1457, 1415, 1422, 1430, 1432, 1439, 0, 1466, 1460, 1455, + 1461, 1478, 1496, 1499, 1612, 1526, 1663, 1537, 1564, 1566, 1603, 1599, 1634, 1635, 1629, 1646, 1671, + 1707, 0, 1704, 1717, 1732, 1764, 1760, 1766, 1777, 1774, 1782, 1801, 1814, 0, 1811, + + 1916, 1812, 1875, 1815, 1836, 1829, 1826, 1852, 1856, 1919, 1928, 1935, 1933, 0, 600, 2400, 2393, + 2394, 2395, 2396, 2319, 2430, 2438, 2439, 2450, 2478, 2486, 2491, 2493, 2507, 2556, 2532, 2557, 2570, + 2606, 2582, 2618, 2616, 2647, 2659, 2661, 2675, 2700, 2718, 2715, 2750, 2759, 2768, 2794, 2809, 2807, + 2812, 2848, 2857, 2862, 2892, 2864, 2867, 2907, 2918, 2918, 2940, 2959, 2967, 2975, 3005, 3018, 3019, + 3054, 3066, 3067, 3079, 3101, 3120, 3123, 3125, 3149, 3161, 3173, 3188, 3192, 3216, 3217, 3236, 3261, + 3313, 3239, 3275, 3310, 3274, 3335, 3338, 3363, 3370, 3384, 3398, 3409, 3423, 3438, 3490, + + 3438, 3540, 3473, 3516, 3457, 3568, 3527, 3576, 3589, 3612, 3624, 3629, 3632, 3637, 3673, 3678, 3681, + 3680, 3688, 3724, 3728, 3737, 3770, 3773, 3790, 3793, 3819, 3822, 3842, 3847, 3844, 3892, 3863, 3891, + 3919, 3933, 3947, 3963, 3977, 4001, 582, 1935, 1961, 1959, 1971, 1982, 2011, 2023, 2022, 2036, 0, + 2047, 0, 0, 2056, 2053, 2058, 2069, 0, 2070, 2076, 2091, 2077, 0, 2123, 2127, 2123, 2136, + 2158, 2146, 2166, 2166, 2177, 0, 0, 2194, 2184, 2207, 2217, 2219, 2247, 2253, 2253, 0, 2242, + 2248, 2263, 0, 0, 2266, 2260, 0, 2273, 0, 2269, 2291, 2280, 2300, 2318, 2323, + + 2454, 0, 2330, 0, 0, 0, 2326, 0, 2335, 2344, 0, 2401, 2394, 2399, 2398, 2458, 0, + 2467, 2493, 2490, 2495, 0, 2502, 2515, 0, 2524, 2562, 2566, 2564, 0, 2560, 2599, 2600, 2623, + 0, 2616, 2622, 2642, 2644, 0, 0, 2639, 2664, 2668, 2674, 2666, 0, 0, 2664, 2671, 0, + 2715, 2701, 2715, 2710, 2733, 2719, 2737, 2758, 2770, 0, 2758, 0, 2776, 0, 2794, 544, 4012, + 4015, 4040, 4059, 4062, 4069, 4064, 4105, 4113, 4116, 4125, 4154, 4155, 4173, 4195, 4207, 4208, 4209, + 4237, 4244, 4261, 4262, 4287, 4287, 4303, 4334, 4345, 4369, 4387, 4395, 4412, 4428, 4431, + + 4437, 4461, 4475, 4489, 4503, 4517, 4533, 4559, 4550, 4576, 4584, 4598, 4610, 4612, 4624, 4642, 4656, + 4654, 4661, 4691, 4697, 4708, 4709, 4743, 4751, 4754, 4799, 4795, 4796, 4837, 4840, 4841, 4881, 4884, + 4885, 4924, 4929, 4932, 4931, 4934, 4974, 4974, 4982, 5018, 5026, 5027, 5056, 5068, 5071, 5080, 5109, + 5110, 5128, 5154, 5162, 5163, 5176, 5202, 5204, 5228, 5216, 5250, 5255, 5259, 5272, 5294, 5302, 5301, + 5307, 5326, 5348, 5351, 5356, 5370, 5358, 5377, 5401, 5407, 5415, 5431, 5450, 5464, 5461, 5492, 5504, + 5509, 5543, 5544, 5545, 5557, 5558, 5589, 543, 0, 0, 2802, 0, 2824, 0, 2828, + + 2818, 2841, 2843, 2872, 2897, 2892, 2905, 2924, 0, 2921, 2927, 2925, 2965, 2962, 2970, 0, 2968, + 2964, 2971, 2990, 2987, 3004, 3005, 3007, 3009, 3025, 3047, 0, 0, 3030, 3043, 3062, 3067, 3089, + 0, 0, 3097, 0, 0, 3100, 3117, 3141, 3129, 0, 0, 3138, 0, 0, 3141, 3164, 3191, + 3176, 3212, 3230, 0, 0, 3253, 3240, 3270, 3278, 3284, 0, 3300, 3303, 0, 3329, 3333, 3344, + 3334, 0, 3350, 3362, 3372, 3360, 3374, 3384, 3412, 3426, 3419, 0, 3441, 3462, 3462, 0, 3463, + 3499, 3501, 0, 0, 536, 5592, 5593, 5633, 5634, 5645, 5646, 5684, 5685, 5703, 5698, + + 5738, 5730, 5753, 5770, 5773, 5778, 5772, 5792, 5822, 5831, 5829, 5830, 5856, 5880, 5881, 5885, 5905, + 5910, 5929, 5944, 5958, 5931, 5970, 5984, 5983, 5992, 6018, 6033, 6033, 6037, 6075, 6078, 6079, 6119, + 6122, 6123, 6163, 6171, 6176, 6187, 6217, 6218, 6231, 6259, 6262, 6270, 6275, 6306, 6317, 6330, 6358, + 6361, 6372, 6378, 6412, 6420, 6448, 6456, 6470, 6482, 6494, 6506, 6524, 6536, 6550, 6564, 6538, 6562, + 6603, 6594, 6601, 6619, 6637, 6661, 6667, 6680, 6691, 6718, 6720, 6744, 6752, 6754, 6773, 6797, 6794, + 6803, 526, 3499, 0, 3492, 0, 3493, 3506, 3497, 3502, 0, 3524, 0, 3525, 3536, + + 3555, 3559, 3555, 0, 3575, 0, 3586, 0, 3579, 0, 0, 3589, 0, 3591, 3598, 3614, 0, + 0, 0, 0, 0, 0, 3625, 3643, 3694, 0, 0, 3713, 0, 3725, 0, 3740, 0, 3725, + 3737, 3741, 3749, 3741, 0, 3783, 3793, 3782, 3784, 0, 3796, 0, 3827, 0, 3843, 3880, 3889, + 3878, 3896, 0, 0, 0, 0, 3895, 3909, 525, 6832, 6841, 6839, 6848, 6857, 6850, 6886, 6893, + 6901, 6902, 6937, 6943, 6946, 6988, 6984, 6997, 7028, 7039, 7042, 7070, 7083, 7084, 7114, 7125, 7127, + 7136, 7161, 7170, 7172, 7190, 7214, 7222, 7236, 7244, 7258, 7266, 7280, 7292, 7294, 7316, + + 7179, 7321, 7335, 7351, 7365, 7359, 7389, 7409, 7412, 7414, 7417, 7453, 7462, 7471, 7469, 7497, 7505, + 7513, 7516, 7546, 7549, 7565, 7593, 7596, 7626, 7629, 7637, 7640, 7670, 7673, 7681, 7684, 529, 0, + 0, 0, 0, 3918, 0, 0, 436, 3921, 3934, 0, 0, 3931, 3921, 3939, 0, 0, 0, + 3937, 0, 3973, 3968, 0, 0, 3972, 3990, 3990, 3996, 0, 0, 3991, 4010, 0, 0, 4015, + 0, 4025, 4046, 4055, 4073, 4080, 0, 0, 527, 7717, 7725, 7726, 7761, 7769, 7774, 7783, 7815, + 7813, 7828, 7827, 7853, 7866, 7867, 7879, 7891, 7892, 7917, 7926, 7927, 7967, 7968, 7971, + + 8009, 8012, 8020, 8029, 8054, 8055, 8063, 8096, 8107, 8110, 8138, 8151, 8154, 8162, 8197, 8200, 8217, + 8220, 8225, 8249, 526, 4091, 4203, 0, 4107, 0, 0, 0, 4128, 4119, 0, 0, 4154, 4161, + 4169, 0, 0, 0, 4167, 4195, 4219, 0, 4250, 524, 8261, 4327, 8273, 8275, 8287, 8299, 8311, + 8323, 8341, 8349, 8367, 8389, 8394, 8398, 8424, 8438, 8442, 8467, 8481, 8486, 8489, 8511, 514, 438, + 4249, 4273, 0, 0, 4291, 0, 0, 0, 0, 4305, 0, 506, 8549, 4309, 8530, 8535, 8564, + 8537, 8556, 8580, 8591, 8599, 8619, 8624, 470, 4354, 4302, 0, 0, 4322, 468, 4380, + + 4317, 8638, 8643, 8645, 465, 4340, 8757, 0, 418, 4349, 0, 8653, 418, 4344, 390, 4377, 388, + 4379, 386, 4387, 347, 4421, 343, 4426, 338, 4445, 335, 4449, 334, 4459, 332, 4461, 303, 8757, + 293, 0, 299, 286, 248, 243, 8757, 0, 8757, 8726, 8731, 201, 8736, 8741, 8746, 8751}; + +static const flex_int16_t yy_def[1351] = { + 0, 1343, 1, 1344, 1344, 1343, 5, 1343, 1343, 1343, 1343, 1343, 1345, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1343, 1347, 1343, 1348, 1348, 1343, + 1348, 1349, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1350, 1350, 62, 62, 62, 63, 65, + 62, 65, 62, 62, 62, 62, 63, 63, 63, 62, 62, 62, 62, 65, 62, 62, 62, + 1348, 1343, 1343, 1345, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1346, 1346, 1346, + + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1343, 1347, + 1343, 1348, 1348, 1348, 1349, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 1348, 62, + + 62, 62, 65, 65, 65, 65, 65, 65, 62, 62, 65, 65, 65, 62, 62, 62, 65, + 65, 65, 62, 65, 65, 65, 62, 65, 65, 62, 65, 62, 65, 62, 62, 65, 65, + 65, 65, 62, 62, 65, 65, 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, 65, + 65, 65, 65, 65, 65, 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, 62, 62, + 62, 62, 62, 62, 65, 62, 62, 62, 63, 62, 62, 62, 65, 62, 62, 62, 62, + 1348, 1343, 1343, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, 1348, 1348, 62, + 62, 62, 62, 65, 65, 65, 65, 62, 62, 62, 62, 65, 65, 62, 62, 62, 62, + 62, 62, 62, 65, 65, 62, 65, 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 65, 65, 65, 65, 62, 62, 65, 65, 65, 65, 65, 65, + 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 65, 65, 65, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, 65, 65, 65, 62, 62, 62, 62, + + 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 62, 62, 62, 62, 62, 62, 62, + 65, 65, 65, 65, 65, 65, 65, 62, 62, 65, 65, 62, 62, 62, 62, 65, 65, + 65, 65, 65, 65, 65, 65, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, 65, + 65, 62, 62, 62, 65, 62, 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, + 62, 65, 62, 62, 62, 65, 65, 65, 65, 65, 65, 65, 62, 65, 65, + + 65, 65, 65, 65, 65, 65, 65, 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, + 62, 65, 65, 65, 62, 62, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, + 65, 62, 62, 62, 65, 65, 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 65, 65, 62, 62, 62, 65, + 62, 62, 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 62, + 62, 62, 62, 62, 62, 62, 65, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1348, 65, 65, 65, 65, 62, 62, 62, 62, 62, 62, + + 62, 65, 65, 62, 62, 62, 65, 62, 62, 62, 65, 62, 62, 62, 62, 65, 62, + 62, 62, 62, 62, 65, 62, 62, 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, + 65, 65, 65, 62, 65, 65, 65, 65, 65, 65, 65, 62, 65, 65, 65, 65, 65, + 65, 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 65, 65, 65, 65, 65, 65, 65, 62, 62, 62, 62, 65, 65, 65, 65, + 65, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, 62, 62, 65, 65, 65, 62, 62, 65, + 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 62, + 62, 65, 65, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, + + 65, 65, 65, 65, 65, 65, 65, 62, 62, 62, 62, 62, 62, 62, 65, 65, 65, + 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 1343, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, 65, 65, 65, 65, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 65, 65, 65, 65, 65, + + 65, 65, 62, 62, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 62, + 62, 62, 62, 1343, 1346, 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, 62, 1348, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 65, 65, 65, 65, 65, 62, 62, 62, 62, 62, 1343, 1346, + 1343, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1348, 62, 1348, 62, 62, 62, + 65, 65, 65, 65, 65, 62, 62, 1343, 1343, 1343, 1346, 1346, 1346, 1348, 1348, + + 1348, 62, 62, 65, 1343, 1343, 1343, 1346, 1348, 1348, 1348, 65, 1343, 1343, 1348, 1348, 1343, + 1343, 1348, 1348, 1343, 1343, 1348, 1348, 1343, 1343, 1348, 1348, 1343, 1343, 1348, 1348, 1343, 1343, + 1348, 1348, 1343, 1348, 1343, 1348, 1343, 1348, 0, 1343, 1343, 1343, 1343, 1343, 1343, 1343}; + +static const flex_int16_t yy_nxt[8834] = { + 0, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 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, 57, 57, 57, 57, 57, 57, 57, 57, 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, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 90, + 92, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 94, 95, 99, 105, 100, 129, + 131, 106, 109, 139, 101, 130, 102, 107, 132, 110, 103, 104, 140, 176, 133, + + 177, 111, 108, 178, 112, 98, 183, 113, 99, 105, 100, 129, 131, 106, 109, 139, 101, + 130, 102, 107, 132, 110, 103, 104, 140, 176, 133, 177, 111, 108, 178, 112, 114, 183, + 113, 119, 115, 120, 188, 86, 116, 141, 121, 290, 144, 142, 117, 122, 145, 118, 191, + 143, 86, 86, 146, 181, 182, 196, 197, 114, 1342, 192, 119, 115, 120, 1341, 147, 116, + 141, 121, 290, 144, 142, 117, 122, 145, 118, 123, 143, 156, 148, 146, 181, 182, 291, + 124, 149, 150, 125, 296, 157, 126, 134, 147, 127, 1340, 158, 128, 135, 136, + + 137, 179, 86, 86, 123, 138, 156, 148, 1339, 180, 1338, 291, 124, 149, 150, 125, 296, + 157, 126, 134, 1337, 127, 151, 158, 128, 135, 136, 137, 179, 297, 152, 159, 138, 292, + 153, 160, 180, 154, 155, 161, 200, 293, 278, 301, 279, 162, 1335, 280, 1333, 151, 294, + 1331, 200, 295, 1329, 302, 297, 152, 159, 1327, 292, 153, 160, 1325, 154, 155, 161, 200, + 293, 278, 301, 279, 162, 163, 280, 164, 305, 294, 165, 200, 295, 166, 302, 167, 312, + 168, 169, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 188, 86, 1323, + + 163, 1321, 164, 305, 1319, 165, 298, 299, 166, 303, 167, 312, 168, 169, 170, 310, 304, + 231, 171, 200, 300, 172, 173, 232, 200, 311, 320, 321, 174, 200, 322, 175, 1317, 298, + 299, 1315, 303, 1223, 1223, 1294, 1294, 170, 310, 304, 231, 171, 200, 300, 172, 173, 232, + 200, 311, 320, 321, 174, 200, 322, 175, 194, 195, 195, 195, 195, 195, 195, 195, 195, + 195, 195, 187, 187, 323, 187, 187, 187, 187, 187, 187, 324, 233, 313, 1313, 1309, 200, + 1305, 314, 327, 234, 187, 187, 187, 200, 333, 235, 201, 200, 202, 334, 323, + + 325, 326, 241, 203, 200, 204, 324, 233, 313, 205, 206, 200, 200, 314, 327, 234, 335, + 338, 1299, 200, 333, 235, 201, 200, 202, 334, 1293, 325, 326, 241, 203, 200, 204, 1280, + 339, 1267, 205, 206, 1244, 200, 1221, 1177, 1133, 335, 338, 187, 187, 187, 1060, 187, 187, + 187, 187, 187, 187, 987, 890, 340, 242, 243, 246, 339, 200, 244, 247, 187, 187, 187, + 200, 245, 248, 341, 207, 200, 344, 336, 208, 200, 200, 200, 200, 337, 209, 200, 340, + 242, 243, 246, 345, 200, 244, 247, 210, 200, 793, 200, 245, 248, 341, 207, + + 200, 344, 336, 208, 200, 200, 200, 200, 337, 209, 200, 667, 541, 200, 346, 345, 283, + 284, 347, 210, 200, 187, 211, 200, 261, 415, 200, 352, 262, 212, 200, 342, 263, 200, + 343, 414, 213, 353, 264, 214, 200, 346, 215, 283, 284, 347, 200, 288, 200, 211, 200, + 261, 348, 200, 352, 262, 212, 200, 342, 263, 200, 343, 349, 213, 353, 264, 214, 350, + 351, 215, 287, 286, 281, 200, 216, 200, 200, 285, 217, 348, 282, 200, 218, 354, 355, + 361, 200, 200, 219, 349, 356, 220, 357, 362, 350, 351, 200, 200, 200, 281, + + 199, 216, 198, 200, 285, 217, 187, 282, 200, 218, 354, 355, 361, 200, 200, 219, 189, + 356, 220, 357, 362, 363, 364, 200, 200, 200, 200, 306, 307, 308, 200, 309, 315, 221, + 316, 222, 200, 317, 367, 358, 223, 359, 368, 318, 369, 224, 200, 186, 363, 364, 319, + 184, 360, 200, 306, 307, 308, 200, 309, 315, 221, 316, 222, 200, 317, 367, 358, 223, + 359, 368, 318, 369, 224, 200, 225, 365, 370, 319, 366, 360, 371, 200, 226, 372, 373, + 227, 374, 328, 228, 329, 377, 229, 375, 330, 230, 97, 376, 96, 381, 384, + + 331, 225, 365, 370, 332, 366, 87, 371, 200, 226, 372, 373, 227, 374, 328, 228, 329, + 377, 229, 375, 330, 230, 236, 376, 378, 381, 384, 331, 237, 238, 239, 332, 382, 388, + 390, 240, 385, 379, 391, 392, 200, 1343, 380, 383, 393, 386, 394, 389, 47, 236, 397, + 378, 398, 387, 399, 237, 238, 239, 47, 382, 388, 390, 240, 385, 379, 391, 392, 200, + 249, 380, 383, 393, 386, 394, 389, 200, 395, 397, 400, 398, 387, 399, 250, 405, 402, + 200, 406, 396, 251, 252, 1343, 403, 1343, 407, 404, 249, 411, 1343, 401, 408, + + 412, 413, 200, 395, 1343, 400, 409, 1343, 542, 250, 405, 402, 200, 406, 396, 251, 252, + 200, 403, 410, 407, 404, 253, 411, 200, 401, 408, 412, 413, 543, 254, 200, 200, 409, + 255, 542, 200, 256, 257, 1343, 1343, 1343, 200, 544, 200, 1343, 410, 545, 546, 253, 1343, + 200, 200, 1343, 1343, 547, 543, 254, 200, 200, 548, 255, 549, 200, 256, 257, 258, 417, + 200, 200, 544, 550, 200, 200, 545, 546, 551, 259, 200, 200, 200, 200, 547, 260, 555, + 200, 200, 548, 200, 549, 556, 200, 1343, 258, 417, 200, 418, 1343, 550, 200, + + 200, 200, 557, 551, 259, 200, 558, 200, 200, 1343, 260, 555, 200, 200, 265, 200, 266, + 556, 200, 267, 200, 1343, 268, 418, 269, 559, 270, 271, 200, 557, 560, 561, 562, 558, + 563, 564, 200, 1343, 565, 1343, 1343, 265, 1343, 266, 1343, 1343, 267, 200, 419, 268, 200, + 269, 559, 270, 271, 200, 420, 560, 561, 562, 200, 563, 564, 200, 272, 565, 200, 200, + 273, 200, 200, 274, 275, 423, 200, 419, 429, 200, 276, 200, 566, 277, 200, 420, 567, + 570, 200, 200, 200, 1343, 1343, 272, 1343, 200, 200, 273, 200, 200, 274, 275, + + 423, 200, 1343, 429, 1343, 276, 200, 566, 277, 1343, 1343, 567, 570, 200, 1343, 200, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 289, 289, 289, 289, 289, 289, 289, 289, + 289, 289, 92, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 193, 193, 193, 193, + 193, 193, 193, 193, 193, 193, 416, 416, 416, 416, 416, 416, 416, 416, 416, 416, 194, + 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 421, 424, 428, 422, 552, 571, 553, + 200, 572, 200, 200, 200, 200, 200, 200, 573, 1343, 200, 200, 200, 1343, 554, + + 200, 200, 1343, 1343, 1343, 421, 424, 428, 422, 552, 571, 553, 200, 572, 200, 200, 200, + 200, 200, 200, 573, 200, 200, 200, 200, 200, 554, 200, 200, 425, 426, 200, 430, 574, + 200, 200, 568, 200, 1343, 431, 1343, 200, 200, 427, 200, 1343, 575, 200, 200, 576, 1343, + 569, 200, 577, 432, 578, 425, 426, 200, 430, 574, 200, 200, 568, 200, 200, 431, 200, + 200, 200, 427, 200, 200, 575, 200, 1343, 576, 200, 569, 1343, 577, 432, 578, 437, 1343, + 1343, 579, 200, 580, 581, 1343, 1343, 200, 438, 200, 582, 583, 584, 200, 200, + + 1343, 585, 200, 200, 200, 433, 434, 435, 200, 436, 437, 439, 200, 579, 200, 580, 581, + 200, 200, 586, 438, 587, 582, 583, 584, 200, 588, 200, 585, 200, 200, 200, 433, 434, + 435, 200, 436, 200, 439, 200, 589, 590, 440, 591, 200, 200, 586, 441, 587, 592, 1343, + 593, 594, 588, 200, 595, 1343, 596, 200, 1343, 597, 1343, 1343, 1343, 200, 598, 1343, 589, + 590, 440, 591, 1343, 599, 600, 441, 442, 592, 443, 593, 594, 444, 603, 595, 200, 596, + 200, 445, 597, 200, 447, 448, 1343, 598, 446, 200, 200, 200, 1343, 200, 599, + + 600, 200, 442, 449, 443, 604, 200, 444, 603, 601, 200, 605, 200, 445, 200, 200, 447, + 448, 200, 602, 446, 200, 200, 200, 450, 200, 1343, 606, 200, 1343, 449, 1343, 604, 200, + 200, 200, 601, 200, 605, 607, 608, 200, 451, 611, 454, 200, 602, 200, 1343, 1343, 612, + 450, 1343, 200, 606, 200, 460, 1343, 200, 1343, 200, 200, 200, 200, 200, 200, 607, 608, + 200, 451, 611, 454, 613, 614, 200, 452, 453, 612, 1343, 609, 200, 615, 200, 460, 200, + 200, 200, 200, 616, 610, 200, 200, 200, 617, 618, 200, 200, 1343, 1343, 613, + + 614, 619, 452, 453, 620, 461, 609, 200, 615, 1343, 1343, 200, 200, 200, 1343, 616, 610, + 200, 200, 1343, 617, 618, 621, 200, 455, 200, 456, 1343, 619, 200, 457, 620, 461, 1343, + 200, 462, 200, 458, 622, 200, 1343, 459, 1343, 1343, 200, 200, 200, 1343, 463, 621, 200, + 455, 200, 456, 464, 200, 200, 457, 1343, 1343, 200, 625, 462, 200, 458, 622, 200, 466, + 459, 200, 200, 628, 200, 200, 200, 463, 465, 200, 1343, 200, 200, 464, 200, 1343, 200, + 200, 200, 200, 625, 200, 467, 1343, 629, 200, 466, 468, 200, 200, 628, 630, + + 200, 200, 200, 465, 471, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 469, 200, + 467, 470, 629, 200, 200, 468, 200, 1343, 631, 630, 200, 200, 200, 472, 471, 200, 200, + 623, 200, 200, 200, 1343, 200, 632, 200, 469, 473, 200, 470, 200, 200, 200, 200, 200, + 200, 631, 624, 200, 200, 200, 472, 200, 200, 200, 623, 1343, 633, 200, 474, 200, 632, + 634, 635, 473, 200, 636, 200, 200, 1343, 200, 200, 200, 479, 624, 200, 1343, 200, 200, + 200, 200, 626, 1343, 200, 633, 200, 474, 200, 1343, 634, 635, 480, 1343, 636, + + 627, 200, 475, 200, 200, 200, 479, 637, 1343, 200, 200, 200, 476, 200, 626, 200, 200, + 477, 478, 1343, 200, 527, 200, 1343, 480, 481, 1343, 627, 200, 475, 200, 1343, 200, 638, + 637, 200, 200, 200, 200, 476, 200, 528, 200, 639, 477, 478, 200, 482, 527, 200, 200, + 200, 481, 200, 1343, 200, 200, 488, 200, 1343, 638, 640, 200, 200, 1343, 200, 200, 1343, + 528, 641, 639, 1343, 499, 200, 482, 1343, 200, 200, 200, 200, 200, 489, 200, 200, 488, + 200, 200, 1343, 640, 1343, 200, 200, 200, 200, 200, 1343, 641, 642, 200, 499, + + 483, 643, 484, 200, 200, 1343, 200, 644, 489, 200, 645, 646, 502, 200, 200, 1343, 503, + 1343, 200, 200, 1343, 200, 200, 647, 642, 200, 1343, 483, 643, 484, 1343, 200, 200, 1343, + 644, 1343, 648, 645, 646, 502, 649, 200, 485, 503, 486, 200, 650, 490, 653, 200, 647, + 656, 200, 200, 200, 487, 200, 200, 657, 200, 200, 200, 491, 648, 658, 200, 200, 649, + 659, 485, 1343, 486, 200, 650, 490, 653, 660, 1343, 656, 200, 200, 200, 487, 200, 200, + 657, 1343, 200, 200, 491, 1343, 658, 200, 200, 200, 659, 200, 494, 1343, 200, + + 661, 200, 492, 660, 200, 493, 200, 495, 1343, 200, 200, 654, 200, 655, 1343, 1343, 1343, + 200, 200, 1343, 200, 200, 200, 200, 494, 200, 200, 661, 200, 492, 200, 200, 493, 200, + 495, 496, 200, 200, 654, 200, 655, 200, 651, 200, 200, 200, 497, 200, 200, 200, 1343, + 652, 200, 200, 200, 1343, 200, 200, 1343, 1343, 662, 200, 496, 663, 665, 1343, 200, 664, + 200, 651, 200, 1343, 666, 497, 794, 200, 1343, 200, 652, 200, 200, 200, 200, 200, 200, + 498, 200, 662, 200, 200, 663, 665, 200, 200, 664, 500, 200, 1343, 504, 666, + + 795, 794, 200, 200, 200, 796, 200, 1343, 200, 200, 501, 200, 498, 200, 200, 505, 200, + 797, 200, 200, 1343, 798, 500, 200, 200, 504, 200, 795, 506, 200, 200, 1343, 796, 507, + 200, 200, 1343, 501, 200, 1343, 1343, 200, 505, 1343, 797, 200, 799, 508, 798, 800, 1343, + 200, 200, 200, 200, 506, 509, 801, 200, 200, 507, 200, 802, 200, 200, 200, 511, 510, + 200, 803, 200, 1343, 200, 799, 508, 1343, 800, 200, 804, 200, 1343, 200, 200, 509, 801, + 200, 200, 805, 806, 802, 200, 200, 1343, 511, 510, 200, 803, 200, 515, 200, + + 1343, 1343, 200, 200, 200, 804, 200, 517, 807, 200, 512, 808, 516, 200, 805, 806, 809, + 810, 811, 513, 1343, 200, 200, 200, 1343, 515, 200, 514, 518, 200, 200, 200, 200, 200, + 517, 807, 200, 512, 808, 516, 200, 1343, 200, 809, 810, 811, 513, 200, 200, 200, 200, + 200, 200, 200, 514, 518, 812, 200, 200, 200, 519, 813, 520, 200, 1343, 814, 200, 200, + 521, 200, 200, 200, 1343, 1343, 200, 200, 200, 815, 200, 200, 816, 200, 1343, 812, 200, + 817, 200, 519, 813, 520, 818, 200, 814, 200, 200, 521, 819, 200, 200, 200, + + 522, 200, 200, 200, 815, 524, 200, 816, 200, 200, 820, 523, 817, 200, 1343, 200, 1343, + 818, 200, 821, 1343, 822, 1343, 819, 1343, 200, 200, 522, 200, 532, 200, 200, 524, 200, + 200, 200, 200, 820, 523, 525, 200, 200, 200, 200, 823, 200, 821, 200, 822, 533, 200, + 200, 200, 200, 526, 200, 532, 200, 200, 824, 825, 200, 200, 200, 1343, 200, 525, 200, + 200, 826, 200, 823, 200, 1343, 200, 827, 533, 200, 200, 828, 200, 526, 200, 829, 830, + 831, 824, 825, 832, 1343, 200, 529, 200, 534, 200, 200, 826, 833, 530, 535, + + 200, 531, 827, 536, 200, 200, 828, 200, 834, 835, 829, 830, 831, 200, 200, 832, 537, + 836, 529, 837, 534, 200, 200, 200, 833, 530, 535, 200, 531, 538, 536, 200, 200, 200, + 200, 834, 835, 1343, 200, 200, 200, 200, 200, 537, 836, 838, 837, 540, 200, 200, 200, + 200, 670, 539, 200, 200, 538, 839, 200, 200, 200, 200, 840, 843, 200, 200, 200, 844, + 845, 200, 846, 200, 838, 1343, 540, 200, 200, 1343, 200, 670, 539, 200, 200, 1343, 839, + 200, 200, 1343, 200, 840, 843, 200, 1343, 1343, 844, 845, 1343, 846, 200, 289, + + 289, 289, 289, 289, 289, 289, 289, 289, 289, 416, 416, 416, 416, 416, 416, 416, 416, + 416, 416, 200, 668, 200, 669, 200, 200, 200, 200, 847, 850, 200, 200, 200, 200, 1343, + 848, 849, 1343, 851, 1343, 200, 200, 200, 200, 1343, 1343, 1343, 200, 668, 200, 669, 200, + 200, 200, 200, 847, 850, 200, 200, 200, 200, 671, 848, 849, 200, 851, 200, 200, 200, + 200, 200, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 1343, 841, 200, 200, + 1343, 672, 671, 852, 1343, 200, 853, 200, 842, 1343, 1343, 200, 200, 200, 200, + + 200, 200, 200, 200, 200, 200, 200, 200, 673, 841, 200, 200, 200, 672, 200, 852, 200, + 200, 853, 854, 842, 675, 200, 200, 200, 1343, 676, 200, 200, 855, 674, 200, 200, 200, + 856, 673, 857, 200, 200, 200, 677, 200, 200, 200, 200, 858, 854, 200, 675, 200, 859, + 200, 200, 676, 200, 200, 855, 674, 200, 200, 200, 856, 200, 857, 200, 200, 1343, 677, + 200, 200, 1343, 681, 858, 1343, 200, 1343, 1343, 859, 200, 200, 678, 1343, 679, 200, 860, + 200, 200, 200, 861, 200, 862, 1343, 200, 200, 863, 200, 200, 680, 681, 682, + + 200, 1343, 200, 200, 683, 200, 200, 678, 200, 679, 200, 860, 200, 200, 200, 861, 200, + 862, 200, 200, 200, 863, 1343, 200, 680, 1343, 682, 200, 685, 200, 200, 683, 200, 200, + 1343, 200, 200, 1343, 864, 200, 686, 865, 200, 200, 200, 200, 866, 684, 200, 200, 867, + 200, 200, 1343, 200, 685, 687, 868, 1343, 200, 1343, 200, 1343, 200, 200, 864, 869, 686, + 865, 200, 870, 200, 871, 866, 684, 200, 200, 867, 200, 200, 200, 200, 200, 687, 868, + 689, 688, 200, 200, 200, 872, 200, 200, 869, 200, 200, 200, 870, 873, 871, + + 874, 690, 875, 1343, 876, 200, 200, 200, 691, 200, 200, 877, 689, 688, 200, 200, 200, + 872, 1343, 200, 200, 200, 200, 200, 1343, 873, 200, 874, 690, 875, 692, 876, 200, 200, + 1343, 691, 200, 200, 877, 878, 693, 694, 200, 879, 200, 200, 200, 200, 200, 1343, 880, + 200, 881, 200, 200, 882, 695, 692, 1343, 1343, 883, 200, 1343, 200, 200, 884, 878, 693, + 694, 1343, 879, 200, 200, 200, 696, 200, 200, 880, 200, 881, 200, 200, 882, 695, 885, + 697, 200, 883, 200, 200, 1343, 200, 884, 1343, 200, 200, 200, 1343, 200, 886, + + 887, 696, 888, 200, 200, 200, 1343, 200, 1343, 698, 1343, 885, 697, 200, 200, 1343, 200, + 699, 1343, 1343, 200, 200, 200, 200, 200, 200, 886, 887, 1343, 888, 200, 200, 200, 701, + 889, 200, 698, 200, 200, 200, 200, 200, 200, 200, 699, 200, 700, 200, 702, 988, 989, + 200, 1343, 200, 990, 200, 1343, 200, 200, 991, 701, 889, 200, 992, 200, 200, 200, 200, + 993, 200, 200, 1343, 200, 700, 200, 702, 988, 989, 200, 703, 200, 990, 200, 200, 200, + 200, 991, 200, 704, 1343, 992, 1343, 200, 200, 200, 993, 994, 200, 200, 200, + + 707, 200, 200, 200, 706, 200, 703, 200, 200, 200, 200, 200, 200, 1343, 200, 704, 705, + 1343, 200, 200, 200, 200, 200, 994, 200, 200, 200, 707, 200, 200, 200, 706, 995, 996, + 200, 200, 200, 1343, 200, 200, 200, 997, 200, 705, 710, 200, 708, 200, 200, 200, 998, + 200, 200, 200, 200, 200, 999, 1000, 709, 995, 996, 1001, 711, 200, 200, 200, 200, 200, + 997, 200, 200, 710, 1343, 708, 200, 200, 200, 998, 200, 200, 200, 200, 1343, 999, 1000, + 709, 200, 1002, 1001, 711, 200, 200, 712, 200, 200, 1003, 1004, 200, 1005, 200, + + 200, 713, 200, 200, 200, 1006, 1007, 200, 200, 714, 200, 1343, 200, 200, 1002, 200, 1008, + 1009, 1343, 712, 200, 200, 1003, 1004, 1343, 1005, 200, 200, 713, 200, 1010, 200, 1006, 1007, + 200, 200, 714, 200, 715, 200, 200, 716, 200, 1008, 1009, 200, 1011, 200, 1012, 1013, 200, + 200, 200, 200, 200, 1014, 1343, 1010, 200, 200, 1343, 717, 1343, 200, 200, 715, 1343, 200, + 716, 1343, 1343, 1015, 200, 1011, 1016, 1012, 1013, 200, 200, 200, 200, 200, 1014, 718, 1017, + 200, 200, 200, 717, 200, 200, 200, 200, 200, 200, 1018, 719, 200, 1015, 200, + + 1343, 1016, 200, 200, 1343, 200, 1343, 1019, 720, 200, 718, 1017, 200, 200, 200, 200, 200, + 1020, 721, 200, 200, 200, 1018, 719, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 722, + 1019, 720, 200, 200, 1021, 200, 200, 1022, 200, 1023, 1020, 721, 200, 200, 1343, 724, 200, + 725, 200, 200, 200, 200, 723, 1343, 200, 200, 722, 200, 1026, 1027, 200, 1021, 200, 1028, + 1022, 200, 1023, 200, 1343, 200, 200, 726, 724, 200, 725, 200, 200, 1024, 200, 723, 1025, + 200, 200, 727, 200, 1026, 1027, 200, 1343, 200, 1028, 200, 200, 728, 200, 200, + + 1343, 1343, 726, 200, 1029, 1343, 200, 200, 1024, 200, 1343, 1025, 200, 1030, 727, 729, 1343, + 1031, 200, 200, 1343, 200, 200, 730, 728, 200, 200, 200, 200, 1343, 200, 1029, 200, 200, + 200, 1343, 200, 200, 1343, 1343, 1030, 1032, 729, 732, 1031, 1343, 200, 200, 200, 200, 730, + 200, 200, 200, 200, 200, 200, 731, 1343, 200, 200, 200, 200, 200, 200, 200, 733, 737, + 1032, 200, 732, 1033, 200, 1343, 200, 200, 200, 1343, 200, 1034, 200, 1035, 200, 200, 731, + 200, 734, 200, 200, 200, 200, 200, 200, 733, 737, 1036, 200, 200, 1033, 200, + + 200, 200, 200, 738, 200, 200, 1034, 200, 1035, 200, 200, 200, 200, 734, 200, 740, 1343, + 1037, 200, 1343, 200, 200, 1036, 1038, 200, 1343, 1039, 200, 200, 1343, 738, 200, 200, 1040, + 200, 735, 200, 200, 200, 200, 200, 1343, 740, 200, 1037, 736, 200, 200, 200, 200, 1038, + 1041, 739, 1039, 1343, 1042, 200, 1343, 1343, 200, 1040, 200, 735, 200, 200, 200, 200, 200, + 200, 1043, 200, 200, 736, 200, 200, 1044, 200, 741, 1041, 739, 1045, 200, 1042, 200, 200, + 742, 200, 1046, 200, 200, 1343, 200, 200, 200, 1047, 200, 1043, 1343, 200, 200, + + 1048, 200, 1044, 743, 741, 200, 1343, 1045, 200, 200, 200, 200, 742, 1049, 1046, 200, 200, + 200, 1343, 200, 200, 1047, 1343, 744, 200, 1050, 200, 1048, 1343, 200, 743, 200, 200, 200, + 1051, 746, 200, 200, 745, 200, 1049, 1343, 200, 200, 200, 200, 200, 1343, 1052, 747, 744, + 200, 1050, 200, 1053, 200, 200, 1343, 200, 200, 200, 1051, 746, 1343, 200, 745, 200, 1054, + 200, 200, 200, 200, 200, 751, 200, 1052, 747, 748, 200, 1343, 200, 1053, 200, 200, 200, + 1343, 200, 1055, 1056, 1343, 756, 200, 200, 1343, 1054, 200, 200, 200, 200, 1343, + + 751, 200, 200, 1057, 748, 200, 200, 754, 200, 1343, 200, 200, 749, 200, 1055, 1056, 200, + 756, 200, 200, 200, 1058, 1343, 1059, 200, 1134, 200, 1135, 1136, 200, 1057, 750, 1137, 200, + 754, 200, 200, 1343, 1138, 749, 200, 1343, 1139, 200, 755, 200, 1343, 200, 1058, 200, 1059, + 200, 1134, 200, 1135, 1136, 200, 1140, 750, 1137, 200, 200, 200, 200, 752, 1138, 1141, 200, + 758, 1139, 1142, 755, 200, 200, 1343, 200, 200, 753, 200, 1143, 200, 1343, 1343, 200, 1140, + 200, 1343, 200, 200, 200, 757, 752, 1144, 1141, 200, 758, 1145, 1142, 1146, 200, + + 200, 200, 200, 200, 753, 759, 1143, 200, 200, 200, 1147, 200, 200, 200, 1148, 1149, 200, + 757, 1343, 1144, 1343, 200, 760, 1145, 200, 1146, 1150, 1343, 200, 200, 200, 1343, 759, 1343, + 200, 200, 200, 1147, 200, 1151, 200, 1148, 1149, 200, 1152, 200, 1343, 200, 200, 760, 762, + 200, 761, 1150, 200, 200, 200, 200, 764, 200, 200, 200, 200, 200, 1153, 763, 1151, 200, + 200, 1154, 200, 1152, 200, 200, 200, 200, 1343, 762, 200, 761, 1343, 200, 200, 200, 200, + 764, 200, 200, 1343, 200, 200, 1153, 763, 1343, 200, 200, 1154, 200, 1343, 200, + + 200, 1343, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 200, 765, 768, 200, 200, 1155, + 200, 767, 200, 200, 200, 766, 200, 200, 200, 200, 200, 200, 769, 200, 200, 1343, 200, + 200, 200, 200, 1343, 200, 765, 768, 200, 200, 1155, 200, 767, 200, 200, 200, 766, 200, + 200, 200, 1156, 200, 200, 769, 200, 1157, 200, 200, 771, 1158, 200, 200, 770, 1159, 1160, + 200, 200, 200, 1161, 200, 200, 772, 1162, 1343, 200, 1343, 1343, 1156, 1343, 200, 1343, 200, + 1157, 200, 1163, 771, 1158, 200, 200, 770, 1159, 1160, 200, 200, 200, 1161, 200, + + 200, 772, 1162, 200, 200, 200, 200, 1164, 774, 200, 200, 773, 1343, 200, 1163, 200, 775, + 1165, 200, 200, 200, 1343, 1166, 200, 1167, 1343, 200, 1343, 1343, 200, 200, 1168, 200, 200, + 1164, 774, 200, 200, 773, 200, 200, 1343, 200, 775, 1165, 200, 200, 200, 777, 1166, 200, + 1167, 200, 200, 776, 200, 200, 778, 1168, 200, 1169, 1343, 200, 200, 200, 1170, 200, 200, + 200, 1343, 200, 1343, 200, 200, 200, 777, 1343, 200, 779, 200, 782, 776, 200, 780, 778, + 781, 200, 1169, 200, 200, 200, 200, 1170, 200, 200, 200, 200, 200, 784, 200, + + 200, 200, 1171, 200, 200, 779, 1343, 782, 200, 1343, 780, 1343, 781, 1172, 783, 200, 1343, + 200, 200, 1173, 200, 1174, 200, 200, 200, 784, 200, 1343, 200, 1171, 200, 200, 1343, 785, + 1175, 200, 200, 1343, 200, 1343, 1172, 783, 1176, 786, 1222, 200, 1173, 1224, 1174, 200, 1343, + 200, 200, 200, 200, 200, 1225, 1226, 200, 200, 785, 1175, 1227, 200, 200, 200, 200, 1228, + 200, 1176, 786, 1222, 1229, 200, 1224, 1343, 1343, 787, 200, 200, 200, 200, 200, 1225, 1226, + 1343, 200, 200, 788, 1227, 1343, 200, 200, 200, 1228, 200, 200, 1230, 789, 1229, + + 200, 1231, 790, 200, 787, 200, 791, 200, 200, 200, 200, 1232, 200, 1343, 200, 788, 1233, + 200, 1343, 200, 1343, 1343, 200, 200, 1230, 789, 1234, 1343, 1231, 790, 200, 1235, 1236, 791, + 200, 200, 200, 200, 1232, 200, 792, 200, 1237, 1233, 200, 200, 200, 200, 200, 200, 200, + 891, 200, 1234, 892, 200, 1238, 200, 1235, 1236, 200, 200, 1343, 200, 1239, 1343, 200, 792, + 200, 1237, 200, 1343, 200, 200, 200, 200, 200, 200, 891, 200, 1240, 892, 200, 1238, 200, + 200, 893, 200, 200, 200, 897, 1239, 200, 200, 200, 200, 1241, 200, 200, 1242, + + 200, 895, 200, 200, 896, 894, 1243, 1240, 200, 200, 200, 1343, 200, 893, 200, 200, 200, + 897, 1343, 200, 1343, 200, 200, 1241, 1343, 200, 1242, 200, 895, 200, 1268, 896, 894, 1243, + 1343, 200, 200, 200, 200, 899, 898, 200, 200, 200, 1343, 200, 200, 900, 1270, 200, 200, + 200, 200, 1343, 1343, 200, 1271, 1268, 1343, 200, 1272, 200, 200, 1343, 1343, 200, 899, 898, + 1343, 200, 200, 200, 200, 200, 900, 1270, 200, 200, 200, 200, 200, 200, 200, 1271, 200, + 200, 200, 1272, 200, 200, 200, 200, 1343, 1273, 1343, 901, 1274, 1275, 200, 200, + + 200, 200, 1343, 200, 1223, 1223, 1343, 200, 200, 200, 1343, 200, 200, 1276, 1343, 1343, 1343, + 200, 200, 200, 1273, 200, 901, 1274, 1275, 200, 200, 200, 200, 902, 200, 200, 1277, 200, + 200, 200, 200, 903, 200, 200, 1276, 200, 1269, 200, 200, 200, 200, 904, 200, 1278, 1343, + 1343, 200, 200, 200, 200, 902, 1343, 200, 1277, 200, 200, 200, 200, 903, 200, 200, 200, + 200, 1269, 200, 200, 200, 200, 904, 1279, 1278, 200, 905, 200, 200, 200, 200, 200, 906, + 1295, 1343, 907, 200, 200, 200, 200, 200, 1343, 200, 1343, 1343, 200, 200, 1296, + + 200, 1343, 1279, 908, 200, 905, 200, 200, 200, 1343, 200, 906, 1295, 200, 907, 200, 200, + 200, 200, 200, 909, 1343, 200, 200, 200, 200, 1296, 200, 1246, 1223, 908, 1297, 200, 200, + 200, 200, 200, 910, 200, 1343, 200, 1298, 1343, 200, 200, 1301, 1307, 909, 200, 200, 200, + 1343, 1343, 1343, 200, 1294, 1294, 1308, 1297, 200, 200, 1311, 1314, 200, 910, 200, 1282, 200, + 1298, 200, 200, 1316, 1301, 1307, 200, 200, 911, 1343, 200, 200, 200, 1300, 1294, 1318, 1308, + 200, 912, 1343, 1311, 1314, 200, 913, 1343, 1282, 200, 1343, 200, 1306, 1316, 1343, + + 1343, 200, 200, 911, 200, 200, 200, 200, 1343, 200, 1318, 1343, 200, 912, 200, 1343, 1320, + 200, 913, 915, 200, 1343, 200, 1310, 1306, 1322, 914, 200, 200, 200, 200, 200, 200, 1324, + 1343, 200, 200, 1343, 200, 1343, 200, 200, 916, 1320, 1343, 1343, 915, 200, 200, 200, 1310, + 1326, 1322, 914, 200, 200, 1328, 200, 200, 200, 1324, 917, 200, 200, 200, 200, 200, 200, + 200, 916, 200, 200, 200, 200, 1343, 200, 200, 200, 1326, 1343, 1330, 1343, 200, 1328, 1332, + 200, 918, 1334, 917, 1336, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, + + 200, 200, 1343, 200, 200, 1343, 200, 1330, 200, 200, 200, 1332, 919, 918, 1334, 200, 1336, + 1343, 1343, 1343, 200, 200, 200, 200, 200, 1343, 920, 1343, 200, 200, 1343, 1343, 1343, 200, + 200, 200, 200, 200, 200, 919, 1343, 1343, 200, 200, 1343, 921, 1343, 200, 200, 200, 200, + 200, 200, 920, 1343, 923, 200, 200, 922, 1343, 1343, 200, 200, 200, 1343, 200, 200, 1343, + 200, 1343, 200, 1343, 921, 200, 1343, 200, 925, 200, 200, 200, 200, 924, 923, 1343, 200, + 922, 200, 1343, 1343, 200, 1343, 1343, 200, 200, 200, 200, 200, 1343, 1343, 200, + + 200, 1343, 200, 925, 200, 200, 200, 200, 924, 1343, 200, 1343, 200, 200, 200, 1343, 1343, + 1343, 1343, 200, 200, 200, 200, 200, 200, 926, 200, 1343, 200, 200, 200, 200, 928, 200, + 927, 1343, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 200, + 200, 926, 1343, 200, 200, 200, 200, 200, 928, 200, 927, 1343, 200, 929, 200, 1343, 200, + 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 200, + 200, 200, 200, 200, 1343, 200, 929, 200, 930, 200, 200, 931, 200, 1343, 200, + + 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 200, 1343, 200, 1343, 200, 1343, 200, 1343, + 200, 1343, 200, 930, 200, 1343, 931, 200, 1343, 200, 200, 200, 200, 200, 200, 200, 200, + 933, 200, 200, 932, 200, 200, 1343, 1343, 200, 1343, 200, 200, 1343, 1343, 934, 1343, 1343, + 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, 933, 200, 200, 932, 200, 200, 1343, + 1343, 200, 1343, 200, 200, 1343, 1343, 934, 200, 1343, 200, 1343, 1343, 200, 200, 200, 200, + 1343, 200, 200, 935, 200, 936, 200, 1343, 937, 200, 1343, 200, 1343, 1343, 200, + + 1343, 1343, 1343, 200, 1343, 200, 1343, 1343, 1343, 1343, 200, 200, 1343, 200, 200, 935, 200, + 936, 200, 1343, 937, 200, 1343, 200, 1343, 1343, 200, 938, 200, 940, 200, 200, 200, 1343, + 200, 200, 200, 1343, 939, 200, 200, 200, 1343, 1343, 200, 1343, 1343, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 938, 200, 940, 200, 200, 200, 1343, 200, 200, 200, 1343, 939, 200, 200, + 200, 1343, 200, 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, + 200, 200, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, + + 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 200, + 200, 942, 200, 200, 200, 941, 1343, 200, 200, 200, 1343, 1343, 200, 200, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, 200, 942, 200, 200, 200, 941, 943, + 200, 200, 200, 200, 200, 200, 200, 944, 200, 200, 1343, 200, 947, 200, 200, 200, 200, + 200, 200, 200, 945, 946, 1343, 200, 200, 200, 943, 200, 200, 1343, 200, 200, 1343, 1343, + 944, 200, 200, 1343, 200, 947, 200, 200, 200, 200, 200, 200, 200, 945, 946, + + 200, 200, 200, 200, 949, 200, 200, 200, 200, 200, 200, 1343, 200, 948, 200, 1343, 1343, + 1343, 200, 200, 200, 1343, 1343, 1343, 1343, 1343, 1343, 200, 200, 1343, 1343, 949, 1343, 1343, + 200, 200, 200, 200, 1343, 200, 948, 200, 950, 1343, 200, 200, 200, 200, 200, 1343, 1343, + 1343, 951, 200, 200, 200, 200, 200, 1343, 1343, 1343, 1343, 200, 200, 200, 1343, 952, 1343, + 1343, 950, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 951, 200, 200, 200, 200, 200, + 1343, 200, 1343, 1343, 200, 200, 200, 200, 952, 200, 953, 1343, 200, 200, 200, + + 200, 200, 200, 1343, 200, 954, 200, 200, 1343, 200, 955, 1343, 1343, 200, 200, 1343, 200, + 200, 1343, 200, 1343, 200, 953, 1343, 200, 200, 200, 1343, 200, 200, 1343, 200, 954, 200, + 200, 200, 956, 955, 1343, 200, 200, 200, 1343, 200, 200, 200, 200, 1343, 1343, 1343, 957, + 1343, 1343, 200, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 200, 956, 200, 1343, 200, 200, + 1343, 1343, 1343, 1343, 200, 200, 200, 1343, 958, 957, 1343, 1343, 200, 200, 200, 200, 200, + 200, 1343, 1343, 959, 200, 200, 200, 200, 200, 1343, 1343, 1343, 1343, 200, 200, + + 200, 200, 200, 958, 1343, 1343, 200, 200, 200, 200, 960, 200, 200, 1343, 1343, 959, 200, + 200, 1343, 200, 200, 1343, 200, 1343, 1343, 200, 200, 200, 200, 200, 200, 1343, 200, 200, + 200, 200, 200, 960, 200, 200, 200, 961, 200, 1343, 1343, 962, 200, 1343, 200, 200, 200, + 963, 200, 1343, 200, 200, 1343, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, 1343, 200, + 961, 200, 1343, 1343, 962, 200, 200, 200, 200, 200, 963, 200, 200, 200, 1343, 966, 964, + 200, 200, 1343, 200, 200, 965, 200, 200, 1343, 200, 200, 200, 1343, 967, 200, + + 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 1343, 966, 964, 1343, 200, 1343, 200, 1343, + 965, 200, 200, 200, 200, 200, 200, 200, 967, 200, 200, 200, 200, 200, 200, 200, 969, + 968, 200, 200, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 1343, 1343, + 200, 200, 200, 1343, 200, 970, 200, 1343, 200, 969, 968, 200, 200, 200, 200, 1343, 200, + 200, 1343, 200, 1343, 200, 200, 971, 200, 1343, 200, 200, 200, 200, 200, 200, 970, 200, + 1343, 200, 972, 1343, 200, 1343, 200, 200, 200, 200, 1343, 200, 200, 973, 200, + + 200, 971, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 972, 1343, 200, + 974, 200, 200, 200, 200, 200, 200, 200, 973, 1343, 200, 1343, 200, 200, 975, 1343, 200, + 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 200, 974, 1343, 200, 200, 200, 200, 200, + 1343, 200, 1343, 1343, 200, 1343, 976, 975, 1343, 200, 200, 1343, 200, 200, 1343, 977, 200, + 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 200, 1343, 200, 1343, 1343, 200, 200, 976, + 200, 979, 200, 1343, 1343, 200, 200, 978, 977, 200, 200, 200, 200, 200, 200, + + 1343, 200, 980, 200, 200, 1343, 200, 1343, 1343, 200, 200, 1343, 200, 979, 1343, 1343, 1343, + 200, 1343, 978, 981, 200, 200, 200, 200, 200, 200, 200, 200, 980, 982, 200, 200, 200, + 200, 200, 200, 200, 983, 200, 200, 1343, 1343, 1343, 1343, 200, 1343, 981, 1343, 1343, 200, + 1343, 200, 1343, 200, 200, 1343, 982, 1343, 200, 1343, 200, 200, 1343, 200, 983, 200, 200, + 1343, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 985, 200, + 1343, 984, 200, 200, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, 200, 1343, + + 200, 200, 200, 200, 200, 1343, 200, 200, 200, 1343, 985, 200, 1343, 984, 200, 200, 200, + 200, 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 200, 200, 986, 200, 200, 200, 200, + 200, 1343, 1343, 200, 200, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, 1343, + 200, 200, 200, 200, 200, 986, 1343, 1343, 200, 200, 200, 1343, 1343, 200, 200, 200, 200, + 200, 200, 1343, 1062, 200, 200, 200, 200, 200, 1343, 200, 200, 1061, 200, 200, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 200, 200, 200, 200, 200, 200, 1343, 1062, 200, + + 200, 200, 200, 200, 1343, 200, 200, 1061, 200, 200, 1063, 200, 1343, 1343, 200, 200, 1343, + 1343, 200, 200, 200, 200, 1343, 1066, 200, 1065, 1064, 1343, 200, 200, 200, 200, 1343, 200, + 200, 1343, 1343, 1063, 200, 200, 1343, 200, 200, 1343, 200, 1343, 1343, 200, 200, 200, 1066, + 200, 1065, 1064, 1343, 200, 200, 200, 200, 1343, 200, 200, 1067, 200, 200, 1068, 200, 1343, + 200, 1343, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, + 1343, 200, 1343, 200, 1067, 200, 200, 1068, 200, 1069, 200, 200, 200, 200, 1071, + + 200, 200, 200, 200, 200, 200, 1070, 1072, 200, 200, 1343, 200, 200, 200, 200, 200, 200, + 200, 200, 200, 200, 1069, 1073, 200, 200, 200, 1071, 200, 200, 1343, 200, 200, 200, 1070, + 1072, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 1343, 200, 1073, 1343, + 200, 200, 1075, 1343, 200, 1077, 200, 1074, 1343, 200, 200, 1076, 1343, 200, 200, 200, 200, + 200, 200, 1343, 1343, 1343, 1343, 200, 200, 200, 200, 1343, 200, 1075, 1343, 200, 1077, 200, + 1074, 200, 200, 200, 1076, 1343, 200, 200, 200, 200, 200, 200, 1343, 1343, 1343, + + 1343, 200, 200, 200, 200, 1343, 200, 200, 1343, 200, 1078, 200, 1343, 200, 1343, 1343, 200, + 200, 200, 200, 1080, 1343, 1079, 1343, 1343, 200, 200, 200, 1343, 200, 200, 1081, 1343, 200, + 200, 200, 200, 1078, 200, 1343, 1082, 200, 1343, 200, 200, 200, 200, 1080, 1343, 1079, 1343, + 200, 200, 200, 200, 1083, 200, 200, 1081, 200, 1343, 1343, 200, 200, 200, 200, 200, 1082, + 200, 1343, 200, 1086, 1343, 200, 200, 200, 200, 1343, 200, 1343, 200, 1343, 1083, 200, 200, + 1084, 200, 1343, 200, 1343, 200, 200, 200, 200, 200, 1343, 200, 200, 1086, 1085, + + 1087, 200, 200, 200, 200, 1343, 200, 200, 1088, 200, 200, 200, 1084, 200, 200, 200, 200, + 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 1085, 1087, 200, 200, 200, 200, 1343, 200, + 1343, 1088, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, 1343, + 1343, 1343, 1343, 200, 200, 200, 200, 1343, 200, 1343, 1343, 1089, 200, 200, 200, 1091, 1343, + 200, 200, 200, 200, 200, 200, 1090, 200, 1343, 1092, 200, 200, 1343, 200, 200, 1343, 1343, + 1343, 200, 1343, 1343, 1089, 200, 200, 1343, 1091, 1343, 200, 200, 200, 1343, 200, + + 200, 1090, 1343, 1093, 1092, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, 200, 1343, + 1343, 200, 200, 200, 1343, 1343, 200, 200, 1343, 1343, 1343, 1343, 1343, 1093, 1343, 1343, 1343, + 1343, 200, 1343, 200, 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 200, + 200, 200, 1343, 200, 200, 200, 200, 200, 200, 1094, 1343, 200, 200, 200, 1343, 1343, 200, + 200, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, 200, 200, 200, + 200, 200, 1094, 1343, 200, 200, 200, 1343, 1343, 200, 200, 200, 1096, 200, 1343, + + 1343, 200, 1343, 200, 1095, 1343, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 1343, 1097, + 200, 1343, 1098, 1099, 200, 200, 200, 1096, 200, 1343, 200, 200, 1343, 200, 1095, 200, 1343, + 200, 200, 200, 1343, 200, 1343, 1343, 1343, 1343, 1097, 200, 1343, 1098, 1099, 200, 200, 200, + 200, 200, 200, 200, 1343, 1100, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 200, 1343, + 1343, 1343, 1343, 200, 1343, 1343, 1343, 1343, 200, 200, 200, 200, 200, 1343, 1343, 1100, 200, + 200, 1343, 1343, 1343, 200, 200, 200, 200, 200, 200, 200, 1101, 200, 200, 200, + + 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 1343, 1102, 200, + 1343, 1343, 200, 200, 200, 200, 1101, 200, 1343, 200, 200, 1103, 200, 1343, 200, 1343, 200, + 200, 200, 1343, 200, 1343, 200, 1343, 200, 1102, 200, 1343, 1343, 200, 200, 1343, 1343, 200, + 200, 200, 1343, 1343, 1103, 1343, 200, 1104, 1105, 1343, 1343, 200, 200, 1343, 200, 200, 1343, + 200, 1343, 200, 1343, 1343, 200, 1343, 200, 1343, 200, 200, 200, 1343, 1343, 1343, 1343, 200, + 1104, 1105, 1343, 1343, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 1106, + + 1343, 200, 200, 200, 1107, 200, 200, 200, 200, 1343, 1343, 1343, 200, 1343, 200, 1343, 1343, + 200, 200, 1343, 200, 200, 1343, 200, 200, 200, 1106, 1343, 200, 1343, 200, 1107, 200, 200, + 200, 200, 1343, 1343, 200, 200, 1343, 200, 200, 1343, 200, 1109, 200, 1343, 200, 1343, 200, + 200, 1343, 1108, 1343, 1343, 200, 1343, 200, 1343, 1343, 1343, 1343, 1343, 1343, 200, 200, 1343, + 1343, 200, 1343, 1343, 1109, 200, 200, 200, 1343, 200, 200, 1343, 1108, 1343, 200, 200, 200, + 200, 200, 1110, 1343, 1343, 1343, 1343, 200, 200, 200, 1111, 200, 1343, 1343, 1343, + + 200, 200, 200, 1343, 1343, 200, 200, 1343, 1112, 200, 1343, 200, 200, 200, 1110, 1343, 200, + 1343, 200, 200, 200, 200, 1111, 200, 1113, 1343, 1343, 200, 200, 200, 200, 1343, 200, 200, + 1343, 1112, 200, 1343, 1343, 200, 200, 1343, 200, 200, 1343, 200, 1114, 200, 1343, 1343, 200, + 1113, 200, 1343, 200, 200, 1343, 200, 1115, 200, 200, 1343, 200, 200, 200, 1343, 200, 200, + 200, 200, 200, 1343, 200, 1114, 200, 1116, 200, 200, 1343, 200, 200, 200, 200, 1343, 200, + 1115, 200, 200, 200, 200, 200, 200, 1118, 200, 200, 200, 200, 200, 200, 200, + + 200, 200, 1116, 200, 1343, 1117, 1343, 200, 200, 200, 200, 200, 1343, 200, 1343, 200, 1120, + 200, 1343, 1118, 200, 200, 1343, 200, 200, 200, 1343, 200, 1119, 200, 200, 1343, 1117, 200, + 200, 200, 200, 200, 1343, 200, 200, 1121, 1343, 1120, 1343, 1343, 200, 200, 1343, 200, 1343, + 200, 200, 1343, 200, 1119, 200, 200, 1122, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, + 1121, 1343, 200, 1343, 200, 200, 1343, 1343, 200, 200, 1123, 200, 1343, 200, 200, 1124, 1343, + 1122, 200, 1343, 1343, 1125, 1343, 200, 1343, 1343, 200, 1343, 200, 200, 1343, 200, + + 200, 200, 200, 1343, 200, 1123, 200, 200, 1343, 200, 1124, 1343, 200, 200, 1343, 1126, 1125, + 1343, 1343, 1343, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 200, + 200, 1343, 200, 1343, 1343, 200, 200, 1343, 1126, 1343, 1127, 1128, 200, 200, 200, 1343, 200, + 200, 200, 200, 200, 1343, 200, 1343, 200, 1343, 1343, 1343, 1343, 200, 200, 1343, 200, 1343, + 1343, 1343, 1129, 1127, 1128, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 1343, + 1343, 1343, 200, 200, 200, 200, 200, 1343, 200, 1130, 1131, 1343, 1129, 200, 200, + + 1343, 200, 1343, 1343, 1343, 200, 200, 200, 200, 200, 1343, 1343, 1343, 200, 200, 200, 200, + 200, 200, 1132, 1343, 1130, 1131, 1343, 1343, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, + 200, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 1343, 200, 1132, 1343, 200, 1343, 1343, + 1343, 1343, 1343, 200, 1343, 200, 200, 1178, 200, 1343, 200, 200, 200, 200, 200, 200, 200, + 200, 200, 200, 200, 200, 1343, 1179, 200, 1181, 200, 200, 200, 200, 200, 1343, 200, 200, + 1178, 200, 200, 200, 200, 200, 1343, 1180, 200, 200, 200, 200, 200, 200, 200, + + 1343, 1179, 200, 1181, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, + 200, 1343, 1180, 200, 1343, 200, 200, 200, 1343, 200, 1182, 200, 200, 1343, 1343, 200, 1183, + 200, 1184, 200, 200, 200, 200, 1343, 200, 200, 200, 1343, 1343, 200, 200, 1343, 200, 1343, + 1343, 1343, 200, 1182, 200, 1343, 1343, 1343, 200, 1183, 200, 1184, 200, 200, 200, 1343, 1343, + 200, 200, 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 200, 1186, 200, 200, 200, 1185, + 1343, 200, 1343, 200, 1343, 1343, 200, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, + + 1343, 1343, 1343, 200, 200, 200, 200, 1186, 200, 200, 200, 1185, 1187, 200, 1343, 200, 1343, + 1188, 200, 200, 1343, 200, 1343, 200, 200, 1343, 1343, 1343, 200, 200, 200, 1343, 200, 200, + 1343, 1343, 1343, 200, 1189, 1187, 1343, 1343, 200, 1343, 1188, 1343, 200, 1343, 200, 1343, 200, + 200, 1343, 1343, 1343, 200, 200, 200, 1343, 200, 200, 200, 1190, 200, 200, 1189, 1343, 1343, + 200, 200, 1343, 1343, 200, 200, 200, 200, 1343, 200, 1343, 200, 1343, 1343, 200, 1343, 200, + 1343, 1343, 200, 200, 1190, 200, 1343, 1343, 1343, 1191, 200, 1343, 1343, 1343, 200, + + 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 200, 200, 200, + 200, 200, 1192, 1343, 1191, 1343, 200, 200, 1343, 1343, 1343, 200, 200, 200, 1343, 200, 1343, + 1343, 1343, 1343, 200, 1343, 1343, 1343, 1343, 200, 200, 200, 200, 1192, 200, 1343, 200, 200, + 200, 1343, 1193, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, 1343, + 1343, 1343, 200, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 1193, 200, 200, 1343, 200, + 200, 200, 200, 1343, 200, 200, 1343, 200, 200, 200, 1343, 1194, 200, 200, 200, + + 200, 200, 1196, 200, 1343, 200, 200, 1343, 200, 200, 200, 1195, 200, 1343, 200, 200, 200, + 1343, 200, 1200, 200, 200, 1343, 1194, 200, 200, 200, 1343, 200, 1196, 200, 1343, 200, 200, + 1343, 200, 200, 200, 1195, 200, 200, 200, 200, 200, 200, 200, 1200, 200, 200, 1343, 200, + 200, 200, 200, 1343, 1343, 1343, 1343, 200, 1343, 200, 1343, 200, 200, 1343, 1343, 200, 200, + 200, 1343, 200, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 200, 1343, 200, 1343, 200, + 200, 1343, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 1343, 200, + + 1343, 200, 200, 1343, 200, 1197, 1198, 200, 1343, 200, 200, 200, 200, 1343, 1199, 200, 200, + 200, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 1197, 1198, + 1343, 1343, 1343, 200, 200, 200, 200, 1199, 200, 200, 1343, 200, 200, 200, 1343, 200, 1343, + 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 1343, 200, 200, 1343, 1343, 200, 200, 200, + 1201, 200, 200, 1343, 1343, 200, 1343, 200, 1343, 1343, 1343, 200, 200, 200, 1343, 200, 200, + 1343, 200, 1202, 200, 200, 1343, 200, 200, 200, 200, 1201, 200, 200, 200, 200, + + 200, 1343, 200, 1343, 200, 200, 1343, 200, 1343, 1343, 200, 200, 1343, 200, 1202, 1343, 1343, + 1343, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 1203, 200, 200, 1343, + 200, 200, 1343, 200, 200, 1204, 1206, 1343, 1205, 200, 200, 200, 1343, 200, 200, 200, 200, + 200, 1343, 200, 1343, 200, 200, 1203, 200, 1343, 200, 200, 200, 1207, 1343, 200, 1204, 1206, + 1343, 1205, 200, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 200, 1343, 200, 200, 1343, + 200, 1208, 200, 200, 200, 1207, 1343, 200, 1343, 1343, 1209, 1343, 200, 200, 200, + + 1343, 200, 200, 1343, 200, 1343, 200, 200, 200, 1210, 200, 1343, 1343, 1208, 200, 200, 200, + 200, 1343, 200, 1343, 1343, 1209, 1343, 200, 200, 200, 1343, 200, 200, 200, 200, 200, 1343, + 200, 200, 1210, 1211, 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, 1212, 200, 200, + 200, 1343, 200, 1343, 1343, 200, 200, 200, 200, 1343, 200, 1343, 1343, 1211, 200, 1343, 200, + 1343, 200, 1343, 1343, 200, 200, 1343, 1212, 200, 200, 200, 1213, 200, 200, 200, 200, 200, + 200, 200, 1214, 200, 200, 1343, 200, 1343, 1343, 200, 1343, 1343, 1343, 200, 1343, + + 200, 1343, 1343, 1343, 1343, 200, 1213, 1343, 200, 200, 200, 200, 1343, 200, 1214, 1215, 200, + 1343, 200, 1343, 1216, 200, 1343, 1343, 1343, 200, 200, 200, 200, 200, 1343, 200, 200, 200, + 1343, 1343, 200, 200, 200, 1343, 1343, 200, 1215, 1343, 1343, 1343, 1343, 1216, 1343, 1343, 1343, + 1343, 1343, 200, 1218, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, 200, 200, 1217, + 200, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 1343, 1343, 200, 1218, 200, 1343, 1343, + 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 1217, 1343, 200, 200, 200, 200, + + 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 200, + 1220, 200, 200, 1219, 200, 1343, 1343, 200, 1343, 200, 1343, 1343, 200, 200, 1343, 200, 200, + 1343, 200, 1343, 200, 1343, 1343, 200, 200, 200, 200, 1220, 200, 200, 1219, 200, 1343, 200, + 200, 200, 200, 1343, 1343, 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 1343, + 1343, 1343, 200, 200, 1343, 1343, 1343, 1343, 1343, 200, 1343, 200, 1343, 1343, 1343, 1343, 200, + 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, 1245, 200, 200, 200, 200, + + 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 200, 200, 1343, 1343, 200, 1343, 200, 1246, + 1223, 1343, 200, 200, 200, 1245, 200, 1343, 1343, 200, 200, 200, 200, 1343, 200, 200, 200, + 1343, 1343, 200, 200, 1343, 1247, 200, 200, 200, 200, 1343, 200, 200, 200, 1343, 200, 1248, + 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 1343, 200, 1343, 200, 200, 1343, 1247, 1343, + 200, 1343, 200, 1343, 200, 200, 200, 1343, 200, 1248, 200, 200, 200, 200, 1343, 200, 200, + 200, 200, 1343, 200, 200, 200, 200, 1249, 200, 1343, 1343, 200, 200, 1343, 200, + + 200, 200, 200, 200, 1343, 200, 200, 1251, 1250, 200, 200, 1343, 200, 200, 1343, 200, 200, + 200, 200, 1249, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 1343, + 1251, 1250, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 1343, 200, 200, 200, 1343, + 1343, 200, 200, 200, 200, 1343, 1343, 1343, 200, 200, 1252, 200, 200, 200, 200, 200, 200, + 1343, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 1343, 1343, 200, 1343, 1343, 1343, 1343, + 1343, 200, 200, 1252, 200, 200, 1253, 1343, 200, 200, 1343, 1343, 1343, 200, 200, + + 200, 1254, 200, 200, 200, 1343, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 200, + 1343, 1253, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 200, 1254, 200, 200, 200, 1343, 200, + 200, 200, 1343, 1343, 200, 200, 200, 1343, 200, 200, 200, 200, 1256, 200, 1343, 200, 200, + 1255, 200, 1343, 200, 200, 200, 200, 1343, 200, 1343, 1343, 1343, 1343, 1343, 1257, 200, 1343, + 1343, 200, 1343, 200, 200, 1256, 200, 200, 200, 200, 1255, 200, 1343, 200, 200, 200, 200, + 1343, 200, 200, 200, 1258, 200, 1343, 1257, 200, 200, 200, 200, 1343, 200, 200, + + 200, 1343, 200, 200, 1343, 1343, 1343, 1343, 200, 1343, 1343, 1343, 1343, 1343, 200, 200, 1258, + 200, 1343, 1343, 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 1343, 1343, + 1343, 200, 200, 1259, 1343, 1260, 200, 200, 200, 200, 1343, 200, 1343, 200, 1343, 1343, 200, + 1343, 200, 1343, 1343, 200, 200, 1343, 200, 1343, 1343, 1343, 1343, 200, 1259, 1343, 1260, 200, + 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 200, 1343, 1343, 200, 200, 200, + 1343, 200, 200, 1343, 200, 1343, 200, 1261, 1343, 200, 200, 200, 200, 200, 200, + + 200, 1262, 200, 1343, 1343, 200, 1343, 200, 1343, 1343, 200, 200, 1343, 200, 200, 1343, 200, + 1343, 200, 1261, 1343, 200, 200, 200, 200, 1343, 200, 1343, 1262, 200, 200, 1263, 200, 200, + 200, 200, 1343, 200, 1343, 1343, 200, 1264, 200, 1265, 1343, 200, 1266, 200, 1343, 1343, 200, + 200, 1343, 200, 1343, 200, 200, 200, 1263, 200, 200, 200, 200, 200, 200, 1343, 200, 200, + 1264, 200, 1265, 200, 200, 1266, 200, 200, 1343, 200, 200, 200, 200, 1343, 200, 200, 1343, + 200, 1343, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 1343, 200, 200, 200, + + 1281, 200, 200, 200, 1343, 200, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 1343, 1283, + 200, 200, 200, 1343, 200, 200, 200, 200, 200, 200, 1281, 200, 200, 200, 1343, 200, 200, + 200, 200, 200, 200, 200, 1343, 200, 200, 1343, 1283, 200, 200, 200, 200, 200, 200, 200, + 1284, 200, 200, 1343, 1343, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 1343, 1343, 200, + 200, 200, 1343, 200, 200, 1343, 200, 200, 200, 200, 1284, 200, 200, 1343, 1285, 1343, 200, + 200, 200, 200, 1343, 1343, 1343, 1343, 1343, 200, 200, 200, 200, 200, 200, 1343, + + 1343, 1343, 200, 200, 200, 1343, 200, 1343, 1343, 1285, 1343, 1343, 200, 200, 200, 200, 1343, + 1343, 1343, 200, 200, 1343, 200, 1343, 200, 200, 1288, 200, 1286, 1287, 200, 200, 1343, 200, + 200, 200, 1343, 1343, 200, 200, 200, 1343, 200, 200, 1343, 1343, 200, 1343, 1343, 1343, 1343, + 1343, 200, 1288, 200, 1286, 1287, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 1343, + 1343, 200, 200, 200, 1343, 200, 1343, 200, 1343, 200, 200, 1343, 1343, 1343, 200, 200, 200, + 1343, 200, 200, 1343, 1343, 1343, 200, 1343, 200, 1343, 1343, 200, 200, 200, 1343, + + 200, 1343, 200, 200, 200, 200, 1343, 200, 1343, 200, 200, 200, 200, 1289, 200, 200, 1291, + 200, 1290, 200, 200, 1343, 200, 1343, 200, 200, 1343, 200, 1343, 1343, 200, 1343, 200, 1343, + 200, 200, 1292, 200, 200, 200, 1289, 200, 200, 1291, 200, 1290, 200, 200, 1343, 200, 1300, + 1294, 200, 1343, 200, 1343, 1302, 200, 1343, 200, 200, 200, 200, 1292, 200, 200, 200, 1343, + 200, 1343, 200, 200, 200, 1343, 200, 200, 200, 1303, 1343, 200, 1343, 200, 200, 1302, 200, + 200, 1343, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, + + 200, 200, 200, 200, 1303, 1343, 200, 1343, 200, 200, 200, 1343, 200, 200, 1343, 200, 200, + 200, 200, 1343, 200, 200, 200, 200, 200, 200, 200, 200, 200, 1343, 1343, 200, 200, 1343, + 200, 1343, 200, 200, 1343, 200, 200, 1343, 200, 1343, 200, 200, 1343, 200, 1343, 200, 200, + 200, 200, 200, 200, 1304, 1343, 1343, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 1343, + 200, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 1312, 200, 1304, 1343, 200, + 200, 200, 200, 200, 200, 200, 200, 200, 200, 1343, 200, 200, 200, 200, 1343, + + 200, 200, 1343, 1343, 1343, 200, 200, 1312, 1343, 1343, 1343, 200, 200, 200, 1343, 200, 200, + 200, 1343, 1343, 200, 1343, 1343, 1343, 1343, 200, 46, 46, 46, 46, 46, 88, 1343, 1343, + 88, 88, 185, 185, 185, 1343, 185, 187, 1343, 187, 187, 187, 190, 1343, 190, 190, 190, + 200, 1343, 200, 200, 200, 7, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343}; + +static const flex_int16_t yy_chk[8834] = { + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 9, 9, 10, 10, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 21, 22, 21, 27, + 28, 22, 23, 30, 21, 27, 21, 22, 28, 23, 21, 21, 31, 41, 28, + + 41, 23, 22, 41, 23, 1346, 44, 23, 21, 22, 21, 27, 28, 22, 23, 30, 21, + 27, 21, 22, 28, 23, 21, 21, 31, 41, 28, 41, 23, 22, 41, 23, 24, 44, + 23, 25, 24, 25, 49, 49, 24, 32, 25, 99, 33, 32, 24, 25, 33, 24, 55, + 32, 50, 50, 33, 43, 43, 58, 58, 24, 1340, 55, 25, 24, 25, 1339, 34, 24, + 32, 25, 99, 33, 32, 24, 25, 33, 24, 26, 32, 36, 34, 33, 43, 43, 100, + 26, 34, 34, 26, 103, 36, 26, 29, 34, 26, 1338, 36, 26, 29, 29, + + 29, 42, 86, 86, 26, 29, 36, 34, 1337, 42, 1335, 100, 26, 34, 34, 26, 103, + 36, 26, 29, 1333, 26, 35, 36, 26, 29, 29, 29, 42, 104, 35, 38, 29, 101, + 35, 38, 42, 35, 35, 38, 81, 101, 81, 106, 81, 38, 1331, 81, 1329, 35, 102, + 1327, 81, 102, 1325, 107, 104, 35, 38, 1323, 101, 35, 38, 1321, 35, 35, 38, 81, + 101, 81, 106, 81, 38, 39, 81, 39, 110, 102, 39, 81, 102, 39, 107, 39, 113, + 39, 39, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 188, 188, 1319, + + 39, 1317, 39, 110, 1315, 39, 105, 105, 39, 109, 39, 113, 39, 39, 40, 112, 109, + 67, 40, 67, 105, 40, 40, 67, 67, 112, 116, 116, 40, 67, 117, 40, 1313, 105, + 105, 1309, 109, 1141, 1141, 1268, 1268, 40, 112, 109, 67, 40, 67, 105, 40, 40, 67, + 67, 112, 116, 116, 40, 67, 117, 40, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 61, 61, 118, 61, 61, 61, 61, 61, 61, 119, 68, 114, 1305, 1299, 68, + 1293, 114, 121, 68, 61, 61, 61, 70, 123, 68, 61, 70, 61, 124, 118, + + 120, 120, 70, 61, 68, 61, 119, 68, 114, 61, 61, 68, 70, 114, 121, 68, 125, + 127, 1280, 70, 123, 68, 61, 70, 61, 124, 1267, 120, 120, 70, 61, 68, 61, 1244, + 128, 1221, 61, 61, 1177, 70, 1133, 1060, 987, 125, 127, 61, 62, 62, 890, 62, 62, + 62, 62, 62, 62, 793, 667, 129, 71, 72, 73, 128, 71, 72, 73, 62, 62, 62, + 71, 72, 73, 130, 62, 77, 132, 126, 62, 77, 71, 72, 73, 126, 62, 77, 129, + 71, 72, 73, 133, 71, 72, 73, 62, 77, 541, 71, 72, 73, 130, 62, + + 77, 132, 126, 62, 77, 71, 72, 73, 126, 62, 77, 415, 288, 83, 135, 133, 83, + 83, 136, 62, 77, 62, 63, 83, 78, 192, 63, 138, 78, 63, 63, 131, 78, 83, + 131, 190, 63, 139, 78, 63, 83, 135, 63, 83, 83, 136, 63, 90, 78, 63, 83, + 78, 137, 63, 138, 78, 63, 63, 131, 78, 83, 131, 137, 63, 139, 78, 63, 137, + 137, 63, 88, 85, 82, 63, 64, 78, 82, 84, 64, 137, 82, 84, 64, 140, 141, + 144, 82, 84, 64, 137, 142, 64, 142, 145, 137, 137, 82, 84, 64, 82, + + 60, 64, 59, 82, 84, 64, 52, 82, 84, 64, 140, 141, 144, 82, 84, 64, 51, + 142, 64, 142, 145, 146, 147, 82, 84, 64, 65, 111, 111, 111, 65, 111, 115, 65, + 115, 65, 65, 115, 149, 143, 65, 143, 150, 115, 151, 65, 65, 47, 146, 147, 115, + 45, 143, 65, 111, 111, 111, 65, 111, 115, 65, 115, 65, 65, 115, 149, 143, 65, + 143, 150, 115, 151, 65, 65, 66, 148, 153, 115, 148, 143, 154, 66, 66, 155, 156, + 66, 157, 122, 66, 122, 159, 66, 158, 122, 66, 20, 158, 19, 161, 163, + + 122, 66, 148, 153, 122, 148, 11, 154, 66, 66, 155, 156, 66, 157, 122, 66, 122, + 159, 66, 158, 122, 66, 69, 158, 160, 161, 163, 122, 69, 69, 69, 122, 162, 165, + 166, 69, 164, 160, 167, 168, 69, 7, 160, 162, 169, 164, 170, 165, 4, 69, 172, + 160, 173, 164, 174, 69, 69, 69, 3, 162, 165, 166, 69, 164, 160, 167, 168, 69, + 74, 160, 162, 169, 164, 170, 165, 74, 171, 172, 175, 173, 164, 174, 74, 177, 176, + 74, 178, 171, 74, 74, 0, 176, 0, 179, 176, 74, 181, 0, 175, 179, + + 182, 183, 74, 171, 0, 175, 180, 0, 291, 74, 177, 176, 74, 178, 171, 74, 74, + 75, 176, 180, 179, 176, 75, 181, 75, 175, 179, 182, 183, 293, 75, 75, 200, 180, + 75, 291, 200, 75, 75, 0, 0, 0, 200, 294, 75, 0, 180, 296, 298, 75, 0, + 75, 200, 0, 0, 299, 293, 75, 75, 200, 300, 75, 301, 200, 75, 75, 76, 201, + 201, 200, 294, 302, 201, 76, 296, 298, 303, 76, 201, 200, 76, 202, 299, 76, 305, + 202, 76, 300, 201, 301, 306, 202, 0, 76, 201, 201, 202, 0, 302, 201, + + 76, 202, 307, 303, 76, 201, 308, 76, 202, 0, 76, 305, 202, 76, 79, 201, 79, + 306, 202, 79, 79, 0, 79, 202, 79, 309, 79, 79, 202, 307, 310, 311, 312, 308, + 313, 314, 79, 0, 315, 0, 0, 79, 0, 79, 0, 0, 79, 79, 203, 79, 203, + 79, 309, 79, 79, 203, 203, 310, 311, 312, 203, 313, 314, 79, 80, 315, 209, 205, + 80, 205, 209, 80, 80, 205, 205, 203, 209, 203, 80, 205, 316, 80, 203, 203, 317, + 319, 209, 203, 80, 0, 0, 80, 0, 209, 205, 80, 205, 209, 80, 80, + + 205, 205, 0, 209, 0, 80, 205, 316, 80, 0, 0, 317, 319, 209, 0, 80, 91, + 91, 91, 91, 91, 91, 91, 91, 91, 91, 92, 92, 92, 92, 92, 92, 92, 92, + 92, 92, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 193, 193, 193, 193, + 193, 193, 193, 193, 193, 193, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 195, + 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 204, 206, 208, 204, 304, 320, 304, + 208, 321, 208, 206, 204, 206, 204, 208, 322, 0, 206, 204, 208, 0, 304, + + 206, 204, 0, 0, 0, 204, 206, 208, 204, 304, 320, 304, 208, 321, 208, 206, 204, + 206, 204, 208, 322, 210, 206, 204, 208, 210, 304, 206, 204, 207, 207, 210, 211, 323, + 211, 207, 318, 207, 0, 211, 0, 210, 207, 207, 211, 0, 324, 207, 210, 325, 0, + 318, 210, 327, 212, 328, 207, 207, 210, 211, 323, 211, 207, 318, 207, 212, 211, 212, + 210, 207, 207, 211, 212, 324, 207, 0, 325, 212, 318, 0, 327, 212, 328, 214, 0, + 0, 329, 214, 330, 331, 0, 0, 212, 214, 212, 332, 333, 334, 215, 212, + + 0, 335, 215, 214, 212, 213, 213, 213, 215, 213, 214, 215, 213, 329, 214, 330, 331, + 213, 215, 336, 214, 337, 332, 333, 334, 215, 338, 216, 335, 215, 214, 216, 213, 213, + 213, 215, 213, 216, 215, 213, 339, 340, 216, 341, 213, 215, 336, 216, 337, 342, 0, + 343, 344, 338, 216, 345, 0, 346, 216, 0, 347, 0, 0, 0, 216, 348, 0, 339, + 340, 216, 341, 0, 349, 350, 216, 217, 342, 217, 343, 344, 217, 352, 345, 218, 346, + 218, 217, 347, 217, 218, 218, 0, 348, 217, 219, 218, 219, 0, 217, 349, + + 350, 219, 217, 219, 217, 353, 219, 217, 352, 351, 218, 355, 218, 217, 220, 217, 218, + 218, 220, 351, 217, 219, 218, 219, 220, 217, 0, 356, 219, 0, 219, 0, 353, 219, + 220, 221, 351, 221, 355, 357, 358, 220, 221, 360, 223, 220, 351, 221, 0, 0, 361, + 220, 0, 223, 356, 223, 225, 0, 225, 0, 223, 220, 221, 225, 221, 223, 357, 358, + 225, 221, 360, 223, 362, 363, 221, 222, 222, 361, 0, 359, 223, 364, 223, 225, 222, + 225, 222, 223, 366, 359, 225, 222, 223, 367, 368, 225, 222, 0, 0, 362, + + 363, 369, 222, 222, 370, 226, 359, 226, 364, 0, 0, 222, 226, 222, 0, 366, 359, + 226, 222, 0, 367, 368, 371, 222, 224, 227, 224, 0, 369, 227, 224, 370, 226, 0, + 226, 227, 224, 224, 372, 226, 0, 224, 0, 0, 226, 227, 224, 0, 228, 371, 228, + 224, 227, 224, 228, 228, 227, 224, 0, 0, 228, 374, 227, 224, 224, 372, 229, 230, + 224, 230, 229, 376, 227, 224, 230, 228, 229, 228, 0, 230, 231, 228, 228, 0, 231, + 232, 229, 228, 374, 232, 231, 0, 377, 229, 230, 232, 230, 229, 376, 378, + + 231, 230, 234, 229, 234, 232, 230, 231, 233, 234, 233, 231, 232, 229, 234, 233, 232, + 231, 233, 377, 233, 235, 232, 235, 0, 379, 378, 231, 235, 234, 235, 234, 232, 235, + 373, 233, 234, 233, 0, 237, 380, 234, 233, 237, 236, 233, 236, 233, 235, 237, 235, + 236, 379, 373, 238, 235, 236, 235, 238, 237, 235, 373, 0, 381, 238, 238, 237, 380, + 382, 383, 237, 236, 384, 236, 238, 0, 237, 240, 236, 240, 373, 238, 0, 236, 240, + 238, 237, 375, 0, 240, 381, 238, 238, 241, 0, 382, 383, 241, 0, 384, + + 375, 238, 239, 241, 240, 242, 240, 385, 0, 242, 239, 240, 239, 241, 375, 242, 240, + 239, 239, 0, 241, 277, 239, 0, 241, 242, 0, 375, 277, 239, 241, 0, 242, 386, + 385, 277, 242, 239, 277, 239, 241, 277, 242, 388, 239, 239, 243, 243, 277, 239, 243, + 246, 242, 246, 0, 277, 243, 246, 246, 0, 386, 389, 277, 246, 0, 277, 243, 0, + 277, 390, 388, 0, 257, 243, 243, 0, 257, 243, 246, 247, 246, 247, 257, 243, 246, + 246, 247, 0, 389, 0, 246, 247, 257, 243, 244, 0, 390, 391, 244, 257, + + 244, 392, 244, 257, 244, 0, 247, 393, 247, 257, 394, 395, 260, 247, 244, 0, 260, + 0, 247, 257, 0, 244, 260, 396, 391, 244, 0, 244, 392, 244, 0, 244, 260, 0, + 393, 0, 397, 394, 395, 260, 398, 244, 245, 260, 245, 248, 400, 248, 402, 260, 396, + 404, 248, 245, 249, 245, 249, 248, 405, 260, 245, 249, 249, 397, 406, 245, 249, 398, + 407, 245, 0, 245, 248, 400, 248, 402, 408, 0, 404, 248, 245, 249, 245, 249, 248, + 405, 0, 245, 249, 249, 0, 406, 245, 249, 250, 407, 250, 251, 0, 251, + + 409, 250, 250, 408, 251, 250, 250, 252, 0, 251, 254, 403, 254, 403, 0, 0, 0, + 254, 252, 0, 252, 250, 254, 250, 251, 252, 251, 409, 250, 250, 252, 251, 250, 250, + 252, 253, 251, 254, 403, 254, 403, 253, 401, 253, 254, 252, 255, 252, 253, 254, 0, + 401, 252, 253, 255, 0, 255, 252, 0, 0, 410, 255, 253, 411, 412, 0, 255, 411, + 253, 401, 253, 0, 413, 255, 542, 253, 0, 256, 401, 256, 253, 255, 258, 255, 256, + 256, 258, 410, 255, 256, 411, 412, 258, 255, 411, 258, 261, 0, 261, 413, + + 543, 542, 258, 261, 256, 544, 256, 0, 261, 258, 259, 256, 256, 258, 259, 262, 256, + 545, 259, 258, 0, 546, 258, 261, 259, 261, 262, 543, 262, 258, 261, 0, 544, 262, + 259, 261, 0, 259, 262, 0, 0, 259, 262, 0, 545, 259, 547, 263, 546, 548, 0, + 259, 263, 262, 263, 262, 264, 549, 264, 263, 262, 259, 550, 264, 263, 262, 265, 264, + 264, 552, 265, 0, 265, 547, 263, 0, 548, 265, 555, 263, 0, 263, 265, 264, 549, + 264, 263, 556, 557, 550, 264, 263, 0, 265, 264, 264, 552, 265, 267, 265, + + 0, 0, 267, 268, 265, 555, 267, 268, 558, 265, 266, 560, 267, 268, 556, 557, 561, + 562, 563, 266, 0, 266, 267, 268, 0, 267, 266, 266, 269, 267, 268, 266, 269, 267, + 268, 558, 269, 266, 560, 267, 268, 0, 269, 561, 562, 563, 266, 270, 266, 267, 268, + 270, 269, 266, 266, 269, 565, 270, 266, 269, 270, 566, 271, 269, 0, 567, 271, 270, + 272, 269, 271, 272, 0, 0, 270, 272, 271, 568, 270, 269, 569, 272, 0, 565, 270, + 570, 271, 270, 566, 271, 571, 272, 567, 271, 270, 272, 572, 271, 272, 273, + + 273, 273, 272, 271, 568, 274, 273, 569, 272, 274, 573, 273, 570, 271, 0, 274, 0, + 571, 272, 576, 0, 577, 0, 572, 0, 274, 273, 273, 273, 279, 279, 275, 274, 273, + 279, 275, 274, 573, 273, 275, 279, 275, 274, 276, 578, 280, 576, 276, 577, 280, 279, + 275, 274, 276, 276, 280, 279, 279, 275, 579, 580, 279, 275, 276, 0, 280, 275, 279, + 275, 581, 276, 578, 280, 0, 276, 582, 280, 279, 275, 583, 276, 276, 280, 585, 586, + 587, 579, 580, 590, 0, 276, 278, 280, 281, 278, 281, 581, 591, 278, 281, + + 281, 278, 582, 282, 278, 281, 583, 282, 593, 595, 585, 586, 587, 282, 278, 590, 282, + 596, 278, 597, 281, 278, 281, 282, 591, 278, 281, 281, 278, 283, 282, 278, 281, 283, + 282, 593, 595, 0, 284, 283, 282, 278, 284, 282, 596, 598, 597, 285, 284, 283, 282, + 285, 421, 284, 421, 285, 283, 599, 284, 421, 283, 285, 600, 603, 421, 284, 283, 607, + 609, 284, 610, 285, 598, 0, 285, 284, 283, 0, 285, 421, 284, 421, 285, 0, 599, + 284, 421, 0, 285, 600, 603, 421, 0, 0, 607, 609, 0, 610, 285, 289, + + 289, 289, 289, 289, 289, 289, 289, 289, 289, 416, 416, 416, 416, 416, 416, 416, 416, + 416, 416, 417, 418, 419, 420, 417, 418, 419, 420, 612, 614, 417, 418, 419, 420, 0, + 613, 613, 0, 615, 0, 417, 418, 419, 420, 0, 0, 0, 417, 418, 419, 420, 417, + 418, 419, 420, 612, 614, 417, 418, 419, 420, 423, 613, 613, 422, 615, 422, 417, 418, + 419, 420, 422, 423, 424, 423, 424, 422, 425, 0, 423, 424, 425, 0, 601, 423, 424, + 0, 425, 423, 616, 0, 422, 618, 422, 601, 0, 0, 425, 422, 423, 424, + + 423, 424, 422, 425, 426, 423, 424, 425, 426, 601, 423, 424, 427, 425, 426, 616, 427, + 428, 618, 619, 601, 428, 427, 425, 426, 0, 429, 428, 429, 620, 427, 426, 427, 429, + 621, 426, 623, 428, 429, 427, 430, 426, 430, 427, 428, 624, 619, 430, 428, 427, 626, + 426, 430, 429, 428, 429, 620, 427, 432, 427, 429, 621, 432, 623, 428, 429, 0, 430, + 432, 430, 0, 432, 624, 0, 430, 0, 0, 626, 432, 430, 431, 0, 431, 433, 627, + 432, 431, 433, 628, 432, 629, 0, 431, 433, 631, 432, 434, 431, 432, 433, + + 434, 0, 431, 433, 434, 432, 434, 431, 436, 431, 433, 627, 436, 431, 433, 628, 434, + 629, 436, 431, 433, 631, 0, 434, 431, 0, 433, 434, 436, 431, 433, 434, 435, 434, + 0, 436, 435, 0, 632, 436, 437, 633, 435, 434, 437, 436, 634, 435, 437, 438, 636, + 438, 435, 0, 437, 436, 438, 637, 0, 435, 0, 438, 0, 435, 437, 632, 638, 437, + 633, 435, 639, 437, 642, 634, 435, 437, 438, 636, 438, 435, 439, 437, 439, 438, 637, + 440, 439, 439, 438, 440, 643, 437, 439, 638, 441, 440, 441, 639, 644, 642, + + 645, 441, 646, 0, 649, 440, 441, 439, 442, 439, 442, 650, 440, 439, 439, 442, 440, + 643, 0, 439, 442, 441, 440, 441, 0, 644, 443, 645, 441, 646, 443, 649, 440, 441, + 0, 442, 443, 442, 650, 652, 444, 445, 442, 653, 444, 445, 443, 442, 444, 0, 654, + 445, 655, 443, 444, 656, 445, 443, 0, 0, 657, 445, 0, 443, 444, 658, 652, 444, + 445, 0, 653, 444, 445, 443, 446, 444, 446, 654, 445, 655, 446, 444, 656, 445, 659, + 447, 446, 657, 445, 447, 0, 444, 658, 0, 448, 447, 446, 0, 448, 660, + + 662, 446, 664, 446, 448, 447, 0, 446, 0, 448, 0, 659, 447, 446, 448, 0, 447, + 449, 0, 0, 449, 448, 447, 446, 449, 448, 660, 662, 0, 664, 449, 448, 447, 451, + 666, 450, 448, 451, 452, 450, 449, 448, 452, 451, 449, 450, 450, 449, 452, 796, 798, + 449, 0, 451, 800, 450, 0, 449, 452, 801, 451, 666, 450, 802, 451, 452, 450, 449, + 803, 452, 451, 0, 450, 450, 453, 452, 796, 798, 453, 454, 451, 800, 450, 454, 453, + 452, 801, 454, 455, 0, 802, 0, 455, 454, 453, 803, 804, 457, 455, 457, + + 458, 453, 458, 454, 457, 453, 454, 458, 455, 457, 454, 453, 458, 0, 454, 455, 456, + 0, 456, 455, 454, 453, 456, 804, 457, 455, 457, 458, 456, 458, 454, 457, 805, 806, + 458, 455, 457, 0, 456, 458, 459, 807, 459, 456, 461, 456, 459, 459, 461, 456, 808, + 460, 459, 460, 461, 456, 810, 811, 460, 805, 806, 812, 462, 460, 461, 456, 462, 459, + 807, 459, 462, 461, 0, 459, 459, 461, 462, 808, 460, 459, 460, 461, 0, 810, 811, + 460, 462, 813, 812, 462, 460, 461, 463, 462, 463, 814, 815, 462, 817, 463, + + 464, 464, 464, 462, 463, 818, 819, 464, 465, 465, 465, 0, 464, 462, 813, 465, 820, + 821, 0, 463, 465, 463, 814, 815, 0, 817, 463, 464, 464, 464, 822, 463, 818, 819, + 464, 465, 465, 465, 466, 464, 466, 467, 465, 820, 821, 466, 823, 465, 824, 825, 466, + 467, 468, 467, 468, 826, 0, 822, 467, 468, 0, 468, 0, 467, 468, 466, 0, 466, + 467, 0, 0, 827, 466, 823, 830, 824, 825, 466, 467, 468, 467, 468, 826, 469, 831, + 467, 468, 469, 468, 469, 467, 468, 470, 471, 469, 832, 470, 471, 827, 469, + + 0, 830, 470, 471, 0, 472, 0, 833, 471, 472, 469, 831, 470, 471, 469, 472, 469, + 834, 472, 470, 471, 469, 832, 470, 471, 472, 469, 473, 0, 470, 471, 473, 472, 473, + 833, 471, 472, 473, 837, 470, 471, 840, 472, 841, 834, 472, 474, 473, 0, 475, 474, + 476, 472, 475, 473, 476, 474, 0, 473, 475, 473, 476, 843, 846, 473, 837, 474, 849, + 840, 475, 841, 476, 0, 474, 473, 477, 475, 474, 476, 477, 475, 842, 476, 474, 842, + 477, 475, 478, 476, 843, 846, 478, 0, 474, 849, 477, 475, 478, 476, 479, + + 0, 0, 477, 479, 850, 0, 477, 478, 842, 479, 0, 842, 477, 851, 478, 479, 0, + 852, 478, 479, 0, 480, 477, 480, 478, 481, 479, 481, 480, 0, 479, 850, 481, 480, + 478, 0, 479, 481, 0, 0, 851, 853, 479, 483, 852, 0, 479, 483, 480, 482, 480, + 482, 481, 483, 481, 480, 482, 482, 0, 481, 480, 482, 484, 483, 481, 487, 484, 487, + 853, 487, 483, 854, 484, 0, 483, 487, 482, 0, 482, 857, 483, 858, 484, 482, 482, + 487, 485, 485, 482, 484, 483, 485, 487, 484, 487, 859, 487, 485, 854, 484, + + 490, 488, 487, 488, 490, 488, 857, 485, 858, 484, 490, 488, 487, 485, 485, 490, 0, + 860, 485, 0, 490, 488, 859, 861, 485, 0, 863, 490, 488, 0, 488, 490, 488, 864, + 485, 486, 489, 490, 488, 486, 489, 0, 490, 486, 860, 486, 489, 490, 488, 486, 861, + 866, 489, 863, 0, 867, 489, 0, 0, 486, 864, 491, 486, 489, 492, 491, 486, 489, + 492, 868, 486, 491, 486, 489, 492, 869, 486, 491, 866, 489, 871, 491, 867, 489, 492, + 493, 486, 872, 491, 493, 0, 492, 491, 493, 873, 492, 868, 0, 491, 493, + + 874, 492, 869, 494, 491, 494, 0, 871, 491, 493, 494, 492, 493, 875, 872, 494, 493, + 495, 0, 495, 493, 873, 0, 495, 495, 876, 493, 874, 0, 495, 494, 496, 494, 496, + 877, 497, 493, 494, 496, 497, 875, 0, 494, 496, 495, 497, 495, 0, 878, 498, 495, + 495, 876, 498, 879, 497, 495, 0, 496, 498, 496, 877, 497, 0, 499, 496, 497, 881, + 499, 498, 496, 501, 497, 501, 499, 878, 498, 499, 501, 0, 498, 879, 497, 501, 499, + 0, 498, 882, 883, 0, 505, 499, 505, 0, 881, 499, 498, 505, 501, 0, + + 501, 499, 505, 885, 499, 501, 503, 503, 503, 0, 501, 499, 500, 503, 882, 883, 500, + 505, 503, 505, 500, 886, 0, 887, 505, 988, 500, 990, 992, 505, 885, 500, 993, 503, + 503, 503, 500, 0, 994, 500, 503, 0, 995, 500, 504, 503, 0, 500, 886, 504, 887, + 504, 988, 500, 990, 992, 504, 997, 500, 993, 507, 504, 507, 500, 502, 994, 999, 507, + 507, 995, 1000, 504, 507, 502, 0, 502, 504, 502, 504, 1001, 502, 0, 0, 504, 997, + 502, 0, 507, 504, 507, 506, 502, 1002, 999, 507, 507, 1003, 1000, 1005, 507, + + 502, 506, 502, 506, 502, 508, 1001, 502, 506, 508, 1007, 508, 502, 506, 1009, 1012, 508, + 506, 0, 1002, 0, 508, 509, 1003, 509, 1005, 1014, 0, 506, 509, 506, 0, 508, 0, + 509, 506, 508, 1007, 508, 1015, 506, 1009, 1012, 508, 1016, 510, 0, 510, 508, 509, 511, + 509, 510, 1014, 511, 512, 509, 510, 513, 512, 511, 509, 513, 514, 1023, 512, 1015, 514, + 513, 1024, 511, 1016, 510, 514, 510, 512, 0, 511, 513, 510, 0, 511, 512, 514, 510, + 513, 512, 511, 0, 513, 514, 1023, 512, 0, 514, 513, 1024, 511, 0, 515, + + 514, 0, 512, 515, 516, 513, 0, 517, 516, 515, 514, 517, 515, 518, 516, 518, 1025, + 517, 517, 515, 518, 519, 516, 519, 516, 518, 515, 517, 519, 519, 515, 516, 0, 519, + 517, 516, 515, 0, 517, 515, 518, 516, 518, 1025, 517, 517, 515, 518, 519, 516, 519, + 516, 518, 1028, 517, 519, 519, 520, 1030, 520, 519, 521, 1032, 521, 520, 520, 1034, 1035, + 521, 520, 522, 1036, 522, 521, 522, 1037, 0, 522, 0, 0, 1028, 0, 522, 0, 520, + 1030, 520, 1038, 521, 1032, 521, 520, 520, 1034, 1035, 521, 520, 522, 1036, 522, + + 521, 522, 1037, 523, 522, 523, 524, 1040, 524, 522, 523, 523, 0, 524, 1038, 523, 525, + 1041, 524, 526, 525, 0, 1042, 526, 1043, 0, 525, 0, 0, 526, 523, 1045, 523, 524, + 1040, 524, 525, 523, 523, 526, 524, 0, 523, 525, 1041, 524, 526, 525, 528, 1042, 526, + 1043, 527, 525, 527, 528, 526, 528, 1045, 527, 1047, 0, 528, 525, 527, 1049, 526, 528, + 529, 0, 531, 0, 529, 530, 531, 528, 0, 530, 529, 527, 531, 527, 528, 530, 528, + 530, 527, 1047, 529, 528, 531, 527, 1049, 530, 528, 529, 533, 531, 533, 529, + + 530, 531, 1050, 533, 530, 529, 0, 531, 533, 0, 530, 0, 530, 1051, 532, 529, 0, + 531, 532, 1052, 530, 1053, 532, 533, 534, 533, 534, 0, 532, 1050, 533, 534, 0, 534, + 1058, 533, 534, 0, 532, 0, 1051, 532, 1059, 535, 1138, 532, 1052, 1142, 1053, 532, 0, + 534, 535, 534, 535, 532, 1143, 1146, 534, 535, 534, 1058, 1147, 534, 535, 532, 536, 1148, + 536, 1059, 535, 1138, 1152, 536, 1142, 0, 0, 536, 536, 535, 537, 535, 537, 1143, 1146, + 0, 535, 537, 537, 1147, 0, 535, 537, 536, 1148, 536, 538, 1154, 538, 1152, + + 536, 1155, 538, 538, 536, 536, 539, 537, 538, 537, 539, 1158, 539, 0, 537, 537, 1159, + 539, 0, 537, 0, 0, 539, 538, 1154, 538, 1160, 0, 1155, 538, 538, 1161, 1164, 539, + 540, 538, 540, 539, 1158, 539, 540, 540, 1165, 1159, 539, 668, 540, 668, 669, 539, 669, + 668, 668, 1160, 669, 669, 1168, 668, 1161, 1164, 669, 540, 0, 540, 1170, 0, 670, 540, + 540, 1165, 670, 0, 668, 540, 668, 669, 670, 669, 668, 668, 1171, 669, 669, 1168, 668, + 671, 670, 669, 672, 671, 674, 1170, 672, 670, 674, 671, 1172, 670, 672, 1173, + + 674, 672, 673, 670, 673, 671, 1174, 1171, 672, 673, 674, 0, 671, 670, 673, 672, 671, + 674, 0, 672, 0, 674, 671, 1172, 0, 672, 1173, 674, 672, 673, 1222, 673, 671, 1174, + 0, 672, 673, 674, 675, 676, 675, 673, 677, 676, 0, 675, 677, 678, 1225, 676, 675, + 678, 677, 0, 0, 678, 1229, 1222, 0, 676, 1230, 678, 677, 0, 0, 675, 676, 675, + 0, 677, 676, 678, 675, 677, 678, 1225, 676, 675, 678, 677, 679, 680, 678, 1229, 679, + 680, 676, 1230, 678, 677, 679, 680, 0, 1233, 0, 681, 1234, 1235, 678, 681, + + 679, 680, 0, 681, 1223, 1223, 0, 679, 680, 681, 0, 679, 680, 1239, 0, 0, 0, + 679, 680, 681, 1233, 682, 681, 1234, 1235, 682, 681, 679, 680, 682, 681, 682, 1240, 683, + 684, 685, 681, 683, 684, 685, 1239, 682, 1223, 683, 684, 685, 681, 684, 682, 1241, 0, + 0, 682, 683, 684, 685, 682, 0, 682, 1240, 683, 684, 685, 686, 683, 684, 685, 686, + 682, 1223, 683, 684, 685, 686, 684, 1243, 1241, 687, 686, 687, 683, 684, 685, 686, 687, + 1269, 0, 688, 689, 687, 686, 688, 689, 0, 686, 0, 0, 688, 689, 1270, + + 686, 0, 1243, 689, 687, 686, 687, 688, 689, 0, 686, 687, 1269, 690, 688, 689, 687, + 690, 688, 689, 691, 0, 691, 690, 688, 689, 1270, 691, 1246, 1246, 689, 1273, 691, 690, + 688, 689, 692, 692, 692, 0, 690, 1278, 0, 692, 690, 1282, 1295, 691, 692, 691, 690, + 0, 0, 0, 691, 1294, 1294, 1298, 1273, 691, 690, 1301, 1306, 692, 692, 692, 1246, 693, + 1278, 693, 692, 1310, 1282, 1295, 693, 692, 693, 0, 694, 693, 694, 1300, 1300, 1314, 1298, + 694, 694, 0, 1301, 1306, 694, 695, 0, 1246, 693, 0, 693, 1294, 1310, 0, + + 0, 693, 695, 693, 695, 694, 693, 694, 0, 695, 1314, 0, 694, 694, 695, 0, 1316, + 694, 695, 697, 696, 0, 696, 1300, 1294, 1318, 696, 696, 697, 695, 697, 695, 696, 1320, + 0, 697, 695, 0, 698, 0, 697, 695, 698, 1316, 0, 0, 697, 696, 698, 696, 1300, + 1322, 1318, 696, 696, 697, 1324, 697, 698, 696, 1320, 699, 697, 699, 700, 698, 700, 697, + 699, 698, 701, 700, 701, 699, 0, 698, 700, 701, 1322, 0, 1326, 0, 701, 1324, 1328, + 698, 702, 1330, 699, 1332, 699, 700, 0, 700, 702, 699, 702, 701, 700, 701, + + 699, 702, 0, 700, 701, 0, 702, 1326, 703, 701, 703, 1328, 703, 702, 1330, 703, 1332, + 0, 0, 0, 703, 702, 704, 702, 704, 0, 704, 0, 702, 704, 0, 0, 0, 702, + 704, 703, 705, 703, 705, 703, 0, 0, 703, 705, 0, 705, 0, 703, 705, 704, 706, + 704, 706, 704, 0, 707, 704, 706, 706, 0, 0, 704, 706, 705, 0, 705, 707, 0, + 707, 0, 705, 0, 705, 707, 0, 705, 709, 706, 707, 706, 709, 708, 707, 0, 706, + 706, 709, 0, 0, 706, 0, 0, 708, 707, 708, 707, 709, 0, 0, 708, + + 707, 0, 710, 709, 708, 707, 710, 709, 708, 0, 711, 0, 710, 709, 711, 0, 0, + 0, 0, 708, 711, 708, 710, 709, 712, 711, 708, 0, 712, 710, 711, 708, 713, 710, + 712, 0, 713, 711, 714, 710, 713, 711, 714, 0, 712, 0, 713, 711, 714, 710, 715, + 712, 711, 0, 715, 712, 713, 711, 714, 713, 715, 712, 0, 713, 716, 714, 0, 713, + 716, 714, 715, 712, 716, 713, 0, 714, 0, 715, 716, 0, 718, 715, 717, 713, 718, + 714, 717, 715, 716, 0, 718, 716, 717, 717, 719, 716, 719, 715, 0, 716, + + 718, 719, 717, 0, 0, 716, 719, 718, 0, 717, 0, 718, 0, 717, 0, 716, 0, + 718, 0, 717, 717, 719, 0, 719, 720, 0, 720, 718, 719, 717, 721, 720, 721, 719, + 722, 723, 720, 721, 722, 723, 0, 0, 721, 0, 722, 723, 0, 0, 723, 0, 0, + 720, 0, 720, 722, 723, 0, 721, 720, 721, 0, 722, 723, 720, 721, 722, 723, 0, + 0, 721, 0, 722, 723, 0, 0, 723, 724, 0, 724, 0, 0, 722, 723, 724, 725, + 0, 725, 726, 724, 726, 725, 725, 0, 726, 726, 0, 725, 0, 0, 726, + + 0, 0, 0, 724, 0, 724, 0, 0, 0, 0, 724, 725, 0, 725, 726, 724, 726, + 725, 725, 0, 726, 726, 0, 725, 0, 0, 726, 727, 728, 729, 728, 729, 727, 0, + 727, 728, 729, 0, 727, 727, 728, 729, 0, 0, 727, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 727, 728, 729, 728, 729, 727, 0, 727, 728, 729, 0, 727, 727, 728, + 729, 0, 730, 727, 730, 731, 732, 731, 732, 730, 0, 0, 731, 732, 730, 0, 0, + 731, 732, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 730, 0, 730, + + 731, 732, 731, 732, 730, 0, 0, 731, 732, 730, 0, 0, 731, 732, 733, 0, 733, + 734, 735, 734, 735, 733, 733, 0, 734, 735, 733, 0, 0, 734, 735, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 733, 0, 733, 734, 735, 734, 735, 733, 733, 736, + 734, 735, 733, 736, 737, 734, 735, 738, 737, 736, 0, 738, 740, 739, 737, 739, 740, + 738, 740, 736, 739, 739, 0, 740, 737, 739, 736, 738, 740, 0, 736, 737, 0, 0, + 738, 737, 736, 0, 738, 740, 739, 737, 739, 740, 738, 740, 736, 739, 739, + + 742, 740, 737, 739, 742, 738, 740, 741, 743, 741, 742, 0, 743, 741, 741, 0, 0, + 0, 743, 741, 742, 0, 0, 0, 0, 0, 0, 742, 743, 0, 0, 742, 0, 0, + 741, 743, 741, 742, 0, 743, 741, 741, 744, 0, 744, 743, 741, 742, 744, 0, 0, + 0, 745, 746, 744, 743, 745, 746, 0, 0, 0, 0, 745, 746, 744, 0, 746, 0, + 0, 744, 0, 744, 745, 746, 0, 744, 0, 0, 0, 745, 746, 744, 747, 745, 746, + 0, 747, 0, 0, 745, 746, 744, 747, 746, 748, 747, 0, 749, 748, 745, + + 746, 749, 747, 0, 748, 749, 750, 749, 0, 747, 750, 0, 0, 747, 748, 0, 750, + 749, 0, 747, 0, 748, 747, 0, 749, 748, 750, 0, 749, 747, 0, 748, 749, 750, + 749, 751, 752, 750, 0, 751, 752, 748, 0, 750, 749, 751, 752, 0, 0, 0, 753, + 0, 0, 750, 753, 751, 752, 0, 753, 0, 0, 0, 751, 752, 753, 0, 751, 752, + 0, 0, 0, 0, 751, 752, 753, 0, 754, 753, 0, 0, 754, 753, 751, 752, 754, + 753, 0, 0, 755, 756, 754, 753, 755, 756, 0, 0, 0, 0, 755, 756, + + 754, 753, 757, 754, 0, 0, 757, 754, 755, 756, 757, 754, 757, 0, 0, 755, 756, + 754, 0, 755, 756, 0, 757, 0, 0, 755, 756, 754, 758, 757, 759, 0, 758, 757, + 759, 755, 756, 757, 758, 757, 759, 758, 761, 0, 0, 759, 761, 0, 758, 757, 759, + 760, 761, 0, 760, 758, 0, 759, 760, 758, 0, 759, 761, 0, 760, 758, 0, 759, + 758, 761, 0, 0, 759, 761, 760, 758, 762, 759, 760, 761, 762, 760, 0, 764, 762, + 760, 762, 0, 763, 761, 763, 760, 764, 0, 764, 763, 762, 0, 765, 764, + + 763, 760, 765, 762, 764, 0, 0, 762, 765, 0, 764, 762, 0, 762, 0, 763, 0, + 763, 765, 764, 766, 764, 763, 762, 766, 765, 764, 763, 767, 765, 766, 764, 767, 769, + 768, 765, 768, 769, 767, 0, 766, 768, 0, 769, 0, 765, 768, 766, 767, 0, 0, + 766, 770, 769, 0, 767, 770, 766, 0, 767, 769, 768, 770, 768, 769, 767, 0, 766, + 768, 0, 769, 0, 770, 768, 771, 767, 0, 772, 771, 770, 769, 772, 773, 770, 771, + 0, 773, 772, 0, 770, 0, 775, 773, 775, 771, 0, 774, 772, 775, 770, + + 774, 771, 773, 775, 772, 771, 774, 0, 772, 773, 776, 771, 776, 773, 772, 0, 774, + 776, 775, 773, 775, 771, 776, 774, 772, 775, 0, 774, 0, 773, 775, 778, 0, 774, + 777, 0, 777, 776, 0, 776, 778, 777, 778, 774, 776, 0, 777, 778, 779, 776, 779, + 0, 778, 0, 0, 779, 0, 779, 778, 0, 779, 777, 0, 777, 780, 0, 780, 778, + 777, 778, 0, 780, 0, 777, 778, 779, 780, 779, 0, 778, 0, 0, 779, 781, 779, + 781, 782, 779, 0, 0, 781, 780, 781, 780, 783, 781, 783, 782, 780, 782, + + 0, 783, 783, 780, 782, 0, 783, 0, 0, 782, 781, 0, 781, 782, 0, 0, 0, + 781, 0, 781, 784, 783, 781, 783, 782, 784, 782, 784, 783, 783, 785, 782, 784, 783, + 785, 786, 782, 784, 786, 786, 785, 0, 0, 0, 0, 786, 0, 784, 0, 0, 785, + 0, 784, 0, 784, 786, 0, 785, 0, 784, 0, 785, 786, 0, 784, 786, 786, 785, + 0, 787, 788, 789, 786, 787, 788, 789, 0, 785, 0, 787, 788, 789, 786, 790, 791, + 0, 788, 790, 791, 787, 788, 789, 0, 790, 791, 0, 787, 788, 789, 0, + + 787, 788, 789, 790, 791, 0, 787, 788, 789, 0, 790, 791, 0, 788, 790, 791, 787, + 788, 789, 0, 790, 791, 792, 0, 792, 891, 892, 891, 892, 792, 790, 791, 891, 892, + 792, 0, 0, 891, 892, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 792, 0, + 792, 891, 892, 891, 892, 792, 0, 0, 891, 892, 792, 0, 0, 891, 892, 893, 894, + 893, 894, 0, 895, 896, 893, 894, 895, 896, 0, 893, 894, 893, 895, 896, 0, 0, + 0, 0, 0, 0, 0, 0, 895, 896, 893, 894, 893, 894, 0, 895, 896, + + 893, 894, 895, 896, 0, 893, 894, 893, 895, 896, 897, 898, 0, 0, 897, 898, 0, + 0, 895, 896, 897, 898, 0, 900, 900, 899, 898, 0, 900, 899, 897, 898, 0, 899, + 900, 0, 0, 897, 898, 899, 0, 897, 898, 0, 900, 0, 0, 897, 898, 899, 900, + 900, 899, 898, 0, 900, 899, 897, 898, 0, 899, 900, 901, 902, 901, 902, 899, 0, + 901, 0, 902, 900, 0, 0, 901, 902, 899, 0, 0, 0, 0, 0, 0, 0, 901, + 0, 903, 0, 903, 901, 902, 901, 902, 903, 903, 901, 904, 902, 903, 905, + + 904, 901, 902, 905, 906, 907, 904, 907, 906, 905, 0, 901, 907, 903, 906, 903, 904, + 907, 908, 905, 903, 903, 908, 904, 906, 903, 905, 904, 908, 0, 905, 906, 907, 904, + 907, 906, 905, 0, 908, 907, 0, 906, 0, 904, 907, 908, 905, 0, 909, 908, 0, + 906, 909, 910, 0, 908, 912, 910, 909, 0, 912, 910, 911, 0, 911, 908, 912, 910, + 909, 911, 0, 0, 0, 0, 911, 909, 912, 910, 0, 909, 910, 0, 913, 912, 910, + 909, 913, 912, 910, 911, 0, 911, 913, 912, 910, 909, 911, 0, 0, 0, + + 0, 911, 913, 912, 910, 0, 914, 915, 0, 913, 914, 915, 0, 913, 0, 0, 914, + 915, 916, 913, 916, 0, 915, 0, 0, 916, 914, 915, 0, 913, 916, 917, 0, 914, + 915, 917, 918, 914, 915, 0, 918, 917, 0, 914, 915, 916, 918, 916, 0, 915, 0, + 917, 916, 914, 915, 919, 918, 916, 917, 919, 0, 0, 917, 918, 922, 919, 922, 918, + 917, 0, 920, 922, 0, 918, 920, 919, 922, 0, 917, 0, 920, 0, 919, 918, 921, + 920, 919, 0, 921, 0, 920, 922, 919, 922, 921, 0, 923, 920, 922, 921, + + 923, 920, 919, 922, 921, 0, 923, 920, 924, 925, 924, 921, 920, 925, 924, 921, 923, + 920, 926, 925, 924, 921, 926, 923, 0, 0, 921, 923, 926, 925, 924, 921, 0, 923, + 0, 924, 925, 924, 926, 0, 925, 924, 0, 923, 927, 926, 925, 924, 927, 926, 0, + 0, 0, 0, 927, 926, 925, 924, 0, 928, 0, 0, 927, 928, 927, 926, 929, 0, + 929, 928, 930, 927, 930, 929, 928, 927, 0, 930, 929, 928, 0, 927, 930, 0, 0, + 0, 928, 0, 0, 927, 928, 927, 0, 929, 0, 929, 928, 930, 0, 930, + + 929, 928, 0, 931, 930, 929, 928, 0, 931, 930, 931, 932, 933, 932, 933, 931, 0, + 0, 932, 933, 931, 0, 0, 932, 933, 0, 0, 0, 0, 0, 931, 0, 0, 0, + 0, 931, 0, 931, 932, 933, 932, 933, 931, 0, 0, 932, 933, 931, 0, 0, 932, + 933, 934, 0, 934, 935, 936, 935, 936, 934, 934, 0, 935, 936, 934, 0, 0, 935, + 936, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 934, 0, 934, 935, 936, 935, + 936, 934, 934, 0, 935, 936, 934, 0, 0, 935, 936, 937, 938, 937, 0, + + 0, 938, 0, 937, 937, 0, 0, 938, 937, 939, 0, 939, 0, 0, 0, 0, 939, + 938, 0, 939, 940, 939, 940, 937, 938, 937, 0, 940, 938, 0, 937, 937, 940, 0, + 938, 937, 939, 0, 939, 0, 0, 0, 0, 939, 938, 0, 939, 940, 939, 940, 941, + 942, 941, 942, 940, 0, 943, 941, 942, 940, 0, 0, 941, 942, 943, 0, 943, 0, + 0, 0, 0, 943, 0, 0, 0, 0, 943, 941, 942, 941, 942, 0, 0, 943, 941, + 942, 0, 0, 0, 941, 942, 943, 944, 943, 944, 945, 946, 945, 943, 944, + + 946, 0, 945, 943, 944, 0, 946, 945, 947, 0, 947, 0, 0, 0, 0, 947, 946, + 0, 0, 944, 947, 944, 945, 946, 945, 0, 944, 946, 948, 945, 0, 944, 0, 946, + 945, 947, 0, 947, 0, 948, 0, 948, 947, 946, 0, 0, 948, 947, 0, 0, 949, + 948, 949, 0, 0, 948, 0, 949, 949, 950, 0, 0, 949, 950, 0, 950, 948, 0, + 948, 0, 950, 0, 0, 948, 0, 950, 0, 949, 948, 949, 0, 0, 0, 0, 949, + 949, 950, 0, 0, 949, 950, 951, 950, 951, 952, 0, 952, 950, 951, 951, + + 0, 952, 950, 951, 954, 953, 952, 953, 954, 0, 0, 0, 953, 0, 954, 0, 0, + 953, 951, 0, 951, 952, 0, 952, 954, 951, 951, 0, 952, 0, 951, 954, 953, 952, + 953, 954, 0, 0, 955, 953, 0, 954, 955, 0, 953, 956, 956, 0, 955, 0, 956, + 954, 0, 955, 0, 0, 956, 0, 955, 0, 0, 0, 0, 0, 0, 955, 956, 0, + 0, 955, 0, 0, 956, 956, 957, 955, 0, 956, 957, 0, 955, 0, 958, 956, 957, + 955, 958, 957, 0, 0, 0, 0, 958, 956, 957, 958, 959, 0, 0, 0, + + 959, 957, 958, 0, 0, 957, 959, 0, 960, 958, 0, 957, 960, 958, 957, 0, 959, + 0, 960, 958, 961, 957, 958, 959, 961, 0, 0, 959, 960, 958, 961, 0, 962, 959, + 0, 960, 962, 0, 0, 960, 961, 0, 962, 959, 0, 960, 963, 961, 0, 0, 963, + 961, 962, 0, 963, 960, 0, 961, 964, 962, 963, 0, 964, 962, 967, 0, 964, 961, + 967, 962, 963, 0, 964, 963, 967, 965, 965, 963, 0, 962, 965, 963, 964, 0, 967, + 964, 965, 963, 968, 964, 966, 967, 968, 964, 966, 967, 965, 963, 968, 964, + + 966, 967, 965, 965, 0, 966, 0, 965, 968, 964, 966, 967, 0, 965, 0, 968, 970, + 966, 0, 968, 970, 966, 0, 965, 970, 968, 0, 966, 969, 969, 970, 0, 966, 969, + 971, 968, 971, 966, 0, 969, 970, 971, 0, 970, 0, 0, 971, 970, 0, 969, 0, + 970, 972, 0, 972, 969, 969, 970, 972, 972, 969, 971, 0, 971, 972, 0, 969, 970, + 971, 0, 973, 0, 973, 971, 0, 0, 969, 973, 973, 972, 0, 972, 973, 974, 0, + 972, 972, 0, 0, 975, 0, 972, 0, 0, 974, 0, 974, 973, 0, 973, + + 975, 974, 975, 0, 973, 973, 974, 975, 0, 973, 974, 0, 975, 976, 0, 976, 975, + 0, 0, 0, 976, 974, 0, 974, 977, 976, 977, 975, 974, 975, 0, 977, 0, 974, + 975, 0, 977, 0, 0, 975, 976, 0, 976, 0, 978, 979, 979, 976, 978, 0, 979, + 977, 976, 977, 978, 0, 979, 0, 977, 0, 0, 0, 0, 977, 978, 0, 979, 0, + 0, 0, 980, 978, 979, 979, 980, 978, 0, 979, 981, 0, 980, 978, 981, 979, 0, + 0, 0, 982, 981, 982, 980, 978, 0, 979, 982, 983, 0, 980, 981, 982, + + 0, 980, 0, 0, 0, 981, 983, 980, 983, 981, 0, 0, 0, 983, 982, 981, 982, + 980, 983, 984, 0, 982, 983, 0, 0, 981, 982, 985, 0, 985, 984, 0, 984, 983, + 985, 983, 986, 984, 986, 985, 983, 0, 984, 986, 0, 983, 984, 0, 986, 0, 0, + 0, 0, 0, 985, 0, 985, 984, 1061, 984, 0, 985, 1061, 986, 984, 986, 985, 1062, + 1061, 984, 986, 1062, 1063, 0, 1063, 986, 1066, 1062, 1061, 1063, 1066, 1064, 0, 1064, 1063, + 1061, 1066, 1062, 1064, 1061, 1065, 0, 1065, 1064, 1062, 1061, 1066, 1065, 1062, 1063, + + 0, 1063, 1065, 1066, 1062, 1061, 1063, 1066, 1064, 0, 1064, 1063, 1067, 1066, 1062, 1064, 1067, + 1065, 0, 1065, 1064, 0, 1067, 1066, 1065, 0, 1068, 1067, 1068, 1065, 0, 0, 1067, 1068, + 1069, 1070, 1069, 1070, 1068, 1067, 0, 1069, 1070, 1067, 0, 0, 1069, 1070, 0, 1067, 0, + 0, 0, 1068, 1067, 1068, 0, 0, 0, 1067, 1068, 1069, 1070, 1069, 1070, 1068, 0, 0, + 1069, 1070, 1071, 0, 1071, 1069, 1070, 0, 1072, 1071, 1072, 1073, 1073, 1073, 1071, 1072, 1072, + 0, 1073, 0, 1072, 0, 0, 1073, 0, 0, 0, 0, 0, 1071, 0, 1071, + + 0, 0, 0, 1072, 1071, 1072, 1073, 1073, 1073, 1071, 1072, 1072, 1074, 1073, 0, 1072, 0, + 1075, 1073, 1075, 0, 1074, 0, 1074, 1075, 0, 0, 0, 1074, 1075, 1076, 0, 1076, 1074, + 0, 0, 0, 1076, 1076, 1074, 0, 0, 1076, 0, 1075, 0, 1075, 0, 1074, 0, 1074, + 1075, 0, 0, 0, 1074, 1075, 1076, 0, 1076, 1074, 1077, 1078, 1077, 1076, 1076, 0, 0, + 1077, 1076, 0, 0, 1078, 1077, 1078, 1079, 0, 1079, 0, 1078, 0, 0, 1079, 0, 1078, + 0, 0, 1079, 1077, 1078, 1077, 0, 0, 0, 1080, 1077, 0, 0, 0, 1078, + + 1077, 1078, 1079, 1080, 1079, 1080, 1078, 0, 0, 1079, 1080, 1078, 0, 0, 1079, 1080, 1081, + 1082, 1081, 1082, 0, 1080, 0, 1081, 1082, 0, 0, 0, 1081, 1082, 1080, 0, 1080, 0, + 0, 0, 0, 1080, 0, 0, 0, 0, 1080, 1081, 1082, 1081, 1082, 1083, 0, 1083, 1081, + 1082, 0, 1085, 1083, 1081, 1082, 1085, 1084, 1083, 1084, 0, 1086, 1085, 0, 1084, 1086, 0, + 0, 0, 1084, 0, 1086, 1085, 1083, 0, 1083, 0, 0, 0, 1085, 1083, 1086, 0, 1085, + 1084, 1083, 1084, 0, 1086, 1085, 0, 1084, 1086, 1087, 0, 1087, 1084, 1089, 1086, + + 1085, 1087, 1089, 1088, 0, 1088, 1087, 0, 1089, 1086, 1088, 1088, 1101, 0, 1101, 1088, 1090, + 0, 1089, 1101, 1090, 1087, 0, 1087, 1101, 1089, 1090, 0, 1087, 1089, 1088, 0, 1088, 1087, + 0, 1089, 1090, 1088, 1088, 1101, 1091, 1101, 1088, 1090, 1091, 1089, 1101, 1090, 1092, 0, 1091, + 1101, 1092, 1090, 0, 0, 0, 0, 1092, 0, 1091, 0, 1093, 1090, 0, 0, 1093, 1091, + 1092, 0, 1094, 1091, 1093, 0, 1094, 1092, 0, 1091, 0, 1092, 1094, 0, 1093, 0, 1095, + 1092, 0, 1091, 1095, 1093, 1094, 0, 1096, 1093, 1095, 1092, 1096, 1094, 0, 1093, + + 0, 1094, 1096, 0, 1095, 1096, 1097, 1094, 0, 1093, 1097, 1095, 1096, 0, 1098, 1095, 1097, + 1094, 1098, 1096, 1099, 1095, 1098, 1096, 1099, 0, 1097, 0, 1098, 1096, 1099, 1095, 1096, 1097, + 0, 0, 0, 1097, 1098, 1096, 1099, 1098, 1100, 1097, 0, 1098, 1100, 1099, 0, 1098, 0, + 1099, 1100, 1097, 1102, 1098, 1102, 1099, 0, 0, 0, 1102, 1100, 0, 0, 1098, 1102, 1099, + 1103, 1100, 1103, 0, 0, 1100, 0, 1103, 0, 0, 0, 1100, 1103, 1102, 0, 1102, 1104, + 0, 1104, 1105, 1102, 1100, 0, 1104, 1106, 1102, 1106, 1103, 1104, 1103, 1105, 1106, + + 1105, 0, 1103, 0, 1106, 1105, 0, 1103, 0, 0, 1105, 1104, 0, 1104, 1105, 0, 0, + 0, 1104, 1106, 0, 1106, 1107, 1104, 1107, 1105, 1106, 1105, 0, 1107, 1107, 1106, 1105, 0, + 1107, 1108, 0, 1105, 1109, 1108, 1110, 0, 1109, 1111, 1110, 1108, 0, 1111, 1109, 1107, 1110, + 1107, 0, 1111, 0, 1108, 1107, 1107, 1109, 0, 1110, 1107, 1108, 1111, 0, 1109, 1108, 1110, + 0, 1109, 1111, 1110, 1108, 0, 1111, 1109, 0, 1110, 0, 1112, 1111, 0, 1108, 1112, 0, + 1109, 1113, 1110, 1113, 1112, 1111, 0, 1113, 0, 0, 1114, 0, 1114, 1113, 1112, + + 0, 1114, 1115, 0, 1115, 0, 1112, 1114, 1113, 1115, 1112, 0, 0, 1113, 1115, 1113, 1112, + 1114, 0, 1113, 0, 0, 1114, 0, 1114, 1113, 1112, 0, 1114, 1115, 1116, 1115, 1116, 0, + 1114, 1113, 1115, 1116, 1117, 0, 1117, 1115, 1116, 0, 1114, 1117, 1118, 0, 1118, 1119, 1117, + 1119, 0, 1118, 0, 0, 1119, 1116, 1118, 1116, 0, 1119, 0, 0, 1116, 1117, 0, 1117, + 0, 1116, 0, 0, 1117, 1118, 0, 1118, 1119, 1117, 1119, 1120, 1118, 1120, 1121, 1119, 1121, + 1118, 1120, 1122, 1119, 1121, 0, 1120, 0, 0, 1121, 0, 0, 0, 1122, 0, + + 1122, 0, 0, 0, 0, 1122, 1120, 0, 1120, 1121, 1122, 1121, 0, 1120, 1122, 1123, 1121, + 0, 1120, 0, 1124, 1121, 0, 0, 0, 1122, 1123, 1122, 1123, 1124, 0, 1124, 1122, 1123, + 0, 0, 1124, 1122, 1123, 0, 0, 1124, 1123, 0, 0, 0, 0, 1124, 0, 0, 0, + 0, 0, 1123, 1126, 1123, 1124, 0, 1124, 1125, 1123, 1125, 1126, 1124, 1126, 1123, 1125, 1125, + 1124, 1126, 1127, 1125, 1127, 1128, 1126, 1128, 0, 1127, 0, 0, 1128, 1126, 1127, 0, 0, + 1128, 1125, 0, 1125, 1126, 0, 1126, 0, 1125, 1125, 0, 1126, 1127, 1125, 1127, + + 1128, 1126, 1128, 1129, 1127, 1129, 1130, 1128, 1130, 1127, 1129, 0, 1128, 1130, 1131, 1129, 1131, + 1132, 1130, 1132, 1131, 1131, 0, 0, 1132, 0, 1131, 0, 0, 1132, 1129, 0, 1129, 1130, + 0, 1130, 0, 1129, 0, 0, 1130, 1131, 1129, 1131, 1132, 1130, 1132, 1131, 1131, 0, 1178, + 1132, 1178, 1131, 0, 0, 1132, 1178, 1179, 1180, 1179, 1180, 1178, 0, 0, 1179, 1180, 0, + 0, 0, 1179, 1180, 0, 0, 0, 0, 0, 1178, 0, 1178, 0, 0, 0, 0, 1178, + 1179, 1180, 1179, 1180, 1178, 0, 0, 1179, 1180, 1181, 1182, 1181, 1179, 1180, 1182, + + 1183, 1181, 0, 0, 1183, 1182, 1181, 0, 0, 1184, 1183, 0, 0, 1184, 0, 1182, 1185, + 1185, 0, 1184, 1183, 1181, 1182, 1181, 0, 0, 1182, 1183, 1181, 1184, 0, 1183, 1182, 1181, + 0, 0, 1184, 1183, 0, 1186, 1184, 1185, 1182, 1186, 0, 1185, 1184, 1183, 0, 1186, 1187, + 1185, 0, 1188, 1187, 0, 1184, 1188, 1187, 1186, 0, 1185, 0, 1188, 1187, 0, 1186, 0, + 1185, 0, 1186, 0, 1185, 1188, 1187, 0, 1186, 1187, 1185, 1189, 1188, 1187, 0, 1189, 1188, + 1187, 1186, 0, 1185, 1189, 1188, 1187, 1190, 1191, 0, 0, 1190, 1191, 0, 1189, + + 1188, 1187, 1190, 1191, 0, 1192, 1189, 1192, 1191, 1192, 1189, 0, 1190, 1191, 0, 1192, 1189, + 1193, 1194, 1190, 1191, 1193, 1194, 1190, 1191, 1192, 1189, 1193, 1194, 1190, 1191, 0, 1192, 0, + 1192, 1191, 1192, 1193, 1194, 1190, 1191, 0, 1192, 1195, 1193, 1194, 0, 1195, 1193, 1194, 0, + 0, 1192, 1195, 1193, 1194, 0, 0, 0, 1196, 1197, 1196, 1197, 1195, 1193, 1194, 1196, 1197, + 0, 0, 1195, 1196, 1197, 0, 1195, 0, 0, 0, 0, 0, 1195, 0, 0, 0, 0, + 0, 1196, 1197, 1196, 1197, 1195, 1198, 0, 1196, 1197, 0, 0, 0, 1196, 1197, + + 1198, 1199, 1198, 1199, 1200, 0, 1200, 1198, 1199, 0, 0, 1200, 1198, 1199, 0, 0, 1200, + 0, 1198, 0, 0, 0, 0, 0, 0, 0, 0, 1198, 1199, 1198, 1199, 1200, 0, 1200, + 1198, 1199, 0, 0, 1200, 1198, 1199, 0, 1201, 1200, 1201, 1202, 1203, 1202, 0, 1201, 1203, + 1202, 1202, 0, 1201, 1204, 1203, 1202, 0, 1204, 0, 0, 0, 0, 0, 1204, 1203, 0, + 0, 1201, 0, 1201, 1202, 1203, 1202, 1204, 1201, 1203, 1202, 1202, 0, 1201, 1204, 1203, 1202, + 0, 1204, 1205, 1206, 1205, 1206, 0, 1204, 1203, 1205, 1206, 1207, 0, 1207, 1205, + + 1206, 0, 1204, 1207, 0, 0, 0, 0, 1207, 0, 0, 0, 0, 0, 1205, 1206, 1205, + 1206, 0, 0, 0, 1205, 1206, 1207, 0, 1207, 1205, 1206, 0, 1208, 1207, 1208, 0, 0, + 0, 1207, 1208, 1208, 0, 1209, 1209, 1208, 1209, 1210, 0, 1210, 0, 1209, 0, 0, 1210, + 0, 1209, 0, 0, 1210, 1208, 0, 1208, 0, 0, 0, 0, 1208, 1208, 0, 1209, 1209, + 1208, 1209, 1210, 1211, 1210, 1211, 1209, 0, 0, 1210, 1211, 1209, 0, 0, 1210, 1211, 1212, + 0, 1212, 1213, 0, 1213, 0, 1212, 1212, 0, 1213, 1214, 1212, 1214, 1211, 1213, + + 1211, 1214, 1214, 0, 0, 1211, 0, 1214, 0, 0, 1211, 1212, 0, 1212, 1213, 0, 1213, + 0, 1212, 1212, 0, 1213, 1214, 1212, 1214, 0, 1213, 0, 1214, 1214, 1215, 1215, 1215, 1216, + 1214, 1216, 0, 1215, 0, 0, 1216, 1216, 1215, 1217, 0, 1216, 1218, 1217, 0, 0, 1218, + 1219, 0, 1217, 0, 1219, 1218, 1215, 1215, 1215, 1216, 1219, 1216, 1217, 1215, 0, 1218, 1216, + 1216, 1215, 1217, 1219, 1216, 1218, 1217, 1220, 0, 1218, 1219, 1220, 1217, 0, 1219, 1218, 0, + 1220, 0, 1245, 1219, 0, 1217, 1245, 0, 1218, 0, 1220, 0, 1245, 1219, 1247, + + 1245, 1248, 1220, 1247, 0, 1248, 1220, 1245, 0, 1247, 0, 1248, 1220, 1249, 1245, 0, 1248, + 1249, 1245, 1247, 0, 1248, 1220, 1249, 1245, 1250, 1247, 1245, 1248, 1250, 1247, 0, 1248, 1249, + 1245, 1250, 1247, 1251, 1248, 0, 1249, 1251, 0, 1248, 1249, 1250, 1247, 1251, 1248, 1252, 1249, + 1252, 1250, 1252, 0, 0, 1250, 1251, 0, 1252, 1249, 0, 1250, 0, 1251, 0, 0, 1253, + 1251, 1252, 0, 1253, 1250, 0, 1251, 1254, 1252, 1253, 1252, 1254, 1252, 0, 1253, 0, 1251, + 1254, 1252, 1253, 0, 0, 0, 0, 0, 1255, 1253, 1254, 1252, 1255, 1253, 0, + + 0, 0, 1254, 1255, 1253, 0, 1254, 0, 0, 1253, 0, 0, 1254, 1255, 1253, 1256, 0, + 0, 0, 1256, 1255, 0, 1254, 0, 1255, 1256, 1258, 1257, 1256, 1257, 1255, 1258, 0, 1258, + 1257, 1256, 0, 0, 1258, 1257, 1255, 0, 1256, 1258, 0, 0, 1256, 0, 0, 0, 0, + 0, 1256, 1258, 1257, 1256, 1257, 1259, 1258, 1259, 1258, 1257, 1256, 0, 1259, 1258, 1257, 0, + 0, 1259, 1258, 1260, 0, 1260, 0, 1261, 0, 1261, 1260, 0, 0, 0, 1261, 1260, 1259, + 0, 1259, 1261, 0, 0, 0, 1259, 0, 1262, 0, 0, 1259, 1262, 1260, 0, + + 1260, 0, 1261, 1262, 1261, 1260, 0, 1263, 0, 1261, 1260, 1263, 1264, 1262, 1261, 1265, 1264, + 1263, 1263, 1265, 1262, 0, 1264, 0, 1262, 1265, 0, 1263, 0, 0, 1262, 0, 1264, 0, + 1263, 1265, 1266, 1266, 1263, 1264, 1262, 1266, 1265, 1264, 1263, 1263, 1265, 1266, 0, 1264, 1281, + 1281, 1265, 0, 1263, 0, 1283, 1266, 0, 1264, 1283, 1284, 1265, 1266, 1266, 1284, 1283, 0, + 1266, 0, 1286, 1284, 1286, 0, 1266, 1281, 1283, 1286, 0, 1281, 0, 1284, 1286, 1283, 1266, + 1281, 0, 1283, 1284, 1287, 1285, 1287, 1284, 1283, 1285, 1281, 1287, 1286, 1284, 1286, + + 1285, 1287, 1281, 1283, 1286, 0, 1281, 0, 1284, 1286, 1285, 0, 1281, 1288, 0, 1288, 1287, + 1285, 1287, 0, 1288, 1285, 1281, 1287, 1289, 1288, 1289, 1285, 1287, 0, 0, 1289, 1290, 0, + 1290, 0, 1289, 1285, 0, 1290, 1288, 0, 1288, 0, 1290, 1291, 0, 1288, 0, 1291, 1292, + 1289, 1288, 1289, 1292, 1291, 0, 0, 1289, 1290, 1292, 1290, 0, 1289, 1302, 1291, 1290, 0, + 1302, 1303, 1292, 1290, 1291, 1303, 1302, 0, 1291, 1292, 1304, 1303, 1304, 1292, 1291, 0, 1302, + 1304, 1312, 1292, 1312, 1303, 1304, 1302, 1291, 1312, 0, 1302, 1303, 1292, 1312, 0, + + 1303, 1302, 0, 0, 0, 1304, 1303, 1304, 0, 0, 0, 1302, 1304, 1312, 0, 1312, 1303, + 1304, 0, 0, 1312, 0, 0, 0, 0, 1312, 1344, 1344, 1344, 1344, 1344, 1345, 0, 0, + 1345, 1345, 1347, 1347, 1347, 0, 1347, 1348, 0, 1348, 1348, 1348, 1349, 0, 1349, 1349, 1349, + 1350, 0, 1350, 1350, 1350, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, + 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343}; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. @@ -3052,17 +2123,18 @@ static const flex_int16_t yy_chk[8834] = ***************************/ #line 12 "flex_lexer.l" -#include "../sql/Expr.h" -#include "bison_parser.h" -#include #include +#include #include +#include "../sql/Expr.h" +#include "bison_parser.h" -#define TOKEN(name) { return SQL_##name; } +#define TOKEN(name) \ + { return SQL_##name; } static thread_local std::stringstream strbuf; -#line 3065 "flex_lexer.cpp" +#line 3066 "flex_lexer.cpp" /*************************** ** Section 2: Rules @@ -3076,7 +2148,7 @@ static thread_local std::stringstream strbuf; /*************************** ** Section 3: Rules ***************************/ -#line 3079 "flex_lexer.cpp" +#line 3080 "flex_lexer.cpp" #define INITIAL 0 #define singlequotedstring 1 @@ -3091,129 +2163,127 @@ static thread_local std::stringstream strbuf; #endif #ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * +#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 */ +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 -static int yy_init_globals ( yyscan_t yyscanner ); +#define yylloc yyg->yylloc_r - /* 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(yyscan_t* scanner); -int yylex_init_extra ( YY_EXTRA_TYPE user_defined, 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 yylex_destroy(yyscan_t yyscanner); -int yyget_debug ( yyscan_t yyscanner ); +int yyget_debug(yyscan_t yyscanner); -void yyset_debug ( int debug_flag , yyscan_t yyscanner ); +void yyset_debug(int debug_flag, yyscan_t yyscanner); -YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner ); +YY_EXTRA_TYPE yyget_extra(yyscan_t yyscanner); -void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner ); +void yyset_extra(YY_EXTRA_TYPE user_defined, yyscan_t yyscanner); -FILE *yyget_in ( yyscan_t yyscanner ); +FILE* yyget_in(yyscan_t yyscanner); -void yyset_in ( FILE * _in_str , yyscan_t yyscanner ); +void yyset_in(FILE* _in_str, yyscan_t yyscanner); -FILE *yyget_out ( yyscan_t yyscanner ); +FILE* yyget_out(yyscan_t yyscanner); -void yyset_out ( FILE * _out_str , yyscan_t yyscanner ); +void yyset_out(FILE* _out_str, yyscan_t yyscanner); - int yyget_leng ( yyscan_t yyscanner ); +int yyget_leng(yyscan_t yyscanner); -char *yyget_text ( yyscan_t yyscanner ); +char* yyget_text(yyscan_t yyscanner); -int yyget_lineno ( yyscan_t yyscanner ); +int yyget_lineno(yyscan_t yyscanner); -void yyset_lineno ( int _line_number , yyscan_t yyscanner ); +void yyset_lineno(int _line_number, yyscan_t yyscanner); -int yyget_column ( yyscan_t yyscanner ); +int yyget_column(yyscan_t yyscanner); -void yyset_column ( int _column_no , yyscan_t yyscanner ); +void yyset_column(int _column_no, yyscan_t yyscanner); -YYSTYPE * yyget_lval ( yyscan_t yyscanner ); +YYSTYPE* yyget_lval(yyscan_t yyscanner); -void yyset_lval ( YYSTYPE * yylval_param , 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); - 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 ); +extern "C" int yywrap(yyscan_t yyscanner); #else -extern int yywrap ( yyscan_t yyscanner ); +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); +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); +static int yy_flex_strlen(const char*, yyscan_t yyscanner); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus -static int yyinput ( yyscan_t yyscanner ); +static int yyinput(yyscan_t yyscanner); #else -static int input ( yyscan_t yyscanner ); +static int input(yyscan_t yyscanner); #endif #endif @@ -3233,42 +2303,36 @@ static int input ( yyscan_t yyscanner ); /* 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) +#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); \ - } \ - }\ -\ +#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 @@ -3287,7 +2351,7 @@ static int input ( yyscan_t yyscanner ); /* Report a fatal error. */ #ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner) +#define YY_FATAL_ERROR(msg) yy_fatal_error(msg, yyscanner) #endif /* end tables serialization structures and prototypes */ @@ -3298,11 +2362,9 @@ static int input ( yyscan_t yyscanner ); #ifndef YY_DECL #define YY_DECL_IS_OURS 1 -extern int yylex \ - (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner); +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) +#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 @@ -3314,1093 +2376,1097 @@ extern int yylex \ /* Code executed at the end of each rule. */ #ifndef YY_BREAK -#define YY_BREAK /*LINTED*/break; +#define YY_BREAK /*LINTED*/ break; #endif -#define YY_RULE_SETUP \ - YY_USER_ACTION +#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; +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; + yylval = yylval_param; - yylloc = yylloc_param; + yylloc = yylloc_param; - if ( !yyg->yy_init ) - { - yyg->yy_init = 1; + if (!yyg->yy_init) { + yyg->yy_init = 1; #ifdef YY_USER_INIT - YY_USER_INIT; + YY_USER_INIT; #endif - if ( ! yyg->yy_start ) - yyg->yy_start = 1; /* first start state */ + if (!yyg->yy_start) yyg->yy_start = 1; /* first start state */ - if ( ! yyin ) - yyin = stdin; + if (!yyin) yyin = stdin; - if ( ! yyout ) - yyout = stdout; + if (!yyout) yyout = stdout; - if ( ! YY_CURRENT_BUFFER ) { - yyensure_buffer_stack (yyscanner); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); - } + 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 ); - } + yy_load_buffer_state(yyscanner); + } - { + { #line 57 "flex_lexer.l" +#line 3367 "flex_lexer.cpp" -#line 3366 "flex_lexer.cpp" - - while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ - { - yy_cp = yyg->yy_c_buf_p; + 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; + /* Support of yytext. */ + *yy_cp = yyg->yy_hold_char; - /* yy_bp points to the position in yy_ch_buf of the start of + /* 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 >= 1344 ) - yy_c = yy_meta[yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; - ++yy_cp; - } - while ( yy_current_state != 1343 ); - 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 + 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 >= 1344) yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + ++yy_cp; + } while (yy_current_state != 1343); + 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 59 "flex_lexer.l" -BEGIN(COMMENT); - YY_BREAK -case 2: -YY_RULE_SETUP + BEGIN(COMMENT); + YY_BREAK + case 2: + YY_RULE_SETUP #line 60 "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 + /* skipping comment content until a end of line is read */; + YY_BREAK + case 3: + /* rule 3 can match eol */ + YY_RULE_SETUP #line 61 "flex_lexer.l" -BEGIN(INITIAL); - YY_BREAK -case 4: -/* rule 4 can match eol */ -YY_RULE_SETUP + BEGIN(INITIAL); + YY_BREAK + case 4: + /* rule 4 can match eol */ + YY_RULE_SETUP #line 63 "flex_lexer.l" -/* skip whitespace */; - YY_BREAK -case 5: -YY_RULE_SETUP + /* skip whitespace */; + YY_BREAK + case 5: + YY_RULE_SETUP #line 65 "flex_lexer.l" -TOKEN(ADD) - YY_BREAK -case 6: -YY_RULE_SETUP + TOKEN(ADD) + YY_BREAK + case 6: + YY_RULE_SETUP #line 66 "flex_lexer.l" -TOKEN(AFTER) - YY_BREAK -case 7: -YY_RULE_SETUP + TOKEN(AFTER) + YY_BREAK + case 7: + YY_RULE_SETUP #line 67 "flex_lexer.l" -TOKEN(ALL) - YY_BREAK -case 8: -YY_RULE_SETUP + TOKEN(ALL) + YY_BREAK + case 8: + YY_RULE_SETUP #line 68 "flex_lexer.l" -TOKEN(ALTER) - YY_BREAK -case 9: -YY_RULE_SETUP + TOKEN(ALTER) + YY_BREAK + case 9: + YY_RULE_SETUP #line 69 "flex_lexer.l" -TOKEN(ANALYZE) - YY_BREAK -case 10: -YY_RULE_SETUP + TOKEN(ANALYZE) + YY_BREAK + case 10: + YY_RULE_SETUP #line 70 "flex_lexer.l" -TOKEN(AND) - YY_BREAK -case 11: -YY_RULE_SETUP + TOKEN(AND) + YY_BREAK + case 11: + YY_RULE_SETUP #line 71 "flex_lexer.l" -TOKEN(ARRAY) - YY_BREAK -case 12: -YY_RULE_SETUP + TOKEN(ARRAY) + YY_BREAK + case 12: + YY_RULE_SETUP #line 72 "flex_lexer.l" -TOKEN(AS) - YY_BREAK -case 13: -YY_RULE_SETUP + TOKEN(AS) + YY_BREAK + case 13: + YY_RULE_SETUP #line 73 "flex_lexer.l" -TOKEN(ASC) - YY_BREAK -case 14: -YY_RULE_SETUP + TOKEN(ASC) + YY_BREAK + case 14: + YY_RULE_SETUP #line 74 "flex_lexer.l" -TOKEN(BEFORE) - YY_BREAK -case 15: -YY_RULE_SETUP + TOKEN(BEFORE) + YY_BREAK + case 15: + YY_RULE_SETUP #line 75 "flex_lexer.l" -TOKEN(BEGIN) - YY_BREAK -case 16: -YY_RULE_SETUP + TOKEN(BEGIN) + YY_BREAK + case 16: + YY_RULE_SETUP #line 76 "flex_lexer.l" -TOKEN(BETWEEN) - YY_BREAK -case 17: -YY_RULE_SETUP + TOKEN(BETWEEN) + YY_BREAK + case 17: + YY_RULE_SETUP #line 77 "flex_lexer.l" -TOKEN(BIGINT) - YY_BREAK -case 18: -YY_RULE_SETUP + TOKEN(BIGINT) + YY_BREAK + case 18: + YY_RULE_SETUP #line 78 "flex_lexer.l" -TOKEN(BOOLEAN) - YY_BREAK -case 19: -YY_RULE_SETUP + TOKEN(BOOLEAN) + YY_BREAK + case 19: + YY_RULE_SETUP #line 79 "flex_lexer.l" -TOKEN(BY) - YY_BREAK -case 20: -YY_RULE_SETUP + TOKEN(BY) + YY_BREAK + case 20: + YY_RULE_SETUP #line 80 "flex_lexer.l" -TOKEN(CALL) - YY_BREAK -case 21: -YY_RULE_SETUP + TOKEN(CALL) + YY_BREAK + case 21: + YY_RULE_SETUP #line 81 "flex_lexer.l" -TOKEN(CASCADE) - YY_BREAK -case 22: -YY_RULE_SETUP + TOKEN(CASCADE) + YY_BREAK + case 22: + YY_RULE_SETUP #line 82 "flex_lexer.l" -TOKEN(CASE) - YY_BREAK -case 23: -YY_RULE_SETUP + TOKEN(CASE) + YY_BREAK + case 23: + YY_RULE_SETUP #line 83 "flex_lexer.l" -TOKEN(CAST) - YY_BREAK -case 24: -YY_RULE_SETUP + TOKEN(CAST) + YY_BREAK + case 24: + YY_RULE_SETUP #line 84 "flex_lexer.l" -TOKEN(CHAR) - YY_BREAK -case 25: -YY_RULE_SETUP + TOKEN(CHAR) + YY_BREAK + case 25: + YY_RULE_SETUP #line 85 "flex_lexer.l" -TOKEN(COLUMN) - YY_BREAK -case 26: -YY_RULE_SETUP + TOKEN(COLUMN) + YY_BREAK + case 26: + YY_RULE_SETUP #line 86 "flex_lexer.l" -TOKEN(COLUMNS) - YY_BREAK -case 27: -YY_RULE_SETUP + TOKEN(COLUMNS) + YY_BREAK + case 27: + YY_RULE_SETUP #line 87 "flex_lexer.l" -TOKEN(COMMIT) - YY_BREAK -case 28: -YY_RULE_SETUP + TOKEN(COMMIT) + YY_BREAK + case 28: + YY_RULE_SETUP #line 88 "flex_lexer.l" -TOKEN(CONTROL) - YY_BREAK -case 29: -YY_RULE_SETUP + TOKEN(CONTROL) + YY_BREAK + case 29: + YY_RULE_SETUP #line 89 "flex_lexer.l" -TOKEN(COPY) - YY_BREAK -case 30: -YY_RULE_SETUP + TOKEN(COPY) + YY_BREAK + case 30: + YY_RULE_SETUP #line 90 "flex_lexer.l" -TOKEN(CREATE) - YY_BREAK -case 31: -YY_RULE_SETUP + TOKEN(CREATE) + YY_BREAK + case 31: + YY_RULE_SETUP #line 91 "flex_lexer.l" -TOKEN(CROSS) - YY_BREAK -case 32: -YY_RULE_SETUP + TOKEN(CROSS) + YY_BREAK + case 32: + YY_RULE_SETUP #line 92 "flex_lexer.l" -TOKEN(DATE) - YY_BREAK -case 33: -YY_RULE_SETUP + TOKEN(DATE) + YY_BREAK + case 33: + YY_RULE_SETUP #line 93 "flex_lexer.l" -TOKEN(DATETIME) - YY_BREAK -case 34: -YY_RULE_SETUP + TOKEN(DATETIME) + YY_BREAK + case 34: + YY_RULE_SETUP #line 94 "flex_lexer.l" -TOKEN(DAY) - YY_BREAK -case 35: -YY_RULE_SETUP + TOKEN(DAY) + YY_BREAK + case 35: + YY_RULE_SETUP #line 95 "flex_lexer.l" -TOKEN(DAYS) - YY_BREAK -case 36: -YY_RULE_SETUP + TOKEN(DAYS) + YY_BREAK + case 36: + YY_RULE_SETUP #line 96 "flex_lexer.l" -TOKEN(DEALLOCATE) - YY_BREAK -case 37: -YY_RULE_SETUP + TOKEN(DEALLOCATE) + YY_BREAK + case 37: + YY_RULE_SETUP #line 97 "flex_lexer.l" -TOKEN(DECIMAL) - YY_BREAK -case 38: -YY_RULE_SETUP + TOKEN(DECIMAL) + YY_BREAK + case 38: + YY_RULE_SETUP #line 98 "flex_lexer.l" -TOKEN(DEFAULT) - YY_BREAK -case 39: -YY_RULE_SETUP + TOKEN(DEFAULT) + YY_BREAK + case 39: + YY_RULE_SETUP #line 99 "flex_lexer.l" -TOKEN(DELETE) - YY_BREAK -case 40: -YY_RULE_SETUP + TOKEN(DELETE) + YY_BREAK + case 40: + YY_RULE_SETUP #line 100 "flex_lexer.l" -TOKEN(DELTA) - YY_BREAK -case 41: -YY_RULE_SETUP + TOKEN(DELTA) + YY_BREAK + case 41: + YY_RULE_SETUP #line 101 "flex_lexer.l" -TOKEN(DESC) - YY_BREAK -case 42: -YY_RULE_SETUP + TOKEN(DESC) + YY_BREAK + case 42: + YY_RULE_SETUP #line 102 "flex_lexer.l" -TOKEN(DESCRIBE) - YY_BREAK -case 43: -YY_RULE_SETUP + TOKEN(DESCRIBE) + YY_BREAK + case 43: + YY_RULE_SETUP #line 103 "flex_lexer.l" -TOKEN(DIRECT) - YY_BREAK -case 44: -YY_RULE_SETUP + TOKEN(DIRECT) + YY_BREAK + case 44: + YY_RULE_SETUP #line 104 "flex_lexer.l" -TOKEN(DISTINCT) - YY_BREAK -case 45: -YY_RULE_SETUP + TOKEN(DISTINCT) + YY_BREAK + case 45: + YY_RULE_SETUP #line 105 "flex_lexer.l" -TOKEN(DOUBLE) - YY_BREAK -case 46: -YY_RULE_SETUP + TOKEN(DOUBLE) + YY_BREAK + case 46: + YY_RULE_SETUP #line 106 "flex_lexer.l" -TOKEN(DROP) - YY_BREAK -case 47: -YY_RULE_SETUP + TOKEN(DROP) + YY_BREAK + case 47: + YY_RULE_SETUP #line 107 "flex_lexer.l" -TOKEN(ELSE) - YY_BREAK -case 48: -YY_RULE_SETUP + TOKEN(ELSE) + YY_BREAK + case 48: + YY_RULE_SETUP #line 108 "flex_lexer.l" -TOKEN(ENCODING) - YY_BREAK -case 49: -YY_RULE_SETUP + TOKEN(ENCODING) + YY_BREAK + case 49: + YY_RULE_SETUP #line 109 "flex_lexer.l" -TOKEN(END) - YY_BREAK -case 50: -YY_RULE_SETUP + TOKEN(END) + YY_BREAK + case 50: + YY_RULE_SETUP #line 110 "flex_lexer.l" -TOKEN(ESCAPE) - YY_BREAK -case 51: -YY_RULE_SETUP + TOKEN(ESCAPE) + YY_BREAK + case 51: + YY_RULE_SETUP #line 111 "flex_lexer.l" -TOKEN(EXCEPT) - YY_BREAK -case 52: -YY_RULE_SETUP + TOKEN(EXCEPT) + YY_BREAK + case 52: + YY_RULE_SETUP #line 112 "flex_lexer.l" -TOKEN(EXECUTE) - YY_BREAK -case 53: -YY_RULE_SETUP + TOKEN(EXECUTE) + YY_BREAK + case 53: + YY_RULE_SETUP #line 113 "flex_lexer.l" -TOKEN(EXISTS) - YY_BREAK -case 54: -YY_RULE_SETUP + TOKEN(EXISTS) + YY_BREAK + case 54: + YY_RULE_SETUP #line 114 "flex_lexer.l" -TOKEN(EXPLAIN) - YY_BREAK -case 55: -YY_RULE_SETUP + TOKEN(EXPLAIN) + YY_BREAK + case 55: + YY_RULE_SETUP #line 115 "flex_lexer.l" -TOKEN(EXTRACT) - YY_BREAK -case 56: -YY_RULE_SETUP + TOKEN(EXTRACT) + YY_BREAK + case 56: + YY_RULE_SETUP #line 116 "flex_lexer.l" -TOKEN(FALSE) - YY_BREAK -case 57: -YY_RULE_SETUP + TOKEN(FALSE) + YY_BREAK + case 57: + YY_RULE_SETUP #line 117 "flex_lexer.l" -TOKEN(FILE) - YY_BREAK -case 58: -YY_RULE_SETUP + TOKEN(FILE) + YY_BREAK + case 58: + YY_RULE_SETUP #line 118 "flex_lexer.l" -TOKEN(FLOAT) - YY_BREAK -case 59: -YY_RULE_SETUP + TOKEN(FLOAT) + YY_BREAK + case 59: + YY_RULE_SETUP #line 119 "flex_lexer.l" -TOKEN(FOLLOWING) - YY_BREAK -case 60: -YY_RULE_SETUP + TOKEN(FOLLOWING) + YY_BREAK + case 60: + YY_RULE_SETUP #line 120 "flex_lexer.l" -TOKEN(FOR) - YY_BREAK -case 61: -YY_RULE_SETUP + TOKEN(FOR) + YY_BREAK + case 61: + YY_RULE_SETUP #line 121 "flex_lexer.l" -TOKEN(FORMAT) - YY_BREAK -case 62: -YY_RULE_SETUP + TOKEN(FORMAT) + YY_BREAK + case 62: + YY_RULE_SETUP #line 122 "flex_lexer.l" -TOKEN(FROM) - YY_BREAK -case 63: -YY_RULE_SETUP + TOKEN(FROM) + YY_BREAK + case 63: + YY_RULE_SETUP #line 123 "flex_lexer.l" -TOKEN(FULL) - YY_BREAK -case 64: -YY_RULE_SETUP + TOKEN(FULL) + YY_BREAK + case 64: + YY_RULE_SETUP #line 124 "flex_lexer.l" -TOKEN(GLOBAL) - YY_BREAK -case 65: -YY_RULE_SETUP + TOKEN(GLOBAL) + YY_BREAK + case 65: + YY_RULE_SETUP #line 125 "flex_lexer.l" -TOKEN(GROUP) - YY_BREAK -case 66: -YY_RULE_SETUP + TOKEN(GROUP) + YY_BREAK + case 66: + YY_RULE_SETUP #line 126 "flex_lexer.l" -TOKEN(GROUPS) - YY_BREAK -case 67: -YY_RULE_SETUP + TOKEN(GROUPS) + YY_BREAK + case 67: + YY_RULE_SETUP #line 127 "flex_lexer.l" -TOKEN(HASH) - YY_BREAK -case 68: -YY_RULE_SETUP + TOKEN(HASH) + YY_BREAK + case 68: + YY_RULE_SETUP #line 128 "flex_lexer.l" -TOKEN(HAVING) - YY_BREAK -case 69: -YY_RULE_SETUP + TOKEN(HAVING) + YY_BREAK + case 69: + YY_RULE_SETUP #line 129 "flex_lexer.l" -TOKEN(HINT) - YY_BREAK -case 70: -YY_RULE_SETUP + TOKEN(HINT) + YY_BREAK + case 70: + YY_RULE_SETUP #line 130 "flex_lexer.l" -TOKEN(HOUR) - YY_BREAK -case 71: -YY_RULE_SETUP + TOKEN(HOUR) + YY_BREAK + case 71: + YY_RULE_SETUP #line 131 "flex_lexer.l" -TOKEN(HOURS) - YY_BREAK -case 72: -YY_RULE_SETUP + TOKEN(HOURS) + YY_BREAK + case 72: + YY_RULE_SETUP #line 132 "flex_lexer.l" -TOKEN(IF) - YY_BREAK -case 73: -YY_RULE_SETUP + TOKEN(IF) + YY_BREAK + case 73: + YY_RULE_SETUP #line 133 "flex_lexer.l" -TOKEN(ILIKE) - YY_BREAK -case 74: -YY_RULE_SETUP + TOKEN(ILIKE) + YY_BREAK + case 74: + YY_RULE_SETUP #line 134 "flex_lexer.l" -TOKEN(IMPORT) - YY_BREAK -case 75: -YY_RULE_SETUP + TOKEN(IMPORT) + YY_BREAK + case 75: + YY_RULE_SETUP #line 135 "flex_lexer.l" -TOKEN(IN) - YY_BREAK -case 76: -YY_RULE_SETUP + TOKEN(IN) + YY_BREAK + case 76: + YY_RULE_SETUP #line 136 "flex_lexer.l" -TOKEN(INDEX) - YY_BREAK -case 77: -YY_RULE_SETUP + TOKEN(INDEX) + YY_BREAK + case 77: + YY_RULE_SETUP #line 137 "flex_lexer.l" -TOKEN(INNER) - YY_BREAK -case 78: -YY_RULE_SETUP + TOKEN(INNER) + YY_BREAK + case 78: + YY_RULE_SETUP #line 138 "flex_lexer.l" -TOKEN(INSERT) - YY_BREAK -case 79: -YY_RULE_SETUP + TOKEN(INSERT) + YY_BREAK + case 79: + YY_RULE_SETUP #line 139 "flex_lexer.l" -TOKEN(INT) - YY_BREAK -case 80: -YY_RULE_SETUP + TOKEN(INT) + YY_BREAK + case 80: + YY_RULE_SETUP #line 140 "flex_lexer.l" -TOKEN(INTEGER) - YY_BREAK -case 81: -YY_RULE_SETUP + TOKEN(INTEGER) + YY_BREAK + case 81: + YY_RULE_SETUP #line 141 "flex_lexer.l" -TOKEN(INTERSECT) - YY_BREAK -case 82: -YY_RULE_SETUP + TOKEN(INTERSECT) + YY_BREAK + case 82: + YY_RULE_SETUP #line 142 "flex_lexer.l" -TOKEN(INTERVAL) - YY_BREAK -case 83: -YY_RULE_SETUP + TOKEN(INTERVAL) + YY_BREAK + case 83: + YY_RULE_SETUP #line 143 "flex_lexer.l" -TOKEN(INTO) - YY_BREAK -case 84: -YY_RULE_SETUP + TOKEN(INTO) + YY_BREAK + case 84: + YY_RULE_SETUP #line 144 "flex_lexer.l" -TOKEN(IS) - YY_BREAK -case 85: -YY_RULE_SETUP + TOKEN(IS) + YY_BREAK + case 85: + YY_RULE_SETUP #line 145 "flex_lexer.l" -TOKEN(ISNULL) - YY_BREAK -case 86: -YY_RULE_SETUP + TOKEN(ISNULL) + YY_BREAK + case 86: + YY_RULE_SETUP #line 146 "flex_lexer.l" -TOKEN(JOIN) - YY_BREAK -case 87: -YY_RULE_SETUP + TOKEN(JOIN) + YY_BREAK + case 87: + YY_RULE_SETUP #line 147 "flex_lexer.l" -TOKEN(KEY) - YY_BREAK -case 88: -YY_RULE_SETUP + TOKEN(KEY) + YY_BREAK + case 88: + YY_RULE_SETUP #line 148 "flex_lexer.l" -TOKEN(LEFT) - YY_BREAK -case 89: -YY_RULE_SETUP + TOKEN(LEFT) + YY_BREAK + case 89: + YY_RULE_SETUP #line 149 "flex_lexer.l" -TOKEN(LIKE) - YY_BREAK -case 90: -YY_RULE_SETUP + TOKEN(LIKE) + YY_BREAK + case 90: + YY_RULE_SETUP #line 150 "flex_lexer.l" -TOKEN(LIMIT) - YY_BREAK -case 91: -YY_RULE_SETUP + TOKEN(LIMIT) + YY_BREAK + case 91: + YY_RULE_SETUP #line 151 "flex_lexer.l" -TOKEN(LOAD) - YY_BREAK -case 92: -YY_RULE_SETUP + TOKEN(LOAD) + YY_BREAK + case 92: + YY_RULE_SETUP #line 152 "flex_lexer.l" -TOKEN(LOCAL) - YY_BREAK -case 93: -YY_RULE_SETUP + TOKEN(LOCAL) + YY_BREAK + case 93: + YY_RULE_SETUP #line 153 "flex_lexer.l" -TOKEN(LOCKED) - YY_BREAK -case 94: -YY_RULE_SETUP + TOKEN(LOCKED) + YY_BREAK + case 94: + YY_RULE_SETUP #line 154 "flex_lexer.l" -TOKEN(LONG) - YY_BREAK -case 95: -YY_RULE_SETUP + TOKEN(LONG) + YY_BREAK + case 95: + YY_RULE_SETUP #line 155 "flex_lexer.l" -TOKEN(MERGE) - YY_BREAK -case 96: -YY_RULE_SETUP + TOKEN(MERGE) + YY_BREAK + case 96: + YY_RULE_SETUP #line 156 "flex_lexer.l" -TOKEN(MINUS) - YY_BREAK -case 97: -YY_RULE_SETUP + TOKEN(MINUS) + YY_BREAK + case 97: + YY_RULE_SETUP #line 157 "flex_lexer.l" -TOKEN(MINUTE) - YY_BREAK -case 98: -YY_RULE_SETUP + TOKEN(MINUTE) + YY_BREAK + case 98: + YY_RULE_SETUP #line 158 "flex_lexer.l" -TOKEN(MINUTES) - YY_BREAK -case 99: -YY_RULE_SETUP + TOKEN(MINUTES) + YY_BREAK + case 99: + YY_RULE_SETUP #line 159 "flex_lexer.l" -TOKEN(MONTH) - YY_BREAK -case 100: -YY_RULE_SETUP + TOKEN(MONTH) + YY_BREAK + case 100: + YY_RULE_SETUP #line 160 "flex_lexer.l" -TOKEN(MONTHS) - YY_BREAK -case 101: -YY_RULE_SETUP + TOKEN(MONTHS) + YY_BREAK + case 101: + YY_RULE_SETUP #line 161 "flex_lexer.l" -TOKEN(NATURAL) - YY_BREAK -case 102: -YY_RULE_SETUP + TOKEN(NATURAL) + YY_BREAK + case 102: + YY_RULE_SETUP #line 162 "flex_lexer.l" -TOKEN(NO) - YY_BREAK -case 103: -YY_RULE_SETUP + TOKEN(NO) + YY_BREAK + case 103: + YY_RULE_SETUP #line 163 "flex_lexer.l" -TOKEN(NOT) - YY_BREAK -case 104: -YY_RULE_SETUP + TOKEN(NOT) + YY_BREAK + case 104: + YY_RULE_SETUP #line 164 "flex_lexer.l" -TOKEN(NOWAIT) - YY_BREAK -case 105: -YY_RULE_SETUP + TOKEN(NOWAIT) + YY_BREAK + case 105: + YY_RULE_SETUP #line 165 "flex_lexer.l" -TOKEN(NULL) - YY_BREAK -case 106: -YY_RULE_SETUP + TOKEN(NULL) + YY_BREAK + case 106: + YY_RULE_SETUP #line 166 "flex_lexer.l" -TOKEN(NVARCHAR) - YY_BREAK -case 107: -YY_RULE_SETUP + TOKEN(NVARCHAR) + YY_BREAK + case 107: + YY_RULE_SETUP #line 167 "flex_lexer.l" -TOKEN(OF) - YY_BREAK -case 108: -YY_RULE_SETUP + TOKEN(OF) + YY_BREAK + case 108: + YY_RULE_SETUP #line 168 "flex_lexer.l" -TOKEN(OFF) - YY_BREAK -case 109: -YY_RULE_SETUP + TOKEN(OFF) + YY_BREAK + case 109: + YY_RULE_SETUP #line 169 "flex_lexer.l" -TOKEN(OFFSET) - YY_BREAK -case 110: -YY_RULE_SETUP + TOKEN(OFFSET) + YY_BREAK + case 110: + YY_RULE_SETUP #line 170 "flex_lexer.l" -TOKEN(ON) - YY_BREAK -case 111: -YY_RULE_SETUP + TOKEN(ON) + YY_BREAK + case 111: + YY_RULE_SETUP #line 171 "flex_lexer.l" -TOKEN(OR) - YY_BREAK -case 112: -YY_RULE_SETUP + TOKEN(OR) + YY_BREAK + case 112: + YY_RULE_SETUP #line 172 "flex_lexer.l" -TOKEN(ORDER) - YY_BREAK -case 113: -YY_RULE_SETUP + TOKEN(ORDER) + YY_BREAK + case 113: + YY_RULE_SETUP #line 173 "flex_lexer.l" -TOKEN(OUTER) - YY_BREAK -case 114: -YY_RULE_SETUP + TOKEN(OUTER) + YY_BREAK + case 114: + YY_RULE_SETUP #line 174 "flex_lexer.l" -TOKEN(OVER) - YY_BREAK -case 115: -YY_RULE_SETUP + TOKEN(OVER) + YY_BREAK + case 115: + YY_RULE_SETUP #line 175 "flex_lexer.l" -TOKEN(PARAMETERS) - YY_BREAK -case 116: -YY_RULE_SETUP + TOKEN(PARAMETERS) + YY_BREAK + case 116: + YY_RULE_SETUP #line 176 "flex_lexer.l" -TOKEN(PARTITION) - YY_BREAK -case 117: -YY_RULE_SETUP + TOKEN(PARTITION) + YY_BREAK + case 117: + YY_RULE_SETUP #line 177 "flex_lexer.l" -TOKEN(PLAN) - YY_BREAK -case 118: -YY_RULE_SETUP + TOKEN(PLAN) + YY_BREAK + case 118: + YY_RULE_SETUP #line 178 "flex_lexer.l" -TOKEN(PRECEDING) - YY_BREAK -case 119: -YY_RULE_SETUP + TOKEN(PRECEDING) + YY_BREAK + case 119: + YY_RULE_SETUP #line 179 "flex_lexer.l" -TOKEN(PREPARE) - YY_BREAK -case 120: -YY_RULE_SETUP + TOKEN(PREPARE) + YY_BREAK + case 120: + YY_RULE_SETUP #line 180 "flex_lexer.l" -TOKEN(PRIMARY) - YY_BREAK -case 121: -YY_RULE_SETUP + TOKEN(PRIMARY) + YY_BREAK + case 121: + YY_RULE_SETUP #line 181 "flex_lexer.l" -TOKEN(RANGE) - YY_BREAK -case 122: -YY_RULE_SETUP + TOKEN(RANGE) + YY_BREAK + case 122: + YY_RULE_SETUP #line 182 "flex_lexer.l" -TOKEN(REAL) - YY_BREAK -case 123: -YY_RULE_SETUP + TOKEN(REAL) + YY_BREAK + case 123: + YY_RULE_SETUP #line 183 "flex_lexer.l" -TOKEN(RENAME) - YY_BREAK -case 124: -YY_RULE_SETUP + TOKEN(RENAME) + YY_BREAK + case 124: + YY_RULE_SETUP #line 184 "flex_lexer.l" -TOKEN(RESTRICT) - YY_BREAK -case 125: -YY_RULE_SETUP + TOKEN(RESTRICT) + YY_BREAK + case 125: + YY_RULE_SETUP #line 185 "flex_lexer.l" -TOKEN(RIGHT) - YY_BREAK -case 126: -YY_RULE_SETUP + TOKEN(RIGHT) + YY_BREAK + case 126: + YY_RULE_SETUP #line 186 "flex_lexer.l" -TOKEN(ROLLBACK) - YY_BREAK -case 127: -YY_RULE_SETUP + TOKEN(ROLLBACK) + YY_BREAK + case 127: + YY_RULE_SETUP #line 187 "flex_lexer.l" -TOKEN(ROWS) - YY_BREAK -case 128: -YY_RULE_SETUP + TOKEN(ROWS) + YY_BREAK + case 128: + YY_RULE_SETUP #line 188 "flex_lexer.l" -TOKEN(SCHEMA) - YY_BREAK -case 129: -YY_RULE_SETUP + TOKEN(SCHEMA) + YY_BREAK + case 129: + YY_RULE_SETUP #line 189 "flex_lexer.l" -TOKEN(SCHEMAS) - YY_BREAK -case 130: -YY_RULE_SETUP + TOKEN(SCHEMAS) + YY_BREAK + case 130: + YY_RULE_SETUP #line 190 "flex_lexer.l" -TOKEN(SECOND) - YY_BREAK -case 131: -YY_RULE_SETUP + TOKEN(SECOND) + YY_BREAK + case 131: + YY_RULE_SETUP #line 191 "flex_lexer.l" -TOKEN(SECONDS) - YY_BREAK -case 132: -YY_RULE_SETUP + TOKEN(SECONDS) + YY_BREAK + case 132: + YY_RULE_SETUP #line 192 "flex_lexer.l" -TOKEN(SELECT) - YY_BREAK -case 133: -YY_RULE_SETUP + TOKEN(SELECT) + YY_BREAK + case 133: + YY_RULE_SETUP #line 193 "flex_lexer.l" -TOKEN(SET) - YY_BREAK -case 134: -YY_RULE_SETUP + TOKEN(SET) + YY_BREAK + case 134: + YY_RULE_SETUP #line 194 "flex_lexer.l" -TOKEN(SHARE) - YY_BREAK -case 135: -YY_RULE_SETUP + TOKEN(SHARE) + YY_BREAK + case 135: + YY_RULE_SETUP #line 195 "flex_lexer.l" -TOKEN(SHOW) - YY_BREAK -case 136: -YY_RULE_SETUP + TOKEN(SHOW) + YY_BREAK + case 136: + YY_RULE_SETUP #line 196 "flex_lexer.l" -TOKEN(SKIP) - YY_BREAK -case 137: -YY_RULE_SETUP + TOKEN(SKIP) + YY_BREAK + case 137: + YY_RULE_SETUP #line 197 "flex_lexer.l" -TOKEN(SMALLINT) - YY_BREAK -case 138: -YY_RULE_SETUP + TOKEN(SMALLINT) + YY_BREAK + case 138: + YY_RULE_SETUP #line 198 "flex_lexer.l" -TOKEN(SORTED) - YY_BREAK -case 139: -YY_RULE_SETUP + TOKEN(SORTED) + YY_BREAK + case 139: + YY_RULE_SETUP #line 199 "flex_lexer.l" -TOKEN(SPATIAL) - YY_BREAK -case 140: -YY_RULE_SETUP + TOKEN(SPATIAL) + YY_BREAK + case 140: + YY_RULE_SETUP #line 200 "flex_lexer.l" -TOKEN(TABLE) - YY_BREAK -case 141: -YY_RULE_SETUP + TOKEN(TABLE) + YY_BREAK + case 141: + YY_RULE_SETUP #line 201 "flex_lexer.l" -TOKEN(TABLES) - YY_BREAK -case 142: -YY_RULE_SETUP + TOKEN(TABLES) + YY_BREAK + case 142: + YY_RULE_SETUP #line 202 "flex_lexer.l" -TOKEN(TEMPORARY) - YY_BREAK -case 143: -YY_RULE_SETUP + TOKEN(TEMPORARY) + YY_BREAK + case 143: + YY_RULE_SETUP #line 203 "flex_lexer.l" -TOKEN(TEXT) - YY_BREAK -case 144: -YY_RULE_SETUP + TOKEN(TEXT) + YY_BREAK + case 144: + YY_RULE_SETUP #line 204 "flex_lexer.l" -TOKEN(THEN) - YY_BREAK -case 145: -YY_RULE_SETUP + TOKEN(THEN) + YY_BREAK + case 145: + YY_RULE_SETUP #line 205 "flex_lexer.l" -TOKEN(TIME) - YY_BREAK -case 146: -YY_RULE_SETUP + TOKEN(TIME) + YY_BREAK + case 146: + YY_RULE_SETUP #line 206 "flex_lexer.l" -TOKEN(TIMESTAMP) - YY_BREAK -case 147: -YY_RULE_SETUP + TOKEN(TIMESTAMP) + YY_BREAK + case 147: + YY_RULE_SETUP #line 207 "flex_lexer.l" -TOKEN(TO) - YY_BREAK -case 148: -YY_RULE_SETUP + TOKEN(TO) + YY_BREAK + case 148: + YY_RULE_SETUP #line 208 "flex_lexer.l" -TOKEN(TOP) - YY_BREAK -case 149: -YY_RULE_SETUP + TOKEN(TOP) + YY_BREAK + case 149: + YY_RULE_SETUP #line 209 "flex_lexer.l" -TOKEN(TRANSACTION) - YY_BREAK -case 150: -YY_RULE_SETUP + TOKEN(TRANSACTION) + YY_BREAK + case 150: + YY_RULE_SETUP #line 210 "flex_lexer.l" -TOKEN(TRUE) - YY_BREAK -case 151: -YY_RULE_SETUP + TOKEN(TRUE) + YY_BREAK + case 151: + YY_RULE_SETUP #line 211 "flex_lexer.l" -TOKEN(TRUNCATE) - YY_BREAK -case 152: -YY_RULE_SETUP + TOKEN(TRUNCATE) + YY_BREAK + case 152: + YY_RULE_SETUP #line 212 "flex_lexer.l" -TOKEN(UNBOUNDED) - YY_BREAK -case 153: -YY_RULE_SETUP + TOKEN(UNBOUNDED) + YY_BREAK + case 153: + YY_RULE_SETUP #line 213 "flex_lexer.l" -TOKEN(UNION) - YY_BREAK -case 154: -YY_RULE_SETUP + TOKEN(UNION) + YY_BREAK + case 154: + YY_RULE_SETUP #line 214 "flex_lexer.l" -TOKEN(UNIQUE) - YY_BREAK -case 155: -YY_RULE_SETUP + TOKEN(UNIQUE) + YY_BREAK + case 155: + YY_RULE_SETUP #line 215 "flex_lexer.l" -TOKEN(UNLOAD) - YY_BREAK -case 156: -YY_RULE_SETUP + TOKEN(UNLOAD) + YY_BREAK + case 156: + YY_RULE_SETUP #line 216 "flex_lexer.l" -TOKEN(UPDATE) - YY_BREAK -case 157: -YY_RULE_SETUP + TOKEN(UPDATE) + YY_BREAK + case 157: + YY_RULE_SETUP #line 217 "flex_lexer.l" -TOKEN(USING) - YY_BREAK -case 158: -YY_RULE_SETUP + TOKEN(USING) + YY_BREAK + case 158: + YY_RULE_SETUP #line 218 "flex_lexer.l" -TOKEN(VALUES) - YY_BREAK -case 159: -YY_RULE_SETUP + TOKEN(VALUES) + YY_BREAK + case 159: + YY_RULE_SETUP #line 219 "flex_lexer.l" -TOKEN(VARCHAR) - YY_BREAK -case 160: -YY_RULE_SETUP + TOKEN(VARCHAR) + YY_BREAK + case 160: + YY_RULE_SETUP #line 220 "flex_lexer.l" -TOKEN(VIEW) - YY_BREAK -case 161: -YY_RULE_SETUP + TOKEN(VIEW) + YY_BREAK + case 161: + YY_RULE_SETUP #line 221 "flex_lexer.l" -TOKEN(VIRTUAL) - YY_BREAK -case 162: -YY_RULE_SETUP + TOKEN(VIRTUAL) + YY_BREAK + case 162: + YY_RULE_SETUP #line 222 "flex_lexer.l" -TOKEN(WHEN) - YY_BREAK -case 163: -YY_RULE_SETUP + TOKEN(WHEN) + YY_BREAK + case 163: + YY_RULE_SETUP #line 223 "flex_lexer.l" -TOKEN(WHERE) - YY_BREAK -case 164: -YY_RULE_SETUP + TOKEN(WHERE) + YY_BREAK + case 164: + YY_RULE_SETUP #line 224 "flex_lexer.l" -TOKEN(WITH) - YY_BREAK -case 165: -YY_RULE_SETUP + TOKEN(WITH) + YY_BREAK + case 165: + YY_RULE_SETUP #line 225 "flex_lexer.l" -TOKEN(YEAR) - YY_BREAK -case 166: -YY_RULE_SETUP + TOKEN(YEAR) + YY_BREAK + case 166: + YY_RULE_SETUP #line 226 "flex_lexer.l" -TOKEN(YEARS) - YY_BREAK -case 167: -/* rule 167 can match eol */ -YY_RULE_SETUP + TOKEN(YEARS) + YY_BREAK + case 167: + /* rule 167 can match eol */ + YY_RULE_SETUP #line 228 "flex_lexer.l" -TOKEN(CURRENT_ROW) - YY_BREAK -case 168: -/* rule 168 can match eol */ -YY_RULE_SETUP + TOKEN(CURRENT_ROW) + YY_BREAK + case 168: + /* rule 168 can match eol */ + YY_RULE_SETUP #line 229 "flex_lexer.l" -TOKEN(CHARACTER_VARYING) - YY_BREAK -/* Allow =/== see https://sqlite.org/lang_expr.html#collateop */ -case 169: -YY_RULE_SETUP + TOKEN(CHARACTER_VARYING) + YY_BREAK + /* Allow =/== see https://sqlite.org/lang_expr.html#collateop */ + case 169: + YY_RULE_SETUP #line 232 "flex_lexer.l" -TOKEN(EQUALS) - YY_BREAK -case 170: -YY_RULE_SETUP + TOKEN(EQUALS) + YY_BREAK + case 170: + YY_RULE_SETUP #line 233 "flex_lexer.l" -TOKEN(NOTEQUALS) - YY_BREAK -case 171: -YY_RULE_SETUP + TOKEN(NOTEQUALS) + YY_BREAK + case 171: + YY_RULE_SETUP #line 234 "flex_lexer.l" -TOKEN(NOTEQUALS) - YY_BREAK -case 172: -YY_RULE_SETUP + TOKEN(NOTEQUALS) + YY_BREAK + case 172: + YY_RULE_SETUP #line 235 "flex_lexer.l" -TOKEN(LESSEQ) - YY_BREAK -case 173: -YY_RULE_SETUP + TOKEN(LESSEQ) + YY_BREAK + case 173: + YY_RULE_SETUP #line 236 "flex_lexer.l" -TOKEN(GREATEREQ) - YY_BREAK -case 174: -YY_RULE_SETUP + TOKEN(GREATEREQ) + YY_BREAK + case 174: + YY_RULE_SETUP #line 237 "flex_lexer.l" -TOKEN(CONCAT) - YY_BREAK -case 175: -YY_RULE_SETUP + TOKEN(CONCAT) + YY_BREAK + case 175: + YY_RULE_SETUP #line 239 "flex_lexer.l" -{ return yytext[0]; } - YY_BREAK -case 176: + { + return yytext[0]; + } + YY_BREAK + case 176: #line 242 "flex_lexer.l" -case 177: -YY_RULE_SETUP + case 177: + YY_RULE_SETUP #line 242 "flex_lexer.l" -{ - yylval->fval = atof(yytext); - return SQL_FLOATVAL; -} - YY_BREAK -/* + { + yylval->fval = atof(yytext); + return SQL_FLOATVAL; + } + YY_BREAK + /* * Regularly, negative literals are treated as . This does not work for LLONG_MIN, as it has no * positive equivalent. We thus match for LLONG_MIN specifically. This is not an issue for floats, where * numeric_limits::lowest() == -numeric_limits::max(); */ -case 178: -YY_RULE_SETUP + case 178: + YY_RULE_SETUP #line 252 "flex_lexer.l" -{ - yylval->ival = LLONG_MIN; - return SQL_INTVAL; -} - YY_BREAK -case 179: -YY_RULE_SETUP + { + yylval->ival = LLONG_MIN; + return SQL_INTVAL; + } + YY_BREAK + case 179: + YY_RULE_SETUP #line 257 "flex_lexer.l" -{ - errno = 0; - yylval->ival = strtoll(yytext, nullptr, 0); - if (errno) { - return fprintf(stderr, "[SQL-Lexer-Error] Integer cannot be parsed - is it out of range?"); - return 0; - } - return SQL_INTVAL; -} - YY_BREAK -case 180: -YY_RULE_SETUP + { + errno = 0; + yylval->ival = strtoll(yytext, nullptr, 0); + if (errno) { + return fprintf(stderr, "[SQL-Lexer-Error] Integer cannot be parsed - is it out of range?"); + return 0; + } + return SQL_INTVAL; + } + YY_BREAK + case 180: + YY_RULE_SETUP #line 267 "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 181: -YY_RULE_SETUP + { + // Crop the leading and trailing quote char + yylval->sval = hsql::substr(yytext, 1, strlen(yytext) - 1); + return SQL_IDENTIFIER; + } + YY_BREAK + case 181: + YY_RULE_SETUP #line 273 "flex_lexer.l" -{ - yylval->sval = strdup(yytext); - return SQL_IDENTIFIER; -} - YY_BREAK -case 182: -YY_RULE_SETUP + { + yylval->sval = strdup(yytext); + return SQL_IDENTIFIER; + } + YY_BREAK + case 182: + YY_RULE_SETUP #line 278 "flex_lexer.l" -{ BEGIN singlequotedstring; strbuf.clear(); strbuf.str(""); } // Clear strbuf manually, see #170 - YY_BREAK -case 183: -YY_RULE_SETUP + { + BEGIN singlequotedstring; + strbuf.clear(); + strbuf.str(""); + } // Clear strbuf manually, see #170 + YY_BREAK + case 183: + YY_RULE_SETUP #line 279 "flex_lexer.l" -{ strbuf << '\''; } - YY_BREAK -case 184: -/* rule 184 can match eol */ -YY_RULE_SETUP + { + strbuf << '\''; + } + YY_BREAK + case 184: + /* rule 184 can match eol */ + YY_RULE_SETUP #line 280 "flex_lexer.l" -{ strbuf << yytext; } - YY_BREAK -case 185: -YY_RULE_SETUP + { + strbuf << yytext; + } + YY_BREAK + case 185: + YY_RULE_SETUP #line 281 "flex_lexer.l" -{ BEGIN 0; yylval->sval = strdup(strbuf.str().c_str()); return SQL_STRING; } - YY_BREAK -case YY_STATE_EOF(singlequotedstring): + { + BEGIN 0; + yylval->sval = strdup(strbuf.str().c_str()); + return SQL_STRING; + } + YY_BREAK + case YY_STATE_EOF(singlequotedstring): #line 282 "flex_lexer.l" -{ fprintf(stderr, "[SQL-Lexer-Error] Unterminated string\n"); return 0; } - YY_BREAK -case 186: -YY_RULE_SETUP + { + fprintf(stderr, "[SQL-Lexer-Error] Unterminated string\n"); + return 0; + } + YY_BREAK + case 186: + YY_RULE_SETUP #line 284 "flex_lexer.l" -{ fprintf(stderr, "[SQL-Lexer-Error] Unknown Character: %c\n", yytext[0]); return 0; } - YY_BREAK -case 187: -YY_RULE_SETUP + { + fprintf(stderr, "[SQL-Lexer-Error] Unknown Character: %c\n", yytext[0]); + return 0; + } + YY_BREAK + case 187: + YY_RULE_SETUP #line 286 "flex_lexer.l" -ECHO; - YY_BREAK -#line 4387 "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 + ECHO; + YY_BREAK +#line 4388 "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 @@ -4409,27 +3475,26 @@ case YY_STATE_EOF(COMMENT): * 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; - } + 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 + /* 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; + 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; + yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text; - yy_current_state = yy_get_previous_state( yyscanner ); + yy_current_state = yy_get_previous_state(yyscanner); - /* Okay, we're now positioned to make the NUL + /* 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 @@ -4438,35 +3503,31 @@ case YY_STATE_EOF(COMMENT): * 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_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 @@ -4475,49 +3536,44 @@ case YY_STATE_EOF(COMMENT): * 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 */ + 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 @@ -4527,171 +3583,142 @@ case YY_STATE_EOF(COMMENT): * 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 +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; - } + return EOB_ACT_END_OF_FILE; + } - else - { - /* We matched some text prior to the EOB, first + else { + /* We matched some text prior to the EOB, first * process it. */ - return EOB_ACT_LAST_MATCH; - } - } + return EOB_ACT_LAST_MATCH; + } + } - /* Try to read more data. */ + /* 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); + /* 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++); + 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, + 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_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 >= 1344 ) - yy_c = yy_meta[yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; - } - - return yy_current_state; +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 >= 1344) 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 @@ -4699,29 +3726,25 @@ static int yy_get_next_buffer (yyscan_t yyscanner) * 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 >= 1344 ) - yy_c = yy_meta[yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; - yy_is_jam = (yy_current_state == 1343); - - (void)yyg; - return yy_is_jam ? 0 : yy_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 >= 1344) yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + yy_is_jam = (yy_current_state == 1343); + + (void)yyg; + return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT @@ -4730,36 +3753,32 @@ static int yy_get_next_buffer (yyscan_t yyscanner) #ifndef YY_NO_INPUT #ifdef __cplusplus - static int yyinput (yyscan_t yyscanner) +static int yyinput(yyscan_t yyscanner) #else - static int input (yyscan_t yyscanner) +static int input(yyscan_t yyscanner) #endif { - int c; - struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; + int c; + struct yyguts_t* yyg = (struct yyguts_t*)yyscanner; - *yyg->yy_c_buf_p = yyg->yy_hold_char; + *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 (*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() + 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 @@ -4769,102 +3788,93 @@ static int yy_get_next_buffer (yyscan_t yyscanner) * to EOB_ACT_END_OF_FILE. */ - /* Reset buffer status. */ - yyrestart( yyin , yyscanner); + /* Reset buffer status. */ + yyrestart(yyin, yyscanner); - /*FALLTHROUGH*/ + /*FALLTHROUGH*/ - case EOB_ACT_END_OF_FILE: - { - if ( yywrap( yyscanner ) ) - return 0; + case EOB_ACT_END_OF_FILE: { + if (yywrap(yyscanner)) return 0; - if ( ! yyg->yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; + if (!yyg->yy_did_buffer_switch_on_eof) YY_NEW_FILE; #ifdef __cplusplus - return yyinput(yyscanner); + return yyinput(yyscanner); #else - return input(yyscanner); + return input(yyscanner); #endif - } + } - case EOB_ACT_CONTINUE_SCAN: - yyg->yy_c_buf_p = yyg->yytext_ptr + offset; - break; - } - } - } + 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; + 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; + return c; } -#endif /* ifndef YY_NO_INPUT */ +#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; +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); - } + 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 ); + 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; +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 + /* 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 + 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; + 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; +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. @@ -4873,105 +3883,96 @@ static void yy_load_buffer_state (yyscan_t yyscanner) * @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()" ); +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; + b->yy_buf_size = size; - /* yy_ch_buf has to be 2 characters longer than the size given because + /* 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_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; + b->yy_is_our_buffer = 1; - yy_init_buffer( b, file , yyscanner); + yy_init_buffer(b, file, yyscanner); - return b; + 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; +void yy_delete_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner) { + struct yyguts_t* yyg = (struct yyguts_t*)yyscanner; - if ( ! b ) - return; + 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_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 ); + if (b->yy_is_our_buffer) yyfree((void*)b->yy_ch_buf, yyscanner); - yyfree( (void *) b , 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) +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; + int oerrno = errno; + struct yyguts_t* yyg = (struct yyguts_t*)yyscanner; - yy_flush_buffer( b , yyscanner); + yy_flush_buffer(b, yyscanner); - b->yy_input_file = file; - b->yy_fill_buffer = 1; + b->yy_input_file = file; + b->yy_fill_buffer = 1; - /* If b is the current buffer, then yy_init_buffer was _probably_ + /* 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; - } + if (b != YY_CURRENT_BUFFER) { + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } + + b->yy_is_interactive = 0; - b->yy_is_interactive = 0; - - errno = oerrno; + 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; +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; + b->yy_n_chars = 0; - /* We always need two end-of-buffer characters. The first causes + /* 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_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_buf_pos = &b->yy_ch_buf[0]; - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; - if ( b == YY_CURRENT_BUFFER ) - yy_load_buffer_state( yyscanner ); + if (b == YY_CURRENT_BUFFER) yy_load_buffer_state(yyscanner); } /** Pushes the new state onto the stack. The new state becomes @@ -4980,99 +3981,83 @@ static void yy_load_buffer_state (yyscan_t yyscanner) * @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; +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; - } +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; +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 + 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; - } + 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. @@ -5081,33 +4066,29 @@ static void yyensure_buffer_stack (yyscan_t yyscanner) * @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; +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 @@ -5118,10 +4099,8 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscann * @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); +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 @@ -5131,177 +4110,156 @@ YY_BUFFER_STATE yy_scan_string (const char * yystr , yyscan_t yyscanner) * @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 +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; + b->yy_is_our_buffer = 1; - return b; + 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 ); +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 ) +#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; +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; +int yyget_lineno(yyscan_t yyscanner) { + struct yyguts_t* yyg = (struct yyguts_t*)yyscanner; - if (! YY_CURRENT_BUFFER) - return 0; - - return yylineno; + 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; +int yyget_column(yyscan_t yyscanner) { + struct yyguts_t* yyg = (struct yyguts_t*)yyscanner; - if (! YY_CURRENT_BUFFER) - return 0; - - return yycolumn; + 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; +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; +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; +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; +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 ; +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; +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"); - /* 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; + 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; +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"); - /* 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; + yycolumn = _column_no; } /** Set the input stream. This does not discard the current @@ -5310,80 +4268,71 @@ void yyset_column (int _column_no , yyscan_t yyscanner) * @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_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 ; +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; +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 ; +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; +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; +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; +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; + +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; - } +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 ); + *ptr_yy_globals = (yyscan_t)yyalloc(sizeof(struct yyguts_t), NULL); - if (*ptr_yy_globals == NULL){ - errno = ENOMEM; - return 1; - } + 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)); + /* 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 ); + return yy_init_globals(*ptr_yy_globals); } /* yylex_init_extra has the same functionality as yylex_init, but follows the @@ -5393,94 +4342,91 @@ int yylex_init(yyscan_t* ptr_yy_globals) * 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; +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); + yyset_extra(yy_user_defined, &dummy_yyguts); - if (ptr_yy_globals == NULL){ - errno = EINVAL; - return 1; - } + if (ptr_yy_globals == NULL) { + errno = EINVAL; + return 1; + } - *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); + *ptr_yy_globals = (yyscan_t)yyalloc(sizeof(struct yyguts_t), &dummy_yyguts); - if (*ptr_yy_globals == NULL){ - errno = ENOMEM; - return 1; - } + if (*ptr_yy_globals == NULL) { + errno = ENOMEM; + return 1; + } - /* By setting to 0xAA, we expose bugs in + /* 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)); + memset(*ptr_yy_globals, 0x00, sizeof(struct yyguts_t)); - yyset_extra (yy_user_defined, *ptr_yy_globals); + yyset_extra(yy_user_defined, *ptr_yy_globals); - return yy_init_globals ( *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. +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_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; + 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; + yyin = stdin; + yyout = stdout; #else - yyin = NULL; - yyout = NULL; + yyin = NULL; + yyout = NULL; #endif - /* For future reference: Set errno on error, since we are called by + /* For future reference: Set errno on error, since we are called by * yylex_init() */ - return 0; + 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); - } +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 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; + /* 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 + /* 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); + yy_init_globals(yyscanner); - /* Destroy the main struct (reentrant only). */ - yyfree ( yyscanner , yyscanner ); - yyscanner = NULL; - return 0; + /* Destroy the main struct (reentrant only). */ + yyfree(yyscanner, yyscanner); + yyscanner = NULL; + return 0; } /* @@ -5488,55 +4434,49 @@ int yylex_destroy (yyscan_t yyscanner) */ #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; +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]; + 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 ) - ; +static int yy_flex_strlen(const char* s, yyscan_t yyscanner) { + int n; + for (n = 0; s[n]; ++n) + ; - return 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* 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; +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 + /* 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); + 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 */ +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" @@ -5547,7 +4487,7 @@ void yyfree (void * ptr , yyscan_t yyscanner) ** Section 3: User code ***************************/ -int yyerror(const char *msg) { - fprintf(stderr, "[SQL-Lexer-Error] %s\n",msg); return 0; +int yyerror(const char* msg) { + fprintf(stderr, "[SQL-Lexer-Error] %s\n", msg); + return 0; } - diff --git a/src/parser/flex_lexer.h b/src/parser/flex_lexer.h index bc4931fa..2f516f34 100644 --- a/src/parser/flex_lexer.h +++ b/src/parser/flex_lexer.h @@ -2,11 +2,11 @@ #define hsql_HEADER_H 1 #define hsql_IN_HEADER 1 -#line 5 "flex_lexer.h" +#line 6 "flex_lexer.h" -#line 7 "flex_lexer.h" +#line 8 "flex_lexer.h" -#define YY_INT_ALIGNED short int +#define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ @@ -255,10 +255,10 @@ /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ -#include -#include #include +#include #include +#include /* end standard C headers. */ @@ -269,7 +269,7 @@ /* C99 systems have . Non-C99 systems may or may not. */ -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#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. @@ -289,41 +289,41 @@ typedef uint32_t flex_uint32_t; 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 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) +#define INT8_MIN (-128) #endif #ifndef INT16_MIN -#define INT16_MIN (-32767-1) +#define INT16_MIN (-32767 - 1) #endif #ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) +#define INT32_MIN (-2147483647 - 1) #endif #ifndef INT8_MAX -#define INT8_MAX (127) +#define INT8_MAX (127) #endif #ifndef INT16_MAX -#define INT16_MAX (32767) +#define INT16_MAX (32767) #endif #ifndef INT32_MAX -#define INT32_MAX (2147483647) +#define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX -#define UINT8_MAX (255U) +#define UINT8_MAX (255U) #endif #ifndef UINT16_MAX -#define UINT16_MAX (65535U) +#define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) +#define UINT32_MAX (4294967295U) #endif #ifndef SIZE_MAX -#define SIZE_MAX (~(size_t)0) +#define SIZE_MAX (~(size_t)0) #endif #endif /* ! C99 */ @@ -373,7 +373,7 @@ typedef void* yyscan_t; #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE -typedef struct yy_buffer_state *YY_BUFFER_STATE; +typedef struct yy_buffer_state* YY_BUFFER_STATE; #endif #ifndef YY_TYPEDEF_YY_SIZE_T @@ -383,74 +383,72 @@ typedef size_t yy_size_t; #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE -struct yy_buffer_state - { - FILE *yy_input_file; +struct yy_buffer_state { + FILE* yy_input_file; - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ + 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 + /* Size of input buffer in bytes, not including room for EOB * characters. */ - int yy_buf_size; + int yy_buf_size; - /* Number of characters read into yy_ch_buf, not including EOB + /* Number of characters read into yy_ch_buf, not including EOB * characters. */ - int yy_n_chars; + int yy_n_chars; - /* Whether we "own" the buffer - i.e., we know we created it, + /* 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; + int yy_is_our_buffer; - /* Whether this is an "interactive" input source; if so, and + /* 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; + int yy_is_interactive; - /* Whether we're considered to be at the beginning of a line. + /* 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_at_bol; - int yy_bs_lineno; /**< The line count. */ - int yy_bs_column; /**< The column count. */ + 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 + /* Whether to try to fill the input buffer when we reach the * end of it. */ - int yy_fill_buffer; + int yy_fill_buffer; - int yy_buffer_status; - - }; + int yy_buffer_status; +}; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ -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 ); +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); -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 ); +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 ); +void* yyalloc(yy_size_t, yyscan_t yyscanner); +void* yyrealloc(void*, yy_size_t, yyscan_t yyscanner); +void yyfree(void*, yyscan_t yyscanner); /* Begin user sect3 */ -#define hsql_wrap(yyscanner) (/*CONSTCOND*/1) +#define hsql_wrap(yyscanner) (/*CONSTCOND*/ 1) #define YY_SKIP_YYWRAP #define yytext_ptr yytext_r @@ -471,72 +469,72 @@ void yyfree ( void * , yyscan_t yyscanner ); #endif #ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * +#define YY_EXTRA_TYPE void* #endif -int yylex_init (yyscan_t* scanner); +int yylex_init(yyscan_t* scanner); -int yylex_init_extra ( YY_EXTRA_TYPE user_defined, 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 yylex_destroy(yyscan_t yyscanner); + +int yyget_debug(yyscan_t yyscanner); -int yyget_debug ( yyscan_t yyscanner ); +void yyset_debug(int debug_flag, yyscan_t yyscanner); -void yyset_debug ( int debug_flag , yyscan_t yyscanner ); +YY_EXTRA_TYPE yyget_extra(yyscan_t yyscanner); -YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner ); +void yyset_extra(YY_EXTRA_TYPE user_defined, yyscan_t yyscanner); -void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner ); +FILE* yyget_in(yyscan_t yyscanner); -FILE *yyget_in ( yyscan_t yyscanner ); +void yyset_in(FILE* _in_str, yyscan_t yyscanner); -void yyset_in ( FILE * _in_str , yyscan_t yyscanner ); +FILE* yyget_out(yyscan_t yyscanner); -FILE *yyget_out ( yyscan_t yyscanner ); +void yyset_out(FILE* _out_str, yyscan_t yyscanner); -void yyset_out ( FILE * _out_str , yyscan_t yyscanner ); +int yyget_leng(yyscan_t yyscanner); - int yyget_leng ( yyscan_t yyscanner ); +char* yyget_text(yyscan_t yyscanner); -char *yyget_text ( yyscan_t yyscanner ); +int yyget_lineno(yyscan_t yyscanner); -int yyget_lineno ( yyscan_t yyscanner ); +void yyset_lineno(int _line_number, yyscan_t yyscanner); -void yyset_lineno ( int _line_number , yyscan_t yyscanner ); +int yyget_column(yyscan_t yyscanner); -int yyget_column ( yyscan_t yyscanner ); +void yyset_column(int _column_no, yyscan_t yyscanner); -void yyset_column ( int _column_no , yyscan_t yyscanner ); +YYSTYPE* yyget_lval(yyscan_t yyscanner); -YYSTYPE * yyget_lval ( yyscan_t yyscanner ); +void yyset_lval(YYSTYPE* yylval_param, 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); - 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 ); +extern "C" int yywrap(yyscan_t yyscanner); #else -extern int yywrap ( yyscan_t yyscanner ); +extern int yywrap(yyscan_t yyscanner); #endif #endif #ifndef yytext_ptr -static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner); +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); +static int yy_flex_strlen(const char*, yyscan_t yyscanner); #endif #ifndef YY_NO_INPUT @@ -564,11 +562,9 @@ static int yy_flex_strlen ( const char * , yyscan_t yyscanner); #ifndef YY_DECL #define YY_DECL_IS_OURS 1 -extern int yylex \ - (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner); +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) +#define YY_DECL int yylex(YYSTYPE* yylval_param, YYLTYPE* yylloc_param, yyscan_t yyscanner) #endif /* !YY_DECL */ /* yy_get_previous_state - get the state just before the EOB char was reached */ @@ -732,7 +728,6 @@ extern int yylex \ #line 286 "flex_lexer.l" - -#line 736 "flex_lexer.h" +#line 737 "flex_lexer.h" #undef hsql_IN_HEADER #endif /* hsql_HEADER_H */ diff --git a/test/queries/queries-good.sql b/test/queries/queries-good.sql index e5d566ee..4b463108 100755 --- a/test/queries/queries-good.sql +++ b/test/queries/queries-good.sql @@ -18,6 +18,45 @@ SELECT * FROM t WHERE a = ? AND b = ?; SELECT City.name, Product.category, SUM(price) FROM fact INNER JOIN City ON fact.city_id = City.id INNER JOIN Product ON fact.product_id = Product.id GROUP BY City.name, Product.category; SELECT SUBSTR(a, 3, 5) FROM t; SELECT * FROM t WHERE a = DATE '1996-12-31'; +# Top-level union syntax +SELECT 1 UNION SELECT 1; +(SELECT 1 UNION SELECT 1); +((SELECT 1 UNION SELECT 1)); +(SELECT 1) UNION SELECT 1; +((SELECT 1)) UNION SELECT 1; +((SELECT 1) UNION SELECT 1); +(((SELECT 1) UNION SELECT 1)); +((SELECT 1)) UNION SELECT 1; +(((SELECT 1)) UNION SELECT 1); +((((SELECT 1)) UNION SELECT 1)); +SELECT 1 UNION (SELECT 1); +(SELECT 1 UNION ((SELECT 1))); +((SELECT 1 UNION ((SELECT 1)))); +SELECT 1 UNION ((SELECT 1)); +(SELECT 1 UNION ((SELECT 1))); +((SELECT 1 UNION ((SELECT 1)))); +(SELECT 1) UNION (SELECT 1); +((SELECT 1) UNION (SELECT 1)); +(((SELECT 1) UNION (SELECT 1))); +((SELECT 1)) UNION (SELECT 1); +(((SELECT 1)) UNION (SELECT 1)); +((((SELECT 1)) UNION (SELECT 1))); +(SELECT 1) UNION ((SELECT 1)); +((SELECT 1) UNION ((SELECT 1))); +(((SELECT 1) UNION ((SELECT 1)))); +((SELECT 1)) UNION ((SELECT 1)); +(((SELECT 1)) UNION ((SELECT 1))); +((((SELECT 1)) UNION ((SELECT 1)))); +# Union in scalar subquery syntax +SELECT (SELECT 1 UNION SELECT 1); +SELECT ((SELECT 1) UNION SELECT 1); +SELECT (((SELECT 1)) UNION SELECT 1); +SELECT (SELECT 1 UNION (SELECT 1)); +SELECT (SELECT 1 UNION ((SELECT 1))); +SELECT ((SELECT 1 UNION ((SELECT 1)))); +SELECT ((SELECT 1) UNION (SELECT 1)); +SELECT (((SELECT 1) UNION (SELECT 1))); +SELECT ((((SELECT 1)) UNION ((SELECT 1)))); # JOIN SELECT t1.a, t1.b, t2.c FROM "table" AS t1 JOIN (SELECT * FROM foo JOIN bar ON foo.id = bar.id) t2 ON t1.a = t2.b WHERE (t1.b OR NOT t1.a) AND t2.c = 12.5 SELECT * FROM t1 JOIN t2 ON c1 = c2; diff --git a/test/thirdparty/microtest/microtest.h b/test/thirdparty/microtest/microtest.h index 95f80dc0..df20434c 100644 --- a/test/thirdparty/microtest/microtest.h +++ b/test/thirdparty/microtest/microtest.h @@ -110,7 +110,7 @@ inline void printFailed(const char* message, FILE* file = stdout) { class AssertFailedException : public std::exception { public: AssertFailedException(std::string description, std::string filepath, int line) - : std::exception(), description_(description), filepath_(filepath), line_(line) {}; + : std::exception(), description_(description), filepath_(filepath), line_(line){}; virtual const char* what() const throw() { return description_.c_str(); }