summary refs log tree commit diff stats
path: root/rod/transf.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-14 21:20:35 +0100
committerAraq <rumpf_a@web.de>2011-02-14 21:20:35 +0100
commit5c7e3efbc3bfe489d3233309449a43a0fdf51195 (patch)
treebf58507a204f474d9c8a209aa75b00683574308e /rod/transf.nim
parent55c40746474cff452c09fa9c1244e3d0c7b3ad21 (diff)
downloadNim-5c7e3efbc3bfe489d3233309449a43a0fdf51195.tar.gz
bugfix: readline wrapper; bugfix: evaluation of type conversions
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 49369bb74..5b62c7f16 100755
--- a/rod/transf.nim
+++ b/rod/transf.nim
@@ -720,7 +720,7 @@ proc transform(c: PTransf, n: PNode): PTransNode =
     result = transformSons(c, n)
   var cnst = getConstExpr(c.module, PNode(result))
   if cnst != nil: 
-    result = PTransNode(cnst) # do not miss an optimization
+    result = PTransNode(cnst) # do not miss an optimization  
  
 proc processTransf(context: PPassContext, n: PNode): PNode = 
   # Note: For interactive mode we cannot call 'passes.skipCodegen' and skip