summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-01-22 17:32:38 +0100
committerAraq <rumpf_a@web.de>2014-01-22 17:32:38 +0100
commit37229df7fc044fe108d2f4d88f127141cabeb6a6 (patch)
tree2dd7dbacaa4afecdd9c6bde5180c43df24b0a914 /compiler/ast.nim
parent85a5bfe60520a59ff9ce493dfa65bf9cbd86059e (diff)
downloadNim-37229df7fc044fe108d2f4d88f127141cabeb6a6.tar.gz
next steps for closure iterators
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 0e351a31a..82cc2c96f 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -287,6 +287,7 @@ const
 
   sfNoRoot* = sfBorrow # a local variable is provably no root so it doesn't
                        # require RC ops
+  sfClosureCreated* = sfDiscriminant # for transf-lambdalifting interaction
 
 const
   # getting ready for the future expr/stmt merge