about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDrew DeVault <drew@ddevault.org>2025-03-21 10:39:59 +0100
committerAlexey Yerin <yyp@disroot.org>2025-03-21 13:33:50 +0300
commit914e76b6d3c817c942d6584ae51e41529d2a3ec7 (patch)
tree49372c672e98cf076058038c2043f0e1a5e9f20e
parentedc1dacbbad9bbd4f0cbea105dfe3f6448c7e782 (diff)
gir: parse & discard doc attrs/elems
Signed-off-by: Drew DeVault <drew@ddevault.org>
-rw-r--r--gir/parse.ha2
1 files changed, 2 insertions, 0 deletions
diff --git a/gir/parse.ha b/gir/parse.ha
index e967f76..e5bbd8d 100644
--- a/gir/parse.ha
+++ b/gir/parse.ha
@@ -38,6 +38,8 @@ fn parse_repository(parser: *xml::parser, repo: *opaque) (void | error) = {
 		("xmlns", null),
 		("xmlns:c", null),
 		("xmlns:glib", null),
+		("xmlns:doc", null),
+		("doc:format", null, null),
 		("version", &repo.version),
 		("c:identifier-prefixes", null),
 		("c:symbol-prefixes", null),