From 67f5aa82fc2a1fca35e1f8ba0204f9417b148757 Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 5 Oct 2011 15:52:09 +0000 Subject: Fixing Implicit Tactic mode damaged by commit r14496 (see also bug #2612). There were some confusion on the role of clear_proofs which was applicable only to the global named_context. Hopefully made things clearer. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14517 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/decls.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'library/decls.ml') diff --git a/library/decls.ml b/library/decls.ml index be68ce8de..74a5f7ef1 100644 --- a/library/decls.ml +++ b/library/decls.ml @@ -55,7 +55,8 @@ let constant_kind kn = Cmap.find kn !csttab (** Miscellaneous functions. *) -let clear_proofs sign = +let initialize_named_context_for_proof () = + let sign = Global.named_context () in List.fold_right (fun (id,c,t as d) signv -> let d = if variable_opacity id then (id,None,t) else d in -- cgit v1.2.3