fix previous patch to handle ! in disjunction
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@203 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
4f274d67a8
commit
ac30bcff67
19
pl/boot.yap
19
pl/boot.yap
@ -652,19 +652,14 @@ incore(G) :- '$execute'(G).
|
||||
'$execute_within'(A),
|
||||
'$last_execute_within'(B).
|
||||
|
||||
';'((A->B),C) :- !,
|
||||
( '$execute_within'(A) -> '$execute_within'(B) ;
|
||||
'$execute_within'(C) ).
|
||||
';'(A,B) :-
|
||||
( '$execute_within'(A) ;
|
||||
'$execute_within'(B) ).
|
||||
';'(A,B) :- ((A = ( T->G) -> '$execute_within'(T), !, '$execute_within'(G) ;
|
||||
'$execute_within'(A) );
|
||||
'$execute_within'(B) ).
|
||||
|
||||
'|'(A,B) :- ((A = ( T->G) -> '$execute_within'(T), !, '$execute_within'(G) ;
|
||||
'$execute_within'(A) );
|
||||
'$execute_within'(B) ).
|
||||
|
||||
'|'((A->B),C) :- !,
|
||||
( '$execute_within'(A) -> '$execute_within'(B) ;
|
||||
'$execute_within'(C) ).
|
||||
'|'(A,B) :-
|
||||
( '$execute_within'(A) ;
|
||||
'$execute_within'(B) ).
|
||||
|
||||
'->'(A,B) :-
|
||||
( '$execute_within'(A) ->
|
||||
|
Reference in New Issue
Block a user