mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +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:
@@ -116,7 +116,7 @@ class CalcLexer implements Calc.Lexer {
|
||||
return new Position (end);
|
||||
}
|
||||
|
||||
public void yyreportSyntaxError (Calc.Context ctx)
|
||||
public void reportSyntaxError (Calc.Context ctx)
|
||||
{
|
||||
System.err.print (ctx.getLocation () + ": syntax error");
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user