aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/coqdep.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/coqdep.ml')
-rw-r--r--tools/coqdep.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coqdep.ml b/tools/coqdep.ml
index 4569994b4..26a2b2696 100644
--- a/tools/coqdep.ml
+++ b/tools/coqdep.ml
@@ -464,7 +464,7 @@ let split_period = Str.split (Str.regexp (Str.quote "."))
let treat_coqproject f =
let open CoqProject_file in
let project = read_project_file f in
- List.iter (treat_file None) project.v_files
+ List.iter (fun f -> treat_file None f.thing) project.v_files
let rec parse = function
| "-c" :: ll -> option_c := true; parse ll