diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-02-24 01:28:50 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-02-24 01:28:50 +0100 |
commit | 46f33515d7ec32215122547bce535e4c91894da3 (patch) | |
tree | 888b5cc0c39934b93483816a06048da8bc4f5cea /compiler/semstmts.nim | |
parent | ac3b312cc6a2a010811f35c28fe985c3d2d989b3 (diff) | |
parent | 2d546ca0ac80486b8f31e389ef19e4d65093a1fa (diff) | |
download | Nim-46f33515d7ec32215122547bce535e4c91894da3.tar.gz |
Merge branch 'devel' into faster-nimsuggest
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r-- | compiler/semstmts.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index 0dfcdc0db..5ecba3ab0 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -30,6 +30,7 @@ proc semBreakOrContinue(c: PContext, n: PNode): PNode = of nkIdent: s = lookUp(c, n.sons[0]) of nkSym: s = n.sons[0].sym else: illFormedAst(n) + s = getGenSym(c, s) if s.kind == skLabel and s.owner.id == c.p.owner.id: var x = newSymNode(s) x.info = n.info |