aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/lib.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/lib.ml b/library/lib.ml
index c5bc798d9b..53c6e2b059 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -350,6 +350,7 @@ let end_compilation dir =
" and not " ^ (string_of_dirpath m));
in
let (after,_,before) = split_lib oname in
+ comp_name := None;
!path_prefix,after
(* Returns true if we are inside an opened module type *)