summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfa.c b/src/dfa.c
index 12619940..2f751c66 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2242,7 +2242,7 @@ dfaanalyze (struct dfa *d, int searchflag)
firstpos->constraint = lastpos->constraint = NO_CONSTRAINT;
/* Allocate the follow set for this position. */
- alloc_position_set(&d->follows[i], nalloc[i]);
+ alloc_position_set(&d->follows[i], 1);
break;
}
#ifdef DEBUG