use module in RunOnce.
This commit is contained in:
parent
17c3a16d35
commit
32ebfe00fd
2
C/exec.c
2
C/exec.c
@ -1264,7 +1264,7 @@ Yap_RunTopGoal(Term t)
|
||||
/* I cannot use the standard macro here because
|
||||
otherwise I would dereference the argument and
|
||||
might skip a svar */
|
||||
pe = PredPropByFunc(f, CurrentModule);
|
||||
pe = PredPropByFunc(f, mod);
|
||||
pt = RepAppl(t)+1;
|
||||
arity = ArityOfFunctor(f);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user