]> git.saurik.com Git - bison.git/commit - data/bison.simple
(yyparse): Correct error handling to conform to
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 May 2002 12:37:12 +0000 (12:37 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 May 2002 12:37:12 +0000 (12:37 +0000)
commit660bc8dd090bbdbcac3b3d01945aa4c515ed8041
treed4ba07e260bf584e92662ccd329a7651af91eff8
parentc0c9ea051b0fadc4265d0b1a78c3a2ed0eca8fca
(yyparse): Correct error handling to conform to
POSIX and yacc.  Specifically, after syntax error is discovered,
do not reduce further before shifting the error token.
Clean up the code a bit by removing the labels yyerrdefault,
yyerrhandle, yyerrpop.
data/bison.simple