commit-bison
[Top][All Lists]
Advanced

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

bison ./ChangeLog data/lalr1.cc


From: Akim Demaille
Subject: bison ./ChangeLog data/lalr1.cc
Date: Mon, 13 Jan 2003 10:42:32 -0500

CVSROOT:        /cvsroot/bison
Module name:    bison
Changes by:     Akim Demaille <address@hidden>  03/01/13 10:42:32

Modified files:
        .              : ChangeLog 
        data           : lalr1.cc 

Log message:
        Quoc Peyrot <address@hidden>,
        Robert Anisko <address@hidden>
        * data/lalr1.cc (parse::yyerrlab1): When popping the stack, stop
        when the stacks contain one element, as the loop would otherwise
        free the last state, and then use the top state (the one we just
        popped).  This means that the initial elements will not be freed
        explicitly, as is the case in yacc.c; it is not a problem, as
        these elements have fake values.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/ChangeLog.diff?tr1=1.983&tr2=1.984&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/data/lalr1.cc.diff?tr1=1.18&tr2=1.19&r1=text&r2=text





reply via email to

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