fix abolish(a:_) (old mode).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@244 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
b30535b520
commit
4ae64918e0
@ -449,13 +449,13 @@ abolish(X) :-
|
||||
throw(error(type_error(predicate_indicator,T),abolish(M:T))).
|
||||
|
||||
'$abolish_all_old'(M) :-
|
||||
'$current_predicate'(Mod,Na,Ar),
|
||||
'$abolish'(Na, Ar, Mod),
|
||||
'$current_predicate'(M, Na, Ar),
|
||||
'$abolish'(Na, Ar, M),
|
||||
fail.
|
||||
'$abolish_all_old'.
|
||||
'$abolish_all_old'(_).
|
||||
|
||||
'$abolish_all_atoms_old'(Na, M) :-
|
||||
'$current_predicate'(M,Na,Ar),
|
||||
'$current_predicate'(M, Na, Ar),
|
||||
'$abolish'(Na, Ar, M),
|
||||
fail.
|
||||
'$abolish_all_atoms_old'(_,_).
|
||||
|
Reference in New Issue
Block a user