aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-12 13:47:53 +0100
committerPierre-Marie Pédrot2018-11-12 13:47:53 +0100
commit78ab6a5263d3d0dd4da300fcfb87c5e896acc153 (patch)
tree9f0e929522f2c46249200ff4e270833c014c0ec9 /lib
parent186d67228018a84a93de024971356249ddbde668 (diff)
parenta8a3aeb49f3627a65c86c92b0ed743f7bfcf9ffb (diff)
Merge PR #8958: [clib] Remove unneeded `get_extension` function.
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] }