bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oddity in yyerrlab


From: Paul Eggert
Subject: Re: oddity in yyerrlab
Date: Wed, 12 Feb 2003 23:18:06 -0800 (PST)

There being no objection, I installed the patch that I proposed a week
ago for this subscript error
<http://mail.gnu.org/archive/html/bison-patches/2003-02/msg00023.html>.

I used the following (slightly revised) ChangeLog entry.

2003-02-12  Paul Eggert  <address@hidden>

        * 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]