fix change in undef.

This commit is contained in:
Vítor Santos Costa 2014-10-11 14:09:40 +01:00
parent e3e1bcaca8
commit b40a5a7837
1 changed files with 1 additions and 1 deletions

View File

@ -900,7 +900,7 @@ be lost.
( '$do_spy'(Cl, M, CP, debugger) ; InRedo = true ).
'$spycall_expanded'(G, M, CalledFromDebugger, InRedo) :-
'$undefined'(G, M), !,
'$find_goal_definition'(M, G, NM, Goal),
'$get_undefined_pred'(G, M, Goal, NM), NM \= M,
'$spycall'(Goal, NM, CalledFromDebugger, InRedo).
'$spycall_expanded'(G, M, _, InRedo) :-
% I lost control here.