summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-09-03 00:55:44 +0200
committerAraq <rumpf_a@web.de>2012-09-03 00:55:44 +0200
commitaf7c92c0038763db2ba7d7049d7d18363b15089e (patch)
tree1849c68021e717adceab0533c5a66a6699b76b6c /lib/core
parentb56df72a325e4991128d808dc6c9edade3d0f293 (diff)
downloadNim-af7c92c0038763db2ba7d7049d7d18363b15089e.tar.gz
term rewriting macros fully implemented; still buggy
Diffstat (limited to 'lib/core')
-rwxr-xr-xlib/core/macros.nim7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index 272b9a45e..2eab1750c 100755
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -46,14 +46,17 @@ type
     nnkYieldStmt, nnkTryStmt, nnkFinally, nnkRaiseStmt, 

     nnkReturnStmt, nnkBreakStmt, nnkContinueStmt, nnkBlockStmt, nnkStaticStmt,

     nnkDiscardStmt, nnkStmtList, nnkImportStmt, nnkFromStmt, 

-    nnkIncludeStmt, nnkBindStmt, nnkPattern,

+    nnkIncludeStmt, nnkBindStmt, 

     nnkCommentStmt, nnkStmtListExpr, nnkBlockExpr, 

     nnkStmtListType, nnkBlockType, nnkTypeOfExpr, nnkObjectTy, 

     nnkTupleTy, nnkRecList, nnkRecCase, nnkRecWhen, 

     nnkRefTy, nnkPtrTy, nnkVarTy, 

     nnkConstTy, nnkMutableTy,

     nnkDistinctTy, 

-    nnkProcTy, nnkEnumTy, nnkEnumFieldDef, nnkReturnToken

+    nnkProcTy, nnkEnumTy, 
+    nnkEnumFieldDef, 
+    nnkArglist, nnkPattern
+    nnkReturnToken

   TNimNodeKinds* = set[TNimrodNodeKind]

   TNimrodTypeKind* = enum

     ntyNone, ntyBool, ntyChar, ntyEmpty,