Fixed bug with loading modules

Do not forget to remember loaded modules
This commit is contained in:
Cédric Pasteur 2011-05-02 14:27:42 +02:00
parent fd347cb4e4
commit b47dc918ec

View file

@ -114,6 +114,7 @@ let _load_module modul =
of the compiler.@\nPlease recompile %s.ept first.@."
filename name;
raise Errors.Error );
g_env.loaded_mod <- modul::g_env.loaded_mod;
_append_module mo
with
| Compiler_utils.Cannot_find_file(f) ->