]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc/girimporter: Skip "source-position" elements
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 21 Jan 2019 14:29:41 +0000 (15:29 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 21 Jan 2019 16:41:31 +0000 (17:41 +0100)
See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75

libvaladoc/importer/girdocumentationimporter.vala

index 2b02798ad52b78db17abacfe812396bb929d2418..5d72f44143d615e0f78d2874e97669e002e0de1f 100644 (file)
@@ -358,6 +358,8 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
 
                                        comment.stability_comment = doc_stability;
                                }
+                       } else if (reader.name == "source-position") {
+                               skip_element ();
                        } else {
                                break;
                        }