fix for multifile/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@742 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
ef3c860fdc
commit
66650c39cb
@ -200,6 +200,9 @@ no_style_check([H|T]) :- no_style_check(H), no_style_check(T).
|
|||||||
'$is_multifile'(S, M), !.
|
'$is_multifile'(S, M), !.
|
||||||
'$multifile'(N/A, M) :- !,
|
'$multifile'(N/A, M) :- !,
|
||||||
'$new_multifile'(N,A,M).
|
'$new_multifile'(N,A,M).
|
||||||
|
'$multifile'([H|T], M) :- !,
|
||||||
|
'$multifile'(H,M),
|
||||||
|
'$multifile'(T,M).
|
||||||
'$multifile'(P, M) :-
|
'$multifile'(P, M) :-
|
||||||
'$do_error'(type_error(predicate_indicator,P),multifile(M:P)).
|
'$do_error'(type_error(predicate_indicator,P),multifile(M:P)).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user