/[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 1076 by chpe, Tue Oct 16 15:54:54 2012 UTC revision 1077 by chpe, Tue Oct 16 15:54:57 2012 UTC
# Line 3783  for (;; ptr++) Line 3783  for (;; ptr++)
3783    int terminator;    int terminator;
3784    int mclength;    int mclength;
3785    int tempbracount;    int tempbracount;
3786    int ec; // FIXMEchpe pcre_uint32    pcre_uint32 ec;
3787    pcre_uchar mcbuffer[8];    pcre_uchar mcbuffer[8];
3788    
3789    /* Get next character in the pattern */    /* Get next character in the pattern */
# Line 4416  for (;; ptr++) Line 4416  for (;; ptr++)
4416    
4417        if (!inescq && ptr[1] == CHAR_MINUS)        if (!inescq && ptr[1] == CHAR_MINUS)
4418          {          {
4419          int d;          pcre_uint32 d;
4420          ptr += 2;          ptr += 2;
4421          while (*ptr == CHAR_BACKSLASH && ptr[1] == CHAR_E) ptr += 2;          while (*ptr == CHAR_BACKSLASH && ptr[1] == CHAR_E) ptr += 2;
4422    
# Line 5786  for (;; ptr++) Line 5786  for (;; ptr++)
5786          while (MAX_255(*ptr) && (cd->ctypes[*ptr] & ctype_word) != 0)          while (MAX_255(*ptr) && (cd->ctypes[*ptr] & ctype_word) != 0)
5787            {            {
5788            if (recno >= 0)            if (recno >= 0)
5789              recno = (IS_DIGIT(*ptr))? recno * 10 + *ptr - CHAR_0 : -1;              recno = (IS_DIGIT(*ptr))? recno * 10 + (int)(*ptr - CHAR_0) : -1;
5790            ptr++;            ptr++;
5791            }            }
5792          namelen = (int)(ptr - name);          namelen = (int)(ptr - name);

Legend:
Removed from v.1076  
changed lines
  Added in v.1077

  ViewVC Help
Powered by ViewVC 1.1.5