summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2002-09-07 04:18:05 +0000
committerJohn Millaway <john43@users.sourceforge.net>2002-09-07 04:18:05 +0000
commit204c1a336e56f9b110abae83efe6f1a843e39351 (patch)
tree10286e308b99e431a4194de0eaaa576a8de977e1 /main.c
parent57f10dc0aa6a65a30f3008e1803c6530e16c948a (diff)
Members of struct yy_trans_info are now forced to be the same size.
Added shared file tables_shared.c. Separated tables.h from flexdef.h Bulk of table deserialization code is done.
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)