From c9a018b3a9d3eae70c323263bd93d094b8a1e30f Mon Sep 17 00:00:00 2001 From: barras Date: Thu, 19 Dec 2002 13:55:09 +0000 Subject: simplification de solve_subgoal: n'utilise plus frontier git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3458 85f007b7-540e-0410-9357-904b9bb8a0f7 --- contrib/interface/blast.ml | 2 +- contrib/xml/proof2aproof.ml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib') diff --git a/contrib/interface/blast.ml b/contrib/interface/blast.ml index 153d3f6374..ce43da5ded 100755 --- a/contrib/interface/blast.ml +++ b/contrib/interface/blast.ml @@ -565,7 +565,7 @@ let vire_extvar s = let blast gls = let leaf g = { - status = Incomplete_proof; + open_subgoals = 1; goal = g; ref = None } in try (let (sgl,v) as res = !blast_tactic gls in diff --git a/contrib/xml/proof2aproof.ml b/contrib/xml/proof2aproof.ml index 80b45cc6d7..03d45828d5 100644 --- a/contrib/xml/proof2aproof.ml +++ b/contrib/xml/proof2aproof.ml @@ -48,7 +48,7 @@ let nf_evar sigma ~preserve = (* Warning: statuses, goals, prim_rules and tactic_exprs are not unshared! *) let rec unshare_proof_tree = let module PT = Proof_type in - function {PT.status = status ; PT.goal = goal ; PT.ref = ref} -> + function {PT.open_subgoals = status ; PT.goal = goal ; PT.ref = ref} -> let unshared_ref = match ref with None -> None @@ -62,7 +62,7 @@ let rec unshare_proof_tree = in Some (unshared_rule, List.map unshare_proof_tree pfs) in - {PT.status = status ; PT.goal = goal ; PT.ref = unshared_ref} + {PT.open_subgoals = status ; PT.goal = goal ; PT.ref = unshared_ref} ;; module ProofTreeHash = -- cgit v1.2.3