diff options
| author | ppedrot | 2012-06-01 18:03:06 +0000 |
|---|---|---|
| committer | ppedrot | 2012-06-01 18:03:06 +0000 |
| commit | cf7660a3a8932ee593a376e8ec7ec251896a72e3 (patch) | |
| tree | 5f3fd167f5dd704bf5482d236624aa8ef8bf6707 /tactics/tacinterp.ml | |
| parent | 35e4ac349af4fabbc5658b5cba632f98ec04da3f (diff) | |
Getting rid of Pp.msgnl and Pp.message.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15412 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/tacinterp.ml')
| -rw-r--r-- | tactics/tacinterp.ml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml index 0bcc4ed47c..a628fe26a0 100644 --- a/tactics/tacinterp.ml +++ b/tactics/tacinterp.ml @@ -58,10 +58,11 @@ open Miscops open Locus let safe_msgnl s = - try msgnl s with e -> - msgnl - (str "bug in the debugger: " ++ - str "an exception is raised while printing debug information") + let _ = + try ppnl s with e -> + ppnl (str "bug in the debugger: an exception is raised while printing debug information") + in + pp_flush () let error_syntactic_metavariables_not_allowed loc = user_err_loc @@ -3148,7 +3149,7 @@ let add_tacdef local isrec tacl = | _ -> Lib.add_anonymous_leaf (inMD (local,gtacl)) in List.iter (fun (id,b,_) -> - Flags.if_verbose msgnl (Libnames.pr_reference id ++ + Flags.if_verbose msg_info (Libnames.pr_reference id ++ (if b then str " is redefined" else str " is defined"))) tacl |
