/[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 419 by ph10, Wed Aug 12 10:45:33 2009 UTC revision 425 by ph10, Mon Aug 17 14:48:48 2009 UTC
# Line 1  Line 1 
1  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
2  #include "config.h"  #include "config.h"
3  #endif  #endif
4    
5  #include "pcre_internal.h"  #include "pcre_internal.h"
6    
7  /* Unicode character database. */  /* Unicode character database. */
8  /* This file was autogenerated by the MultiStage2.py script. */  /* This file was autogenerated by the MultiStage2.py script. */
9  /* Total size: 52808 bytes, block size: 128. */  /* Total size: 52808 bytes, block size: 128. */
10    
11    /* The tables herein are needed only when UCP support is built */
12    /* into PCRE. This module should not be referenced otherwise, so */
13    /* it should not matter whether it is compiled or not. However */
14    /* a comment was received about space saving - maybe the guy linked */
15    /* all the modules rather than using a library - so we include a */
16    /* condition to cut out the tables when not needed. But don't leave */
17    /* a totally empty module because some compilers barf at that. */
18    /* Instead, just supply small dummy tables. */
19    
20    #ifndef SUPPORT_UCP
21    const ucd_record _pcre_ucd_records[] = {{0,0,0 }};
22    const uschar _pcre_ucd_stage1[] = {0};
23    const pcre_uint16 _pcre_ucd_stage2[] = {0};
24    #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 {
# Line 14  uschar property_1; Line 31  uschar 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[] = { /* 3656 bytes, record size 8 */  const ucd_record _pcre_ucd_records[] = { /* 3656 bytes, record size 8 */
36    {     9,      0,      0, }, /*   0 */    {     9,      0,      0, }, /*   0 */
37    {     9,     29,      0, }, /*   1 */    {     9,     29,      0, }, /*   1 */
# Line 2607  const pcre_uint16 _pcre_ucd_stage2[] = { Line 2625  const pcre_uint16 _pcre_ucd_stage2[] = {
2625  #if UCD_BLOCK_SIZE != 128  #if UCD_BLOCK_SIZE != 128
2626  #error Please correct UCD_BLOCK_SIZE in pcre_internal.h  #error Please correct UCD_BLOCK_SIZE in pcre_internal.h
2627  #endif  #endif
2628    #endif  /* SUPPORT_UCP */

Legend:
Removed from v.419  
changed lines
  Added in v.425

  ViewVC Help
Powered by ViewVC 1.1.5