/[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 1135 by chpe, Thu Oct 18 18:35:37 2012 UTC revision 1145 by ph10, Fri Oct 19 16:25:32 2012 UTC
# Line 630  int ctype; Line 630  int ctype;
630  int length;  int length;
631  int max;  int max;
632  int min;  int min;
633  int number;  unsigned int number;
634  int offset;  int offset;
635  pcre_uchar op;  pcre_uchar op;
636  int save_capture_last;  int save_capture_last;
# Line 1311  for (;;) Line 1311  for (;;)
1311          }          }
1312        else        else
1313          {          {
1314          int recno = GET2(ecode, LINK_SIZE + 2);   /* Recursion group number*/          unsigned int recno = GET2(ecode, LINK_SIZE + 2);   /* Recursion group number*/
1315          condition = (recno == RREF_ANY || recno == md->recursive->group_num);          condition = (recno == RREF_ANY || recno == md->recursive->group_num);
1316    
1317          /* If the test is for recursion into a specific subpattern, and it is          /* If the test is for recursion into a specific subpattern, and it is
# Line 1383  for (;;) Line 1383  for (;;)
1383    
1384        if (!condition && condcode == OP_NCREF)        if (!condition && condcode == OP_NCREF)
1385          {          {
1386          int refno = offset >> 1;          unsigned int refno = offset >> 1;
1387          pcre_uchar *slotA = md->name_table;          pcre_uchar *slotA = md->name_table;
1388    
1389          for (i = 0; i < md->name_count; i++)          for (i = 0; i < md->name_count; i++)
# Line 1743  for (;;) Line 1743  for (;;)
1743      case OP_RECURSE:      case OP_RECURSE:
1744        {        {
1745        recursion_info *ri;        recursion_info *ri;
1746        int recno;        unsigned int recno;
1747    
1748        callpat = md->start_code + GET(ecode, 1);        callpat = md->start_code + GET(ecode, 1);
1749        recno = (callpat == md->start_code)? 0 :        recno = (callpat == md->start_code)? 0 :

Legend:
Removed from v.1135  
changed lines
  Added in v.1145

  ViewVC Help
Powered by ViewVC 1.1.5