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

Diff of /code/trunk/pcre_jit_compile.c

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

revision 1447 by zherczeg, Mon Jan 13 20:18:33 2014 UTC revision 1448 by zherczeg, Mon Jan 13 21:25:53 2014 UTC
# Line 3234  while (TRUE) Line 3234  while (TRUE)
3234      cc = bracketend(cc);      cc = bracketend(cc);
3235      continue;      continue;
3236    
3237        case OP_PLUSI:
3238        case OP_MINPLUSI:
3239        case OP_POSPLUSI:
3240        caseless = TRUE;
3241      case OP_PLUS:      case OP_PLUS:
3242      case OP_MINPLUS:      case OP_MINPLUS:
3243      case OP_POSPLUS:      case OP_POSPLUS:
# Line 3248  while (TRUE) Line 3252  while (TRUE)
3252      cc += 1 + IMM2_SIZE;      cc += 1 + IMM2_SIZE;
3253      break;      break;
3254    
3255      case OP_PLUSI:      case OP_QUERYI:
3256      case OP_MINPLUSI:      case OP_MINQUERYI:
3257      case OP_POSPLUSI:      case OP_POSQUERYI:
3258      caseless = TRUE;      caseless = TRUE;
3259        case OP_QUERY:
3260        case OP_MINQUERY:
3261        case OP_POSQUERY:
3262        len = 1;
3263      cc++;      cc++;
3264    #ifdef SUPPORT_UTF
3265        if (common->utf && HAS_EXTRALEN(*cc)) len += GET_EXTRALEN(*cc);
3266    #endif
3267        max_chars = scan_prefix(common, cc + len, chars, bytes, max_chars);
3268        if (max_chars == 0)
3269          return consumed;
3270        last = FALSE;
3271      break;      break;
3272    
3273      case OP_KET:      case OP_KET:
# Line 3336  while (TRUE) Line 3351  while (TRUE)
3351      cc++;      cc++;
3352      break;      break;
3353    
3354        case OP_NOT:
3355        case OP_NOTI:
3356        cc++;
3357        /* Fall through. */
3358      case OP_NOT_DIGIT:      case OP_NOT_DIGIT:
3359      case OP_NOT_WHITESPACE:      case OP_NOT_WHITESPACE:
3360      case OP_NOT_WORDCHAR:      case OP_NOT_WORDCHAR:
# Line 3364  while (TRUE) Line 3383  while (TRUE)
3383      cc += 1 + IMM2_SIZE;      cc += 1 + IMM2_SIZE;
3384      continue;      continue;
3385    
3386        case OP_NOTEXACT:
3387        case OP_NOTEXACTI:
3388    #if defined SUPPORT_UTF && !defined COMPILE_PCRE32
3389        if (common->utf) return consumed;
3390    #endif
3391        any = TRUE;
3392        repeat = GET2(cc, 1);
3393        cc += 1 + IMM2_SIZE + 1;
3394        break;
3395    
3396      default:      default:
3397      return consumed;      return consumed;
3398      }      }
# Line 3497  int offsets[3]; Line 3526  int offsets[3];
3526  pcre_uint32 mask;  pcre_uint32 mask;
3527  pcre_uint8 *byte_set, *byte_set_end;  pcre_uint8 *byte_set, *byte_set_end;
3528  int i, max, from;  int i, max, from;
3529  int range_right = -1, range_len = 4 - 1;  int range_right = -1, range_len = 3 - 1;
3530  sljit_ub *update_table = NULL;  sljit_ub *update_table = NULL;
3531  BOOL in_range;  BOOL in_range;
3532    

Legend:
Removed from v.1447  
changed lines
  Added in v.1448

  ViewVC Help
Powered by ViewVC 1.1.5