From 815fd665d8c46fc9f106fe65643c12614ffc9747 Mon Sep 17 00:00:00 2001 From: John Millaway Date: Fri, 13 Sep 2002 01:17:22 +0000 Subject: 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. --- tables.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tables.h') diff --git a/tables.h b/tables.h index 3528951..87326ed 100644 --- a/tables.h +++ b/tables.h @@ -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 *); -- cgit v1.2.3