diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-11-11 08:42:16 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-11-11 09:08:57 +0100 |
commit | 21c147b6e5372563b7c4741deadaddb9354f4b09 (patch) | |
tree | 745dd8622b4e306d1ad9a334b921bd3dfaa59832 /src/muscle-tab.c | |
parent | d3c575a6c6639a129d5ca84b60cc693fbd0cde68 (diff) | |
download | bison-21c147b6e5372563b7c4741deadaddb9354f4b09.tar.gz |
yacc.c: provide the Bison version as an integral macro
Suggested by Balazs Scheidler.
https://github.com/akimd/bison/issues/55
* src/muscle-tab.c (muscle_init): Move/rename `b4_version` to/as...
* src/output.c (prepare): `b4_version_string`.
Also define `b4_version`.
* data/skeletons/bison.m4, data/skeletons/c.m4, data/skeletons/d.m4,
* data/skeletons/java.m4: Adjust.
* doc/bison.texi: Document it.
Diffstat (limited to 'src/muscle-tab.c')
-rw-r--r-- | src/muscle-tab.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/muscle-tab.c b/src/muscle-tab.c index 9d1c266e..c0c66690 100644 --- a/src/muscle-tab.c +++ b/src/muscle-tab.c @@ -127,9 +127,6 @@ muscle_init (void) muscle_table = hash_xinitialize (HT_INITIAL_CAPACITY, NULL, hash_muscle, hash_compare_muscles, muscle_entry_free); - - /* Version and input file. */ - MUSCLE_INSERT_STRING ("version", VERSION); } |