/[pcre]/code/trunk/pcre_compile.c
ViewVC logotype

Diff of /code/trunk/pcre_compile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1480 by ph10, Tue May 27 18:02:51 2014 UTC revision 1481 by ph10, Tue May 27 18:24:42 2014 UTC
# Line 549  static const char error_texts[] = Line 549  static const char error_texts[] =
549    "group name must start with a non-digit\0"    "group name must start with a non-digit\0"
550    /* 85 */    /* 85 */
551    "parentheses are too deeply nested (stack check)\0"    "parentheses are too deeply nested (stack check)\0"
552      "digits missing in \\x{} or \\o{}\0"
553    ;    ;
554    
555  /* Table to identify digits and hex digits. This is used when compiling  /* Table to identify digits and hex digits. This is used when compiling
# Line 1259  else Line 1260  else
1260    
1261      case CHAR_o:      case CHAR_o:
1262      if (ptr[1] != CHAR_LEFT_CURLY_BRACKET) *errorcodeptr = ERR81; else      if (ptr[1] != CHAR_LEFT_CURLY_BRACKET) *errorcodeptr = ERR81; else
1263        if (ptr[2] == CHAR_RIGHT_CURLY_BRACKET) *errorcodeptr = ERR86; else
1264        {        {
1265        ptr += 2;        ptr += 2;
1266        c = 0;        c = 0;
# Line 1328  else Line 1330  else
1330        if (ptr[1] == CHAR_LEFT_CURLY_BRACKET)        if (ptr[1] == CHAR_LEFT_CURLY_BRACKET)
1331          {          {
1332          ptr += 2;          ptr += 2;
1333            if (*ptr == CHAR_RIGHT_CURLY_BRACKET)
1334              {
1335              *errorcodeptr = ERR86;
1336              break;
1337              }
1338          c = 0;          c = 0;
1339          overflow = FALSE;          overflow = FALSE;
1340          while (MAX_255(*ptr) && (digitab[*ptr] & ctype_xdigit) != 0)          while (MAX_255(*ptr) && (digitab[*ptr] & ctype_xdigit) != 0)

Legend:
Removed from v.1480  
changed lines
  Added in v.1481

  ViewVC Help
Powered by ViewVC 1.1.5