summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-04-13 17:06:46 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-04-13 17:45:58 +0200
commit47335aab4148b2cd5b28cd3012d6d6e0a0c82db7 (patch)
tree33c87e807f22b59d61dbe2aa0f42430c0d0399d3 /lib/core
parentab426faa226f7041c60e671ad2a3ba79b46ee1c0 (diff)
downloadNim-47335aab4148b2cd5b28cd3012d6d6e0a0c82db7.tar.gz
introduce nkTupleConstr AST node for unary tuple construction; breaking change
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/macros.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index 3bdd29b0a..a4c819a34 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -82,7 +82,8 @@ type
     nnkGotoState,
     nnkState,
     nnkBreakState,
-    nnkFuncDef
+    nnkFuncDef,
+    nnkTupleConstr
 
   NimNodeKinds* = set[NimNodeKind]
   NimTypeKind* = enum  # some types are no longer used, see ast.nim