bison ./ChangeLog data/lalr1.cc
Akim Demaille <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvsroot/bison Module name: bison Changes by: Akim Demaille <[email protected]> 03/01/13 10:42:32 Modified files: . : ChangeLog data : lalr1.cc Log message: Quoc Peyrot <[email protected]>, Robert Anisko <[email protected]> * 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