From 1eaebf4ab7616b2be16b957736e80f1d6100eae0 Mon Sep 17 00:00:00 2001 From: gareuselesinge Date: Thu, 9 May 2013 20:48:29 +0000 Subject: Use definition_entry to declare local definitions git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16502 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/funind/indfun_common.ml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/funind/indfun_common.ml b/plugins/funind/indfun_common.ml index c6f04027bd..4d26c4f533 100644 --- a/plugins/funind/indfun_common.ml +++ b/plugins/funind/indfun_common.ml @@ -148,14 +148,10 @@ let get_locality = function | Global -> false let save with_clean id const (locality,kind) hook = - let {const_entry_body = pft; - const_entry_secctx = _; - const_entry_type = tpo; - const_entry_opaque = opacity } = const in let l,r = match locality with | Discharge when Lib.sections_are_opened () -> let k = Kindops.logical_kind_of_goal_kind kind in - let c = SectionLocalDef (pft, tpo, opacity) in + let c = SectionLocalDef const in let _ = declare_variable id (Lib.cwd(), c, k) in (Local, VarRef id) | Discharge | Local | Global -> -- cgit v1.2.3