aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
diff options
context:
space:
mode:
Diffstat (limited to 'tactics')
-rw-r--r--tactics/auto.ml2
-rw-r--r--tactics/tacinterp.ml4
2 files changed, 3 insertions, 3 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index 6146998cb..404516279 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -518,7 +518,7 @@ let make_apply_entry env sigma (eapply,hnf,verbose) pri ?(name=PathAny) (c,cty)
else begin
if not eapply then failwith "make_apply_entry";
if verbose then
- warn (str "the hint: eapply " ++ pr_lconstr c ++
+ msg_warning (str "the hint: eapply " ++ pr_lconstr c ++
str " will only be used by eauto");
(Some hd,
{ pri = (match pri with None -> nb_hyp cty + nmiss | Some p -> p);
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml
index d98167ed0..0bcc4ed47 100644
--- a/tactics/tacinterp.ml
+++ b/tactics/tacinterp.ml
@@ -235,7 +235,7 @@ let add_tactic s t =
let overwriting_add_tactic s t =
if Hashtbl.mem tac_tab s then begin
Hashtbl.remove tac_tab s;
- warning ("Overwriting definition of tactic "^s)
+ msg_warning (str ("Overwriting definition of tactic "^s))
end;
Hashtbl.add tac_tab s t
@@ -273,7 +273,7 @@ let lookup_genarg id =
try Gmap.find id !extragenargtab
with Not_found ->
let msg = "No interpretation function found for entry " ^ id in
- warning msg;
+ msg_warning (str msg);
let f = (fun _ _ -> failwith msg), (fun _ _ _ -> failwith msg), (fun _ a -> a) in
add_interp_genarg id f;
f