bugfix: exception tracking (still disabled)

This commit is contained in:
Araq 2012-11-01 19:57:48 +01:00
commit 224f42bbd7
3 changed files with 3 additions and 3 deletions

View file

@ -691,7 +691,7 @@ proc transformBody*(module: PSym, n: PNode, prc: PSym): PNode =
if nfTransf in n.flags or prc.kind in {skTemplate, skMacro}:
result = n
else:
when false: trackProc(prc, n)
when useEffectSystem: trackProc(prc, n)
var c = openTransf(module, "")
result = processTransf(c, n)
if prc.kind != skMacro: