Simplify the i18n of the error messages.

* data/yacc.c (yysyntax_error): Rewrite, using a switch instead
of building dynamically the format string.
(cherry picked from commit eeb2942237)

Conflicts:

	data/lalr1.cc
This commit is contained in:
Akim Demaille
2008-12-11 00:59:13 +01:00
committed by Joel E. Denny
parent 4c6b13f37e
commit d3d3628bde
2 changed files with 40 additions and 42 deletions

View File

@@ -1,3 +1,9 @@
2008-12-11 Akim Demaille <demaille@gostai.com>
Simplify the i18n of the error messages.
* data/yacc.c (yysyntax_error): Rewrite, using a switch instead
of building dynamically the format string.
2009-10-03 Joel E. Denny <jdenny@clemson.edu>
Remove dead code.