diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-04-13 17:06:46 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-04-13 17:45:58 +0200 |
commit | 47335aab4148b2cd5b28cd3012d6d6e0a0c82db7 (patch) | |
tree | 33c87e807f22b59d61dbe2aa0f42430c0d0399d3 /compiler/ast.nim | |
parent | ab426faa226f7041c60e671ad2a3ba79b46ee1c0 (diff) | |
download | Nim-47335aab4148b2cd5b28cd3012d6d6e0a0c82db7.tar.gz |
introduce nkTupleConstr AST node for unary tuple construction; breaking change
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r-- | compiler/ast.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index aa7250513..da7e828f2 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -221,7 +221,8 @@ type nkGotoState, # used for the state machine (for iterators) nkState, # give a label to a code section (for iterators) nkBreakState, # special break statement for easier code generation - nkFuncDef # a func + nkFuncDef, # a func + nkTupleConstr # a tuple constructor TNodeKinds* = set[TNodeKind] |