From f27df397b49d2bb469e513749cade21e5c259926 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Mon, 21 Jul 2014 15:59:51 +0200 Subject: 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. --- library/nametab.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'library/nametab.ml') 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 = -- cgit v1.2.3