aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/auto.ml
diff options
context:
space:
mode:
authorGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-06-28 13:04:41 +0000
committerGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-06-28 13:04:41 +0000
commit65eea15cc3ec4b8316698db10ed02526a7dae4d0 (patch)
tree9159ec8cc14527da5e989589235de740427d4250 /tactics/auto.ml
parent693b22e92804aee56efd432e7c66b1a787c15881 (diff)
Fixing previous commit.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15498 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/auto.ml')
-rw-r--r--tactics/auto.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index 812ebd206..3b86d8262 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -1226,13 +1226,14 @@ let pr_dbg_header = function
| (Info,_,_) -> str "(* info auto : *)"
let tclTRY_dbg d tac =
+ let (level, _, _) = d in
tclORELSE0
(fun gl ->
let out = tac gl in
- msg_debug (pr_dbg_header d ++ fnl () ++ pr_info_trace d);
+ if level <> Off then msg_debug (pr_dbg_header d ++ fnl () ++ pr_info_trace d);
out)
(fun gl ->
- msg_debug (pr_info_nop d);
+ if level = Info then msg_debug (pr_info_nop d);
tclIDTAC gl)
(**************************************************************************)