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
1 changed files with 4 additions and 2 deletions

View File

@ -206,9 +206,11 @@ 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\==pl,
current_prolog_flag(associate, A),
A \== prolog,
A \==pl,
A \== yap.
%user:prolog_file_type(qlf, prolog).
%user:prolog_file_type(qlf, qlf).