57 |
57 |
58 val markup_table = |
58 val markup_table = |
59 (* [(kind, (markup, check, style))*) |
59 (* [(kind, (markup, check, style))*) |
60 Symtab.make [ |
60 Symtab.make [ |
61 ("syntax", ("", no_check, true)), |
61 ("syntax", ("", no_check, true)), |
62 ("command", ("isacommand", K (is_some o OuterKeyword.command_keyword), true)), |
62 ("command", ("isacommand", K (is_some o Keyword.command_keyword), true)), |
63 ("keyword", ("isakeyword", K OuterKeyword.is_keyword, true)), |
63 ("keyword", ("isakeyword", K Keyword.is_keyword, true)), |
64 ("element", ("isakeyword", K OuterKeyword.is_keyword, true)), |
64 ("element", ("isakeyword", K Keyword.is_keyword, true)), |
65 ("method", ("", thy_check Method.intern Method.defined, true)), |
65 ("method", ("", thy_check Method.intern Method.defined, true)), |
66 ("attribute", ("", thy_check Attrib.intern Attrib.defined, true)), |
66 ("attribute", ("", thy_check Attrib.intern Attrib.defined, true)), |
67 ("fact", ("", no_check, true)), |
67 ("fact", ("", no_check, true)), |
68 ("variable", ("", no_check, true)), |
68 ("variable", ("", no_check, true)), |
69 ("case", ("", no_check, true)), |
69 ("case", ("", no_check, true)), |