understand more formats

This commit is contained in:
Vítor Santos Costa 2016-02-26 17:42:37 +00:00
parent e9712bc9ab
commit 6ceb0bf9f3
1 changed files with 7 additions and 0 deletions

View File

@ -654,6 +654,13 @@ user:prolog_file_type(A, prolog) :-
A \== pl,
A \== yap.
user:prolog_file_type(qly, qly).
user:prolog_file_type(c, c).
user:prolog_file_type(h, c).
user:prolog_file_type(py, python).
user:prolog_file_type(r, 'R').
user:prolog_file_type(cc, 'c++').
user:prolog_file_type(hh, 'c++').
user:prolog_file_type(java, 'c++').
user:prolog_file_type(A, executable) :-
current_prolog_flag(shared_object_extension, A).