skip early_print
This commit is contained in:
parent
12664254e9
commit
f6a90c0cac
@ -31,7 +31,10 @@ meta_predicate declaration
|
|||||||
|
|
||||||
:- dynamic prolog:'$meta_predicate'/4.
|
:- dynamic prolog:'$meta_predicate'/4.
|
||||||
|
|
||||||
:- multifile prolog:'$meta_predicate'/4, '$inline'/2.
|
:- multifile prolog:'$meta_predicate'/4,
|
||||||
|
'$inline'/2,
|
||||||
|
'$full_clause_optimisation'/4.
|
||||||
|
|
||||||
|
|
||||||
'$meta_predicate'(M:P) :-
|
'$meta_predicate'(M:P) :-
|
||||||
var(P),
|
var(P),
|
||||||
@ -425,7 +428,7 @@ o:p(B) :- n:g, X is 2+3, call(B).
|
|||||||
recorded('$import','$import'(NM,Mod,NH,H,_,_),R),
|
recorded('$import','$import'(NM,Mod,NH,H,_,_),R),
|
||||||
NM \= Mod,
|
NM \= Mod,
|
||||||
functor(NH,N,Ar),
|
functor(NH,N,Ar),
|
||||||
'$early_print'(warning,redefine_imported(Mod,NM,N/Ar)),
|
print_message(warning,redefine_imported(Mod,NM,N/Ar)),
|
||||||
erase(R),
|
erase(R),
|
||||||
fail.
|
fail.
|
||||||
'$not_imported'(_, _).
|
'$not_imported'(_, _).
|
||||||
|
Reference in New Issue
Block a user