mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user