use module in RunOnce.

This commit is contained in:
Vítor Santos Costa 2011-12-13 22:20:28 +00:00
parent 17c3a16d35
commit 32ebfe00fd

View File

@ -1264,7 +1264,7 @@ Yap_RunTopGoal(Term t)
/* I cannot use the standard macro here because /* I cannot use the standard macro here because
otherwise I would dereference the argument and otherwise I would dereference the argument and
might skip a svar */ might skip a svar */
pe = PredPropByFunc(f, CurrentModule); pe = PredPropByFunc(f, mod);
pt = RepAppl(t)+1; pt = RepAppl(t)+1;
arity = ArityOfFunctor(f); arity = ArityOfFunctor(f);
} else { } else {