(YYERROR): Now just 'goto yyerrorlab', since the
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jun 2003 03:57:39 +0000 (03:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jun 2003 03:57:39 +0000 (03:57 +0000)
commita6b89bb2dccc04745831cb974c74ee71c22cf6a0
tree661ae4fabc49195fec7d3ef252074ab3e0ca0cb5
parented3265ddc5e2d9a3111122ac96b4a8b05a00794d
(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.
data/yacc.c