diff options
Diffstat (limited to 'compiler/transf.nim')
-rwxr-xr-x | compiler/transf.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim index 170f8ff0f..d1ee76cf1 100755 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -603,7 +603,7 @@ proc transform(c: PTransf, n: PNode): PTransNode = dec c.inLoop of nkCaseStmt: result = transformCase(c, n) of nkContinueStmt: - result = PTransNode(newNode(nkBreakStmt)) + result = PTransNode(newNodeI(nkBreakStmt, n.info)) var labl = c.contSyms[c.contSyms.high] add(result, PTransNode(newSymNode(labl))) of nkBreakStmt: result = transformBreak(c, n) |