]> git.saurik.com Git - bison.git/commit
Fix test failure reported by Tom Lane in
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Oct 2006 06:57:00 +0000 (06:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Oct 2006 06:57:00 +0000 (06:57 +0000)
commitcf8067530b3e075230051d459782a1074db5b211
tree9984999a235c49f4e05083c63c98342f98fe20d5
parent0e2f006a23874bfc9f419e030c58670ea5d97627
Fix test failure reported by Tom Lane in
<http://lists.gnu.org/archive/html/bug-bison/2006-10/msg00000.html>
and try to make such failures easier to catch in the future.
* data/glr.c (YYTRANSLATE): Don't check for nonpositive arg;
that's now the caller's responsibility.
(yyprocessOneStack, yyrecoverSyntaxError, yyparse):
Set yychar = YYEOF if it's negative.
* tests/actions.at (yylex): Abort if asked to read past EOF.
* tests/conflicts.at (yylex): Likewise.
* tests/cxx-type.at (yylex): Likewise.
* tests/glr-regression.at (yylex): Likewise.
* tests/input.at (yylex): Likewise.
* tests/regression.at (yylex): Likewise.
* tests/torture.at (yylex): Likewise.
ChangeLog
data/glr.c
tests/actions.at
tests/conflicts.at
tests/cxx-type.at
tests/glr-regression.at
tests/input.at
tests/regression.at
tests/torture.at