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

@@ -94,6 +94,9 @@ main (int argc, char *argv[])
getargs (argc, argv);
if (trace_flag)
fprintf (stderr, "bison (GNU Bison) %s\n", VERSION);
timevar_enabled = trace_flag & trace_time;
timevar_init ();
timevar_start (tv_total);