diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-20 01:07:34 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-20 01:07:34 +0100 |
commit | c5d8a5c1da9618d65ff08cb0ab6b084e07493b49 (patch) | |
tree | 558f4e7acd87dff73965f06827bcee284b639844 /rod | |
parent | 33fbf7fd03145d1de6023edee9c002aec982ffc7 (diff) | |
download | Nim-c5d8a5c1da9618d65ff08cb0ab6b084e07493b49.tar.gz |
Bugfix: empty echo statement
Diffstat (limited to 'rod')
-rwxr-xr-x | rod/semfold.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rod/semfold.nim b/rod/semfold.nim index 18975a604..1a55141c7 100755 --- a/rod/semfold.nim +++ b/rod/semfold.nim @@ -259,6 +259,8 @@ proc leValueConv(a, b: PNode): bool = proc magicCall(m: PSym, n: PNode): PNode = var s = n.sons[0].sym + if sonsLen(n) <= 1: return + var a = getConstExpr(m, n.sons[1]) var b, c: PNode if a == nil: return |