java: lac: more tests, and some doc

* doc/bison.texi: C++ and Java support LAC.
* tests/input.at (LAC: Errors for %define): Generalize the test, and
apply it to Java.
This commit is contained in:
Akim Demaille
2020-11-03 09:15:44 +01:00
parent f7a7310433
commit 829ac9caed
3 changed files with 22 additions and 27 deletions

View File

@@ -6879,7 +6879,7 @@ introduced in 3.0 with support for @code{simple} and @code{verbose}. Values
@deffn Directive {%define parse.lac} @var{when}
@itemize
@item Languages(s): C (deterministic parsers only)
@item Languages(s): C/C++ (deterministic parsers only), and Java.
@item Purpose: Enable LAC (lookahead correction) to improve
syntax error handling. @xref{LAC}.