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

Diff of /code/trunk/pcre_dfa_exec.c

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

revision 349 by ph10, Wed Jul 2 18:42:11 2008 UTC revision 361 by ph10, Thu Jul 10 16:03:28 2008 UTC
# Line 834  for (;;) Line 834  for (;;)
834            break;            break;
835    
836            case PT_GC:            case PT_GC:
837            OK = ucp_gentype[prop->chartype] == code[2];            OK = _pcre_ucp_gentype[prop->chartype] == code[2];
838            break;            break;
839    
840            case PT_PC:            case PT_PC:
# Line 1003  for (;;) Line 1003  for (;;)
1003            break;            break;
1004    
1005            case PT_GC:            case PT_GC:
1006            OK = ucp_gentype[prop->chartype] == code[3];            OK = _pcre_ucp_gentype[prop->chartype] == code[3];
1007            break;            break;
1008    
1009            case PT_PC:            case PT_PC:
# Line 1225  for (;;) Line 1225  for (;;)
1225            break;            break;
1226    
1227            case PT_GC:            case PT_GC:
1228            OK = ucp_gentype[prop->chartype] == code[3];            OK = _pcre_ucp_gentype[prop->chartype] == code[3];
1229            break;            break;
1230    
1231            case PT_PC:            case PT_PC:
# Line 1472  for (;;) Line 1472  for (;;)
1472            break;            break;
1473    
1474            case PT_GC:            case PT_GC:
1475            OK = ucp_gentype[prop->chartype] == code[5];            OK = _pcre_ucp_gentype[prop->chartype] == code[5];
1476            break;            break;
1477    
1478            case PT_PC:            case PT_PC:
# Line 2505  Returns:          > 0 => number of match Line 2505  Returns:          > 0 => number of match
2505                   < -1 => some kind of unexpected problem                   < -1 => some kind of unexpected problem
2506  */  */
2507    
2508  PCRE_EXP_DEFN int  PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
2509  pcre_dfa_exec(const pcre *argument_re, const pcre_extra *extra_data,  pcre_dfa_exec(const pcre *argument_re, const pcre_extra *extra_data,
2510    const char *subject, int length, int start_offset, int options, int *offsets,    const char *subject, int length, int start_offset, int options, int *offsets,
2511    int offsetcount, int *workspace, int wscount)    int offsetcount, int *workspace, int wscount)
# Line 2755  for (;;) Line 2755  for (;;)
2755        {        {
2756        if (current_subject > md->start_subject + start_offset)        if (current_subject > md->start_subject + start_offset)
2757          {          {
2758          while (current_subject <= end_subject && !WAS_NEWLINE(current_subject))          while (current_subject < end_subject && !WAS_NEWLINE(current_subject))
2759            current_subject++;            current_subject++;
2760    
2761          /* If we have just passed a CR and the newline option is ANY or          /* If we have just passed a CR and the newline option is ANY or

Legend:
Removed from v.349  
changed lines
  Added in v.361

  ViewVC Help
Powered by ViewVC 1.1.5