mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
Propagate i18n changes into glr.c.
* TODO: Update. * data/glr.c (yyreportSyntaxError): Use "switch" instead of building the error message format dynamically. * data/lalr1.java: Formatting changes.
This commit is contained in:
4
TODO
4
TODO
@@ -161,8 +161,8 @@ In lalr1.cc we invoke it with the translated lookahead (yytoken), and
|
||||
yacc.c uses yychar. I don't see why.
|
||||
|
||||
** yysyntax_error
|
||||
The use of switch to select yyfmt in lalr1.cc seems simpler than
|
||||
what's done in yacc.c.
|
||||
The code bw glr.c and yacc.c is really alike, we can certainly factor
|
||||
some parts.
|
||||
|
||||
* Header guards
|
||||
|
||||
|
||||
Reference in New Issue
Block a user