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

Diff of /code/trunk/pcre_tables.c

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

revision 654 by ph10, Tue Aug 2 11:00:40 2011 UTC revision 666 by ph10, Mon Aug 22 14:56:43 2011 UTC
# Line 87  const uschar _pcre_utf8_table4[] = { Line 87  const uschar _pcre_utf8_table4[] = {
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    
90    #ifdef SUPPORT_JIT
91    /* Full table of the number of extra bytes. See _pcre_utf8_table4 above. */
92    
93    const uschar _pcre_utf8_char_sizes[] = {
94      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
95      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
96      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
97      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
98      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
99      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
100      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
101      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
102      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
103      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
104      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
105      1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
106      2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
107      2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
108      3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
109      4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,
110    };
111    #endif
112    
113  /* Table to translate from particular type value to the general value. */  /* Table to translate from particular type value to the general value. */
114    
115  const int _pcre_ucp_gentype[] = {  const int _pcre_ucp_gentype[] = {
# Line 100  const int _pcre_ucp_gentype[] = { Line 123  const int _pcre_ucp_gentype[] = {
123    ucp_Z, ucp_Z, ucp_Z                 /* Zl, Zp, Zs */    ucp_Z, ucp_Z, ucp_Z                 /* Zl, Zp, Zs */
124  };  };
125    
126    #ifdef SUPPORT_JIT
127    /* This table reverses _pcre_ucp_gentype. We can save the cost
128    of a memory load. */
129    
130    const int _pcre_ucp_typerange[] = {
131      ucp_Cc, ucp_Cs,
132      ucp_Ll, ucp_Lu,
133      ucp_Mc, ucp_Mn,
134      ucp_Nd, ucp_No,
135      ucp_Pc, ucp_Ps,
136      ucp_Sc, ucp_So,
137      ucp_Zl, ucp_Zs,
138    };
139    #endif
140    
141  /* The pcre_utt[] table below translates Unicode property names into type and  /* The pcre_utt[] table below translates Unicode property names into type and
142  code values. It is searched by binary chop, so must be in collating sequence of  code values. It is searched by binary chop, so must be in collating sequence of
143  name. Originally, the table contained pointers to the name strings in the first  name. Originally, the table contained pointers to the name strings in the first

Legend:
Removed from v.654  
changed lines
  Added in v.666

  ViewVC Help
Powered by ViewVC 1.1.5