diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-03-28 13:42:32 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-05-07 13:48:48 -0400 |
commit | 348c72ae1a67fee6221445b9bbb491d0c2c5b37d (patch) | |
tree | 3a87bf5c664622948c6aa1ad604c50771fe8ba8a /giscanner/sectionparser.py | |
parent | 190d9a50032eaf457f882f36fcfe9cb0d66fc8b8 (diff) | |
download | gobject-introspection-348c72ae1a67fee6221445b9bbb491d0c2c5b37d.tar.gz |
sectionparser: Ignore other directives to gtk-doc
https://bugzilla.gnome.org/show_bug.cgi?id=699856
Diffstat (limited to 'giscanner/sectionparser.py')
-rw-r--r-- | giscanner/sectionparser.py | 4 |
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) |