Commit de0a0a5a authored by Daniel Veillard's avatar Daniel Veillard
Browse files

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
parent a76fe5ca
Thu Apr 24 19:11:12 CEST 2003 Daniel Veillard <daniel@veillard.com>
* 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
Thu Apr 24 18:01:46 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
* Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of
......
......@@ -116,10 +116,10 @@ testReader_LDFLAGS =
testReader_DEPENDENCIES = $(DEPS)
testReader_LDADD= $(LDADDS)
testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
testOOM_LDFLAGS =
testOOM_DEPENDENCIES = $(DEPS)
testOOM_LDADD= $(LDADDS)
#testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
#testOOM_LDFLAGS =
#testOOM_DEPENDENCIES = $(DEPS)
#testOOM_LDADD= $(LDADDS)
check-local: tests
......
......@@ -11,6 +11,31 @@ import os, sys
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, '&', '&amp;')
raw = string.replace(raw, '<', '&lt;')
......@@ -208,28 +233,6 @@ class index:
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"""
......
This diff is collapsed.
......@@ -132,6 +132,10 @@ relaxNGCleanupTypes()
relaxNGNewMemParserCtxt()
relaxNGNewParserCtxt()
# functions from module testOOMlib
test_get_malloc_blocks_outstanding()
test_strdup()
# functions from module tree
buildQName()
compressMode()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment