aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/nametab.ml
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-01-01 09:24:56 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-01-01 09:24:56 +0000
commit13d449a37131f69ae9fce6c230974b926d579d28 (patch)
tree8cdc88e1be6ed75fa483899870343c12417fca9b /library/nametab.ml
parent88770a6a1814eb57a161188cda1f4b9ae639c252 (diff)
Switched to "standardized" names for the properties of eq and
identity. Add notations for compatibility and support for understanding these notations in the ml files. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11729 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/nametab.ml')
-rw-r--r--library/nametab.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/nametab.ml b/library/nametab.ml
index ac6c61116..5bb21b3e5 100644
--- a/library/nametab.ml
+++ b/library/nametab.ml
@@ -419,12 +419,13 @@ let locate_mind qid =
| TrueGlobal (IndRef (kn,0)) -> kn
| _ -> raise Not_found
-
let absolute_reference sp =
match SpTab.find sp !the_ccitab with
| TrueGlobal ref -> ref
| _ -> raise Not_found
+let extended_absolute_reference sp = SpTab.find sp !the_ccitab
+
let locate_in_absolute_module dir id =
absolute_reference (make_path dir id)