mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-24 06:50:08 +03:00
doc: Add ignored tokens to apibuild.py
This commit is contained in:
parent
6c4ea468b2
commit
46d7aaecff
@ -64,6 +64,14 @@ ignored_words = {
|
||||
"LIBXML_ATTR_ALLOC_SIZE": (3, "macro for gcc checking extension"),
|
||||
"ATTRIBUTE_NO_SANITIZE": (3, "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):
|
||||
@ -292,7 +300,7 @@ class index:
|
||||
continue
|
||||
if id in self.enums:
|
||||
continue
|
||||
if id in self.macros:
|
||||
if id in self.macros and id != 'XML_OP':
|
||||
print("macro %s from %s redeclared in %s" % (
|
||||
id, self.macros[id].header, idx.macros[id].header))
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user