weird module stuff

This commit is contained in:
Vitor Santos Costa
2015-04-15 11:45:49 +01:00
parent b97fa48cd2
commit 800289f7bb
3 changed files with 2 additions and 3 deletions

2
.gitmodules vendored
View File

@@ -15,7 +15,7 @@
url = git://git.code.sf.net/p/yap/http
[submodule "packages/clib"]
path = packages/clib
url = git://git.code.sf.net/p/yap/clib
url = sssh://git.code.sf.net/p/yap/clib
[submodule "packages/sgml"]
path = packages/sgml
url = git://git.code.sf.net/p/yap/sgml

View File

@@ -3057,7 +3057,6 @@ YAP_Init(YAP_init_args *yap_init)
Term t_goal = MkAtomTerm(AtomInitProlog);
YAP_RunGoalOnce(t_goal);
Yap_InitYaamRegs( 0 );
CurrentModule = LOCAL_SourceModule = USER_MODULE;
return YAP_BOOT_FROM_SAVED_CODE;
} else {
CurrentModule = LOCAL_SourceModule = USER_MODULE;