equal
deleted
inserted
replaced
169 | FloatSy => Markup.numeral |
169 | FloatSy => Markup.numeral |
170 | StrSy => Markup.inner_string |
170 | StrSy => Markup.inner_string |
171 | StringSy => Markup.inner_string |
171 | StringSy => Markup.inner_string |
172 | Cartouche => Markup.inner_cartouche |
172 | Cartouche => Markup.inner_cartouche |
173 | Comment => Markup.inner_comment |
173 | Comment => Markup.inner_comment |
174 | Comment_Cartouche => Markup.inner_comment |
|
175 | _ => Markup.empty; |
174 | _ => Markup.empty; |
176 |
175 |
177 fun report_of_token (Token (kind, s, (pos, _))) = |
176 fun report_of_token (Token (kind, s, (pos, _))) = |
178 let val markup = if kind = Literal then literal_markup s else token_kind_markup kind |
177 let val markup = if kind = Literal then literal_markup s else token_kind_markup kind |
179 in (pos, markup) end; |
178 in (pos, markup) end; |