]> granicus.if.org Git - flex/commitdiff
fixsed bug with -I and backtracking
authorVern Paxson <vern@ee.lbl.gov>
Thu, 25 May 1989 12:21:18 +0000 (12:21 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Thu, 25 May 1989 12:21:18 +0000 (12:21 +0000)
gen.c

diff --git a/gen.c b/gen.c
index dd88cb7e60116a8fa804d2d86f7415407f2b0120..87e705844321d8afd1b2adb593d13dee86c18d5c 100644 (file)
--- a/gen.c
+++ b/gen.c
@@ -548,7 +548,7 @@ gen_next_match()
        else
            printf( "while ( yy_current_state != %d );\n", jamstate );
 
-       if ( ! reject )
+       if ( ! reject && ! interactive )
            {
            /* do the guaranteed-needed backtrack to figure out the match */
            indent_puts( "yy_cp = yy_last_accepting_cpos;" );