From: Vern Paxson Date: Thu, 25 May 1989 12:21:18 +0000 (+0000) Subject: fixsed bug with -I and backtracking X-Git-Tag: flex-2-5-5b~599 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9512aa976d4805901305531bc0c45122139ca8d5;p=flex fixsed bug with -I and backtracking --- diff --git a/gen.c b/gen.c index dd88cb7..87e7058 100644 --- 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;" );