Bugfix: strutils.delete
This commit is contained in:
parent
c5d8a5c1da
commit
7d6de1cf90
3 changed files with 19 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue