aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-11-12 12:55:38 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-11-12 12:55:38 +0000
commitb731edadffd527a907a6aa4b5a420b6a8dbe4690 (patch)
tree04ee854f3922100aa4014a6da05a9fabaa4bff6e
parent865d3a274dc618a4eff13b309109aa559077a933 (diff)
petit oups
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2184 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--contrib/extraction/common.mli2
-rw-r--r--contrib/extraction/extract_env.ml2
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/extraction/common.mli b/contrib/extraction/common.mli
index 122075c87..c9b41a4ef 100644
--- a/contrib/extraction/common.mli
+++ b/contrib/extraction/common.mli
@@ -15,6 +15,8 @@ open Nametab
module ToplevelPp : Mlpp
+val sp_of_r : global_reference -> section_path
+
val module_of_r : global_reference -> identifier
val extract_to_file :
diff --git a/contrib/extraction/extract_env.ml b/contrib/extraction/extract_env.ml
index a0ca727e0..6969c412a 100644
--- a/contrib/extraction/extract_env.ml
+++ b/contrib/extraction/extract_env.ml
@@ -157,7 +157,7 @@ let print_user_extract r =
let decl_in_r r0 = function
| Dglob (r,_) -> r = r0
| Dabbrev (r,_,_) -> r = r0
- | Dtype ((_,r,_)::_, _) -> r = r0
+ | Dtype ((_,r,_)::_, _) -> sp_of_r r = sp_of_r r0
| Dtype ([],_) -> false
| Dcustom (r,_) -> r = r0