aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/omega/coq_omega.ml
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-03-01 14:02:59 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-03-01 14:02:59 +0000
commit7b6ed1e95bef26f4ae85d7471985128c0dfdbc15 (patch)
treea2beab552c8e57d5db2833494e5cc79e6374cc84 /contrib/omega/coq_omega.ml
parent2a9a43be51ac61e04ebf3fce902899155b48057f (diff)
Déplacement de qualid dans Nametab, hors du noyau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1419 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/omega/coq_omega.ml')
-rw-r--r--contrib/omega/coq_omega.ml8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/omega/coq_omega.ml b/contrib/omega/coq_omega.ml
index 00ce6d207..821c4b202 100644
--- a/contrib/omega/coq_omega.ml
+++ b/contrib/omega/coq_omega.ml
@@ -217,7 +217,8 @@ let constant dir s =
try
Declare.global_reference_in_absolute_module dir id
with Not_found ->
- anomaly ("Coq_omega: cannot find "^(string_of_qualid (make_qualid dir id)))
+ anomaly ("Coq_omega: cannot find "^
+ (Nametab.string_of_qualid (Nametab.make_qualid dir id)))
let zarith_constant dir = constant ("Zarith"::dir)
@@ -373,12 +374,13 @@ let make_coq_path dir s =
let ref =
try Nametab.locate_in_absolute_module dir id
with Not_found ->
- anomaly("Coq_omega: cannot find "^(string_of_qualid(make_qualid dir id)))
+ anomaly("Coq_omega: cannot find "^
+ (Nametab.string_of_qualid(Nametab.make_qualid dir id)))
in
match ref with
| ConstRef sp -> EvalConstRef sp
| _ -> anomaly ("Coq_omega: "^
- (string_of_qualid (make_qualid dir id))^
+ (Nametab.string_of_qualid (Nametab.make_qualid dir id))^
" is not a constant")
let sp_Zs = lazy (make_coq_path ["Zarith";"zarith_aux"] "Zs")