/[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 1304 by ph10, Sun Mar 3 11:14:26 2013 UTC revision 1305 by ph10, Mon Apr 1 14:50:45 2013 UTC
# Line 1409  if (ptr[0] == CHAR_LEFT_PARENTHESIS) Line 1409  if (ptr[0] == CHAR_LEFT_PARENTHESIS)
1409    {    {
1410    /* Handle specials such as (*SKIP) or (*UTF8) etc. */    /* Handle specials such as (*SKIP) or (*UTF8) etc. */
1411    
1412    if (ptr[1] == CHAR_ASTERISK) ptr += 2;    if (ptr[1] == CHAR_ASTERISK)
1413        {
1414        ptr += 2;
1415        while (ptr < cd->end_pattern && *ptr != CHAR_RIGHT_PARENTHESIS) ptr++;
1416        }
1417    
1418    /* Handle a normal, unnamed capturing parenthesis. */    /* Handle a normal, unnamed capturing parenthesis. */
1419    
# Line 2130  for (;;) Line 2134  for (;;)
2134        case OP_MARK:        case OP_MARK:
2135        case OP_PRUNE_ARG:        case OP_PRUNE_ARG:
2136        case OP_SKIP_ARG:        case OP_SKIP_ARG:
       code += code[1];  
       break;  
   
2137        case OP_THEN_ARG:        case OP_THEN_ARG:
2138        code += code[1];        code += code[1];
2139        break;        break;
# Line 2250  for (;;) Line 2251  for (;;)
2251        case OP_MARK:        case OP_MARK:
2252        case OP_PRUNE_ARG:        case OP_PRUNE_ARG:
2253        case OP_SKIP_ARG:        case OP_SKIP_ARG:
       code += code[1];  
       break;  
   
2254        case OP_THEN_ARG:        case OP_THEN_ARG:
2255        code += code[1];        code += code[1];
2256        break;        break;
# Line 2617  for (code = first_significant_code(code Line 2615  for (code = first_significant_code(code
2615      case OP_MARK:      case OP_MARK:
2616      case OP_PRUNE_ARG:      case OP_PRUNE_ARG:
2617      case OP_SKIP_ARG:      case OP_SKIP_ARG:
     code += code[1];  
     break;  
   
2618      case OP_THEN_ARG:      case OP_THEN_ARG:
2619      code += code[1];      code += code[1];
2620      break;      break;

Legend:
Removed from v.1304  
changed lines
  Added in v.1305

  ViewVC Help
Powered by ViewVC 1.1.5