make sure the OOM code don't get in the way of the builds automatic update
* Makefile.am doc/apibuild.py: make sure the OOM code don't
get in the way of the builds
* doc/libxml2-api.xml python/libxml2class.txt: automatic update
Daniel
diff --git a/doc/apibuild.py b/doc/apibuild.py
index 241ceae..f0308bc 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -11,6 +11,31 @@
import string
import glob
+#
+# C parser analysis code
+#
+ignored_files = {
+ "trio": "too many non standard macros",
+ "trio.c": "too many non standard macros",
+ "trionan.c": "too many non standard macros",
+ "triostr.c": "too many non standard macros",
+ "acconfig.h": "generated portability layer",
+ "config.h": "generated portability layer",
+ "libxml.h": "internal only",
+ "testOOM.c": "out of memory tester"
+ "testOOMlib.h": "out of memory tester"
+ "testOOMlib.c": "out of memory tester"
+}
+
+ignored_words = {
+ "WINAPI": (0, "Windows keyword"),
+ "LIBXML_DLL_IMPORT": (0, "Special macro to flag external keywords"),
+ "__declspec": (3, "Windows keyword"),
+ "ATTRIBUTE_UNUSED": (0, "macro keyword"),
+ "LIBEXSLT_PUBLIC": (0, "macro keyword"),
+ "X_IN_Y": (5, "macro function builder"),
+}
+
def escape(raw):
raw = string.replace(raw, '&', '&')
raw = string.replace(raw, '<', '<')
@@ -208,28 +233,6 @@
self.analyze_dict("typedefs", self.typedefs)
self.analyze_dict("macros", self.macros)
-#
-# C parser analysis code
-#
-ignored_files = {
- "trio": "too many non standard macros",
- "trio.c": "too many non standard macros",
- "trionan.c": "too many non standard macros",
- "triostr.c": "too many non standard macros",
- "acconfig.h": "generated portability layer",
- "config.h": "generated portability layer",
- "libxml.h": "internal only",
-}
-
-ignored_words = {
- "WINAPI": (0, "Windows keyword"),
- "LIBXML_DLL_IMPORT": (0, "Special macro to flag external keywords"),
- "__declspec": (3, "Windows keyword"),
- "ATTRIBUTE_UNUSED": (0, "macro keyword"),
- "LIBEXSLT_PUBLIC": (0, "macro keyword"),
- "X_IN_Y": (5, "macro function builder"),
-}
-
class CLexer:
"""A lexer for the C language, tokenize the input by reading and
analyzing it line by line"""