java: test and document previous bug fix.

* NEWS (2.5): Document it.
* tests/java.at (_AT_DATA_JAVA_CALC_Y): To one of the yyerror
invocations, pass a location that spans multiple tokens.  Change
yyerror to report all of a location rather than just the begin
position.  Extend yylex and Position to count tokens on a line.
Remove getHashCode as it's unused.  Update all expected output.
(cherry picked from commit 7776816565)
This commit is contained in:
Joel E. Denny
2011-02-19 19:36:33 -05:00
parent aa3bcdf35e
commit 6771a463cd
3 changed files with 47 additions and 32 deletions

View File

@@ -1,3 +1,13 @@
2011-02-19 Joel E. Denny <joeldenny@joeldenny.org>
java: test and document previous bug fix.
* NEWS (2.5): Document it.
* tests/java.at (_AT_DATA_JAVA_CALC_Y): To one of the yyerror
invocations, pass a location that spans multiple tokens. Change
yyerror to report all of a location rather than just the begin
position. Extend yylex and Position to count tokens on a line.
Remove getHashCode as it's unused. Update all expected output.
2011-02-19 Bernd Kiefer <kiefer@dfki.de> (tiny change)
java: fix location handling bug.