bison/data yacc.c
Paul Eggert <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvsroot/bison Module name: bison Changes by: Paul Eggert <[email protected]> 03/06/01 23:57:39 Modified files: data : yacc.c Log message: (YYERROR): Now just 'goto yyerrorlab', since the macro's size was becoming unwieldy. (yyerrlab): Do not discard an empty lookahead symbol, as this might destroy garbage. (yyerrorlab): New label, with the old contents of YYERROR, plus the following change: pop the stack of rhs corresponding to the production that invoked YYERROR. That is how Yacc behaves, and POSIX requires this behavior. (yyerrlab1): Use YYPOPSTACK instead of its definiens. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/data/yacc.c.diff?tr1=1.57&tr2=1.58&r1=text&r2=text