fix some throws
fix shell/1 and shell/2 in system library. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@539 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -41,9 +41,9 @@
|
||||
'$suspy'(A,S,M) :- atom(A), !,
|
||||
'$suspy_predicates_by_name'(A,S,M).
|
||||
'$suspy'(P,spy,M) :- !,
|
||||
throw(error(domain_error(predicate_spec,P)),spy(M:P)).
|
||||
throw(error(domain_error(predicate_spec,P),spy(M:P))).
|
||||
'$suspy'(P,nospy,M) :-
|
||||
throw(error(domain_error(predicate_spec,P)),nospy(M:P)).
|
||||
throw(error(domain_error(predicate_spec,P),nospy(M:P))).
|
||||
|
||||
'$suspy_predicates_by_name'(A,S,M) :-
|
||||
% just check one such predicate exists
|
||||
|
Reference in New Issue
Block a user