diff options
author | 1999-11-26 08:40:18 +0000 | |
---|---|---|
committer | 1999-11-26 08:40:18 +0000 | |
commit | 45800868bf532be4348ab7025144e4caec5c3a83 (patch) | |
tree | 481a220a932c5fdec4e5135474148f7ef07a3743 /library/declare.ml | |
parent | 07ce425ee676ccee0bc1309855ea8343279b63f0 (diff) |
ajouts divers pour module Printer
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@145 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/declare.ml')
-rw-r--r-- | library/declare.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/declare.ml b/library/declare.ml index 6336c03c6..aca22ebd2 100644 --- a/library/declare.ml +++ b/library/declare.ml @@ -161,14 +161,14 @@ let mind_oper_of_id sp id mib = let global_operator sp id = try - let _ = Global.lookup_constant sp in Const sp + let cb = Global.lookup_constant sp in Const sp, cb.const_hyps with Not_found -> let mib = Global.lookup_mind sp in - mind_oper_of_id sp id mib + mind_oper_of_id sp id mib, mib.mind_hyps let global_reference kind id = let sp = Nametab.sp_of_id kind id in - let oper = global_operator sp id in + let (oper,_) = global_operator sp id in let hyps = get_globals (Global.context ()) in let ids = ids_of_sign hyps in DOPN(oper, Array.of_list (List.map (fun id -> VAR id) ids)) |