summary refs log tree commit diff stats
path: root/compiler/semthreads.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/semthreads.nim')
-rwxr-xr-xcompiler/semthreads.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/semthreads.nim b/compiler/semthreads.nim
index 09668a912..6c0259ef1 100755
--- a/compiler/semthreads.nim
+++ b/compiler/semthreads.nim
@@ -360,7 +360,8 @@ proc analyse(c: PProcCtx, n: PNode): TThreadOwner =
     if n.sons[0].kind != nkEmpty: result = analyse(c, n.sons[0])
     else: result = toVoid
   of nkAsmStmt, nkPragma, nkIteratorDef, nkProcDef, nkMethodDef,
-     nkConverterDef, nkMacroDef, nkTemplateDef, nkLambdaKinds: 
+     nkConverterDef, nkMacroDef, nkTemplateDef, nkLambdaKinds, nkClosure,
+     nkGotoState, nkState: 
       result = toVoid
   of nkExprColonExpr:
     result = analyse(c, n.sons[1])