summary refs log tree commit diff stats
path: root/rod
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-03-20 11:00:30 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2010-03-20 11:00:30 +0100
commit7d6de1cf90858700733091b9a592b2fac7549af5 (patch)
tree167b22158117fd736deeeb0584884c4b5a059a40 /rod
parentc5d8a5c1da9618d65ff08cb0ab6b084e07493b49 (diff)
downloadNim-7d6de1cf90858700733091b9a592b2fac7549af5.tar.gz
Bugfix: strutils.delete
Diffstat (limited to 'rod')
-rwxr-xr-xrod/semfold.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/rod/semfold.nim b/rod/semfold.nim
index 1a55141c7..7aa6da1a6 100755
--- a/rod/semfold.nim
+++ b/rod/semfold.nim
@@ -258,9 +258,9 @@ proc leValueConv(a, b: PNode): bool =
   else: InternalError(a.info, "leValueConv")
   
 proc magicCall(m: PSym, n: PNode): PNode =
-  var s = n.sons[0].sym
   if sonsLen(n) <= 1: return
-  
+
+  var s = n.sons[0].sym
   var a = getConstExpr(m, n.sons[1])
   var b, c: PNode
   if a == nil: return