Fixed koch warning when installing Nim. (#6898)

This commit is contained in:
Gerke Max Preussner
2017-12-12 08:43:12 -05:00
committed by Andreas Rumpf
parent 28e0bf9dcd
commit d3f966922e

View File

@@ -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