Bugfix: strutils.delete

This commit is contained in:
Andreas Rumpf 2010-03-20 11:00:30 +01:00
commit 7d6de1cf90
3 changed files with 19 additions and 8 deletions

View file

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