java: tests: prepare the replacement of calculator tests

Soon calculator tests for Java will move from java.at to calc.at.
Which implies improving the Java testing infrastructure in
local.at (for instance really tracking columns in positions, not just
token number).  Detach java.at from local.at.

* tests/java.at (AT_JAVA_POSITION_DEFINE_OLD): New.
Use it.
This commit is contained in:
Akim Demaille
2020-02-03 08:19:59 +01:00
parent ebab1ffca8
commit 3239866f4a
2 changed files with 43 additions and 2 deletions

View File

@@ -679,7 +679,7 @@ AT_DATA([Calc.y],
}
}
%code { ]AT_JAVA_POSITION_DEFINE[ }
%code { ]AT_JAVA_POSITION_DEFINE_OLD[ }
%code {
public static void main (String[] args)