summaryrefslogtreecommitdiff
path: root/HTMLparser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-09-30 12:36:01 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-09-30 12:36:01 +0000
commit73b013fc1758c3c3afb54c00ade42b529fc4c77d (patch)
treed49de3d96b84830585e2a03bea39088b12287c48 /HTMLparser.c
parentcd101049596ae0e1e63df7f6c08e03d189fe7754 (diff)
downloadlibxml2-73b013fc1758c3c3afb54c00ade42b529fc4c77d.tar.gz
added a new configure option --with-push, some cleanups, chased code size
* HTMLparser.c Makefile.am configure.in legacy.c parser.c parserInternals.c testHTML.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/xmlversion.h.in: added a new configure option --with-push, some cleanups, chased code size anomalies. Now a library configured --with-minimum is around 150KB, sounds good enough. Daniel
Diffstat (limited to 'HTMLparser.c')
-rw-r--r--HTMLparser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index 1606547d..d9ef259a 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4271,6 +4271,7 @@ htmlCreateDocParserCtxt(xmlChar *cur, const char *encoding ATTRIBUTE_UNUSED) {
return(ctxt);
}
+#ifdef LIBXML_PUSH_ENABLED
/************************************************************************
* *
* Progressive parsing interfaces *
@@ -5141,6 +5142,7 @@ htmlParseChunk(htmlParserCtxtPtr ctxt, const char *chunk, int size,
}
return((xmlParserErrors) ctxt->errNo);
}
+#endif /* LIBXML_PUSH_ENABLED */
/************************************************************************
* *