]> git.saurik.com Git - bison.git/commit - ChangeLog-2012
yysyntax_error: improve invocation readability.
authorJoel E. Denny <joeldenny@joeldenny.org>
Sun, 31 Oct 2010 22:56:34 +0000 (18:56 -0400)
committerJoel E. Denny <joeldenny@joeldenny.org>
Sun, 31 Oct 2010 23:34:09 +0000 (19:34 -0400)
commit0e0f066b764d688a307e89d2bffa28e28319711c
treec2846fa334b6fef9d92b8527203876f0fda1b19a
parent5f1485d8e1e2cdd2aa03c1ba98329b3cc96e3db0
yysyntax_error: improve invocation readability.

* data/yacc.c (yyparse, yypush_parse): For yysyntax_error
invocation, get rid of the while loop, which is misleading
because there are really at most two iterations.
(cherry picked from commit 34db451c379888fa593268b65518ad191bef21f5)
ChangeLog
data/yacc.c