'bind' as a declarative statement

This commit is contained in:
Araq 2011-10-10 02:04:15 +02:00
commit 51e01879ba
18 changed files with 204 additions and 93 deletions

View file

@ -822,7 +822,7 @@ proc evalTemplateArgs(n: PNode, s: PSym): PNode =
addSon(result, arg)
var evalTemplateCounter = 0
# to prevend endless recursion in templates instantation
# to prevent endless recursion in templates instantation
proc evalTemplate(n: PNode, sym: PSym): PNode =
inc(evalTemplateCounter)