java: promote YYEOF rather that Lexer.EOF

* doc/bison.texi: here.
* data/skeletons/lalr1.java: Use YYEOF.
This commit is contained in:
Akim Demaille
2020-04-13 16:35:11 +02:00
parent 8cedb4b40e
commit dab08da605
3 changed files with 6 additions and 9 deletions

View File

@@ -13208,7 +13208,7 @@ with a scanner: the scanner may be defined by @code{%code lexer}, or
defined elsewhere. In either case, the scanner has to implement the
@code{Lexer} inner interface of the parser class. This interface also
contain constants for all user-defined token names and the predefined
@code{EOF} token.
@code{YYEOF} token.
In the first case, the body of the scanner class is placed in
@code{%code lexer} blocks. If you want to pass parameters from the