]> granicus.if.org Git - libexpat/commitdiff
Make it compile without XML_DTD
authorJames Clark <jjc@jclark.com>
Sun, 4 Jul 1999 13:18:00 +0000 (13:18 +0000)
committerJames Clark <jjc@jclark.com>
Sun, 4 Jul 1999 13:18:00 +0000 (13:18 +0000)
expat/xmlparse/xmlparse.c

index 9d629403bc45d8ccef431acb55908474d3498740..cb773dabc835d77beffd0296dad4830a3bbf23f4 100755 (executable)
@@ -2590,7 +2590,9 @@ doProlog(XML_Parser parser,
       case XML_TOK_COMMENT:
       case XML_TOK_BOM:
       case XML_TOK_XML_DECL:
+#ifdef XML_DTD
       case XML_TOK_IGNORE_SECT:
+#endif /* XML_DTD */
       case XML_TOK_PARAM_ENTITY_REF:
        break;
       default: