much simpler implementation of constant tuple declarations

This commit is contained in:
Andreas Rumpf 2018-12-19 11:11:33 +01:00
commit 3300c8a500
4 changed files with 33 additions and 55 deletions

View file

@ -222,8 +222,7 @@ type
nkState, # give a label to a code section (for iterators)
nkBreakState, # special break statement for easier code generation
nkFuncDef, # a func
nkTupleConstr, # a tuple constructor
nkConstTuple # a ``const (a, b) = expr`` construct
nkTupleConstr # a tuple constructor
TNodeKinds* = set[TNodeKind]