mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Let yytranslate handle the eof case.
* data/lalr1.cc (yytranslate_): Handle the EOF case. Adjust callers. No longer expect yychar to be equal to yyeof_, rather, test the lookahead's (translated) kind.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2008-11-11 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Let yytranslate handle the eof case.
|
||||
* data/lalr1.cc (yytranslate_): Handle the EOF case.
|
||||
Adjust callers.
|
||||
No longer expect yychar to be equal to yyeof_, rather, test the
|
||||
lookahead's (translated) kind.
|
||||
|
||||
2008-11-11 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
yychar cannot be empty in yyerrlab.
|
||||
|
||||
Reference in New Issue
Block a user