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

Diff of /code/trunk/pcre_ucd.c

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

revision 835 by ph10, Sat Apr 30 17:37:37 2011 UTC revision 836 by ph10, Wed Dec 28 17:16:11 2011 UTC
# Line 18  Line 18 
18  /* Instead, just supply small dummy tables. */  /* Instead, just supply small dummy tables. */
19    
20  #ifndef SUPPORT_UCP  #ifndef SUPPORT_UCP
21  const ucd_record _pcre_ucd_records[] = {{0,0,0 }};  const ucd_record PRIV(ucd_records)[] = {{0,0,0 }};
22  const uschar _pcre_ucd_stage1[] = {0};  const pcre_uint8 PRIV(ucd_stage1)[] = {0};
23  const pcre_uint16 _pcre_ucd_stage2[] = {0};  const pcre_uint16 PRIV(ucd_stage2)[] = {0};
24  #else  #else
25    
26  /* When recompiling tables with a new Unicode version,  /* When recompiling tables with a new Unicode version,
27  please check types in the structure definition from pcre_internal.h:  please check types in the structure definition from pcre_internal.h:
28  typedef struct {  typedef struct {
29  uschar property_0;  pcre_uint8 property_0;
30  uschar property_1;  pcre_uint8 property_1;
31  pcre_int32 property_2;  pcre_int32 property_2;
32  } ucd_record; */  } ucd_record; */
33    
34    
35  const ucd_record _pcre_ucd_records[] = { /* 4320 bytes, record size 8 */  const ucd_record PRIV(ucd_records)[] = { /* 4320 bytes, record size 8 */
36    {     9,      0,      0, }, /*   0 */    {     9,      0,      0, }, /*   0 */
37    {     9,     29,      0, }, /*   1 */    {     9,     29,      0, }, /*   1 */
38    {     9,     21,      0, }, /*   2 */    {     9,     21,      0, }, /*   2 */
# Line 575  const ucd_record _pcre_ucd_records[] = { Line 575  const ucd_record _pcre_ucd_records[] = {
575    {    26,     26,      0, }, /* 539 */    {    26,     26,      0, }, /* 539 */
576  };  };
577    
578  const uschar _pcre_ucd_stage1[] = { /* 8704 bytes */  const pcre_uint8 PRIV(ucd_stage1)[] = { /* 8704 bytes */
579    0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, /* U+0000 */    0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, /* U+0000 */
580   16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, /* U+0800 */   16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, /* U+0800 */
581   32, 33, 34, 34, 35, 36, 37, 38, 39, 40, 40, 40, 41, 42, 43, 44, /* U+1000 */   32, 33, 34, 34, 35, 36, 37, 38, 39, 40, 40, 40, 41, 42, 43, 44, /* U+1000 */
# Line 1122  const uschar _pcre_ucd_stage1[] = { /* 8 Line 1122  const uschar _pcre_ucd_stage1[] = { /* 8
1122  114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,184, /* U+10F800 */  114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,184, /* U+10F800 */
1123  };  };
1124    
1125  const pcre_uint16 _pcre_ucd_stage2[] = { /* 47360 bytes, block = 128 */  const pcre_uint16 PRIV(ucd_stage2)[] = { /* 47360 bytes, block = 128 */
1126  /* block 0 */  /* block 0 */
1127    0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,    0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
1128    0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,    0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,

Legend:
Removed from v.835  
changed lines
  Added in v.836

  ViewVC Help
Powered by ViewVC 1.1.5