macros are now checked to not produce cyclic ASTs
This commit is contained in:
parent
6656f0d713
commit
4ec39b6a8f
2 changed files with 13 additions and 2 deletions
|
|
@ -121,7 +121,6 @@ proc wrapInComesFrom*(info: TLineInfo; res: PNode): PNode =
|
|||
else:
|
||||
result = newNodeI(nkPar, info)
|
||||
result.add res
|
||||
result.flags.incl nfNone
|
||||
|
||||
proc evalTemplate*(n: PNode, tmpl, genSymOwner: PSym; fromHlo=false): PNode =
|
||||
inc(evalTemplateCounter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue