src/Pure/Isar/token.ML
changeset 40531 8ede48c93c72
parent 40525 14a2e686bdac
child 40627 becf5d5187cc
equal deleted inserted replaced
40530:f814863f3918 40531:8ede48c93c72
   198   (case kind of
   198   (case kind of
   199     String => x |> quote o escape "\""
   199     String => x |> quote o escape "\""
   200   | AltString => x |> enclose "`" "`" o escape "`"
   200   | AltString => x |> enclose "`" "`" o escape "`"
   201   | Verbatim => x |> enclose "{*" "*}"
   201   | Verbatim => x |> enclose "{*" "*}"
   202   | Comment => x |> enclose "(*" "*)"
   202   | Comment => x |> enclose "(*" "*)"
   203   | Malformed => space_implode " " (explode x)
       
   204   | Sync => ""
   203   | Sync => ""
   205   | EOF => ""
   204   | EOF => ""
   206   | _ => x);
   205   | _ => x);
   207 
   206 
   208 fun text_of tok =
   207 fun text_of tok =