[vala/0.40] libvaladoc/girimporter: Skip "docsection" elements in <namespace>
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] libvaladoc/girimporter: Skip "docsection" elements in <namespace>
- Date: Sun, 3 Jan 2021 12:46:52 +0000 (UTC)
commit 4363ab45d0ce1c3c5d31cadb38242f26722c149f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Oct 27 07:56:47 2020 +0100
libvaladoc/girimporter: Skip "docsection" elements in <namespace>
See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226
libvaladoc/importer/girdocumentationimporter.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/libvaladoc/importer/girdocumentationimporter.vala
b/libvaladoc/importer/girdocumentationimporter.vala
index b03e2971c..12602f47c 100644
--- a/libvaladoc/importer/girdocumentationimporter.vala
+++ b/libvaladoc/importer/girdocumentationimporter.vala
@@ -289,6 +289,9 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
parse_union ();
} else if (reader.name == "constant") {
parse_constant ();
+ } else if (reader.name == "docsection") {
+ // TODO Add docs to namespace
+ skip_element ();
} else {
// error
error ("unknown child element `%s' in `namespace'".printf (reader.name));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]