From: Florian Brosch Date: Tue, 27 Aug 2013 12:40:44 +0000 (+0200) Subject: gir-importer: Ignore tags X-Git-Tag: 0.37.1~3^2~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a8739c8bc4dd1998fd000033d9ef0d3819eff76;p=thirdparty%2Fvala.git gir-importer: Ignore tags --- diff --git a/src/libvaladoc/importer/girdocumentationimporter.vala b/src/libvaladoc/importer/girdocumentationimporter.vala index 02f9e85ab..1988b967c 100644 --- a/src/libvaladoc/importer/girdocumentationimporter.vala +++ b/src/libvaladoc/importer/girdocumentationimporter.vala @@ -176,6 +176,12 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter { private void next () { current_token = reader.read_token (out begin, out end); + + // Skip (only generated by valac) + if (current_token == MarkupTokenType.START_ELEMENT && reader.name == "annotation") { + next (); // MarkupTokenType.END_ELEMENT, annotation + next (); + } } private void start_element (string name) {