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

Diff of /code/trunk/pcre_exec.c

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

revision 1055 by chpe, Tue Oct 16 15:53:30 2012 UTC revision 1084 by chpe, Tue Oct 16 15:55:28 2012 UTC
# Line 191  if (caseless) Line 191  if (caseless)
191      PCRE_PUCHAR endptr = p + length;      PCRE_PUCHAR endptr = p + length;
192      while (p < endptr)      while (p < endptr)
193        {        {
194        unsigned int c, d;        pcre_uint32 c, d;
195        const ucd_record *ur;        const ucd_record *ur;
196        if (eptr >= md->end_subject) return -2;   /* Partial match */        if (eptr >= md->end_subject) return -2;   /* Partial match */
197        GETCHARINC(c, eptr);        GETCHARINC(c, eptr);
# Line 499  so they can be ordinary variables in all Line 499  so they can be ordinary variables in all
499    
500  register int  rrc;         /* Returns from recursive calls */  register int  rrc;         /* Returns from recursive calls */
501  register int  i;           /* Used for loops not involving calls to RMATCH() */  register int  i;           /* Used for loops not involving calls to RMATCH() */
502  register unsigned int c;   /* Character values not kept over RMATCH() calls */  register pcre_uint32 c;    /* Character values not kept over RMATCH() calls */
503  register BOOL utf;         /* Local copy of UTF flag for speed */  register BOOL utf;         /* Local copy of UTF flag for speed */
504    
505  BOOL minimize, possessive; /* Quantifier options */  BOOL minimize, possessive; /* Quantifier options */
# Line 629  int max; Line 629  int max;
629  int min;  int min;
630  int number;  int number;
631  int offset;  int offset;
632  int op;  pcre_uchar op;
633  int save_capture_last;  int save_capture_last;
634  int save_offset1, save_offset2, save_offset3;  int save_offset1, save_offset2, save_offset3;
635  int stacksave[REC_STACK_SAVE_MAX];  int stacksave[REC_STACK_SAVE_MAX];
# Line 3197  for (;;) Line 3197  for (;;)
3197    
3198        else        else
3199          {          {
3200          unsigned int dc;          pcre_uint32 dc;
3201          GETCHARINC(dc, eptr);          GETCHARINC(dc, eptr);
3202          ecode += length;          ecode += length;
3203    
# Line 6745  for(;;) Line 6745  for(;;)
6745            {            {
6746            while (p < end_subject)            while (p < end_subject)
6747              {              {
6748              register int pp = *p++;              register pcre_uint32 pp = *p++;
6749              if (pp == req_char || pp == req_char2) { p--; break; }              if (pp == req_char || pp == req_char2) { p--; break; }
6750              }              }
6751            }            }

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

  ViewVC Help
Powered by ViewVC 1.1.5