From 28b5afef1ccf6ec10e8b866d93ac2ec3b33fff10 Mon Sep 17 00:00:00 2001 From: wlestes Date: Tue, 25 Mar 2003 16:39:08 +0000 Subject: merge millaway's m4 branch work --- options.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 99cacf9..c673173 100644 --- a/options.c +++ b/options.c @@ -68,6 +68,8 @@ optspec_t flexopts[] = { , /* Generate batch scanner (opposite of -I). */ {"--bison-bridge", OPT_BISON_BRIDGE, 0} , /* Scanner to be called by a bison pure parser. */ + {"--bison-locations", OPT_BISON_BRIDGE_LOCATIONS, 0} + , /* Scanner to be called by a bison pure parser. */ {"-i", OPT_CASE_INSENSITIVE, 0} , {"--case-insensitive", OPT_CASE_INSENSITIVE, 0} @@ -127,6 +129,8 @@ optspec_t flexopts[] = { , {"--posix-compat", OPT_POSIX_COMPAT, 0} , /* Maximal compatibility with POSIX lex. */ + {"--preproc=NUM", OPT_PREPROC_LEVEL, 0} + , {"-L", OPT_NO_LINE, 0} , /* Suppress #line directives in scanner. */ {"--noline", OPT_NO_LINE, 0} @@ -165,8 +169,6 @@ optspec_t flexopts[] = { , /* Generate a reentrant C scanner. */ {"--noreentrant", OPT_NO_REENTRANT, 0} , - {"--reentrant-bison", OPT_BISON_BRIDGE, 0} - , /* Deprecated. Replaced by --bison-bridge */ {"--reject", OPT_REJECT, 0} , {"--noreject", OPT_NO_REJECT, 0} @@ -209,6 +211,10 @@ optspec_t flexopts[] = { , {"--nowarn", OPT_NO_WARN, 0} , /* Suppress warning messages. */ + {"--noansi-definitions", OPT_NO_ANSI_FUNC_DEFS, 0} + , + {"--noansi-prototypes", OPT_NO_ANSI_FUNC_PROTOS, 0} + , {"--yyclass=NAME", OPT_YYCLASS, 0} , {"--yylineno", OPT_YYLINENO, 0} -- cgit v1.2.1