summaryrefslogtreecommitdiff
path: root/gen.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1989-05-25 12:21:18 +0000
committerVern Paxson <vern@ee.lbl.gov>1989-05-25 12:21:18 +0000
commit9512aa976d4805901305531bc0c45122139ca8d5 (patch)
tree02c8be6a6c0985a4dd628d737442c504587acb01 /gen.c
parent6dae978eaa528ef7da75df54e91b4744805025ca (diff)
fixsed bug with -I and backtracking
Diffstat (limited to 'gen.c')
-rw-r--r--gen.c2
1 files changed, 1 insertions, 1 deletions
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;" );