diff options
author | Araq <rumpf_a@web.de> | 2012-11-21 20:55:03 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-11-21 20:55:03 +0100 |
commit | 46f92c31aad6b9de199bb3ad20e79bda9018cf4e (patch) | |
tree | 4a86abcf28169f524199ba70ca4af3da1381681b /compiler | |
parent | 022ff2e86e12b1920a73b67878cd9ee05293d15d (diff) | |
download | Nim-46f92c31aad6b9de199bb3ad20e79bda9018cf4e.tar.gz |
added 2 necessary node kinds
Diffstat (limited to 'compiler')
-rwxr-xr-x | compiler/ast.nim | 3 |
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 |