[vala/staging] libvaladoc/girimporter: Skip "docsection" elements in <namespace>
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] libvaladoc/girimporter: Skip "docsection" elements in <namespace>
- Date: Tue, 27 Oct 2020 06:57:22 +0000 (UTC)
commit 46daf30def9f1ab6222d79e8d41340fedf81ad18
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 b94f64a96..b7d475043 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]