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.
This commit is contained in:
Joel E. Denny
2011-02-19 19:36:33 -05:00
parent 8db68289d1
commit 7776816565
3 changed files with 47 additions and 32 deletions

2
NEWS
View File

@@ -291,6 +291,8 @@ Bison News
canonical LR. However, LAC is still experimental and is disabled
by default.
** A location handling bug in the Java skeleton has been fixed.
* Changes in version 2.4.3 (2010-08-05):
** Bison now obeys -Werror and --warnings=error for warnings about