summaryrefslogtreecommitdiff
path: root/tools/depend.ml
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2014-01-21 16:47:05 +0000
committerAlain Frisch <alain@frisch.fr>2014-01-21 16:47:05 +0000
commit5d99ea517734409c399971fecc0fe2dadc208871 (patch)
treefee8bc27185df7bbf195d1794ddd3dcd21a7c63b /tools/depend.ml
parentdf68b1746095cbc240cc70ea5172d9c401849ecb (diff)
downloadocaml-5d99ea517734409c399971fecc0fe2dadc208871.tar.gz
Fix dependency analysis for module aliases.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14403 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools/depend.ml')
-rw-r--r--tools/depend.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depend.ml b/tools/depend.ml
index bd6efc0859..7ff6704f70 100644
--- a/tools/depend.ml
+++ b/tools/depend.ml
@@ -199,7 +199,7 @@ and add_bindings recf bv pel =
and add_modtype bv mty =
match mty.pmty_desc with
Pmty_ident l -> add bv l
- | Pmty_alias l -> add bv l
+ | Pmty_alias l -> addmodule bv l
| Pmty_signature s -> add_signature bv s
| Pmty_functor(id, mty1, mty2) ->
Misc.may (add_modtype bv) mty1;