diff options
| author | Guillaume Melquiond | 2014-04-07 19:36:55 +0200 |
|---|---|---|
| committer | Guillaume Melquiond | 2014-04-07 19:38:48 +0200 |
| commit | 7d3ce4012a53b123dac95381bf46aac65f865d69 (patch) | |
| tree | e408eff343dce996f1f2bd267d78e8f2c61b1c72 | |
| parent | 4fdfc180bb2de6430537c7cff5d32b36c7bb8354 (diff) | |
Revert part of eba6b75 as coq_makefile ignores -I if it overlaps with -R. (Fix for Rocq/Rational.)
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | toplevel/mltop.ml | 1 |
2 files changed, 1 insertions, 3 deletions
@@ -97,9 +97,6 @@ Tools - Option -I now only adds directories to the ml path. To add to both the load path and the ml path, use -I -as. -- 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.) diff --git a/toplevel/mltop.ml b/toplevel/mltop.ml index cc9aa59aa4..e0cb2209d5 100644 --- a/toplevel/mltop.ml +++ b/toplevel/mltop.ml @@ -178,6 +178,7 @@ let add_rec_path ~unix_path ~coq_root = 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 false dir in let () = List.iter add dirs in |
