diff options
-rw-r--r-- | compiler/dfa.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/dfa.nim b/compiler/dfa.nim index 22a110a1f..fbf71d95c 100644 --- a/compiler/dfa.nim +++ b/compiler/dfa.nim @@ -382,9 +382,9 @@ proc dfa(code: seq[Instr]) = else: pc2 = pc + 1 if code[pc].kind == fork: - let l = pc + code[pc].dest - if sid >= 0 and s[l].missingOrExcl(sid): - w.add l + let lidx = pc + code[pc].dest + if sid >= 0 and s[lidx].missingOrExcl(sid): + w.add lidx if sid >= 0 and s[pc2].missingOrExcl(sid): pc = pc2 |