diff options
author | Araq <rumpf_a@web.de> | 2011-04-11 21:42:28 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-04-11 21:42:28 +0200 |
commit | 3d696c3da53e5c41d839d8265fbc94f1c64980bb (patch) | |
tree | 4e9160d62abb1d847eb60730038ab74d5bbff995 /rod/transf.nim | |
parent | fc6cc79273f75983e57c43c2a19016e5881ee2b7 (diff) | |
download | Nim-3d696c3da53e5c41d839d8265fbc94f1c64980bb.tar.gz |
p[] instead of p^
Diffstat (limited to 'rod/transf.nim')
-rwxr-xr-x | rod/transf.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/transf.nim b/rod/transf.nim index d2e6f8c69..db5146bb5 100755 --- a/rod/transf.nim +++ b/rod/transf.nim @@ -535,7 +535,7 @@ proc indirectAccess(a, b: PSym): PNode = # returns a^ .b as a node var x = newSymNode(a) var y = newSymNode(b) - var deref = newNodeI(nkDerefExpr, x.info) + var deref = newNodeI(nkHiddenDeref, x.info) deref.typ = x.typ.sons[0] addSon(deref, x) result = newNodeI(nkDotExpr, x.info) |