diff options
| author | Remko Tronçon <git@el-tramo.be> | 2012-04-24 18:37:10 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2012-04-24 18:37:10 (GMT) | 
| commit | f4039e04a82be49acfb0aebadbfc4f4c231f3a05 (patch) | |
| tree | d18e5de26ee5e701c7826f44e35d89f9f85bca1f /3rdParty/Expat/src/xmltok_impl.c | |
| parent | f52b5f87cf21c9cd8dea4ff1fad8fe5a32dbae80 (diff) | |
| download | swift-f4039e04a82be49acfb0aebadbfc4f4c231f3a05.zip swift-f4039e04a82be49acfb0aebadbfc4f4c231f3a05.tar.bz2 | |
Upgraded bundled Expat to 2.1.0.
Diffstat (limited to '3rdParty/Expat/src/xmltok_impl.c')
| -rw-r--r--[-rwxr-xr-x] | 3rdParty/Expat/src/xmltok_impl.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/3rdParty/Expat/src/xmltok_impl.c b/3rdParty/Expat/src/xmltok_impl.c index 1268819..9c2895b 100755..100644 --- a/3rdParty/Expat/src/xmltok_impl.c +++ b/3rdParty/Expat/src/xmltok_impl.c @@ -885,7 +885,7 @@ PREFIX(scanPercent)(const ENCODING *enc, const char *ptr, const char *end,                      const char **nextTokPtr)  {    if (ptr == end) -    return -XML_TOK_PERCENT; +    return XML_TOK_PARTIAL;    switch (BYTE_TYPE(enc, ptr)) {    CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)    case BT_S: case BT_LF: case BT_CR: case BT_PERCNT: @@ -1744,7 +1744,7 @@ PREFIX(updatePosition)(const ENCODING *enc,                         const char *end,                         POSITION *pos)  { -  while (ptr != end) { +  while (ptr < end) {      switch (BYTE_TYPE(enc, ptr)) {  #define LEAD_CASE(n) \      case BT_LEAD ## n: \ | 
 Swift
 Swift