eval/location_props: always produce YXML markup, independent of print_mode;
authorwenzelm
Wed, 02 Sep 2009 16:51:19 +0200
changeset 32492 9d49a280f3f9
parent 32491 d5d8bea0cd94
child 32493 457ea5ddbb9b
eval/location_props: always produce YXML markup, independent of print_mode;
src/Pure/ML/ml_compiler_polyml-5.3.ML
--- a/src/Pure/ML/ml_compiler_polyml-5.3.ML	Wed Sep 02 16:25:44 2009 +0200
+++ b/src/Pure/ML/ml_compiler_polyml-5.3.ML	Wed Sep 02 16:51:19 2009 +0200
@@ -74,8 +74,8 @@
     (* input *)
 
     val location_props =
-      Markup.markup (Markup.position |> Markup.properties
-          (filter (member (op =) [Markup.idN, Markup.fileN] o #1) (Position.properties_of pos))) "";
+      op ^ (YXML.output_markup (Markup.position |> Markup.properties
+            (filter (member (op =) [Markup.idN, Markup.fileN] o #1) (Position.properties_of pos))));
 
     val input = toks |> maps (fn tok =>
       let