reverted fe9b43a08187 -- "warning" is a perfectly normal way of tactics to emit spurious messages (although "arith" could be less chatty), while "priority" is a special Proof General protocol message;
authorwenzelm
Sat, 13 Mar 2010 16:37:15 +0100
changeset 35761 c4a698ee83b4
parent 35760 22e6c38ebe25
child 35762 af3ff2ba4c54
reverted fe9b43a08187 -- "warning" is a perfectly normal way of tactics to emit spurious messages (although "arith" could be less chatty), while "priority" is a special Proof General protocol message;
src/HOL/Tools/arith_data.ML
--- a/src/HOL/Tools/arith_data.ML	Sat Mar 13 15:11:59 2010 +0100
+++ b/src/HOL/Tools/arith_data.ML	Sat Mar 13 16:37:15 2010 +0100
@@ -53,9 +53,9 @@
 
 fun gen_arith_tac verbose ctxt =
   let
-    val tactics = (Arith_Tactics.get o ProofContext.theory_of) ctxt
-    fun invoke (_, (name, tac)) k st = (if verbose
-      then priority ("Trying " ^ name ^ "...") else ();
+    val tactics = Arith_Tactics.get (ProofContext.theory_of ctxt);
+    fun invoke (_, (name, tac)) k st =
+     (if verbose then warning ("Trying " ^ name ^ "...") else ();
       tac verbose ctxt k st);
   in FIRST' (map invoke (rev tactics)) end;