diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2015-02-12 18:51:14 +0100 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2015-02-12 18:51:14 +0100 |
commit | 9daec838c8896e7c1048b42d01eba0c71c912f00 (patch) | |
tree | b27a12e165d2c5b8c1b4d3171f961b8a5025bbb3 /checker/checker.ml | |
parent | bff2b36cb0e2dbd02c4f181fba545a420e847767 (diff) |
Revert "Capital letter in plugins." (Sorry, was not intended to be pushed)
This reverts commit bff2b36cb0e2dbd02c4f181fba545a420e847767.
Diffstat (limited to 'checker/checker.ml')
-rw-r--r-- | checker/checker.ml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/checker/checker.ml b/checker/checker.ml index 263b8785a..360f99649 100644 --- a/checker/checker.ml +++ b/checker/checker.ml @@ -93,12 +93,6 @@ let add_rec_path ~unix_path ~coq_root = else msg_warning (str ("Cannot open " ^ unix_path)) -let add_rec_uppercase_subpaths ~unix_path ~coq_root = - Systemdirs.process_subdirectories (fun unix_path f -> - let id = Names.Id.of_string (String.capitalize f) in - let coq_root = DirPath.make (id :: DirPath.repr coq_root) in - add_rec_path ~unix_path ~coq_root) unix_path - (* By the option -include -I or -R of the command line *) let includes = ref [] let push_include (s, alias) = includes := (s,alias,false) :: !includes @@ -124,7 +118,7 @@ let init_load_path () = (* first standard library *) add_rec_path ~unix_path:(coqlib/"theories") ~coq_root:(Names.DirPath.make[coq_root]); (* then plugins *) - add_rec_uppercase_subpaths ~unix_path:plugins ~coq_root:(Names.DirPath.make[coq_root]); + add_rec_path ~unix_path:plugins ~coq_root:(Names.DirPath.make [coq_root]); (* then user-contrib *) if Sys.file_exists user_contrib then add_rec_path ~unix_path:user_contrib ~coq_root:Check.default_root_prefix; |