/[pcre]/code/branches/pcre16/pcre_tables.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_tables.c

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

revision 755 by ph10, Mon Nov 21 10:41:54 2011 UTC revision 756 by ph10, Mon Nov 21 10:48:42 2011 UTC
# Line 54  clashes with the library. */ Line 54  clashes with the library. */
54  /* Table of sizes for the fixed-length opcodes. It's defined in a macro so that  /* Table of sizes for the fixed-length opcodes. It's defined in a macro so that
55  the definition is next to the definition of the opcodes in pcre_internal.h. */  the definition is next to the definition of the opcodes in pcre_internal.h. */
56    
57  const uschar _pcre_OP_lengths[] = { OP_LENGTHS };  const pcre_uint8 _pcre_OP_lengths[] = { OP_LENGTHS };
58    
59    
60    
# Line 81  const int _pcre_utf8_table3[] = { 0xff, Line 81  const int _pcre_utf8_table3[] = { 0xff,
81  /* Table of the number of extra bytes, indexed by the first byte masked with  /* Table of the number of extra bytes, indexed by the first byte masked with
82  0x3f. The highest number for a valid UTF-8 first byte is in fact 0x3d. */  0x3f. The highest number for a valid UTF-8 first byte is in fact 0x3d. */
83    
84  const uschar _pcre_utf8_table4[] = {  const pcre_uint8 _pcre_utf8_table4[] = {
85    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
86    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
87    2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,    2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
88    3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5 };    3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5 };
89    
 #ifdef SUPPORT_JIT  
 /* Full table of the number of extra bytes when the  
 character code is greater or equal than 0xc0.  
 See _pcre_utf8_table4 above. */  
   
 const uschar _pcre_utf8_char_sizes[] = {  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,  
   3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,  
 };  
 #endif  
   
90  /* Table to translate from particular type value to the general value. */  /* Table to translate from particular type value to the general value. */
91    
92  const int _pcre_ucp_gentype[] = {  const int _pcre_ucp_gentype[] = {

Legend:
Removed from v.755  
changed lines
  Added in v.756

  ViewVC Help
Powered by ViewVC 1.1.5