]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc/girimporter: Skip "attribute" elements
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 23 Aug 2020 15:50:14 +0000 (17:50 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 5 Sep 2020 14:42:41 +0000 (16:42 +0200)
This is the same patch as in commit 6ea19c61015d0dd6cacb581397c8fe37ace9df4a

libvaladoc/importer/girdocumentationimporter.vala

index 656a35e16901ed35abeb99b96003054221bcb085..0589a7f0b0dd0579b77db9927d72282c3b2fa1e3 100644 (file)
@@ -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;
                        }