aboutsummaryrefslogtreecommitdiff
path: root/contrib/omega/coq_omega.ml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/omega/coq_omega.ml')
-rw-r--r--contrib/omega/coq_omega.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/omega/coq_omega.ml b/contrib/omega/coq_omega.ml
index 47d5c5f4d2..f1908fb385 100644
--- a/contrib/omega/coq_omega.ml
+++ b/contrib/omega/coq_omega.ml
@@ -362,7 +362,7 @@ let make_coq_path dir s =
let dir = make_dirpath (List.map id_of_string (List.rev ("Coq"::dir))) in
let id = id_of_string s in
let ref =
- try Nametab.locate_in_absolute_module dir id
+ try Nametab.absolute_reference (Libnames.make_path dir id)
with Not_found ->
anomaly("Coq_omega: cannot find "^
(Libnames.string_of_qualid(Libnames.make_qualid dir id)))