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:
vsc 2001-11-26 19:34:27 +00:00
parent 4f274d67a8
commit ac30bcff67

View File

@ -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) ->