mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
java: rename Lexer.yyreportSyntaxError as reportSyntaxError
* data/skeletons/lalr1.java: here. * examples/java/calc/Calc.y, tests/local.at: Adjust.
This commit is contained in:
@@ -221,7 +221,10 @@ import java.text.MessageFormat;
|
||||
|
||||
]b4_parse_error_bmatch(
|
||||
[custom], [[
|
||||
void yyreportSyntaxError (][Context yyctx);
|
||||
/**
|
||||
* Build and emit a syntax error message.
|
||||
*/
|
||||
void reportSyntaxError (][Context yyctx);
|
||||
]])[
|
||||
}
|
||||
|
||||
@@ -984,7 +987,7 @@ b4_dollar_popdef[]dnl
|
||||
private void yyreportSyntaxError (Context yyctx)
|
||||
{]b4_parse_error_bmatch(
|
||||
[custom], [[
|
||||
yylexer.yyreportSyntaxError (yyctx);]],
|
||||
yylexer.reportSyntaxError (yyctx);]],
|
||||
[detailed\|verbose], [[
|
||||
if (yyErrorVerbose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user