summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmlrole.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-08-03 07:06:22 (GMT)
committerFred Drake <fdrake@acm.org>2004-08-03 07:06:22 (GMT)
commit31d485c0f5e817d37dbbfb86fdea66027866ce84 (patch)
tree583cec0c25aa78f17ffea778e886b65c4b291b04 /Modules/expat/xmlrole.c
parent70fcdb8be0ef544432b8bd48a0abd0475f0fb778 (diff)
downloadcpython-31d485c0f5e817d37dbbfb86fdea66027866ce84.zip
cpython-31d485c0f5e817d37dbbfb86fdea66027866ce84.tar.gz
cpython-31d485c0f5e817d37dbbfb86fdea66027866ce84.tar.bz2
update to Expat 1.95.8
Diffstat (limited to 'Modules/expat/xmlrole.c')
-rw-r--r--Modules/expat/xmlrole.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/expat/xmlrole.c b/Modules/expat/xmlrole.c
index 83c0d71..1924fcb 100644
--- a/Modules/expat/xmlrole.c
+++ b/Modules/expat/xmlrole.c
@@ -2,6 +2,8 @@
See the file COPYING for copying permission.
*/
+#include <stddef.h>
+
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
@@ -12,6 +14,7 @@
#endif
#endif /* ndef COMPILED_FROM_DSP */
+#include "expat_external.h"
#include "internal.h"
#include "xmlrole.h"
#include "ascii.h"
@@ -370,6 +373,8 @@ internalSubset(PROLOG_STATE *state,
case XML_TOK_CLOSE_BRACKET:
state->handler = doctype5;
return XML_ROLE_DOCTYPE_NONE;
+ case XML_TOK_NONE:
+ return XML_ROLE_NONE;
}
return common(state, tok);
}