diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-12 16:35:59 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-12 16:35:59 +0200 |
commit | ce859d8c166595184832b4bbfb663cba2fc68901 (patch) | |
tree | ab6de5c671c6caa848be73a8d15159cce24337d4 /compiler/evaltempl.nim | |
parent | 05724645f815bea56a65bd78a9f2228811573413 (diff) | |
download | Nim-ce859d8c166595184832b4bbfb663cba2fc68901.tar.gz |
more modules compile again
Diffstat (limited to 'compiler/evaltempl.nim')
-rw-r--r-- | compiler/evaltempl.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/evaltempl.nim b/compiler/evaltempl.nim index 2133701e6..311bb6539 100644 --- a/compiler/evaltempl.nim +++ b/compiler/evaltempl.nim @@ -114,7 +114,7 @@ proc evalTemplateArgs(n: PNode, s: PSym; conf: ConfigRef; fromHlo: bool): PNode # to prevent endless recursion in template instantiation const evalTemplateLimit* = 1000 -var evalTemplateCounter* = 0 +var evalTemplateCounter* = 0 # XXX remove this global proc wrapInComesFrom*(info: TLineInfo; sym: PSym; res: PNode): PNode = when true: |