From 9512aa976d4805901305531bc0c45122139ca8d5 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Thu, 25 May 1989 12:21:18 +0000 Subject: fixsed bug with -I and backtracking --- gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gen.c') 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;" ); -- cgit v1.2.3