Lines Matching refs:token
124 /* Enabling the token table. */
198 /* Include zconf.hash.c here so it can see the token constants. */
576 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
577 token YYLEX-NUM. */
696 positive, shift that token. If negative, reduce the rule which
964 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1171 about the unexpected token YYTOKEN for the state stack whose top is
1206 that there is no unexpected or expected token to report. In that
1212 - Of course, the expected token list depends on states to have
1217 token list. However, the list is correct for canonical LR with
1218 one exception: it will still contain any token that will not be
1446 /* Lookahead token as an internal (translated) token number. */
1475 yychar = YYEMPTY; /* Cause a token to be read. */
1571 lookahead token if we need one and don't already have one. */
1573 /* First try to decide what to do without reference to lookahead token. */
1578 /* Not known => get a lookahead token if don't already have one. */
1583 YYDPRINTF ((stderr, "Reading a token: "));
1595 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1598 /* If the proper action on seeing token YYTOKEN is to reduce or to
1617 /* Shift the lookahead token. */
1620 /* Discard the shifted token. */
1783 menu_add_option(id->token, (yyvsp[(3) - (3)].string));
2148 /* If just tried and failed to reuse lookahead token after an
2165 /* Else will try to reuse lookahead token after shifting the error
2166 token. */
2194 yyerrstatus = 3; /* Each real token shifted decrements this. */
2210 /* Pop the current state because it cannot handle the error token. */
2225 /* Shift the error token. */
2323 static const char *zconf_tokenname(int token)
2325 switch (token) {
2335 return "<token>";
2340 if (id->token != endtoken) {