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

Diff of /code/trunk/pcre_printint.c

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

revision 1361 by ph10, Fri Sep 6 17:47:32 2013 UTC revision 1365 by ph10, Sun Oct 6 18:33:56 2013 UTC
# Line 425  for(;;) Line 425  for(;;)
425      break;      break;
426    
427      case OP_CREF:      case OP_CREF:
     case OP_NCREF:  
428      fprintf(f, "%3d %s", GET2(code,1), priv_OP_names[*code]);      fprintf(f, "%3d %s", GET2(code,1), priv_OP_names[*code]);
429      break;      break;
430    
431        case OP_DNCREF:
432          {
433          pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) +
434            IMM2_SIZE;
435          fprintf(f, " %s Cond ref <", flag);
436          print_puchar(f, entry);
437          fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE));
438          }
439        break;
440    
441      case OP_RREF:      case OP_RREF:
442      c = GET2(code, 1);      c = GET2(code, 1);
443      if (c == RREF_ANY)      if (c == RREF_ANY)
# Line 437  for(;;) Line 446  for(;;)
446        fprintf(f, "    Cond recurse %d", c);        fprintf(f, "    Cond recurse %d", c);
447      break;      break;
448    
449      case OP_NRREF:      case OP_DNRREF:
450      c = GET2(code, 1);        {
451      if (c == RREF_ANY)        pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) +
452        fprintf(f, "    Cond nrecurse any");          IMM2_SIZE;
453      else        fprintf(f, " %s Cond recurse <", flag);
454        fprintf(f, "    Cond nrecurse %d", c);        print_puchar(f, entry);
455          fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE));
456          }
457      break;      break;
458    
459      case OP_DEF:      case OP_DEF:

Legend:
Removed from v.1361  
changed lines
  Added in v.1365

  ViewVC Help
Powered by ViewVC 1.1.5