Bugfix: empty echo statement

This commit is contained in:
Andreas Rumpf 2010-03-20 01:07:34 +01:00
commit c5d8a5c1da
5 changed files with 19 additions and 23 deletions

View file

@ -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