Markup.output;
authorwenzelm
Tue, 10 Jul 2007 16:45:00 +0200
changeset 23697 63e3b2e383dd
parent 23696 ff97a943681e
child 23698 af84f2f13d4d
Markup.output;
src/Pure/General/position.ML
--- a/src/Pure/General/position.ML	Tue Jul 10 16:44:58 2007 +0200
+++ b/src/Pure/General/position.ML	Tue Jul 10 16:45:00 2007 +0200
@@ -65,7 +65,8 @@
   | print (Pos (SOME n, SOME s)) = "(line " ^ string_of_int n ^ " of " ^ quote s ^ ")";
 
 fun str_of (Pos (NONE, NONE)) = ""
-  | str_of pos = " " ^ Pretty.string_of (Pretty.markup
-        (Markup.properties (properties_of pos) Markup.position) [Pretty.str (print pos)]);
+  | str_of pos = " " ^
+      (Markup.output (Markup.properties (properties_of pos) Markup.position) |-> enclose)
+        (print pos);
 
 end;