diff options
author | John Millaway <john43@users.sourceforge.net> | 2002-09-13 01:17:22 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2002-09-13 01:17:22 +0000 |
commit | 815fd665d8c46fc9f106fe65643c12614ffc9747 (patch) | |
tree | b1135a92b387ceb3d8629464bc0b57261d51343d /tables.h | |
parent | f6904782ed84d7a946ecca17c1b1269eee0978c0 (diff) |
Bison bridge code now works for all C scanners and pure/non-pure bison parsers.
Added %option bison-bridge (--bison-bridge).
Removed %option reentrant-bison/--reentrant-bison/-Rb.
Scanner knows the name of its tables.
Tables serialization is OK on EOF.
yylineno is present in all scanners.
Modified nasty performance penalty warning w/ yylineno.
test-table-opts is now run last because it's so fat.
Updated manual.
Diffstat (limited to 'tables.h')
-rw-r--r-- | tables.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -55,12 +55,13 @@ struct yytbl_writer { * tablesext - if true, create external tables * tablestoggle - if true, output external tables code while processing skel * tablesfilename - filename for external tables + * tablesname - name that goes in serialized data, e.g., "yytables" * tableswr - writer for external tables * tablesverify - true if tables-verify option specified * gentables - true if we should spit out the normal C tables */ extern bool tablesext, tablestoggle, tablesverify,gentables; -extern char *tablesfilename; +extern char *tablesfilename, *tablesname; extern struct yytbl_writer tableswr; int yytbl_writer_init (struct yytbl_writer *, FILE *); |