mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
java: rename package as api.package
* data/skeletons/lalr1.java: here. * doc/bison.texi: Update. * src/muscle-tab.c: Ensure backward compat. * tests/java.at: Check it.
This commit is contained in:
@@ -13688,8 +13688,8 @@ The prologue declarations have a different meaning than in C/C++ code.
|
||||
@table @asis
|
||||
@item @code{%code imports}
|
||||
blocks are placed at the beginning of the Java source code. They may
|
||||
include copyright notices. For a @code{package} declarations, it is
|
||||
suggested to use @samp{%define package} instead.
|
||||
include copyright notices. For a @code{package} declarations, use
|
||||
@samp{%define api.package} instead.
|
||||
|
||||
@item unqualified @code{%code}
|
||||
blocks are placed inside the parser class.
|
||||
@@ -13843,9 +13843,10 @@ Formerly named @code{location_type}.
|
||||
@xref{Java Location Values}.
|
||||
@end deffn
|
||||
|
||||
@deffn {Directive} {%define package} @{@var{package}@}
|
||||
@deffn {Directive} {%define api.package} @{@var{package}@}
|
||||
The package to put the parser class in. Default is none.
|
||||
@xref{Java Bison Interface}.
|
||||
Renamed from @code{package} in Bison 3.7.
|
||||
@end deffn
|
||||
|
||||
@deffn {Directive} {%define api.position.type} @{@var{class}@}
|
||||
|
||||
Reference in New Issue
Block a user