added system.compiles
This commit is contained in:
parent
43f057c5aa
commit
1c6f14deee
8 changed files with 65 additions and 5 deletions
|
|
@ -63,6 +63,7 @@ type
|
|||
# store this info in the syms themselves!)
|
||||
InGenericContext*: int # > 0 if we are in a generic
|
||||
InUnrolledContext*: int # > 0 if we are unrolling a loop
|
||||
InCompilesContext*: int # > 0 if we are in a ``compiles`` magic
|
||||
converters*: TSymSeq # sequence of converters
|
||||
optionStack*: TLinkedList
|
||||
libs*: TLinkedList # all libs used by this module
|
||||
|
|
@ -100,7 +101,7 @@ proc PushOwner*(owner: PSym)
|
|||
proc PopOwner*()
|
||||
# implementation
|
||||
|
||||
var gOwners: seq[PSym] = @[]
|
||||
var gOwners*: seq[PSym] = @[]
|
||||
|
||||
proc getCurrOwner(): PSym =
|
||||
# owner stack (used for initializing the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue