summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-03-28 13:42:32 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2013-05-07 13:48:48 -0400
commit348c72ae1a67fee6221445b9bbb491d0c2c5b37d (patch)
tree3a87bf5c664622948c6aa1ad604c50771fe8ba8a
parent190d9a50032eaf457f882f36fcfe9cb0d66fc8b8 (diff)
downloadgobject-introspection-348c72ae1a67fee6221445b9bbb491d0c2c5b37d.tar.gz
sectionparser: Ignore other directives to gtk-doc
https://bugzilla.gnome.org/show_bug.cgi?id=699856
-rw-r--r--giscanner/sectionparser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/sectionparser.py b/giscanner/sectionparser.py
index 9637c0e5..0b013be1 100644
--- a/giscanner/sectionparser.py
+++ b/giscanner/sectionparser.py
@@ -78,6 +78,10 @@ def parse_sections_file(lines):
current_section.subsections.append(current_subsection)
continue
+ if line.startswith("<") and line.endswith(">"):
+ # Other directive to gtk-doc, not a symbol.
+ continue
+
current_subsection.symbols.append(line)
return SectionsFile(sections)