mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
deprecate %defines in favor of %header
This is consistent with --defines being deprecated in favor of --header. The directive %defines is also too similar to %define. And %header matches nicely with api.header.name. * src/scan-gram.l (%defines): Deprecate to %header. (%header): Scan it. * src/parse-gram.y (PERCENT_DEFINES): Replace with... (PERCENT_HEADER): this. * data/skeletons/lalr1.java * doc/bison.texi * tests/actions.at, tests/c++.at, tests/calc.at, tests/conflicts.at, * tests/input.at, tests/java.at, tests/local.at, tests/output.at, * tests/synclines.at, tests/types.at: Convert most tests to check %header instead of %defines.
This commit is contained in:
7
NEWS
7
NEWS
@@ -6,10 +6,11 @@ GNU Bison NEWS
|
||||
|
||||
** New features
|
||||
|
||||
*** Option -H, --header
|
||||
*** Option -H, --header and directive %header
|
||||
|
||||
The option -H/--header replaces the option --defines (maintained for
|
||||
backward compatibility).
|
||||
The option -H/--header supersedes the option --defines, and the directive
|
||||
%header supersedes %defines. Both --defines and %defines are, of course,
|
||||
maintained for backward compatibility.
|
||||
|
||||
*** A C++ native GLR parser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user