aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/nametab.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-07-21 15:59:51 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-07-21 16:44:30 +0200
commitf27df397b49d2bb469e513749cade21e5c259926 (patch)
tree995eefeb3129ce9bb773597bf2c2548793350eb5 /library/nametab.ml
parent32ea597251d4fc7cfbab26022a5355949e8a3257 (diff)
Adding a new "Locate Term" command, distinct from the raw "Locate" command.
The new Term version has essentially the same behaviour as the old "Locate", while the new raw searches for all types of objects. Also code merging with the "Locate Ltac". Fixes bug #3380.
Diffstat (limited to 'library/nametab.ml')
-rw-r--r--library/nametab.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/nametab.ml b/library/nametab.ml
index 4a61a9540..edceacaa8 100644
--- a/library/nametab.ml
+++ b/library/nametab.ml
@@ -429,6 +429,8 @@ let locate_extended_all qid = ExtRefTab.find_prefixes qid !the_ccitab
let locate_extended_all_tactic qid = KnTab.find_prefixes qid !the_tactictab
+let locate_extended_all_dir qid = DirTab.find_prefixes qid !the_dirtab
+
(* Derived functions *)
let locate_constant qid =