* data/yacc.c (yyerrlab) [YYERROR_VERBOSE]:
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Feb 2003 07:15:52 +0000 (07:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Feb 2003 07:15:52 +0000 (07:15 +0000)
commit93b8c255e88bd4c4c947f7faac011d80e2897bc4
tree6a75ba1ae2539b693c0a07d963f1626ac8ccc9be
parent93a0df697f9946c8865dafb19db99e35791c7219
* data/yacc.c (yyerrlab) [YYERROR_VERBOSE]:
Avoid subscript error in yycheck.  Bug reported by Andrew Suffield in
<http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00003.html>.
* data/glr.c (yyreportSyntaxError) [YYERROR_VERBOSE]: Likewise.
Check for malloc failure, for consistency with yacc.c.
(yytname_size): Remove, for consistency with yacc.c.

The bug still remains in data/lalr1.cc, as I didn't have time
to fix it there.
ChangeLog