rewrite define-module as a syntax-case macro
authorAndy Wingo <wingo@pobox.com>
Mon, 3 May 2010 13:38:29 +0000 (15:38 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 3 May 2010 15:02:45 +0000 (17:02 +0200)
commit074e036ee25e34cb4002b5a1d4045896bb50a3e4
tree52010d35dbdd24ad7dcec54032c97f43e0cfe995
parenta40e1c9078aa8b2adc73f303f0d3686a0a477405
rewrite define-module as a syntax-case macro

* module/ice-9/boot-9.scm (define-module): Rewrite as a syntax-case
  macro, so that the expansion has proper module hygiene. Otherwise
  process-define-module isn't properly resolved against the root module
  -- a bytecode file that starts with a define-module would just try to
  look up process-define-module from the current module.
  (compile-define-module-args): Remove. Internal, and no one else used
  it.
module/ice-9/boot-9.scm