src/Pure/Thy/ml_context.ML
changeset 22332 3ddd31fa45fd
parent 22155 47b36483f872
child 22376 b711c2ad7507
--- 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;