]> git.saurik.com Git - bison.git/commit
Fix a destructor bug reported by Wolfgang Spraul in
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 May 2005 05:20:01 +0000 (05:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 May 2005 05:20:01 +0000 (05:20 +0000)
commitcea1469d47457150f9643ef3e5c21154b0eba1db
tree14bb62b6ad217fcaced84747f62c9711ab498864
parent5e6f62f2f10547c6552d3eb4003c44d66f172686
Fix a destructor bug reported by Wolfgang Spraul in
<http://lists.gnu.org/archive/html/bug-bison/2005-05/msg00042.html>.
* data/yacc.c (yyabortlab): Don't call destructor, and
don't set yychar to EMPTY.
(yyoverflowlab): Don't call destructor.
(yyreturn): Call destructor, if yychar is neither YYEOF nor YYEMPTY.
* tests/calc.at (AT_CHECK_CALC): Expect one fewer output lines,
since we no longer output the message "discarding lookahead token
end of input ()".
ChangeLog
data/yacc.c
tests/calc.at