]> granicus.if.org Git - flex/commitdiff
Flex now warns if always-interactive is specified with fast or full.
authorJohn Millaway <john43@users.sourceforge.net>
Fri, 31 Jan 2003 22:30:03 +0000 (22:30 +0000)
committerJohn Millaway <john43@users.sourceforge.net>
Fri, 31 Jan 2003 22:30:03 +0000 (22:30 +0000)
scan.l

diff --git a/scan.l b/scan.l
index 7d5530fce654192f7cfb27644d4a88fdd9d896c0..079fafb5a1efc2361364dd461511528e94387365 100644 (file)
--- a/scan.l
+++ b/scan.l
@@ -255,6 +255,7 @@ LEXOPT              [aceknopr]
        align           long_align = option_sense;
        always-interactive      {
                        action_define( "YY_ALWAYS_INTERACTIVE", option_sense );
+            interactive = option_sense;
                        }
        array           yytext_is_array = option_sense;
        backup          backing_up_report = option_sense;
@@ -287,6 +288,7 @@ LEXOPT              [aceknopr]
        meta-ecs        usemecs = option_sense;
        never-interactive       {
                        action_define( "YY_NEVER_INTERACTIVE", option_sense );
+            interactive = !option_sense;
                        }
        perf-report     performance_report += option_sense ? 1 : -1;
        pointer         yytext_is_array = ! option_sense;