fix call(\+ !).

This commit is contained in:
Vitor Santos Costa 2010-02-26 10:03:32 +00:00
parent daa55352ec
commit 61eb299ba5

View File

@ -879,6 +879,7 @@ not(G) :- \+ '$execute'(G).
'$call'(B,CP,G0,M)
).
'$call'(\+ X, _CP, _G0, M) :- !,
yap_hacks:current_choicepoint(CP),
\+ '$call'(X,CP,G0,M).
'$call'(not(X), _CP, _G0, M) :- !,
\+ '$call'(X,CP,G0,M).