--- a/src/Pure/Tools/isabelle_process.scala Thu Jan 15 15:51:50 2009 +0100
+++ b/src/Pure/Tools/isabelle_process.scala Thu Jan 15 17:22:38 2009 +0100
@@ -67,7 +67,8 @@
class Result(val kind: Kind.Value, val props: Properties, val result: String) {
override def toString = {
- val res = XML.content(YXML.parse_failsafe(result)).mkString
+ val tree = YXML.parse_failsafe(result)
+ val res = if (kind == Kind.STATUS) tree.toString else XML.content(tree).mkString
if (props == null) kind.toString + " [[" + res + "]]"
else kind.toString + " " + props.toString + " [[" + res + "]]"
}