summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmltok_impl.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-10-21 15:38:55 (GMT)
committerFred Drake <fdrake@acm.org>2003-10-21 15:38:55 (GMT)
commit08317aefef89ca18ce12e53c0cdb3c8e132a6201 (patch)
tree9d71c9455eae67c0b6d43eeb299ca84a510fa6e2 /Modules/expat/xmltok_impl.c
parent6aedcfcd1ebaa22b4699a130326d38818c53b135 (diff)
downloadcpython-08317aefef89ca18ce12e53c0cdb3c8e132a6201.zip
cpython-08317aefef89ca18ce12e53c0cdb3c8e132a6201.tar.gz
cpython-08317aefef89ca18ce12e53c0cdb3c8e132a6201.tar.bz2
Update to Expat 1.95.7; there are no changes to the Expat sources.
Diffstat (limited to 'Modules/expat/xmltok_impl.c')
-rw-r--r--Modules/expat/xmltok_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/expat/xmltok_impl.c b/Modules/expat/xmltok_impl.c
index 84a3267..46569fe 100644
--- a/Modules/expat/xmltok_impl.c
+++ b/Modules/expat/xmltok_impl.c
@@ -882,7 +882,7 @@ PREFIX(scanPercent)(const ENCODING *enc, const char *ptr, const char *end,
const char **nextTokPtr)
{
if (ptr == end)
- return XML_TOK_PARTIAL;
+ return -XML_TOK_PERCENT;
switch (BYTE_TYPE(enc, ptr)) {
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
case BT_S: case BT_LF: case BT_CR: case BT_PERCNT: