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:
Akim Demaille
2021-01-30 09:43:57 +01:00
parent de93a0728b
commit fc0dbb3bba
5 changed files with 27 additions and 24 deletions

View File

@@ -1957,7 +1957,8 @@ empty_c3: %prec 'c' ;
]])
AT_BISON_CHECK([[--trace=cex -fcaret --report=all -o input.c input.y]], 0, [],
[[init: 0.000000
[[bison (GNU Bison) ]AT_PACKAGE_VERSION[
init: 0.000000
# state items: 26
State 0:
0 $accept: . start $end