src/Pure/Thy/thy_output.ML
changeset 30642 0c9f9c49d5df
parent 30635 a7d175c48228
child 30683 e8ac1f9d9469
--- a/src/Pure/Thy/thy_output.ML	Sun Mar 22 20:49:47 2009 +0100
+++ b/src/Pure/Thy/thy_output.ML	Sun Mar 22 20:49:47 2009 +0100
@@ -156,7 +156,7 @@
           end
       | expand (Antiquote.Open _) = ""
       | expand (Antiquote.Close _) = "";
-    val ants = Antiquote.read (K ()) Antiquote.scan_text (Symbol_Pos.explode (txt, pos), pos);
+    val ants = Antiquote.read (Symbol_Pos.explode (txt, pos), pos);
   in
     if Toplevel.is_toplevel state andalso not (forall Antiquote.is_text ants) then
       error ("Unknown context -- cannot expand document antiquotations" ^ Position.str_of pos)