diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2001-02-14 15:55:35 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2001-02-14 15:55:35 +0000 |
commit | a7de8633c23fe66ee32463d78dae89661805c2d1 (patch) | |
tree | 641c081a3e43215a62970c882a5cf93276ff39c6 /contrib | |
parent | a0ea7fc67d18598e88559a133cac6b1d993ec66c (diff) |
Centralisation des références à des globaux de Coq dans Coqlib (ex-Stdlib) et suppression Stock
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1386 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ring/quote.ml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/ring/quote.ml b/contrib/ring/quote.ml index ed93a13dc..44cbd7868 100644 --- a/contrib/ring/quote.ml +++ b/contrib/ring/quote.ml @@ -113,8 +113,11 @@ open Proof_type the constants are loaded in the environment *) let constant dir s = - Declare.global_absolute_reference - (make_path ("Coq"::"ring"::dir) (id_of_string s) CCI) + let dir = "Coq"::"ring"::dir in + try + Declare.global_reference_in_absolute_module dir (id_of_string s) + with Not_found -> + anomaly ("Quote: cannot find "^(string_of_qualid (make_qualid dir s))) let coq_Empty_vm = lazy (constant ["Quote"] "Empty_vm") let coq_Node_vm = lazy (constant ["Quote"] "Node_vm") |