diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-09-06 14:20:43 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-09-19 17:49:03 +0200 |
commit | b327f388325590af1a395d7fdc6a31d186f13ec0 (patch) | |
tree | b3fcfba7f6bda90eafd3eb01388e595531d327dc /tests/regression.at | |
parent | 75c3746ce287f9ba3ee5d8c60e2961be72b544f0 (diff) | |
download | bison-b327f388325590af1a395d7fdc6a31d186f13ec0.tar.gz |
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.
Diffstat (limited to 'tests/regression.at')
-rw-r--r-- | tests/regression.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regression.at b/tests/regression.at index 9e288b61..293e8536 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -1505,7 +1505,7 @@ m4_pushdef([AT_TEST], AT_BISON_OPTION_PUSHDEFS([%locations %skeleton "$1" %parse-param { int x } %parse-param { int y }]) AT_DATA_GRAMMAR([input.y], -[[%defines +[[%header %locations %skeleton "$1" %union { int ival; } |