equal
deleted
inserted
replaced
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 = |