java: move away from _ for internationalization

The "_" is becoming a keyword in Java, which causes tons of warnings
currently in our test suite.  GNU Gettext is now using "i18n" instead
of "_"
(https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=e89fea36545f27487d9652a13e6a0adbea1117d0).

* data/skeletons/java.m4: Use "i18n", not "_".
* examples/java/calc/Calc.y, tests/calc.at: Adjust.
This commit is contained in:
Akim Demaille
2020-03-30 07:51:15 +02:00
parent 50517d578c
commit 2c74872991
5 changed files with 14 additions and 8 deletions

1
TODO
View File

@@ -3,6 +3,7 @@
- yyexpected_tokens in all the languages.
- remove yysyntax_error_arguments.
- YYNOMEM
- i18n in Java
** Naming conventions
yysyntax_error_arguments should be yy_syntax_error_arguments, since it's a