Lines Matching +full:gcc +full:- +full:49
3 /* Bison implementation for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
35 simplifying the original so-called "semantic" parser. */
83 #include "sqlhist-parse.h"
85 #define scanner sb->scanner
94 return -ENOMEM; \
102 return -ENOMEM; \
155 TRACEFS_EMPTY = -2,
216 YYSYMBOL_YYEMPTY = -2,
239 YYSYMBOL_22_ = 22, /* '-' */
266 YYSYMBOL_val = 49, /* val */
376 (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \
378 : YY_CAST (YYSIZE_T, -1)))
393 # define YY_(Msgid) dgettext ("bison-runtime", Msgid)
418 /* Suppress unused-variable warnings by "using" E. */
428 _Pragma ("GCC diagnostic push") \
429 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \
430 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
432 _Pragma ("GCC diagnostic pop")
446 _Pragma ("GCC diagnostic push") \
447 _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")
449 _Pragma ("GCC diagnostic pop")
488 /* Pacify GCC's 'empty if-body' warning. */
494 to allow for a few compiler-allocated temporary stack slots. */
538 # define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
557 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
558 Stack = &yyptr->Stack_alloc; \
586 /* YYFINAL -- State number of the termination state. */
588 /* YYLAST -- Last index in YYTABLE. */
591 /* YYNTOKENS -- Number of terminals. */
593 /* YYNNTS -- Number of nonterminals. */
595 /* YYNRULES -- Number of rules. */
597 /* YYNSTATES -- Number of states. */
603 /* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
604 as returned by yylex, with out-of-bounds checking. */
610 /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
645 /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
662 /* The user-facing name of the symbol whose (internal) number is
666 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
672 "STRING", "FIELD", "LE", "GE", "EQ", "NEQ", "AND", "OR", "'+'", "'-'",
690 /* YYTOKNUM[NUM] -- (External) token number corresponding to the
701 #define YYPACT_NINF (-58)
706 #define YYTABLE_NINF (-1)
711 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
712 STATE-NUM. */
715 4, -58, 13, 11, -58, -58, 5, -58, 43, 53,
716 45, 29, -58, 19, 43, 44, 32, 60, -58, 73,
717 11, 75, -58, -58, -58, 43, 43, 87, -58, -58,
718 29, -58, -58, -58, 60, 83, -58, -58, -58, -58,
719 -58, 78, -58, 86, 14, -58, -58, 65, 60, -4,
720 -12, 34, -58, 76, -15, -58, -58, -10, 68, -58,
721 1, -58, 18, -4, -58, 33, 33, 33, 33, 33,
723 60, -4, -58, -4, -4, -58, 49, -58, -58, -58,
724 -58, -58, -58, -58, -58, -58, -58, -58, -58, -58,
725 -58, -58, -58, -58, -58, -58, 51, -58, -58, -58,
726 -58
729 /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
744 41, 49, 48, 59, 58, 61, 0, 37, 36, 43,
748 /* YYPGOTO[NTERM-NUM]. */
751 -58, -58, 69, -58, -58, 80, -58, -58, 90, -16,
752 -3, -58, 81, 27, 15, -41, -57, 28, -58, -21,
753 -58, -58, -58, -58, -58, -58, -58, 24
756 /* YYDEFGOTO[NTERM-NUM]. */
759 -1, 2, 23, 3, 4, 9, 10, 11, 12, 57,
764 /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
773 25, 26, 49, 22, 87, 32, 88, 85, 50, 65,
797 /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
798 symbol of state STATE-NUM. */
810 49, 49, 49, 49, 49, 49, 49, 49, 49, 48,
815 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
820 45, 46, 47, 48, 49, 49, 50, 50, 50, 50,
827 /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
840 enum { YYENOMEM = -2 };
906 /*-----------------------------------.
908 `-----------------------------------*/
929 /*---------------------------.
931 `---------------------------*/
944 /*------------------------------------------------------------------.
945 | yy_stack_print -- Print the state stack from its BOTTOM up to its |
947 `------------------------------------------------------------------*/
968 /*------------------------------------------------.
970 `------------------------------------------------*/
980 yyrule - 1, yylno); in yy_reduce_print()
986 YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]), in yy_reduce_print()
987 &yyvsp[(yyi + 1) - (yynrhs)], sb); in yy_reduce_print()
1009 /* YYINITDEPTH -- initial size of the parser's stacks. */
1014 /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
1015 if the built-in stack extension method is used).
1019 evaluated with infinite-precision integer arithmetic. */
1030 /*-----------------------------------------------.
1032 `-----------------------------------------------*/
1054 /*----------.
1056 `----------*/
1067 or non-GCC compilers. */ in yyparse()
1109 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) in yyparse()
1130 /*------------------------------------------------------------. in yyparse()
1131 | yynewstate -- push a new state, which is found in yystate. | in yyparse()
1132 `------------------------------------------------------------*/ in yyparse()
1139 /*--------------------------------------------------------------------. in yyparse()
1140 | yysetstate -- set current state (the top of the stack) to yystate. | in yyparse()
1141 `--------------------------------------------------------------------*/ in yyparse()
1150 if (yyss + yystacksize - 1 <= yyssp) in yyparse()
1156 YYPTRDIFF_T yysize = yyssp - yyss + 1; in yyparse()
1200 yyssp = yyss + yysize - 1; in yyparse()
1201 yyvsp = yyvs + yysize - 1; in yyparse()
1208 if (yyss + yystacksize - 1 <= yyssp) in yyparse()
1219 /*-----------. in yyparse()
1221 `-----------*/ in yyparse()
1233 /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */ in yyparse()
1272 yyn = -yyn; in yyparse()
1279 yyerrstatus--; in yyparse()
1293 /*-----------------------------------------------------------. in yyparse()
1294 | yydefault -- do the default action for the current state. | in yyparse()
1295 `-----------------------------------------------------------*/ in yyparse()
1303 /*-----------------------------. in yyparse()
1304 | yyreduce -- do a reduction. | in yyparse()
1305 `-----------------------------*/ in yyparse()
1317 GCC warning that YYVAL may be used uninitialized. */ in yyparse()
1318 yyval = yyvsp[1-yylen]; in yyparse()
1353 CHECK_RETURN_VAL(add_selection(sb, (yyvsp[-1].expr), (yyvsp[0].string))); in yyparse()
1360 { (yyval.expr) = (yyvsp[-1].expr); } in yyparse()
1366 { (yyval.expr) = (yyvsp[-1].expr); } in yyparse()
1373 (yyval.expr) = add_cast(sb, (yyvsp[-3].expr), (yyvsp[-1].string)); in yyparse()
1382 (yyval.expr) = add_compare(sb, (yyvsp[-2].expr), (yyvsp[0].expr), COMPARE_ADD); in yyparse()
1391 (yyval.expr) = add_compare(sb, (yyvsp[-2].expr), (yyvsp[0].expr), COMPARE_SUB); in yyparse()
1405 …{ (yyval.expr) = add_field(sb, (yyvsp[-1].string), (yyvsp[0].string)); CHECK_RETURN_PTR((yyval.exp… in yyparse()
1423 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_LT); CHECK_RETURN_PTR((y… in yyparse()
1429 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_GT); CHECK_RETURN_PTR((y… in yyparse()
1435 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_LE); CHECK_RETURN_PTR((y… in yyparse()
1441 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_GE); CHECK_RETURN_PTR((y… in yyparse()
1447 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_EQ); CHECK_RETURN_PTR((y… in yyparse()
1453 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_EQ); CHECK_RETURN_PTR((y… in yyparse()
1459 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_NE); CHECK_RETURN_PTR((y… in yyparse()
1465 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_NE); CHECK_RETURN_PTR((y… in yyparse()
1471 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_BIN_AND); CHECK_RETURN_P… in yyparse()
1477 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_STR_CMP); CHECK_RETURN_P… in yyparse()
1483 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_OR); CHECK_RETURN_PTR((y… in yyparse()
1489 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_AND); CHECK_RETURN_PTR((… in yyparse()
1495 …{ (yyval.expr) = add_filter(sb, (yyvsp[-1].expr), NULL, FILTER_NOT_GROUP); CHECK_RETURN_PTR((yyval… in yyparse()
1507 …{ (yyval.expr) = add_filter(sb, (yyvsp[-2].expr), (yyvsp[0].expr), FILTER_OR); CHECK_RETURN_PTR((y… in yyparse()
1513 …{ (yyval.expr) = add_filter(sb, (yyvsp[-1].expr), NULL, FILTER_GROUP); CHECK_RETURN_PTR((yyval.exp… in yyparse()
1519 …{ (yyval.expr) = add_filter(sb, (yyvsp[-1].expr), NULL, FILTER_NOT_GROUP); CHECK_RETURN_PTR((yyval… in yyparse()
1543 { add_to(sb, (yyvsp[-2].expr)); } in yyparse()
1549 { CHECK_RETURN_VAL(add_match(sb, (yyvsp[-2].expr), (yyvsp[0].expr))); } in yyparse()
1555 { CHECK_RETURN_VAL(add_match(sb, (yyvsp[-2].expr), (yyvsp[0].expr))); } in yyparse()
1575 YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc); in yyparse()
1586 const int yylhs = yyr1[yyn] - YYNTOKENS; in yyparse()
1596 /*--------------------------------------. in yyparse()
1597 | yyerrlab -- here on detecting error. | in yyparse()
1598 `--------------------------------------*/ in yyparse()
1634 /*---------------------------------------------------. in yyparse()
1635 | yyerrorlab -- error raised explicitly by YYERROR. | in yyparse()
1636 `---------------------------------------------------*/ in yyparse()
1652 /*-------------------------------------------------------------. in yyparse()
1653 | yyerrlab1 -- common code for both syntax error and YYERROR. | in yyparse()
1654 `-------------------------------------------------------------*/ in yyparse()
1697 /*-------------------------------------. in yyparse()
1698 | yyacceptlab -- YYACCEPT comes here. | in yyparse()
1699 `-------------------------------------*/ in yyparse()
1705 /*-----------------------------------. in yyparse()
1706 | yyabortlab -- YYABORT comes here. | in yyparse()
1707 `-----------------------------------*/ in yyparse()
1714 /*-------------------------------------------------. in yyparse()
1715 | yyexhaustedlab -- memory exhaustion comes here. | in yyparse()
1716 `-------------------------------------------------*/ in yyparse()
1724 /*-----------------------------------------------------. in yyparse()
1725 | yyreturn -- parsing is finished, return the result. | in yyparse()
1726 `-----------------------------------------------------*/ in yyparse()