diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-10-27 07:56:47 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-10-27 07:56:47 +0100 |
commit | 46daf30def9f1ab6222d79e8d41340fedf81ad18 (patch) | |
tree | c835f6fe5c7ed0ddc93dca90859b2c1e5efa2f04 /libvaladoc | |
parent | 1d78426a2b172f0b0ba2f04d1f5c51ad75c82ef5 (diff) | |
download | vala-46daf30def9f1ab6222d79e8d41340fedf81ad18.tar.gz |
libvaladoc/girimporter: Skip "docsection" elements in <namespace>
See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226
Diffstat (limited to 'libvaladoc')
-rw-r--r-- | libvaladoc/importer/girdocumentationimporter.vala | 3 |
1 files changed, 3 insertions, 0 deletions
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)); |