fix regressions affecting the echo magic and the creating of rod files

the markAndSweep GC was not responsible for the regressions so
this commit restores its use
This commit is contained in:
Zahary Karadjov 2013-09-07 11:44:11 +03:00
commit f05ac0cb23
3 changed files with 5 additions and 3 deletions

View file

@ -686,7 +686,7 @@ proc semIndirectOp(c: PContext, n: PNode, flags: TExprFlags): PNode =
result = n.sons[0]
result.kind = nkCall
for i in countup(1, sonsLen(n) - 1): addSon(result, n.sons[i])
return semDirectOp(c, result, flags)
return semExpr(c, result, flags)
else:
n.sons[0] = semExpr(c, n.sons[0])
let nOrig = n.copyTree