/[pcre]/code/branches/pcre16/pcre_exec.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_exec.c

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

revision 794 by zherczeg, Thu Dec 8 07:36:41 2011 UTC revision 795 by zherczeg, Sat Dec 10 02:20:06 2011 UTC
# Line 2968  for (;;) Line 2968  for (;;)
2968            MRRETURN(MATCH_NOMATCH);            MRRETURN(MATCH_NOMATCH);
2969            }            }
2970          GETCHARINCTEST(c, eptr);          GETCHARINCTEST(c, eptr);
2971          if (!PRIV(xclass)(c, data)) MRRETURN(MATCH_NOMATCH);          if (!PRIV(xclass)(c, data, utf)) MRRETURN(MATCH_NOMATCH);
2972          }          }
2973    
2974        /* If max == min we can continue with the main loop without the        /* If max == min we can continue with the main loop without the
# Line 2992  for (;;) Line 2992  for (;;)
2992              MRRETURN(MATCH_NOMATCH);              MRRETURN(MATCH_NOMATCH);
2993              }              }
2994            GETCHARINCTEST(c, eptr);            GETCHARINCTEST(c, eptr);
2995            if (!PRIV(xclass)(c, data)) MRRETURN(MATCH_NOMATCH);            if (!PRIV(xclass)(c, data, utf)) MRRETURN(MATCH_NOMATCH);
2996            }            }
2997          /* Control never gets here */          /* Control never gets here */
2998          }          }
# Line 3015  for (;;) Line 3015  for (;;)
3015  #else  #else
3016            c = *eptr;            c = *eptr;
3017  #endif  #endif
3018            if (!PRIV(xclass)(c, data)) break;            if (!PRIV(xclass)(c, data, utf)) break;
3019            eptr += len;            eptr += len;
3020            }            }
3021          for(;;)          for(;;)
# Line 6113  if (re->magic_number != MAGIC_NUMBER) Line 6113  if (re->magic_number != MAGIC_NUMBER)
6113    if (re == NULL) return PCRE_ERROR_BADMAGIC;    if (re == NULL) return PCRE_ERROR_BADMAGIC;
6114    if (study != NULL) study = &internal_study;    if (study != NULL) study = &internal_study;
6115    }    }
6116    if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
6117    
6118  /* Set up other data */  /* Set up other data */
6119    

Legend:
Removed from v.794  
changed lines
  Added in v.795

  ViewVC Help
Powered by ViewVC 1.1.5