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

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;