]> git.saurik.com Git - bison.git/commit - data/yacc.c
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 22:59:20 +0000 (18:59 -0400)
commit34db451c379888fa593268b65518ad191bef21f5
treebb18c0f8a33be3f7dc4488a796e12f34edbf0cd9
parent9d6bc5c4024aa4e6b4d9474fb9fe1d953bfaa020
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.
ChangeLog
data/yacc.c