src/Pure/Isar/outer_syntax.ML
changeset 48768 abc45de5bb22
parent 48749 c197b3c3e7fa
child 48771 2ea997196d04
--- a/src/Pure/Isar/outer_syntax.ML	Sat Aug 11 17:23:09 2012 +0200
+++ b/src/Pure/Isar/outer_syntax.ML	Sat Aug 11 17:24:21 2012 +0200
@@ -284,12 +284,12 @@
         let val name = Token.content_of tok in
           (case commands name of
             NONE => []
-          | SOME cmd => [(Token.position_of tok, command_markup false (name, cmd))])
+          | SOME cmd => [((Token.position_of tok, command_markup false (name, cmd)), "")])
         end
       else [];
 
     val (is_malformed, token_reports) = Thy_Syntax.reports_of_tokens toks;
-    val _ = Position.reports (token_reports @ maps command_reports toks);
+    val _ = Position.reports_text (token_reports @ maps command_reports toks);
   in
     if is_malformed then (Toplevel.malformed pos "Malformed command syntax", true)
     else