From ed0cbdbd059adc31be29e14076518cdf1098703d Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Fri, 23 Aug 2002 21:54:11 +0000 Subject: [PATCH] Wrap some long lines; the AS/400 requires line length <= 80 characters. --- expat/lib/xmlparse.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 4f05241b..97d6757d 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -3672,7 +3672,9 @@ doProlog(XML_Parser parser, otherwise call the skipped entity handler */ if (prologState.documentEntity && - (dtd.standalone ? !openInternalEntities : !dtd.hasParamEntityRefs)) { + (dtd.standalone + ? !openInternalEntities + : !dtd.hasParamEntityRefs)) { if (!entity) return XML_ERROR_UNDEFINED_ENTITY; else if (!entity->is_internal) @@ -4081,7 +4083,9 @@ appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, #ifdef XML_DTD prologState.documentEntity && #endif /* XML_DTD */ - (dtd.standalone ? !openInternalEntities : !dtd.hasParamEntityRefs); + (dtd.standalone + ? !openInternalEntities + : !dtd.hasParamEntityRefs); else /* if (pool == &tempPool): we are called from content */ checkEntityDecl = !dtd.hasParamEntityRefs || dtd.standalone; if (checkEntityDecl) {