Simplify the i18n of the error messages.

* data/lalr1.cc: Comment changes.
(cherry picked from commit eeb2942237)

Conflicts:

	data/yacc.c
This commit is contained in:
Akim Demaille
2008-12-11 00:59:13 +01:00
committed by Joel E. Denny
parent 39f6a8d142
commit 8200219a2a
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-12-11 Akim Demaille <demaille@gostai.com>
Simplify the i18n of the error messages.
* data/lalr1.cc: Comment changes.
2008-11-11 Akim Demaille <demaille@gostai.com>
Prefer M4 to CPP.

View File

@@ -862,7 +862,8 @@ b4_error_verbose_if([int yystate, int yytoken],
int yychecklim = yylast_ - yyn + 1;
int yyxend = yychecklim < yyntokens_ ? yychecklim : yyntokens_;
// Number of "expected" tokens.
// Number of reported tokens (one for the "unexpected", one per
// "expected").
size_t yycount = 0;
// Its maximum.
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };