debugger fixes
make sure we always go back to current module, even during initizlization. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1062 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -96,7 +96,7 @@ p_current_module(void)
|
||||
if (IsVarTerm(t) || !IsAtomTerm(t))
|
||||
return FALSE;
|
||||
if (t == TermProlog) {
|
||||
CurrentModule = 0;
|
||||
CurrentModule = PROLOG_MODULE;
|
||||
} else {
|
||||
CurrentModule = t;
|
||||
LookupModule(CurrentModule);
|
||||
|
Reference in New Issue
Block a user