aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorbarras2002-02-15 18:02:05 +0000
committerbarras2002-02-15 18:02:05 +0000
commit1e6c3e993fd33d01713aae34a8cefbc210b3898a (patch)
tree2f8e2aba2c50587146ac4100bb8bf3c426fca65f /contrib
parent0eff88d5a9ad9279a4e68fdb6e210c6ea671b613 (diff)
petits changements cosmetiques sur les tactiques
+ Clear independant de l'ordre des hypotheses, et substituant les hypotheses definies git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2481 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/interface/blast.ml2
-rw-r--r--contrib/xml/xmlcommand.ml424
2 files changed, 13 insertions, 13 deletions
diff --git a/contrib/interface/blast.ml b/contrib/interface/blast.ml
index 102135e96d..f6a47f9862 100755
--- a/contrib/interface/blast.ml
+++ b/contrib/interface/blast.ml
@@ -465,7 +465,7 @@ let rec search_gen decomp n db_list local_db extra_sign goal =
(List.map
(fun id -> tclTHEN (decomp_unary_term (mkVar id))
(tclTHEN
- (clear_one id)
+ (clear [id])
(free_try (search_gen decomp p db_list local_db []))))
(pf_ids_of_hyps goal))
in
diff --git a/contrib/xml/xmlcommand.ml4 b/contrib/xml/xmlcommand.ml4
index 7b6303130b..b794b28936 100644
--- a/contrib/xml/xmlcommand.ml4
+++ b/contrib/xml/xmlcommand.ml4
@@ -5,16 +5,16 @@
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(***********************************************************************)
-(******************************************************************************)
-(* *)
-(* PROJECT HELM *)
-(* *)
-(* A module to print Coq objects in XML *)
-(* *)
-(* Claudio Sacerdoti Coen <sacerdot@cs.unibo.it> *)
-(* 06/12/2000 *)
-(* *)
-(******************************************************************************)
+(*****************************************************************************)
+(* *)
+(* PROJECT HELM *)
+(* *)
+(* A module to print Coq objects in XML *)
+(* *)
+(* Claudio Sacerdoti Coen <sacerdot@cs.unibo.it> *)
+(* 06/12/2000 *)
+(* *)
+(*****************************************************************************)
(* CONFIGURATION PARAMETERS *)
@@ -195,11 +195,11 @@ let add_to_pvars x =
match x with
Definition (v, bod, typ) ->
cumenv :=
- E.push_named_decl (Names.id_of_string v, Some bod, typ) !cumenv ;
+ E.push_named (Names.id_of_string v, Some bod, typ) !cumenv ;
v
| Assumption (v, typ) ->
cumenv :=
- E.push_named_decl (Names.id_of_string v, None, typ) !cumenv ;
+ E.push_named (Names.id_of_string v, None, typ) !cumenv ;
v
in
match !pvars with