module-variable accesses pre-module-obarray if module is #f
authorAndy Wingo <wingo@pobox.com>
Tue, 2 Sep 2008 07:49:17 +0000 (00:49 -0700)
committerAndy Wingo <wingo@pobox.com>
Sun, 7 Sep 2008 20:27:18 +0000 (22:27 +0200)
commit73dea589ca6eb3361cf9583a09f8272f546ee3bf
treed7fd5c05298ab5ab029c9f74acc48d775dae2ce1
parent53f84bc8b55efb648e181ded6b973ea87d32d026
module-variable accesses pre-module-obarray if module is #f

* libguile/modules.c (module-variable): If module is #f, access the
  pre-modules-array. This is so that nested-ref can work before the
  module system is booted, I think.

  Of course all of these dependency lines during bootstrap are just to
  make sure the system can be booted properly, either interpreted or
  compiled, so there's no one right way: there are many ways that could
  work.
libguile/modules.c