/[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 781 by zherczeg, Wed Nov 23 17:23:20 2011 UTC revision 782 by zherczeg, Sat Dec 3 23:58:37 2011 UTC
# Line 65  const pcre_uint8 PRIV(OP_lengths)[] = { Line 65  const pcre_uint8 PRIV(OP_lengths)[] = {
65  /* These are the breakpoints for different numbers of bytes in a UTF-8  /* These are the breakpoints for different numbers of bytes in a UTF-8
66  character. */  character. */
67    
68  #ifdef SUPPORT_UTF8  #ifdef SUPPORT_UTF
69    
70    #ifdef COMPILE_PCRE8
71    
72  const int PRIV(utf8_table1)[] =  const int PRIV(utf8_table1)[] =
73    { 0x7f, 0x7ff, 0xffff, 0x1fffff, 0x3ffffff, 0x7fffffff};    { 0x7f, 0x7ff, 0xffff, 0x1fffff, 0x3ffffff, 0x7fffffff};
# Line 87  const pcre_uint8 PRIV(utf8_table4)[] = { Line 89  const pcre_uint8 PRIV(utf8_table4)[] = {
89    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,
90    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 };
91    
92    #endif /* COMPILE_PCRE8 */
93    
94  /* Table to translate from particular type value to the general value. */  /* Table to translate from particular type value to the general value. */
95    
96  const int PRIV(ucp_gentype)[] = {  const int PRIV(ucp_gentype)[] = {
# Line 554  const ucp_type_table PRIV(utt)[] = { Line 558  const ucp_type_table PRIV(utt)[] = {
558    
559  const int PRIV(utt_size) = sizeof(PRIV(utt)) / sizeof(ucp_type_table);  const int PRIV(utt_size) = sizeof(PRIV(utt)) / sizeof(ucp_type_table);
560    
561  #endif  /* SUPPORT_UTF8 */  #endif /* SUPPORT_UTF */
562    
563  /* End of pcre_tables.c */  /* End of pcre_tables.c */

Legend:
Removed from v.781  
changed lines
  Added in v.782

  ViewVC Help
Powered by ViewVC 1.1.5