/[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 1084 by chpe, Tue Oct 16 15:55:28 2012 UTC revision 1114 by chpe, Tue Oct 16 15:57:16 2012 UTC
# Line 1854  for (;;) Line 1854  for (;;)
1854      case OP_NOTI:      case OP_NOTI:
1855      branchlength++;      branchlength++;
1856      cc += 2;      cc += 2;
1857  #if defined SUPPORT_UTF && !defined COMPILE_PCRE32  #ifdef SUPPORT_UTF
1858      if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);      if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1859  #endif  #endif
1860      break;      break;
# Line 1868  for (;;) Line 1868  for (;;)
1868      case OP_NOTEXACTI:      case OP_NOTEXACTI:
1869      branchlength += (int)GET2(cc,1);      branchlength += (int)GET2(cc,1);
1870      cc += 2 + IMM2_SIZE;      cc += 2 + IMM2_SIZE;
1871  #if defined SUPPORT_UTF && !defined COMPILE_PCRE32  #ifdef SUPPORT_UTF
1872      if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);      if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1873  #endif  #endif
1874      break;      break;
# Line 4115  for (;; ptr++) Line 4115  for (;; ptr++)
4115        {        {
4116        const pcre_uchar *oldptr;        const pcre_uchar *oldptr;
4117    
4118  #if defined SUPPORT_UTF && !defined COMPILE_PCRE32  #ifdef SUPPORT_UTF
4119        if (utf && HAS_EXTRALEN(c))        if (utf && HAS_EXTRALEN(c))
4120          {                           /* Braces are required because the */          {                           /* Braces are required because the */
4121          GETCHARLEN(c, ptr, ptr);    /* macro generates multiple statements */          GETCHARLEN(c, ptr, ptr);    /* macro generates multiple statements */
# Line 5505  for (;; ptr++) Line 5505  for (;; ptr++)
5505        else if (*tempcode == OP_EXACT || *tempcode == OP_NOTEXACT)        else if (*tempcode == OP_EXACT || *tempcode == OP_NOTEXACT)
5506          {          {
5507          tempcode += PRIV(OP_lengths)[*tempcode];          tempcode += PRIV(OP_lengths)[*tempcode];
5508  #if defined SUPPORT_UTF && !defined COMPILE_PCRE32  #ifdef SUPPORT_UTF
5509          if (utf && HAS_EXTRALEN(tempcode[-1]))          if (utf && HAS_EXTRALEN(tempcode[-1]))
5510            tempcode += GET_EXTRALEN(tempcode[-1]);            tempcode += GET_EXTRALEN(tempcode[-1]);
5511  #endif  #endif
# Line 6949  for (;; ptr++) Line 6949  for (;; ptr++)
6949      mclength = 1;      mclength = 1;
6950      mcbuffer[0] = c;      mcbuffer[0] = c;
6951    
6952  #if defined SUPPORT_UTF && !defined COMPILE_PCRE32  #ifdef SUPPORT_UTF
6953      if (utf && HAS_EXTRALEN(c))      if (utf && HAS_EXTRALEN(c))
6954        ACROSSCHAR(TRUE, ptr[1], mcbuffer[mclength++] = *(++ptr));        ACROSSCHAR(TRUE, ptr[1], mcbuffer[mclength++] = *(++ptr));
6955  #endif  #endif

Legend:
Removed from v.1084  
changed lines
  Added in v.1114

  ViewVC Help
Powered by ViewVC 1.1.5