--- a/src/Pure/Isar/isar_cmd.ML Sun Feb 10 20:49:46 2008 +0100
+++ b/src/Pure/Isar/isar_cmd.ML Sun Feb 10 20:49:47 2008 +0100
@@ -392,7 +392,7 @@
(* nested commands *)
fun nested_command props (str, pos) =
- let val pos' = Position.of_properties (props @ Position.properties_of pos) in
+ let val pos' = Position.of_properties (props |> Position.default_properties pos) in
(case OuterSyntax.parse pos' str of
[transition] => transition
| _ => error "exactly one command expected")
--- a/src/Pure/Tools/isabelle_process.ML Sun Feb 10 20:49:46 2008 +0100
+++ b/src/Pure/Tools/isabelle_process.ML Sun Feb 10 20:49:47 2008 +0100
@@ -96,9 +96,8 @@
| SOME xml => (XML.plain_content xml, the_default Position.none (get_pos xml)))
|>> translate_string (fn c => if c = STX then DEL else c);
val props =
- (case Position.properties_of (Position.thread_data ()) of
- [] => Position.properties_of pos
- | props => props);
+ Position.properties_of (Position.thread_data ())
+ |> Position.default_properties pos;
in Output.writeln_default (special ch ^ print_props props ^ txt ^ special_end) end;
fun init_message () =