/[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 744 by zherczeg, Sun Nov 13 16:31:38 2011 UTC revision 746 by ph10, Tue Nov 15 15:07:02 2011 UTC
# Line 687  else Line 687  else
687        if ((digitab[ptr[1]] & ctype_xdigit) != 0 && (digitab[ptr[2]] & ctype_xdigit) != 0        if ((digitab[ptr[1]] & ctype_xdigit) != 0 && (digitab[ptr[2]] & ctype_xdigit) != 0
688             && (digitab[ptr[3]] & ctype_xdigit) != 0 && (digitab[ptr[4]] & ctype_xdigit) != 0)             && (digitab[ptr[3]] & ctype_xdigit) != 0 && (digitab[ptr[4]] & ctype_xdigit) != 0)
689          {          {
         int i;  
690          c = 0;          c = 0;
691          for (i = 0; i < 4; ++i)          for (i = 0; i < 4; ++i)
692            {            {
# Line 864  else Line 863  else
863        Otherwise it is a lowercase x letter. */        Otherwise it is a lowercase x letter. */
864        if ((digitab[ptr[1]] & ctype_xdigit) != 0 && (digitab[ptr[2]] & ctype_xdigit) != 0)        if ((digitab[ptr[1]] & ctype_xdigit) != 0 && (digitab[ptr[2]] & ctype_xdigit) != 0)
865          {          {
         int i;  
866          c = 0;          c = 0;
867          for (i = 0; i < 2; ++i)          for (i = 0; i < 2; ++i)
868            {            {
# Line 1648  for (;;) Line 1646  for (;;)
1646      need to skip over a multibyte character in UTF8 mode.  */      need to skip over a multibyte character in UTF8 mode.  */
1647    
1648      case OP_EXACT:      case OP_EXACT:
1649        case OP_EXACTI:
1650      branchlength += GET2(cc,1);      branchlength += GET2(cc,1);
1651      cc += 4;      cc += 4;
1652  #ifdef SUPPORT_UTF8  #ifdef SUPPORT_UTF8

Legend:
Removed from v.744  
changed lines
  Added in v.746

  ViewVC Help
Powered by ViewVC 1.1.5