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.
This commit is contained in:
Joel E. Denny
2010-10-31 18:56:34 -04:00
parent 9d6bc5c402
commit 34db451c37
2 changed files with 35 additions and 22 deletions

View File

@@ -1,3 +1,10 @@
2010-10-31 Joel E. Denny <joeldenny@joeldenny.org>
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.
2010-10-31 Joel E. Denny <joeldenny@joeldenny.org>
* ChangeLog: Correct some errors in previous entries.