From 204c1a336e56f9b110abae83efe6f1a843e39351 Mon Sep 17 00:00:00 2001 From: John Millaway Date: Sat, 7 Sep 2002 04:18:05 +0000 Subject: 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. --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.c') 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) -- cgit v1.2.3