From 348c72ae1a67fee6221445b9bbb491d0c2c5b37d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 28 Mar 2013 13:42:32 -0400 Subject: sectionparser: Ignore other directives to gtk-doc https://bugzilla.gnome.org/show_bug.cgi?id=699856 --- giscanner/sectionparser.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.1