summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2001-10-22 14:37:43 +0000
committerWill Estes <wlestes@users.sourceforge.net>2001-10-22 14:37:43 +0000
commite9a3e26d6b589ae1e16dbba0adddac392118f59a (patch)
tree4a0eb1877db3afd659bd99d20e555f9674eccdad
parent3cb447bf293324f50a3f3556d88ccbbddce5f40a (diff)
the last checkin was broken; millaway fixed it
-rw-r--r--main.c6
-rw-r--r--options.c12
-rw-r--r--options.h4
3 files changed, 11 insertions, 11 deletions
diff --git a/main.c b/main.c
index 0f5ea28..41237a5 100644
--- a/main.c
+++ b/main.c
@@ -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;
diff --git a/options.c b/options.c
index 26a9039..d289010 100644
--- a/options.c
+++ b/options.c
@@ -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. */
diff --git a/options.h b/options.h
index 39ae1f5..0aa1ad3 100644
--- a/options.h
+++ b/options.h
@@ -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,