diff options
author | Araq <rumpf_a@web.de> | 2014-02-09 00:58:18 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-09 00:58:18 +0100 |
commit | 0965351792a07068a504458ff88e3ae794517345 (patch) | |
tree | c59f2deca384ed6147f7e4724f90416783597c54 /compiler | |
parent | dbc8aa60e30da3f85306455387bb563437215725 (diff) | |
download | Nim-0965351792a07068a504458ff88e3ae794517345.tar.gz |
fixes #882; fixes #853
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semthreads.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semthreads.nim b/compiler/semthreads.nim index f7322db80..d3426ca3e 100644 --- a/compiler/semthreads.nim +++ b/compiler/semthreads.nim @@ -358,7 +358,7 @@ proc analyse(c: PProcCtx, n: PNode): TThreadOwner = of nkConstSection: result = analyseConstSection(c, n) of nkTypeSection, nkCommentStmt: result = toVoid of nkIfStmt, nkWhileStmt, nkTryStmt, nkCaseStmt, nkStmtList, nkBlockStmt, - nkElifBranch, nkElse, nkExceptBranch, nkOfBranch: + nkElifBranch, nkElse, nkExceptBranch, nkOfBranch, nkFinally: for i in 0 .. <n.len: discard analyse(c, n[i]) result = toVoid of nkBreakStmt, nkContinueStmt: result = toVoid |