aboutsummaryrefslogtreecommitdiff
path: root/vernac
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 /vernac
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 'vernac')
-rw-r--r--vernac/vernacentries.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/vernac/vernacentries.ml b/vernac/vernacentries.ml
index 1190d73258..088ba6552b 100644
--- a/vernac/vernacentries.ml
+++ b/vernac/vernacentries.ml
@@ -185,6 +185,7 @@ let print_modules () =
let print_module qid =
try
+ let open Nametab.GlobDirRef in
let globdir = Nametab.locate_dir qid in
match globdir with
DirModule { obj_dir; obj_mp; _ } ->