aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-11-09 13:01:53 +0100
committerEmilio Jesus Gallego Arias2018-11-12 03:32:32 +0100
commita8a3aeb49f3627a65c86c92b0ed743f7bfcf9ffb (patch)
tree9f0e929522f2c46249200ff4e270833c014c0ec9 /lib
parent186d67228018a84a93de024971356249ddbde668 (diff)
[clib] Remove unneeded `get_extension` function.
This has been in OCaml since 4.04.
Diffstat (limited to 'lib')
-rw-r--r--lib/coqProject_file.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coqProject_file.ml b/lib/coqProject_file.ml
index d0b01453a0..7395654022 100644
--- a/lib/coqProject_file.ml
+++ b/lib/coqProject_file.ml
@@ -220,7 +220,7 @@ let process_cmd_line orig_dir proj args =
let f = CUnix.correct_path f orig_dir in
let proj =
if exists_dir f then { proj with subdirs = proj.subdirs @ [sourced f] }
- else match CUnix.get_extension f with
+ else match Filename.extension f with
| ".v" ->
{ proj with v_files = proj.v_files @ [sourced f] }
| ".ml" -> { proj with ml_files = proj.ml_files @ [sourced f] }