diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-05-12 02:01:16 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-05-12 02:01:16 +0300 |
commit | af081f995e41f052c63ad5468fbf00bb860de474 (patch) | |
tree | db1d53911c01f494fcc4af5e51ce95091d800e96 /compiler/semdata.nim | |
parent | 7a2b1a7520bb80cbef88ad9c3dc843cbe512a588 (diff) | |
download | Nim-af081f995e41f052c63ad5468fbf00bb860de474.tar.gz |
get rid of TOverloadIter.stackPtr
Diffstat (limited to 'compiler/semdata.nim')
-rw-r--r-- | compiler/semdata.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/semdata.nim b/compiler/semdata.nim index 390e3825d..41979fd1c 100644 --- a/compiler/semdata.nim +++ b/compiler/semdata.nim @@ -46,6 +46,7 @@ type TExprFlags* = set[TExprFlag] TScope* = object + depthLevel*: int symbols*: TStrTable parent*: PScope @@ -57,6 +58,7 @@ type currentScope*: PScope # current scope importTable*: PScope # scope for all imported symbols topLevelScope*: PScope # scope for all top-level symbols + scopeDepth*: int # number of open scopes p*: PProcCon # procedure context friendModule*: PSym # current friend module; may access private data; # this is used so that generic instantiations |