mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
doc: Add ignored tokens to apibuild.py
This commit is contained in:
@@ -64,6 +64,14 @@ ignored_words = {
|
|||||||
"LIBXML_ATTR_ALLOC_SIZE": (3, "macro for gcc checking extension"),
|
"LIBXML_ATTR_ALLOC_SIZE": (3, "macro for gcc checking extension"),
|
||||||
"ATTRIBUTE_NO_SANITIZE": (3, "macro keyword"),
|
"ATTRIBUTE_NO_SANITIZE": (3, "macro keyword"),
|
||||||
"XML_DEPRECATED": (0, "macro keyword"),
|
"XML_DEPRECATED": (0, "macro keyword"),
|
||||||
|
"XML_GLOBALS_ALLOC": (0, "macro keyword"),
|
||||||
|
"XML_GLOBALS_ERROR": (0, "macro keyword"),
|
||||||
|
"XML_GLOBALS_HTML": (0, "macro keyword"),
|
||||||
|
"XML_GLOBALS_IO": (0, "macro keyword"),
|
||||||
|
"XML_GLOBALS_PARSER": (0, "macro keyword"),
|
||||||
|
"XML_GLOBALS_SAVE": (0, "macro keyword"),
|
||||||
|
"XML_GLOBALS_TREE": (0, "macro keyword"),
|
||||||
|
"XML_THREAD_LOCAL": (0, "macro keyword"),
|
||||||
}
|
}
|
||||||
|
|
||||||
def escape(raw):
|
def escape(raw):
|
||||||
@@ -292,7 +300,7 @@ class index:
|
|||||||
continue
|
continue
|
||||||
if id in self.enums:
|
if id in self.enums:
|
||||||
continue
|
continue
|
||||||
if id in self.macros:
|
if id in self.macros and id != 'XML_OP':
|
||||||
print("macro %s from %s redeclared in %s" % (
|
print("macro %s from %s redeclared in %s" % (
|
||||||
id, self.macros[id].header, idx.macros[id].header))
|
id, self.macros[id].header, idx.macros[id].header))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user