[vala/0.40] girparser: Skip "source-position" elements
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] girparser: Skip "source-position" elements
- Date: Thu, 6 Dec 2018 13:13:55 +0000 (UTC)
commit 6743349d3632f4d12f5a0b1452a5f5260e4a1c9a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Dec 3 09:05:25 2018 +0100
girparser: Skip "source-position" elements
See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75
vala/valagirparser.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index fd82ca573..897832764 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -2266,6 +2266,8 @@ public class Vala.GirParser : CodeVisitor {
end_element ("doc");
} else if (reader_name == "doc-version" || reader_name == "doc-deprecated" ||
reader_name == "doc-stability") {
skip_element ();
+ } else if (reader_name == "source-position") {
+ skip_element ();
} else {
break;
}
@@ -2293,6 +2295,8 @@ public class Vala.GirParser : CodeVisitor {
end_element ("doc");
} else if (reader_name == "doc-version" || reader_name == "doc-deprecated" ||
reader_name == "doc-stability") {
skip_element ();
+ } else if (reader_name == "source-position") {
+ skip_element ();
} else {
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]