preparations for the new symbol binding rules for clean templates

This commit is contained in:
Araq 2013-05-18 10:05:06 +02:00
commit ce5a1365c2
3 changed files with 4 additions and 3 deletions

View file

@ -163,7 +163,7 @@ proc genClosureCall(p: BProc, le, ri: PNode, d: var TLoc) =
app(pl, genArgNoParam(p, ri.sons[i]))
if i < length - 1: app(pl, ~", ")
template genCallPattern =
template genCallPattern {.dirty.} =
lineF(p, cpsStmts, CallPattern & ";$n", op.r, pl, pl.addComma, rawProc)
let rawProc = getRawProcType(p, typ)