summaryrefslogtreecommitdiff
path: root/src/muscle-tab.c
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-11-11 08:42:16 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-11-11 09:08:57 +0100
commit21c147b6e5372563b7c4741deadaddb9354f4b09 (patch)
tree745dd8622b4e306d1ad9a334b921bd3dfaa59832 /src/muscle-tab.c
parentd3c575a6c6639a129d5ca84b60cc693fbd0cde68 (diff)
downloadbison-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.c3
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);
}