summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/ocamldep.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocamldep.ml b/tools/ocamldep.ml
index 544b22cc3..68b455883 100644
--- a/tools/ocamldep.ml
+++ b/tools/ocamldep.ml
@@ -218,7 +218,7 @@ and add_struct_item bv item =
| Pstr_exception(id, args) ->
List.iter (add_type bv) args; bv
| Pstr_exn_rebind(id, l) ->
- add l; bv
+ add bv l; bv
| Pstr_module(id, modl) ->
add_module bv modl; StringSet.add id bv
| Pstr_modtype(id, mty) ->