]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtkdoc-importer: Add support for varname
authorFlorian Brosch <flo.brosch@gmail.com>
Sat, 28 Jan 2012 21:39:46 +0000 (22:39 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Sat, 28 Jan 2012 21:39:46 +0000 (22:39 +0100)
src/libvaladoc/documentation/gtkdoccommentparser.vala

index 629aebbc29c7b34562942dd20fbf5b247ae54925..966fe9d3e2c519c93a6d59bc7d74886a0dc242c8 100644 (file)
@@ -1258,6 +1258,8 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
                                append_inline_content_not_null (run, parse_highlighted_template ("literal", Run.Style.ITALIC));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "application") {
                                append_inline_content_not_null (run, parse_highlighted_template ("application", Run.Style.MONOSPACED));
+                       } else if (current.type == TokenType.XML_OPEN && current.content == "varname") {
+                               append_inline_content_not_null (run, parse_highlighted_template ("varname", Run.Style.MONOSPACED));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "emphasis") {
                                append_inline_content_not_null (run, parse_highlighted_template ("emphasis", Run.Style.MONOSPACED));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "pre") {
@@ -1302,6 +1304,8 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
                                append_inline_content_not_null (run, parse_symbol_link ("errorcode"));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "constant") {
                                append_inline_content_not_null (run, parse_symbol_link ("constant"));
+                       } else if (current.type == TokenType.XML_OPEN && current.content == "inlinegraphic") {
+                               append_inline_content_not_null (run, parse_docbook_inlinegraphic ());
                        } else if (current.type == TokenType.XML_OPEN && current.content == "anchor") {
                                parse_anchor ();
                        } else if (current.type == TokenType.XML_OPEN && current.content == "link") {