[vala/0.40] girparser: Skip 'attribute' elements
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] girparser: Skip 'attribute' elements
- Date: Mon, 5 Aug 2019 11:39:36 +0000 (UTC)
commit 930e1dd778e50a8f108fd69db0a88bcbe7fc8b56
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 88cd4ccfd..2cf283c98 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]