Home | History | Annotate | Download | only in bison

Lines Matching full:lookahead

40 # lookahead correction.
182 /* The lookahead symbol. */
209 /* The semantic value of the lookahead symbol. */
212 /* Location data for the lookahead symbol. */
972 /* Establish the initial context for the current lookahead if no initial
976 the initial context for a lookahead as the context in which the
977 parser initially examines that lookahead in order to select a
978 syntactic action. Thus, if the lookahead eventually proves
982 lookahead's place. Moreover, it is the context after which any
990 lookahead token, it should also be invoked before reporting a syntax
995 current lookahead, then check if that lookahead can eventually be
1017 /* Discard any previous initial lookahead context because of Event,
1018 which may be a lookahead change or an invalidation of the currently
1019 established initial context for the current lookahead.
1021 The most common example of a lookahead change is a shift. An example
1023 occurs when the lookahead is syntactically erroneous for the
1026 current lookahead is syntactically acceptable. If it fails to find
1027 such a context, it discards the lookahead. */
1057 YYDPRINTF ((stderr, "LAC: checking lookahead %s:", yytname[yytoken]));
1268 - The only way there can be no lookahead present (in yychar) is if
1270 detecting the absence of a lookahead is sufficient to determine
1273 - Don't assume there isn't a lookahead just because this state is a
1281 during error recovery, leaving behind the current lookahead.]], [[
1283 correct lookahead information, and it depends on the parser not
1284 to perform extra reductions after fetching a lookahead from the
1533 /* Lookahead token as an internal (translated) token number. */
1677 lookahead token if we need one and don't already have one. */
1679 /* First try to decide what to do without reference to lookahead token. */
1684 /* Not known => get a lookahead token if don't already have one. */
1686 /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
1747 /* Shift the lookahead token. */
1818 before the lookahead is translated. */
1847 /* Make sure we have latest lookahead translation. See comments at
1898 /* If just tried and failed to reuse lookahead token after an
1915 /* Else will try to reuse lookahead token after shifting the error
1974 current lookahead token, the shift below will for sure. */
1983 the lookahead. YYLOC is available though. */
2021 /* Make sure we have latest lookahead translation. See comments at
2024 yydestruct ("Cleanup: discarding lookahead",