src/Pure/PIDE/isabelle_markup.ML
changeset 48768 abc45de5bb22
parent 48756 1c843142758e
child 48927 ef462b5558eb
--- a/src/Pure/PIDE/isabelle_markup.ML	Sat Aug 11 17:23:09 2012 +0200
+++ b/src/Pure/PIDE/isabelle_markup.ML	Sat Aug 11 17:24:21 2012 +0200
@@ -95,8 +95,7 @@
   val promptN: string val prompt: Markup.T
   val reportN: string val report: Markup.T
   val no_reportN: string val no_report: Markup.T
-  val messageN: string
-  val badN: string val bad: string -> Markup.T
+  val badN: string val bad: Markup.T
   val functionN: string
   val assign_execs: Properties.T
   val removed_versions: Properties.T
@@ -287,11 +286,7 @@
 val (reportN, report) = markup_elem "report";
 val (no_reportN, no_report) = markup_elem "no_report";
 
-val messageN = "message"
-val badN = "bad"
-
-fun bad "" = (badN, [])
-  | bad msg = (badN, [(messageN, msg)]);
+val (badN, bad) = markup_elem "bad";
 
 
 (* protocol message functions *)