[vala/0.44] girparser: Skip 'attribute' elements
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.44] girparser: Skip 'attribute' elements
- Date: Mon, 17 Jun 2019 08:57:44 +0000 (UTC)
commit 767f4e2638d5c6df923fa76f0ed4443a8a7baf06
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Jun 15 17:43:28 2019 +0200
girparser: Skip 'attribute' elements
vala/valagirparser.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index d522aa9b1..c5f5cc635 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -2281,6 +2281,8 @@ public class Vala.GirParser : CodeVisitor {
skip_element ();
} else if (reader_name == "source-position") {
skip_element ();
+ } else if (reader_name == "attribute") {
+ skip_element ();
} else {
break;
}
@@ -2310,6 +2312,8 @@ public class Vala.GirParser : CodeVisitor {
skip_element ();
} else if (reader_name == "source-position") {
skip_element ();
+ } else if (reader_name == "attribute") {
+ skip_element ();
} else {
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]