diff options
author | Will Estes <wlestes@users.sourceforge.net> | 2001-10-22 14:37:43 +0000 |
---|---|---|
committer | Will Estes <wlestes@users.sourceforge.net> | 2001-10-22 14:37:43 +0000 |
commit | e9a3e26d6b589ae1e16dbba0adddac392118f59a (patch) | |
tree | 4a0eb1877db3afd659bd99d20e555f9674eccdad | |
parent | 3cb447bf293324f50a3f3556d88ccbbddce5f40a (diff) |
the last checkin was broken; millaway fixed it
-rw-r--r-- | main.c | 6 | ||||
-rw-r--r-- | options.c | 12 | ||||
-rw-r--r-- | options.h | 4 |
3 files changed, 11 insertions, 11 deletions
@@ -831,7 +831,7 @@ char **argv; buf_strdefine(&userdef_buf, "YY_MAIN", "1"); break; - case OPT_NOLINE: + case OPT_NO_LINE: gen_line_dirs = false; break; @@ -873,7 +873,7 @@ char **argv; spprdflt = false; break; - case OPT_NODEFAULT: + case OPT_NO_DEFAULT: spprdflt = true; break; @@ -894,7 +894,7 @@ char **argv; program_name, flex_version ); exit( 0 ); - case OPT_NOWARN: + case OPT_NO_WARN: nowarn = true; break; @@ -39,12 +39,12 @@ optspec_t flexopts[] = { {"--main", OPT_MAIN,0}, /* use built-in main() function. */ {"--meta-ecs", OPT_META_ECS,0},/* Construct meta-equivalence classes. */ {"--never-interactive", OPT_NEVER_INTERACTIVE,0}, -{"--nodefault", OPT_NODEFAULT,0},/* Suppress default rule to ECHO unmatched text. */ -{"-s", OPT_NODEFAULT,0}, -{"--noline", OPT_NOLINE,0},/* Suppress #line directives in scanner. */ -{"-L", OPT_NOLINE,0},/* Suppress #line directives in scanner. */ -{"--nowarn", OPT_NOWARN,0},/* Suppress warning messages. */ -{"-w", OPT_NOWARN,0}, +{"--nodefault", OPT_NO_DEFAULT,0},/* Suppress default rule to ECHO unmatched text. */ +{"-s", OPT_NO_DEFAULT,0}, +{"--noline", OPT_NO_LINE,0},/* Suppress #line directives in scanner. */ +{"-L", OPT_NO_LINE,0},/* Suppress #line directives in scanner. */ +{"--nowarn", OPT_NO_WARN,0},/* Suppress warning messages. */ +{"-w", OPT_NO_WARN,0}, {"--outfile=FILE", OPT_OUTFILE,0},/* Write to FILE (default is lex.yy.c) */ {"-o FILE", OPT_OUTFILE,0}, {"--perf-report", OPT_PERF_REPORT,0},/* Generate performance report to stderr. */ @@ -28,7 +28,7 @@ enum flexopt_flag_t { OPT_INTERACTIVE, OPT_LEX_COMPAT, OPT_MAIN, OPT_NO_MAIN, - OPT_META_ECS, OPT_NO_META_ECS + OPT_META_ECS, OPT_NO_META_ECS, OPT_NEVER_INTERACTIVE, OPT_NO_LINE, OPT_OUTFILE, @@ -48,7 +48,7 @@ enum flexopt_flag_t { OPT_UNPUT, OPT_NOUNPUT, OPT_VERBOSE, OPT_VERSION, - OPT_WARN, OPT_NOWARN, + OPT_WARN, OPT_NO_WARN, OPT_YYCLASS, OPT_YYLINENO, OPT_NO_YYLINEO, OPT_YYMORE, OPT_NO_YYMORE, |