/[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 1230 by ph10, Sun Nov 11 20:27:03 2012 UTC revision 1231 by ph10, Fri Dec 7 12:05:53 2012 UTC
# Line 4907  for (;; ptr++) Line 4907  for (;; ptr++)
4907    
4908        if (repeat_max == 0) goto END_REPEAT;        if (repeat_max == 0) goto END_REPEAT;
4909    
       /*--------------------------------------------------------------------*/  
       /* This code is obsolete from release 8.00; the restriction was finally  
       removed: */  
   
       /* All real repeats make it impossible to handle partial matching (maybe  
       one day we will be able to remove this restriction). */  
   
       /* if (repeat_max != 1) cd->external_flags |= PCRE_NOPARTIAL; */  
       /*--------------------------------------------------------------------*/  
   
4910        /* Combine the op_type with the repeat_type */        /* Combine the op_type with the repeat_type */
4911    
4912        repeat_type += op_type;        repeat_type += op_type;
# Line 5063  for (;; ptr++) Line 5053  for (;; ptr++)
5053          goto END_REPEAT;          goto END_REPEAT;
5054          }          }
5055    
       /*--------------------------------------------------------------------*/  
       /* This code is obsolete from release 8.00; the restriction was finally  
       removed: */  
   
       /* All real repeats make it impossible to handle partial matching (maybe  
       one day we will be able to remove this restriction). */  
   
       /* if (repeat_max != 1) cd->external_flags |= PCRE_NOPARTIAL; */  
       /*--------------------------------------------------------------------*/  
   
5056        if (repeat_min == 0 && repeat_max == -1)        if (repeat_min == 0 && repeat_max == -1)
5057          *code++ = OP_CRSTAR + repeat_type;          *code++ = OP_CRSTAR + repeat_type;
5058        else if (repeat_min == 1 && repeat_max == -1)        else if (repeat_min == 1 && repeat_max == -1)

Legend:
Removed from v.1230  
changed lines
  Added in v.1231

  ViewVC Help
Powered by ViewVC 1.1.5