aboutsummaryrefslogtreecommitdiff
path: root/library/lib.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-10-31 09:39:53 +0100
committerEmilio Jesus Gallego Arias2018-10-31 12:58:02 +0100
commit0adc2073cf3e7bd3b2d9ee2cdf75e16e3a243c44 (patch)
tree5d7212f3462f7e650238906768a4bfd199ec9091 /library/lib.ml
parente29dc5ab5e85eb5f740de83f9f0b97b233651a3e (diff)
[nametab] Move global_dir_reference to Nametab
This type is "private" to the Nametab, which manages it. It thus makes sense IMHO to live there.
Diffstat (limited to 'library/lib.ml')
-rw-r--r--library/lib.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/lib.ml b/library/lib.ml
index 1acc8fd8fd..762a2e0567 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -551,7 +551,7 @@ let open_section id =
let fs = Summary.freeze_summaries ~marshallable:`No in
add_entry (make_oname id) (OpenedSection (prefix, fs));
(*Pushed for the lifetime of the section: removed by unfrozing the summary*)
- Nametab.push_dir (Nametab.Until 1) obj_dir (DirOpenSection prefix);
+ Nametab.(push_dir (Until 1) obj_dir (GlobDirRef.DirOpenSection prefix));
lib_state := { !lib_state with path_prefix = prefix };
add_section ()