summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index f248af5..9e8317c 100644
--- a/main.c
+++ b/main.c
@@ -35,6 +35,7 @@
#include "flexdef.h"
#include "version.h"
#include "options.h"
+#include "tables.h"
static char flex_version[] = FLEX_VERSION;
@@ -350,7 +351,7 @@ void check_options ()
nbytes = strlen (prefix) + strlen ("tables") + 2;
pname = (char *) calloc (nbytes, 1);
sprintf (pname, "%stables", prefix);
- yytbl_hdr_init (&hdr, "TODO", pname);
+ yytbl_hdr_init (&hdr, flex_version, pname);
free (pname);
if (yytbl_hdr_fwrite (&tableswr, &hdr) <= 0)