[vala/staging: 2/2] libvaladoc/girimporter: Skip "attribute" elements
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 2/2] libvaladoc/girimporter: Skip "attribute" elements
- Date: Sun, 23 Aug 2020 15:53:49 +0000 (UTC)
commit 1d54f3e6797c50f2e115fe5e346560050956d224
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Aug 23 17:50:14 2020 +0200
libvaladoc/girimporter: Skip "attribute" elements
This is the same patch as in commit 6ea19c61015d0dd6cacb581397c8fe37ace9df4a
libvaladoc/importer/girdocumentationimporter.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libvaladoc/importer/girdocumentationimporter.vala
b/libvaladoc/importer/girdocumentationimporter.vala
index c01511ae0..ae3e9948b 100644
--- a/libvaladoc/importer/girdocumentationimporter.vala
+++ b/libvaladoc/importer/girdocumentationimporter.vala
@@ -362,6 +362,8 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
}
} 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]