fix leap over meta-predicates.
This commit is contained in:
parent
168a6366f8
commit
95281f78ee
@ -191,11 +191,21 @@
|
|||||||
Run \= off,
|
Run \= off,
|
||||||
'$zip'(-1, G, Mod), !,
|
'$zip'(-1, G, Mod), !,
|
||||||
'$signal_creep',
|
'$signal_creep',
|
||||||
'$execute_nonstop'(G,Mod).
|
'$execute_goal'(G, Mod).
|
||||||
'$start_creep'([Mod|G]) :-
|
'$start_creep'([Mod|G]) :-
|
||||||
CP is '$last_choice_pt',
|
CP is '$last_choice_pt',
|
||||||
'$do_spy'(G, Mod, CP, no).
|
'$do_spy'(G, Mod, CP, no).
|
||||||
|
|
||||||
|
'$execute_goal'(G, Mod) :-
|
||||||
|
(
|
||||||
|
'$is_metapredicate'(G, Mod)
|
||||||
|
->
|
||||||
|
'$meta_call'(G,Mod)
|
||||||
|
;
|
||||||
|
'$execute_nonstop'(G,Mod)
|
||||||
|
).
|
||||||
|
|
||||||
|
|
||||||
'$signal_do'(Sig, Goal) :-
|
'$signal_do'(Sig, Goal) :-
|
||||||
recorded('$signal_handler', action(Sig,Goal), _), !.
|
recorded('$signal_handler', action(Sig,Goal), _), !.
|
||||||
'$signal_do'(Sig, Goal) :-
|
'$signal_do'(Sig, Goal) :-
|
||||||
|
Reference in New Issue
Block a user