[vala/0.40] libvaladoc/girimporter: Skip "source-position" elements



commit 9fb00220cfd6ab547bb7f52ba4149f331d5d8ea1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Jan 21 15:29:41 2019 +0100

    libvaladoc/girimporter: Skip "source-position" elements
    
    See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75

 libvaladoc/importer/girdocumentationimporter.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/libvaladoc/importer/girdocumentationimporter.vala 
b/libvaladoc/importer/girdocumentationimporter.vala
index 902dbe0d4..9059e0f27 100644
--- a/libvaladoc/importer/girdocumentationimporter.vala
+++ b/libvaladoc/importer/girdocumentationimporter.vala
@@ -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;
                        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]