1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-15 18:20:42 +02:00

enter into the (guile) module when compiling boot-9.scm

* ice-9/boot-9.scm: Before doing very much, put us into the (guile)
  module when compiling. This avoids some circularity in the module boot
  process, whereby symbols are seen to resolve to the (guile-user)
  module, whereas in fact they originally pertain to the (guile) module.
This commit is contained in:
Andy Wingo 2008-09-01 23:37:15 -07:00
parent c09346521e
commit 115b9ee8ab

View file

@ -125,6 +125,14 @@
;; Before compiling, make sure any symbols are resolved in the (guile)
;; module, the primary location of those symbols, rather than in
;; (guile-user), the default module that we compile in.
(eval-case
((compile-toplevel)
(set-current-module (resolve-module '(guile)))))
;;; {Defmacros} ;;; {Defmacros}
;;; ;;;
;;; Depends on: features, eval-case ;;; Depends on: features, eval-case