]> git.saurik.com Git - bison.git/commit - ChangeLog-2012
Let yytranslate handle the eof case.
authorAkim Demaille <demaille@gostai.com>
Mon, 18 Aug 2008 20:16:40 +0000 (22:16 +0200)
committerAkim Demaille <demaille@gostai.com>
Tue, 11 Nov 2008 14:29:39 +0000 (15:29 +0100)
commitaba12ad162e23b8e7d669d9ca4a782e1914bc9d6
tree44b7d5e57c42c4bc3a2ab26e6c69f6c76ac84e93
parent27cb5b590124894edc3e4bee11737972e56d2dbe
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.
ChangeLog
data/lalr1.cc