]> 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>
Sun, 23 Aug 2020 15:51:05 +0000 (17:51 +0200)
This is the same patch as in commit 6ea19c61015d0dd6cacb581397c8fe37ace9df4a

libvaladoc/importer/girdocumentationimporter.vala

index c01511ae002263668314e943895d166715ad3490..ae3e9948bdcf0970eb6d8221786d1046e7204f4a 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;
                        }