/[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 220 by ph10, Thu Aug 16 13:29:39 2007 UTC revision 221 by ph10, Fri Aug 17 09:25:08 2007 UTC
# Line 1317  for (;;) Line 1317  for (;;)
1317        case OP_TYPEMINPLUS:        case OP_TYPEMINPLUS:
1318        case OP_TYPEQUERY:        case OP_TYPEQUERY:
1319        case OP_TYPEMINQUERY:        case OP_TYPEMINQUERY:
       case OP_TYPEUPTO:  
       case OP_TYPEMINUPTO:  
       case OP_TYPEEXACT:  
1320        case OP_TYPEPOSSTAR:        case OP_TYPEPOSSTAR:
1321        case OP_TYPEPOSPLUS:        case OP_TYPEPOSPLUS:
1322        case OP_TYPEPOSQUERY:        case OP_TYPEPOSQUERY:
       case OP_TYPEPOSUPTO:  
1323        if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2;        if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2;
1324        break;        break;
1325    
1326          case OP_TYPEUPTO:
1327          case OP_TYPEMINUPTO:
1328          case OP_TYPEEXACT:
1329          case OP_TYPEPOSUPTO:
1330          if (code[3] == OP_PROP || code[3] == OP_NOTPROP) code += 2;
1331          break;
1332        }        }
1333    
1334      /* Add in the fixed length from the table */      /* Add in the fixed length from the table */
# Line 1407  for (;;) Line 1410  for (;;)
1410        case OP_TYPEMINPLUS:        case OP_TYPEMINPLUS:
1411        case OP_TYPEQUERY:        case OP_TYPEQUERY:
1412        case OP_TYPEMINQUERY:        case OP_TYPEMINQUERY:
       case OP_TYPEUPTO:  
       case OP_TYPEMINUPTO:  
       case OP_TYPEEXACT:  
1413        case OP_TYPEPOSSTAR:        case OP_TYPEPOSSTAR:
1414        case OP_TYPEPOSPLUS:        case OP_TYPEPOSPLUS:
1415        case OP_TYPEPOSQUERY:        case OP_TYPEPOSQUERY:
       case OP_TYPEPOSUPTO:  
1416        if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2;        if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2;
1417        break;        break;
1418    
1419          case OP_TYPEPOSUPTO:
1420          case OP_TYPEUPTO:
1421          case OP_TYPEMINUPTO:
1422          case OP_TYPEEXACT:
1423          if (code[3] == OP_PROP || code[3] == OP_NOTPROP) code += 2;
1424          break;
1425        }        }
1426    
1427      /* Add in the fixed length from the table */      /* Add in the fixed length from the table */

Legend:
Removed from v.220  
changed lines
  Added in v.221

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12