diff options
author | Araq <rumpf_a@web.de> | 2011-06-11 17:03:45 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-06-11 17:03:45 +0200 |
commit | ec2bd53ead04bc2ea6b8d6186f5f28f253ff859d (patch) | |
tree | 55fdf00baef570e1ca1c1ca5c8f75f50f787ffd7 /compiler | |
parent | 922e216b86c1502567ee9a7ea7f3e684ed396bb5 (diff) | |
download | Nim-ec2bd53ead04bc2ea6b8d6186f5f28f253ff859d.tar.gz |
implemented tables.add
Diffstat (limited to 'compiler')
-rwxr-xr-x | compiler/transf.nim | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim index 6c3aea0b3..9e38822c7 100755 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -342,23 +342,15 @@ proc transformAddrDeref(c: PTransf, n: PNode, a, b: TNodeKind): PTransNode = var x = copyTree(n) x.sons[0].sons[0] = m.sons[0] result = transform(c, x.sons[0]) - - #result = newTransNode(n.sons[0]) - #result[0] = transform(c, m.sons[0]) else: result = transformSons(c, n) of nkHiddenStdConv, nkHiddenSubConv, nkConv: var m = n.sons[0].sons[1] if (m.kind == a) or (m.kind == b): # addr ( nkConv ( deref ( x ) ) ) --> nkConv(x) - var x = copyTree(n) x.sons[0].sons[1] = m.sons[0] result = transform(c, x.sons[0]) - - #result = newTransNode(n.sons[0]) - #result[1] = transform(c, m.sons[0]) - else: result = transformSons(c, n) else: |