ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/expat/dist/lib/xmltok_impl.c
(Generate patch)

Comparing vendor/expat/dist/lib/xmltok_impl.c (file contents):
Revision 8863 by laffer1, Mon Dec 2 02:59:32 2013 UTC vs.
Revision 8864 by laffer1, Mon Sep 26 13:11:14 2016 UTC

# Line 885 | Line 885 | PREFIX(scanPercent)(const ENCODING *enc, const char *p
885                      const char **nextTokPtr)
886   {
887    if (ptr == end)
888 <    return -XML_TOK_PERCENT;
888 >    return XML_TOK_PARTIAL;
889    switch (BYTE_TYPE(enc, ptr)) {
890    CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
891    case BT_S: case BT_LF: case BT_CR: case BT_PERCNT:
# Line 1744 | Line 1744 | PREFIX(updatePosition)(const ENCODING *enc,
1744                         const char *end,
1745                         POSITION *pos)
1746   {
1747 <  while (ptr != end) {
1747 >  while (ptr < end) {
1748      switch (BYTE_TYPE(enc, ptr)) {
1749   #define LEAD_CASE(n) \
1750      case BT_LEAD ## n: \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines