diff options
author | John Millaway <john43@users.sourceforge.net> | 2002-09-07 04:18:05 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2002-09-07 04:18:05 +0000 |
commit | 204c1a336e56f9b110abae83efe6f1a843e39351 (patch) | |
tree | 10286e308b99e431a4194de0eaaa576a8de977e1 /flexdef.h | |
parent | 57f10dc0aa6a65a30f3008e1803c6530e16c948a (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 'flexdef.h')
-rw-r--r-- | flexdef.h | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -1155,37 +1155,5 @@ extern jmp_buf flex_main_jmp_buf; /* Removes all \n and \r chars from tail of str. returns str. */ extern char *chomp (char *str); -/* Tables serialization API declarations. */ -#include "tables_shared.h" -struct yytbl_writer { - FILE *out; - uint32_t total_written; - /**< bytes written so far */ - fpos_t th_ssize_pos; - /**< position of th_ssize */ -}; - - -/* - * tablesext - if true, create external tables - * tablestoggle - if true, output external tables code while processing skel - * tablesfilename - filename for external tables - * tableswr - writer for external tables - */ -extern bool tablesext, tablestoggle; -extern char *tablesfilename; -extern struct yytbl_writer tableswr; - -int yytbl_writer_init (struct yytbl_writer *, FILE *); -int yytbl_hdr_init (struct yytbl_hdr *th, const char *version_str, - const char *name); -int yytbl_data_init (struct yytbl_data *tbl, enum yytbl_id id); -int yytbl_data_destroy (struct yytbl_data *td); -int yytbl_hdr_fwrite (struct yytbl_writer *wr, - const struct yytbl_hdr *th); -int yytbl_data_fwrite (struct yytbl_writer *wr, struct yytbl_data *td); -void yytbl_data_compress (struct yytbl_data *tbl); -struct yytbl_data *mkftbl (void); - #endif /* not defined FLEXDEF_H */ |