Racket: no errors ,entering an R5RS module
commit68a4e69aca1f8a84330def1ee24b2da6243419c0
authorJose Antonio Ortega Ruiz <jao@gnu.org>
Sun, 27 Feb 2011 12:14:30 +0000 (27 13:14 +0100)
committerJose Antonio Ortega Ruiz <jao@gnu.org>
Sun, 27 Feb 2011 12:14:30 +0000 (27 13:14 +0100)
tree5d44f050064058f7830677ab38d58a0da00d5495
parent8eac2e737ac4f7563c944f4cfec9e8075d307d78
Racket: no errors ,entering an R5RS module

The catch here is that one cannot use #%variable-reference inside an
R5RS module, and, as a consequence, namespace->module-path-name was
failing badly.  The solution is to take note of the module name being
entered before hand, and use that name in case of error (we could
actually use that name always, but then cheaters using Racket's enter!
would see an inconsistent name (which probably they deserve)).
scheme/racket/geiser/modules.rkt
scheme/racket/geiser/user.rkt