aboutsummaryrefslogtreecommitdiff
path: root/contrib/interface
diff options
context:
space:
mode:
authorbertot2004-03-03 12:16:35 +0000
committerbertot2004-03-03 12:16:35 +0000
commitd2fe5c52a00da8a29600c186312995a65da3db4f (patch)
treed770ae7da1a7435c7ad02da549915a6b600f73ee /contrib/interface
parent54ad5aa4d1842caee3766dc5656144dca212aef5 (diff)
removes capital letters in two tactic names.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5424 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/interface')
-rw-r--r--contrib/interface/xlate.ml8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/interface/xlate.ml b/contrib/interface/xlate.ml
index 9f1bf17f5a..014061f6e3 100644
--- a/contrib/interface/xlate.ml
+++ b/contrib/interface/xlate.ml
@@ -314,9 +314,11 @@ let rec make_fix_struct b = function
let rec xlate_binder = function
(l,t) -> CT_binder(xlate_id_opt_ne_list l, xlate_formula t)
and xlate_return_info = function
- (None, None) -> CT_coerce_NONE_to_RETURN_INFO CT_none
+| (Some Anonymous, None) | (None, None) ->
+ CT_coerce_NONE_to_RETURN_INFO CT_none
| (None, Some t) -> CT_return(xlate_formula t)
| (Some x, Some t) -> CT_as_and_return(xlate_id_opt_aux x, xlate_formula t)
+
| (Some _, None) -> assert false
and xlate_formula_opt =
function
@@ -1024,7 +1026,7 @@ and xlate_tac =
if b then CT_cutrewrite_lr (c, ctv_ID_OPT_NONE)
else CT_cutrewrite_rl (c, ctv_ID_OPT_NONE)
| _ -> xlate_error "")
- | TacExtend (_,"DependentRewrite", [b; c; id]) -> (*CutRewrite in/SubstHyp*)
+ | TacExtend (_,"dependentrewrite", [b; c; id]) -> (*CutRewrite in/SubstHyp*)
let b = out_gen Extraargs.rawwit_orient b in
let c = xlate_formula (out_gen rawwit_constr c) in
let id = xlate_ident (out_gen rawwit_ident id) in
@@ -1160,7 +1162,7 @@ and xlate_tac =
let id = xlate_quantified_hypothesis id in
CT_use_inversion (id, xlate_formula c,
CT_id_list (List.map xlate_hyp idlist))
- | TacExtend (_,"Omega", []) -> CT_omega
+ | TacExtend (_,"omega", []) -> CT_omega
| TacRename (id1, id2) -> CT_rename(xlate_hyp id1, xlate_hyp id2)
| TacClearBody([]) -> assert false
| TacClearBody(a::l) ->