From 8e12d1fb573e1841a84b67289853b054aeafe5ac Mon Sep 17 00:00:00 2001 From: Billingsly Wetherfordshire Date: Thu, 25 Apr 2013 17:08:59 -0500 Subject: [PATCH] Update evals.nim --- compiler/evals.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/evals.nim b/compiler/evals.nim index 2a9fae5f06..3f5b7887a9 100644 --- a/compiler/evals.nim +++ b/compiler/evals.nim @@ -1099,7 +1099,7 @@ proc evalMagicOrCall(c: PEvalContext, n: PNode): PNode = result = evalAux(c, n.sons[2], {efLValue}) if isSpecial(result): return addSon(a, result) - result = emptyNode + result = a of mNAddMultiple: result = evalAux(c, n.sons[1], {efLValue}) if isSpecial(result): return @@ -1107,7 +1107,7 @@ proc evalMagicOrCall(c: PEvalContext, n: PNode): PNode = result = evalAux(c, n.sons[2], {efLValue}) if isSpecial(result): return for i in countup(0, sonsLen(result) - 1): addSon(a, result.sons[i]) - result = emptyNode + result = a of mNDel: result = evalAux(c, n.sons[1], {efLValue}) if isSpecial(result): return