ML text: informative Output.debug only;
authorwenzelm
Fri, 16 Feb 2007 22:13:16 +0100
changeset 22332 3ddd31fa45fd
parent 22331 7df6bc8cf0b0
child 22333 652f316ca26a
ML text: informative Output.debug only;
src/Pure/Thy/ml_context.ML
--- a/src/Pure/Thy/ml_context.ML	Fri Feb 16 22:13:15 2007 +0100
+++ b/src/Pure/Thy/ml_context.ML	Fri Feb 16 22:13:16 2007 +0100
@@ -160,7 +160,9 @@
 fun eval_wrapper name verbose txt =
   let
     val (txt1, txt2) = eval_antiquotes txt;
-    val _ = Output.debug (fn () => cat_lines [txt1, txt2]);
+    val _ =
+      if txt1 = isabelle_struct0 andalso txt2 = txt then ()
+      else Output.debug (fn () => cat_lines [txt1, txt2]);
   in eval "" false txt1; eval name verbose txt2; eval "" false isabelle_struct0 end;
 
 end;