[Expat-CVS] expat/lib xmlparse.c,1.67,1.68

Fred L. Drake fdrake@users.sourceforge.net
Fri Aug 23 14:55:02 2002


Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv27409

Modified Files:
	xmlparse.c 
Log Message:
Wrap some long lines; the AS/400 requires line length <= 80
characters.


Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- xmlparse.c	23 Aug 2002 15:04:52 -0000	1.67
+++ xmlparse.c	23 Aug 2002 21:54:11 -0000	1.68
@@ -3672,7 +3672,9 @@
            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 @@
 #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) {