diff options
author | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2014-04-08 20:12:36 +0200 |
---|---|---|
committer | Pierre Boutillier <pierre.boutillier@ens-lyon.org> | 2014-04-09 22:50:36 +0200 |
commit | b89502c9f2bf56ee89b7e280815c339ef7b8947c (patch) | |
tree | 35f9cd1d3371d52026e72c33c6b6c5480c05af27 | |
parent | 24ea28b87f0227582ae29ea6bb485812c6b641eb (diff) |
Revert "Revert part of eba6b75 as coq_makefile ignores -I if it overlaps with -R. (Fix for Rocq/Rational.)"
This reverts commit 7d3ce4012a53b123dac95381bf46aac65f865d69.
Conflicts:
CHANGES
-rw-r--r-- | CHANGES | 7 | ||||
-rw-r--r-- | toplevel/mltop.ml | 1 |
2 files changed, 5 insertions, 3 deletions
@@ -99,8 +99,11 @@ Tools the load path and the ml path, use -I -as. - Option -Q behaves as -I -as and -R, except that the logical path of any loaded file has to be fully qualified. -- Option -nois loads coq/theories and coq/plugins as if using -Q rather - than -R. (Same behavior as with coq/user-contrib.) +- Option -R no longer adds recursively to the ml path; only the root + directory is added. (Behavior with respect to the load path is + unchanged.) +- Option -nois prevents coq/theories and coq/plugins to be recursively + added to the load path. (Same behavior as with coq/user-contrib.) Internal Infrastructure diff --git a/toplevel/mltop.ml b/toplevel/mltop.ml index 458fe8ef0..196ab98ed 100644 --- a/toplevel/mltop.ml +++ b/toplevel/mltop.ml @@ -180,7 +180,6 @@ let add_rec_path ~unix_path ~coq_root ~implicit = with Exit -> None in let dirs = List.map_filter convert_dirs dirs in - let () = List.iter (fun lpe -> add_ml_dir (fst lpe)) dirs in let () = add_ml_dir unix_path in let add (path, dir) = Loadpath.add_load_path path Loadpath.ImplicitPath dir in |