improvements for TR macros

This commit is contained in:
Araq
2013-09-17 23:43:07 +02:00
parent 823cb494a5
commit 9de3bc8ef6
6 changed files with 53 additions and 21 deletions

View File

@@ -85,6 +85,7 @@ type
# naming it multiple times
generics*: seq[TInstantiationPair] # pending list of instantiated generics to compile
lastGenericIdx*: int # used for the generics stack
hloLoopDetector*: int # used to prevent endless loops in the HLO
proc makeInstPair*(s: PSym, inst: PInstantiation): TInstantiationPair =
result.genericSym = s