[vala/0.46] girparser: Skip 'docsection' elements in <namespace>
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.46] girparser: Skip 'docsection' elements in <namespace>
- Date: Thu, 30 Jul 2020 11:03:08 +0000 (UTC)
commit 94e6c96ed47d9ee50769344a80ea2095a72073e2
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Jul 23 08:24:15 2020 +0200
girparser: Skip 'docsection' elements in <namespace>
See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226
vala/valagirparser.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 436c8abb1..f89d44854 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -2231,6 +2231,8 @@ public class Vala.GirParser : CodeVisitor {
}
} else if (reader.name == "constant") {
parse_constant ();
+ } else if (reader.name == "docsection") {
+ skip_element ();
} else {
// error
Report.error (get_current_src (), "unknown child element `%s' in
`namespace'".printf (reader.name));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]