/[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 1365 by ph10, Sun Oct 6 18:33:56 2013 UTC revision 1379 by ph10, Mon Oct 14 13:54:07 2013 UTC
# Line 735  for(;;) Line 735  for(;;)
735          case OP_CRMINPLUS:          case OP_CRMINPLUS:
736          case OP_CRQUERY:          case OP_CRQUERY:
737          case OP_CRMINQUERY:          case OP_CRMINQUERY:
738            case OP_CRPOSSTAR:
739            case OP_CRPOSPLUS:
740            case OP_CRPOSQUERY:
741          fprintf(f, "%s", priv_OP_names[*ccode]);          fprintf(f, "%s", priv_OP_names[*ccode]);
742          extra += priv_OP_lengths[*ccode];          extra += priv_OP_lengths[*ccode];
743          break;          break;
744    
745          case OP_CRRANGE:          case OP_CRRANGE:
746          case OP_CRMINRANGE:          case OP_CRMINRANGE:
747            case OP_CRPOSRANGE:
748          min = GET2(ccode,1);          min = GET2(ccode,1);
749          max = GET2(ccode,1 + IMM2_SIZE);          max = GET2(ccode,1 + IMM2_SIZE);
750          if (max == 0) fprintf(f, "{%u,}", min);          if (max == 0) fprintf(f, "{%u,}", min);
751          else fprintf(f, "{%u,%u}", min, max);          else fprintf(f, "{%u,%u}", min, max);
752          if (*ccode == OP_CRMINRANGE) fprintf(f, "?");          if (*ccode == OP_CRMINRANGE) fprintf(f, "?");
753            else if (*ccode == OP_CRPOSRANGE) fprintf(f, "+");
754          extra += priv_OP_lengths[*ccode];          extra += priv_OP_lengths[*ccode];
755          break;          break;
756    

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

  ViewVC Help
Powered by ViewVC 1.1.5