summary refs log tree commit diff stats
path: root/rod/transf.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-04-11 21:42:28 +0200
committerAraq <rumpf_a@web.de>2011-04-11 21:42:28 +0200
commit3d696c3da53e5c41d839d8265fbc94f1c64980bb (patch)
tree4e9160d62abb1d847eb60730038ab74d5bbff995 /rod/transf.nim
parentfc6cc79273f75983e57c43c2a19016e5881ee2b7 (diff)
downloadNim-3d696c3da53e5c41d839d8265fbc94f1c64980bb.tar.gz
p[] instead of p^
Diffstat (limited to 'rod/transf.nim')
-rwxr-xr-xrod/transf.nim2
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)