aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/extraction/ocaml.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/extraction/ocaml.ml b/contrib/extraction/ocaml.ml
index cf13cc7b61..96de545a93 100644
--- a/contrib/extraction/ocaml.ml
+++ b/contrib/extraction/ocaml.ml
@@ -529,7 +529,7 @@ let rec pp_structure_elem mp = function
str " = " ++ fnl () ++ pp_module_type m)
and pp_module_expr = function
- | MEident mp -> P.pp_long_module mp
+ | MEident mp -> P.pp_long_module (long_mp mp)
| MEfunctor (mbid, mt, me) ->
str "functor (" ++
P.pp_short_module (id_of_mbid mbid) ++
@@ -547,7 +547,7 @@ and pp_module_expr = function
and pp_module_type = function
| MTident kn ->
- let mp,_,l = repr_kn kn in P.pp_long_module (MPdot (mp,l))
+ let mp,_,l = repr_kn kn in P.pp_long_module (MPdot (ong_mp mp,l))
| MTfunsig (mbid, mt, mt') ->
str "functor (" ++
P.pp_short_module (id_of_mbid mbid) ++