Fixed bug with loading modules
Do not forget to remember loaded modules
This commit is contained in:
parent
fd347cb4e4
commit
b47dc918ec
|
@ -114,6 +114,7 @@ let _load_module modul =
|
||||||
of the compiler.@\nPlease recompile %s.ept first.@."
|
of the compiler.@\nPlease recompile %s.ept first.@."
|
||||||
filename name;
|
filename name;
|
||||||
raise Errors.Error );
|
raise Errors.Error );
|
||||||
|
g_env.loaded_mod <- modul::g_env.loaded_mod;
|
||||||
_append_module mo
|
_append_module mo
|
||||||
with
|
with
|
||||||
| Compiler_utils.Cannot_find_file(f) ->
|
| Compiler_utils.Cannot_find_file(f) ->
|
||||||
|
|
Loading…
Reference in a new issue