Home
last modified time | relevance | path

Searched refs:yytoken (Results 1 – 15 of 15) sorted by relevance

/external/bison/examples/calc++/
Dcalc++-parser.cc337 int yytoken = 0; in parse() local
419 yychar = yytoken = yyeof_; in parse()
424 yytoken = yytranslate_ (yychar); in parse()
425 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in parse()
430 yyn += yytoken; in parse()
431 if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yytoken) in parse()
445 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); in parse()
599 yytoken = yytranslate_ (yychar); in parse()
606 yytoken = yyempty_; in parse()
607 error (yylloc, yysyntax_error_ (yystate, yytoken)); in parse()
[all …]
/external/bison/data/
Dlalr1.cc513 int yytoken = 0;
593 yychar = yytoken = yyeof_;
598 yytoken = yytranslate_ (yychar);
599 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
604 yyn += yytoken;
605 if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yytoken)
619 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
711 yytoken = yytranslate_ (yychar);
718 yytoken = yyempty_;
719 error (yylloc, yysyntax_error_ (yystate, yytoken));
[all …]
Dyacc.c1004 yytname[yytoken])); \
1008 yy_lac (yyesa, &yyes, &yyes_capacity, yyssp, yytoken); \
1053 YYSIZE_T *yyes_capacity, yytype_int16 *yyssp, int yytoken)
1057 YYDPRINTF ((stderr, "LAC: checking lookahead %s:", yytname[yytoken]));
1058 if (yytoken == YYUNDEFTOK)
1067 || (yyrule += yytoken) < 0 || YYLAST < yyrule
1068 || yycheck[yyrule] != yytoken)
1246 YYSIZE_T *yyes_capacity, ]])[yytype_int16 *yyssp, int yytoken)
1248 YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]);
1291 if (yytoken != YYEMPTY)
[all …]
Dlalr1.java433 int yytoken = 0;
505 yychar = yytoken = EOF;
510 yytoken = yytranslate_ (yychar);
511 yy_symbol_print ("Next token is", yytoken,
517 yyn += yytoken;
518 if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yytoken)
536 yy_symbol_print ("Shifting", yytoken,
582 yytoken = yyempty_;
583 yyerror (]b4_locations_if([yylloc, ])[yysyntax_error (yystate, yytoken));
Dglr.c781 yytokenName (yySymbol yytoken)
783 if (yytoken == YYEMPTY)
786 return yytname[yytoken];
978 yygetLRActions (yyStateNum yystate, int yytoken,
981 int yyindex = yypact[yystate] + yytoken;
983 || yyindex < 0 || YYLAST < yyindex || yycheck[yyindex] != yytoken)
1957 yySymbol yytoken;
1967 yychar = yytoken = YYEOF;
1972 yytoken = YYTRANSLATE (yychar);
1973 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
[all …]
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DExpressionParser.cpp919 yytype_int16 *yyssp, int yytoken) in yysyntax_error() argument
921 YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); in yysyntax_error()
955 if (yytoken != YYEMPTY) in yysyntax_error()
958 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
1112 int yytoken = 0; in yyparse() local
1245 yychar = yytoken = YYEOF; in yyparse()
1250 yytoken = YYTRANSLATE (yychar); in yyparse()
1251 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
1256 yyn += yytoken; in yyparse()
1257 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) in yyparse()
[all …]
/external/bison/src/
Dparse-gram.c1433 yytname[yytoken])); \
1437 yy_lac (yyesa, &yyes, &yyes_capacity, yyssp, yytoken); \
1482 YYSIZE_T *yyes_capacity, yytype_int16 *yyssp, int yytoken) in yy_lac() argument
1486 YYDPRINTF ((stderr, "LAC: checking lookahead %s:", yytname[yytoken])); in yy_lac()
1487 if (yytoken == YYUNDEFTOK) in yy_lac()
1496 || (yyrule += yytoken) < 0 || YYLAST < yyrule in yy_lac()
1497 || yycheck[yyrule] != yytoken) in yy_lac()
1690 YYSIZE_T *yyes_capacity, yytype_int16 *yyssp, int yytoken) in yysyntax_error() argument
1692 YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); in yysyntax_error()
1728 if (yytoken != YYEMPTY) in yysyntax_error()
[all …]
/external/libpcap/
Dgrammar.c1662 yytype_int16 *yyssp, int yytoken) in yysyntax_error() argument
1664 YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); in yysyntax_error()
1698 if (yytoken != YYEMPTY) in yysyntax_error()
1701 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
1856 int yytoken = 0; in yyparse() local
1989 yychar = yytoken = YYEOF; in yyparse()
1994 yytoken = YYTRANSLATE (yychar); in yyparse()
1995 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
2000 yyn += yytoken; in yyparse()
2001 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) in yyparse()
[all …]
/external/swiftshader/src/OpenGL/compiler/
Dglslang_tab.cpp1940 yytype_int16 *yyssp, int yytoken) in yysyntax_error() argument
1942 YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); in yysyntax_error()
1976 if (yytoken != YYEMPTY) in yysyntax_error()
1979 yyarg[yycount++] = yytname[yytoken]; in yysyntax_error()
2152 int yytoken = 0; in yyparse() local
2293 yychar = yytoken = YYEOF; in yyparse()
2298 yytoken = YYTRANSLATE (yychar); in yyparse()
2299 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
2304 yyn += yytoken; in yyparse()
2305 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) in yyparse()
[all …]
/external/toybox/kconfig/
Dzconf.tab.c_shipped763 yytoken = YYTRANSLATE (yychar); \
1200 int yytoken = 0;
1359 yychar = yytoken = YYEOF;
1364 yytoken = YYTRANSLATE (yychar);
1365 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1370 yyn += yytoken;
1371 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
1386 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
1990 yydestruct ("Error: discarding", yytoken, &yylval);
2088 yytoken, &yylval);
/external/bison/tests/
Dactions.at1668 // action below was not translated into yytoken before the lookahead was
1670 // yytoken) was called in order to return from yyparse. This would
1677 // skeletons must translate before every use of yytoken.
Dconflicts.at365 // problem as it meant yychar was not translated into yytoken before
367 // destructor that it selected according to the incorrect yytoken. The
Dtestsuite53108 // problem as it meant yychar was not translated into yytoken before
53110 // destructor that it selected according to the incorrect yytoken. The
53371 // problem as it meant yychar was not translated into yytoken before
53373 // destructor that it selected according to the incorrect yytoken. The
53633 // problem as it meant yychar was not translated into yytoken before
53635 // destructor that it selected according to the incorrect yytoken. The
53900 // problem as it meant yychar was not translated into yytoken before
53902 // destructor that it selected according to the incorrect yytoken. The
54165 // problem as it meant yychar was not translated into yytoken before
54167 // destructor that it selected according to the incorrect yytoken. The
[all …]
/external/bison/
DChangeLog-2012836 every use of yytoken, and add comments explaining this approach.
853 importantly, set yytoken to YYEMPTY when there's no lookahead.
857 set yytoken to yyempty_ before invoking yysyntax_error_.
861 set yytoken to yyempty_ before invoking yysyntax_error.
1577 yytoken here.
1579 yytoken, and add comments explaining this approach.
6057 yytoken, yyval, and yyloc declarations to...
6063 (yyn, yyresult, yytoken, yyval, yyloc): For each NAME in this list,
6154 (b4_declare_parser_state_variables): Remove initialization of yytoken,
6157 yyerrstatus, yytoken, yyss, yyvs, yyls, yystacksize, yyssp, yyvsp, and
[all …]
DChangeLog1810 * data/yacc.c: (yytoken): Define with initial value.