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

Diff of /code/trunk/pcre_dfa_exec.c

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

revision 150 by ph10, Tue Apr 17 08:22:40 2007 UTC revision 151 by ph10, Tue Apr 17 15:07:29 2007 UTC
# Line 500  for (;;) Line 500  for (;;)
500      const uschar *code;      const uschar *code;
501      int state_offset = current_state->offset;      int state_offset = current_state->offset;
502      int count, codevalue;      int count, codevalue;
503    #ifdef SUPPORT_UCP
504      int chartype, script;      int chartype, script;
505    #endif
506    
507  #ifdef DEBUG  #ifdef DEBUG
508      printf ("%.*sProcessing state %d c=", rlevel*2-2, SP, state_offset);      printf ("%.*sProcessing state %d c=", rlevel*2-2, SP, state_offset);
# Line 783  for (;;) Line 785  for (;;)
785        break;        break;
786    
787    
 #ifdef SUPPORT_UCP  
   
788        /*-----------------------------------------------------------------*/        /*-----------------------------------------------------------------*/
789        /* Check the next character by Unicode property. We will get here only        /* Check the next character by Unicode property. We will get here only
790        if the support is in the binary; otherwise a compile-time error occurs.        if the support is in the binary; otherwise a compile-time error occurs.
791        */        */
792    
793    #ifdef SUPPORT_UCP
794        case OP_PROP:        case OP_PROP:
795        case OP_NOTPROP:        case OP_NOTPROP:
796        if (clen > 0)        if (clen > 0)
# Line 970  for (;;) Line 971  for (;;)
971        argument. It keeps the code above fast for the other cases. The argument        argument. It keeps the code above fast for the other cases. The argument
972        is in the d variable. */        is in the d variable. */
973    
974    #ifdef SUPPORT_UCP
975        case OP_PROP_EXTRA + OP_TYPEPLUS:        case OP_PROP_EXTRA + OP_TYPEPLUS:
976        case OP_PROP_EXTRA + OP_TYPEMINPLUS:        case OP_PROP_EXTRA + OP_TYPEMINPLUS:
977        case OP_PROP_EXTRA + OP_TYPEPOSPLUS:        case OP_PROP_EXTRA + OP_TYPEPOSPLUS:
# Line 1049  for (;;) Line 1051  for (;;)
1051          ADD_NEW_DATA(-state_offset, count, ncount);          ADD_NEW_DATA(-state_offset, count, ncount);
1052          }          }
1053        break;        break;
1054    #endif
1055    
1056        /*-----------------------------------------------------------------*/        /*-----------------------------------------------------------------*/
1057        case OP_ANYNL_EXTRA + OP_TYPEPLUS:        case OP_ANYNL_EXTRA + OP_TYPEPLUS:
# Line 1085  for (;;) Line 1088  for (;;)
1088        break;        break;
1089    
1090        /*-----------------------------------------------------------------*/        /*-----------------------------------------------------------------*/
1091    #ifdef SUPPORT_UCP
1092        case OP_PROP_EXTRA + OP_TYPEQUERY:        case OP_PROP_EXTRA + OP_TYPEQUERY:
1093        case OP_PROP_EXTRA + OP_TYPEMINQUERY:        case OP_PROP_EXTRA + OP_TYPEMINQUERY:
1094        case OP_PROP_EXTRA + OP_TYPEPOSQUERY:        case OP_PROP_EXTRA + OP_TYPEPOSQUERY:
# Line 1182  for (;;) Line 1186  for (;;)
1186          ADD_NEW_DATA(-(state_offset + count), 0, ncount);          ADD_NEW_DATA(-(state_offset + count), 0, ncount);
1187          }          }
1188        break;        break;
1189    #endif
1190    
1191        /*-----------------------------------------------------------------*/        /*-----------------------------------------------------------------*/
1192        case OP_ANYNL_EXTRA + OP_TYPEQUERY:        case OP_ANYNL_EXTRA + OP_TYPEQUERY:
# Line 1226  for (;;) Line 1231  for (;;)
1231        break;        break;
1232    
1233        /*-----------------------------------------------------------------*/        /*-----------------------------------------------------------------*/
1234    #ifdef SUPPORT_UCP
1235        case OP_PROP_EXTRA + OP_TYPEEXACT:        case OP_PROP_EXTRA + OP_TYPEEXACT:
1236        case OP_PROP_EXTRA + OP_TYPEUPTO:        case OP_PROP_EXTRA + OP_TYPEUPTO:
1237        case OP_PROP_EXTRA + OP_TYPEMINUPTO:        case OP_PROP_EXTRA + OP_TYPEMINUPTO:
# Line 1313  for (;;) Line 1319  for (;;)
1319            { ADD_NEW_DATA(-state_offset, count, ncount); }            { ADD_NEW_DATA(-state_offset, count, ncount); }
1320          }          }
1321        break;        break;
1322    #endif
1323    
1324        /*-----------------------------------------------------------------*/        /*-----------------------------------------------------------------*/
1325        case OP_ANYNL_EXTRA + OP_TYPEEXACT:        case OP_ANYNL_EXTRA + OP_TYPEEXACT:

Legend:
Removed from v.150  
changed lines
  Added in v.151

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12