diff options
Diffstat (limited to 'compiler/semdata.nim')
-rwxr-xr-x | compiler/semdata.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/semdata.nim b/compiler/semdata.nim index 74e82db61..76ceafecf 100755 --- a/compiler/semdata.nim +++ b/compiler/semdata.nim @@ -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 |