mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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:
committed by
Joel E. Denny
parent
39f6a8d142
commit
8200219a2a
@@ -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.
|
||||
|
||||
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user