summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-11-21 20:55:03 +0100
committerAraq <rumpf_a@web.de>2012-11-21 20:55:03 +0100
commit46f92c31aad6b9de199bb3ad20e79bda9018cf4e (patch)
tree4a86abcf28169f524199ba70ca4af3da1381681b /compiler
parent022ff2e86e12b1920a73b67878cd9ee05293d15d (diff)
downloadNim-46f92c31aad6b9de199bb3ad20e79bda9018cf4e.tar.gz
added 2 necessary node kinds
Diffstat (limited to 'compiler')
-rwxr-xr-xcompiler/ast.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index f4b0d00a0..39228da40 100755
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -198,6 +198,9 @@ type
     nkMutableTy,          # ``mutable T``
     nkDistinctTy,         # distinct type
     nkProcTy,             # proc type
+    nkIteratorTy,         # iterator type
+    nkSharedTy,           # 'shared T'
+                          # we use 'nkPostFix' for the 'not nil' addition
     nkEnumTy,             # enum body
     nkEnumFieldDef,       # `ident = expr` in an enumeration
     nkArgList,            # argument list