summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Shinwell <mshinwell@janestreet.com>2015-11-30 17:20:18 +0000
committerMark Shinwell <mshinwell@janestreet.com>2015-11-30 17:20:18 +0000
commit0f901d769ad471710162ab69e7fd69cafc1ba718 (patch)
treea6a407c2c35f856c121c0aa21059b458743ff6c1
parent5ca6b2b5cf5039856d923eef39959556ba78ab7e (diff)
downloadocaml-0f901d769ad471710162ab69e7fd69cafc1ba718.tar.gz
compilation fix
-rw-r--r--tools/ocamldep.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocamldep.ml b/tools/ocamldep.ml
index b14d5d1aa1..b731cf0c4f 100644
--- a/tools/ocamldep.ml
+++ b/tools/ocamldep.ml
@@ -366,7 +366,7 @@ let mli_file_dependencies source_file =
end
let process_file_as process_fun def source_file =
- Compenv.readenv ppf Before_compile;
+ Compenv.readenv ppf (Before_compile source_file);
load_path := [];
List.iter add_to_load_path (
(!Compenv.last_include_dirs @