diff options
Diffstat (limited to 'library/declaremods.ml')
-rw-r--r-- | library/declaremods.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml index bf6fe9f0d..30cac7771 100644 --- a/library/declaremods.ml +++ b/library/declaremods.ml @@ -873,9 +873,9 @@ let start_library dir = Lib.start_compilation dir mp; Lib.add_frozen_state () -let end_library dir = +let end_library ?except dir = let oname = Lib.end_compilation_checks dir in - let mp,cenv,ast = Global.export dir in + let mp,cenv,ast = Global.export ?except dir in let prefix, lib_stack = Lib.end_compilation oname in assert (ModPath.equal mp (MPfile dir)); let substitute, keep, _ = Lib.classify_segment lib_stack in |