it's spelt callsite

This commit is contained in:
Andreas Rumpf 2019-02-22 18:28:40 +01:00
commit 15c208cd29
3 changed files with 5 additions and 4 deletions

View file

@ -186,7 +186,7 @@ proc evalTemplate*(n: PNode, tmpl, genSymOwner: PSym;
renderTree(result, {renderNoComments}))
else:
result = copyNode(body)
ctx.instLines = sfCallSideLineinfo in tmpl.flags
ctx.instLines = sfCallsite in tmpl.flags
if ctx.instLines:
result.info = n.info
for i in countup(0, safeLen(body) - 1):