Diff for /embedaddon/pcre/pcre_printint.c between versions 1.1 and 1.1.1.2

version 1.1, 2012/02/21 23:50:25 version 1.1.1.2, 2012/10/09 09:19:17
Line 477  for(;;) Line 477  for(;;)
     flag = "/i";      flag = "/i";
     /* Fall through */      /* Fall through */
     case OP_NOT:      case OP_NOT:
    c = code[1];    fprintf(f, " %s [^", flag);
    if (PRINTABLE(c)) fprintf(f, " %s [^%c]", flag, c);    extra = print_char(f, code + 1, utf);
    else if (utf || c > 0xff)    fprintf(f, "]");
      fprintf(f, " %s [^\\x{%02x}]", flag, c); 
    else 
      fprintf(f, " %s [^\\x%02x]", flag, c); 
     break;      break;
   
     case OP_NOTSTARI:      case OP_NOTSTARI:
Line 506  for(;;) Line 503  for(;;)
     case OP_NOTQUERY:      case OP_NOTQUERY:
     case OP_NOTMINQUERY:      case OP_NOTMINQUERY:
     case OP_NOTPOSQUERY:      case OP_NOTPOSQUERY:
    c = code[1];    fprintf(f, " %s [^", flag);
    if (PRINTABLE(c)) fprintf(f, " %s [^%c]", flag, c);    extra = print_char(f, code + 1, utf);
      else fprintf(f, " %s [^\\x%02x]", flag, c);    fprintf(f, "]%s", priv_OP_names[*code]);
    fprintf(f, "%s", priv_OP_names[*code]); 
     break;      break;
   
     case OP_NOTEXACTI:      case OP_NOTEXACTI:
Line 523  for(;;) Line 519  for(;;)
     case OP_NOTUPTO:      case OP_NOTUPTO:
     case OP_NOTMINUPTO:      case OP_NOTMINUPTO:
     case OP_NOTPOSUPTO:      case OP_NOTPOSUPTO:
    c = code[1 + IMM2_SIZE];    fprintf(f, " %s [^", flag);
    if (PRINTABLE(c)) fprintf(f, " %s [^%c]{", flag, c);    extra = print_char(f, code + 1 + IMM2_SIZE, utf);
      else fprintf(f, " %s [^\\x%02x]{", flag, c);    fprintf(f, "]{");
     if (*code != OP_NOTEXACT && *code != OP_NOTEXACTI) fprintf(f, "0,");      if (*code != OP_NOTEXACT && *code != OP_NOTEXACTI) fprintf(f, "0,");
     fprintf(f, "%d}", GET2(code,1));      fprintf(f, "%d}", GET2(code,1));
     if (*code == OP_NOTMINUPTO || *code == OP_NOTMINUPTOI) fprintf(f, "?");      if (*code == OP_NOTMINUPTO || *code == OP_NOTMINUPTOI) fprintf(f, "?");

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>