change DrScheme module language to use namespace-require (like mzscheme/mred)

svn: r15963
This commit is contained in:
Matthew Flatt 2009-09-10 19:39:31 +00:00
parent a8ecb7fc09
commit 4c8b0b8b13

View File

@ -274,7 +274,7 @@
(parameterize ([current-namespace (current-namespace)])
;; the prompt makes it continue after an error
(call-with-continuation-prompt
(λ () (with-stack-checkpoint (dynamic-require modspec #f)))))
(λ () (with-stack-checkpoint (namespace-require modspec)))))
(current-namespace (module->namespace modspec))
(check-interactive-language))
;; here's where they're all combined with the module expression