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/sem.nim | |
parent | 7a2b1a7520bb80cbef88ad9c3dc843cbe512a588 (diff) | |
download | Nim-af081f995e41f052c63ad5468fbf00bb860de474.tar.gz |
get rid of TOverloadIter.stackPtr
Diffstat (limited to 'compiler/sem.nim')
-rw-r--r-- | compiler/sem.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim index ff5e3d540..21ba64a85 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -282,6 +282,7 @@ proc RecoverContext(c: PContext) = # faster than wrapping every stack operation in a 'try finally' block and # requires far less code. c.currentScope = c.topLevelScope + c.scopeDepth = 2 # importTable and top-level scope while getCurrOwner().kind != skModule: popOwner() while c.p != nil and c.p.owner.kind != skModule: c.p = c.p.next |