fixes lots of regressions

This commit is contained in:
Araq 2013-06-29 10:04:18 +02:00
commit 1bdc0d1dd3
5 changed files with 20 additions and 15 deletions

View file

@ -702,7 +702,7 @@ proc openTransf(module: PSym, filename: string): PTransf =
result.module = module
proc transformBody*(module: PSym, n: PNode, prc: PSym): PNode =
if nfTransf in n.flags or prc.kind in {skTemplate, skMacro}:
if nfTransf in n.flags or prc.kind in {skTemplate}:
result = n
else:
#when useEffectSystem: trackProc(prc, n)