]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc/girimporter: Skip "function-macro" elements 518984a95a61e0b0418b0c6591f6aa9d5d4f30a7 116/head
authorCorentin Noël <corentin.noel@collabora.com>
Fri, 27 Mar 2020 12:32:58 +0000 (13:32 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 11 Jun 2020 12:56:06 +0000 (14:56 +0200)
This is the same patch as in commit f51d9dfdaf97ab5b8377d7e5bb78cfc9b232dc86

libvaladoc/importer/girdocumentationimporter.vala

index dac87ac20cd2731ec4ffcd12ed630c8d099180eb..c01511ae002263668314e943895d166715ad3490 100644 (file)
@@ -273,6 +273,8 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
                                parse_bitfield ();
                        } else if (reader.name == "function") {
                                parse_method ("function");
+                       } else if (reader.name == "function-macro") {
+                               skip_element ();
                        } else if (reader.name == "callback") {
                                parse_callback ();
                        } else if (reader.name == "record") {