Add support for using .prolog as a Prolog source file extension

This commit is contained in:
Paulo Moura 2013-11-08 00:40:14 +00:00
parent a3c9684714
commit 746aee16f7

View File

@ -206,8 +206,10 @@ yap_hacks:cut_by(CP) :- '$$cut_by'(CP).
user:prolog_file_type(yap, prolog).
user:prolog_file_type(pl, prolog).
user:prolog_file_type(prolog, prolog).
user:prolog_file_type(A, prolog) :-
current_prolog_flag(associate, A),
A \== prolog,
A \==pl,
A \== yap.
%user:prolog_file_type(qlf, prolog).