• Home
  • Raw
  • Download

Lines Matching refs:yyvsp

1218   YYSTYPE *yyvsp;
1222 #define YYPOPSTACK (yyvsp--, yyssp--)
1248 yyvsp = yyvs;
1284 &yyvs1, yysize * sizeof (*yyvsp),
1319 yyvsp = yyvs + yysize - 1;
1392 *++yyvsp = yylval;
1429 yyval = yyvsp[1-yylen];
1442 { zconf_error("unknown statement \"%s\"", (yyvsp[-2].string)); ;}
1448 zconf_error("unexpected option \"%s\"", kconf_id_strings + (yyvsp[-2].id)->name);
1459 { zconf_error("unknown option \"%s\"", (yyvsp[-2].string)); ;}
1470 struct symbol *sym = sym_lookup((yyvsp[-1].string), 0);
1473 printd(DEBUG_PARSE, "%s:%d:config %s\n", zconf_curname(), zconf_lineno(), (yyvsp[-1].string));
1488 struct symbol *sym = sym_lookup((yyvsp[-1].string), 0);
1491 printd(DEBUG_PARSE, "%s:%d:menuconfig %s\n", zconf_curname(), zconf_lineno(), (yyvsp[-1].string));
1510 menu_set_type((yyvsp[-2].id)->stype);
1513 (yyvsp[-2].id)->stype);
1520 menu_add_prompt(P_PROMPT, (yyvsp[-2].string), (yyvsp[-1].expr));
1528 menu_add_expr(P_DEFAULT, (yyvsp[-2].expr), (yyvsp[-1].expr));
1529 if ((yyvsp[-3].id)->stype != S_UNKNOWN)
1530 menu_set_type((yyvsp[-3].id)->stype);
1533 (yyvsp[-3].id)->stype);
1540 menu_add_symbol(P_SELECT, sym_lookup((yyvsp[-2].string), 0), (yyvsp[-1].expr));
1548 …menu_add_expr(P_RANGE, expr_alloc_comp(E_RANGE,(yyvsp[-3].symbol), (yyvsp[-2].symbol)), (yyvsp[-1]…
1556 struct kconf_id *id = kconf_id_lookup((yyvsp[-1].string), strlen((yyvsp[-1].string)));
1558 menu_add_option(id->token, (yyvsp[0].string));
1560 zconfprint("warning: ignoring unknown option %s", (yyvsp[-1].string));
1561 free((yyvsp[-1].string));
1572 { (yyval.string) = (yyvsp[0].string); ;}
1596 if (zconf_endtoken((yyvsp[0].id), T_CHOICE, T_ENDCHOICE)) {
1606 menu_add_prompt(P_PROMPT, (yyvsp[-2].string), (yyvsp[-1].expr));
1614 if ((yyvsp[-2].id)->stype == S_BOOLEAN || (yyvsp[-2].id)->stype == S_TRISTATE) {
1615 menu_set_type((yyvsp[-2].id)->stype);
1618 (yyvsp[-2].id)->stype);
1635 if ((yyvsp[-3].id)->stype == S_UNKNOWN) {
1636 menu_add_symbol(P_DEFAULT, sym_lookup((yyvsp[-2].string), 0), (yyvsp[-1].expr));
1649 menu_add_dep((yyvsp[-1].expr));
1657 if (zconf_endtoken((yyvsp[0].id), T_IF, T_ENDIF)) {
1668 menu_add_prompt(P_MENU, (yyvsp[-1].string), NULL);
1683 if (zconf_endtoken((yyvsp[0].id), T_MENU, T_ENDMENU)) {
1693 printd(DEBUG_PARSE, "%s:%d:source %s\n", zconf_curname(), zconf_lineno(), (yyvsp[-1].string));
1694 zconf_nextfile((yyvsp[-1].string));
1702 menu_add_prompt(P_COMMENT, (yyvsp[-1].string), NULL);
1725 current_entry->sym->help = (yyvsp[0].string);
1732 menu_add_dep((yyvsp[-1].expr));
1740 menu_add_dep((yyvsp[-1].expr));
1748 menu_add_dep((yyvsp[-1].expr));
1756 menu_add_prompt(P_PROMPT, (yyvsp[-1].string), (yyvsp[0].expr));
1762 { (yyval.id) = (yyvsp[-1].id); ;}
1767 { (yyval.id) = (yyvsp[-1].id); ;}
1772 { (yyval.id) = (yyvsp[-1].id); ;}
1782 { (yyval.expr) = (yyvsp[0].expr); ;}
1787 { (yyval.expr) = expr_alloc_symbol((yyvsp[0].symbol)); ;}
1792 { (yyval.expr) = expr_alloc_comp(E_EQUAL, (yyvsp[-2].symbol), (yyvsp[0].symbol)); ;}
1797 { (yyval.expr) = expr_alloc_comp(E_UNEQUAL, (yyvsp[-2].symbol), (yyvsp[0].symbol)); ;}
1802 { (yyval.expr) = (yyvsp[-1].expr); ;}
1807 { (yyval.expr) = expr_alloc_one(E_NOT, (yyvsp[0].expr)); ;}
1812 { (yyval.expr) = expr_alloc_two(E_OR, (yyvsp[-2].expr), (yyvsp[0].expr)); ;}
1817 { (yyval.expr) = expr_alloc_two(E_AND, (yyvsp[-2].expr), (yyvsp[0].expr)); ;}
1822 { (yyval.symbol) = sym_lookup((yyvsp[0].string), 0); free((yyvsp[0].string)); ;}
1827 { (yyval.symbol) = sym_lookup((yyvsp[0].string), 1); free((yyvsp[0].string)); ;}
1837 yyvsp -= yylen;
1843 *++yyvsp = yyval;
2011 yyvsp -= yylen;
2042 yydestruct ("Error: popping", yystos[yystate], yyvsp);
2051 *++yyvsp = yylval;
2055 YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
2092 yystos[*yyssp], yyvsp);