diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2021-01-30 09:43:57 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2021-01-30 14:32:00 +0100 |
commit | fc0dbb3bba902ee3e6d77379cb5c8227cb8dc3eb (patch) | |
tree | bf74448bb891e3ef60a08f2617ac6a712f160f24 /tests/sets.at | |
parent | de93a0728b59fe81e8972aca08812f033fd9069b (diff) | |
download | bison-fc0dbb3bba902ee3e6d77379cb5c8227cb8dc3eb.tar.gz |
traces: display the Bison version
* src/main.c (main): When traces are enabled, display the Bison
version.
* tests/conflicts.at, tests/report.at, tests/sets.at:
Use AT_PACKAGE_VERSION (for package.m4) instead of post-processing the
output.
Diffstat (limited to 'tests/sets.at')
-rw-r--r-- | tests/sets.at | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/sets.at b/tests/sets.at index aeba435e..2de00d57 100644 --- a/tests/sets.at +++ b/tests/sets.at @@ -323,7 +323,8 @@ fact: "num" ]]) AT_BISON_CHECK([[--trace=grammar -o input.c input.y]], [], [], -[[input.y: warning: 1 nonterminal useless in grammar [-Wother] +[[bison (GNU Bison) ]AT_PACKAGE_VERSION[ +input.y: warning: 1 nonterminal useless in grammar [-Wother] input.y: warning: 1 rule useless in grammar [-Wother] input.y:4.1-7: warning: nonterminal useless in grammar: useless [-Wother] Reduced Grammar @@ -409,7 +410,8 @@ exp: ]]) AT_BISON_CHECK([[--trace=grammar -o input.c input.y]], [], [], -[[Reduced Grammar +[[bison (GNU Bison) ]AT_PACKAGE_VERSION[ +Reduced Grammar ntokens = 10, nnterms = 2, nsyms = 12, nrules = 8, nritems = 29 |