]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtkdoc-importer: Add support for abbrev
authorFlorian Brosch <flo.brosch@gmail.com>
Sun, 29 Jan 2012 01:49:13 +0000 (02:49 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Sun, 29 Jan 2012 01:49:13 +0000 (02:49 +0100)
src/libvaladoc/documentation/gtkdoccommentparser.vala

index bec1d065d0960f85e3939c8c4e85620c5990ed1b..c3f24c5b6fd05ca6152525a570dc793ef8751ecb 100644 (file)
@@ -1412,6 +1412,8 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
                while (current.type != TokenType.EOF) {
                        if (current.type == TokenType.XML_OPEN && current.content == "firstterm") {
                                append_inline_content_not_null (run, parse_highlighted_template ("firstterm", Run.Style.ITALIC));
+                       } else if (current.type == TokenType.XML_OPEN && current.content == "abbrev") {
+                               append_inline_content_not_null (run, parse_highlighted_template ("abbrev", Run.Style.ITALIC));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "term") {
                                append_inline_content_not_null (run, parse_highlighted_template ("term", Run.Style.ITALIC));
                        } else if (current.type == TokenType.XML_OPEN && current.content == "literal") {