diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-20 11:00:30 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-20 11:00:30 +0100 |
commit | 7d6de1cf90858700733091b9a592b2fac7549af5 (patch) | |
tree | 167b22158117fd736deeeb0584884c4b5a059a40 /rod | |
parent | c5d8a5c1da9618d65ff08cb0ab6b084e07493b49 (diff) | |
download | Nim-7d6de1cf90858700733091b9a592b2fac7549af5.tar.gz |
Bugfix: strutils.delete
Diffstat (limited to 'rod')
-rwxr-xr-x | rod/semfold.nim | 4 |
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 |