clear the "what was the last language?" state when moving out of the module language

so that things get initialized properly when moving back into the module language.

closes PR 12493
(cherry picked from commit aaeb3db534)
This commit is contained in:
Robby Findler 2012-01-16 09:09:58 -06:00 committed by Ryan Culpepper
parent 1fc4085ec6
commit 1c924f02d1

View File

@ -140,6 +140,8 @@
[in-module-language?
(move-to-new-language)]
[else
(set! hash-lang-language #f)
(set! hash-lang-last-location #f)
(clear-things-out)])))
(define/public (move-to-new-language)