diff options
| author | glondu | 2010-10-06 08:49:50 +0000 |
|---|---|---|
| committer | glondu | 2010-10-06 08:49:50 +0000 |
| commit | a931a16236752b664b72b189fd5ff4f8f1a28012 (patch) | |
| tree | cec644d7708616bc141762080072f279c13572dd /plugins | |
| parent | 3d5a8667b566fbade7d0639b835ded2e1f8d53e4 (diff) | |
Remove open_subgoals field of proof_tree
It looks obsolete, probably as a consequence of the new proof engine.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13504 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/decl_mode/decl_proof_instr.ml | 1 | ||||
| -rw-r--r-- | plugins/xml/proof2aproof.ml | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/decl_mode/decl_proof_instr.ml b/plugins/decl_mode/decl_proof_instr.ml index 7a92c995c9..0236c30958 100644 --- a/plugins/decl_mode/decl_proof_instr.ml +++ b/plugins/decl_mode/decl_proof_instr.ml @@ -132,7 +132,6 @@ let daimon_tac gls = let daimon _ pftree = set_daimon_flag (); {pftree with - open_subgoals=0; ref=Some (Daimon,[])} let daimon_subtree = diff --git a/plugins/xml/proof2aproof.ml b/plugins/xml/proof2aproof.ml index 9d3288d83d..35a90cd02b 100644 --- a/plugins/xml/proof2aproof.ml +++ b/plugins/xml/proof2aproof.ml @@ -63,8 +63,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.open_subgoals = status ; - PT.goal = goal ; + function {PT.goal = goal ; PT.ref = ref} -> let unshared_ref = match ref with @@ -78,8 +77,7 @@ let rec unshare_proof_tree = in Some (unshared_rule, List.map unshare_proof_tree pfs) in - {PT.open_subgoals = status ; - PT.goal = goal ; + {PT.goal = goal ; PT.ref = unshared_ref} ;; |
