/[pcre]/code/trunk/ucp.h
ViewVC logotype

Diff of /code/trunk/ucp.h

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

revision 1011 by ph10, Sat Aug 25 11:36:15 2012 UTC revision 1363 by ph10, Tue Oct 1 16:54:40 2013 UTC
# Line 11  should always be at the end of each enum Line 11  should always be at the end of each enum
11    
12  IMPORTANT: Note also that the specific numeric values of the enums have to be  IMPORTANT: Note also that the specific numeric values of the enums have to be
13  the same as the values that are generated by the maint/MultiStage2.py script,  the same as the values that are generated by the maint/MultiStage2.py script,
14  where the equivalent property descriptive names are listed in vectors. */  where the equivalent property descriptive names are listed in vectors.
15    
16    ALSO: The specific values of the first two enums are assumed for the table
17    called catposstab in pcre_compile.c. */
18    
19  /* These are the general character categories. */  /* These are the general character categories. */
20    
# Line 60  enum { Line 63  enum {
63    ucp_Zs     /* Space separator */    ucp_Zs     /* Space separator */
64  };  };
65    
66  /* These are grapheme break properties. Note that the code for processing them  /* These are grapheme break properties. Note that the code for processing them
67  assumes that the values are less than 16. If more values are added that take  assumes that the values are less than 16. If more values are added that take
68  the number to 16 or more, the code will have to be rewritten. */  the number to 16 or more, the code will have to be rewritten. */
69    
70  enum {  enum {
71    ucp_gbCR,             /*  0 */    ucp_gbCR,                /*  0 */
72    ucp_gbLF,             /*  1 */    ucp_gbLF,                /*  1 */
73    ucp_gbControl,        /*  2 */    ucp_gbControl,           /*  2 */
74    ucp_gbExtend,         /*  3 */    ucp_gbExtend,            /*  3 */
75    ucp_gbPrepend,        /*  4 */    ucp_gbPrepend,           /*  4 */
76    ucp_gbSpacingMark,    /*  5 */    ucp_gbSpacingMark,       /*  5 */
77    ucp_gbL,              /*  6 Hangul syllable type L */    ucp_gbL,                 /*  6 Hangul syllable type L */
78    ucp_gbV,              /*  7 Hangul syllable type V */    ucp_gbV,                 /*  7 Hangul syllable type V */
79    ucp_gbT,              /*  8 Hangul syllable type T */    ucp_gbT,                 /*  8 Hangul syllable type T */
80    ucp_gbLV,             /*  9 Hangul syllable type LV */    ucp_gbLV,                /*  9 Hangul syllable type LV */
81    ucp_gbLVT,            /* 10 Hangul syllable type LVT */    ucp_gbLVT,               /* 10 Hangul syllable type LVT */
82    ucp_gbOther,          /* 11 */    ucp_gbRegionalIndicator, /* 11 */
83    ucp_gbCount           /* 12 The number of properties */    ucp_gbOther              /* 12 */
84  };  };
85    
86  /* These are the script identifications. */  /* These are the script identifications. */

Legend:
Removed from v.1011  
changed lines
  Added in v.1363

  ViewVC Help
Powered by ViewVC 1.1.5