fix non-initial call to scheme_basic_env

When an embedding application calls `scheme_basic_env` a
second time, it's supposed to reset the main namespace, but
the new expander wasn't reset correctly.
This commit is contained in:
Matthew Flatt 2018-06-16 15:48:22 -06:00
parent d2a69d6384
commit 96161f68eb

View File

@ -146,6 +146,9 @@ Scheme_Env *scheme_restart_instance()
scheme_init_logger_config();
scheme_init_exn_config();
scheme_startup_instance = scheme_make_instance(scheme_intern_symbol("startup"), scheme_false);
scheme_init_startup_instance(scheme_startup_instance);
boot_module_resolver();
scheme_init_resolver_config();