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

Diff of /code/trunk/pcre_ucp_searchfuncs.c

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

revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC revision 199 by ph10, Tue Jul 31 14:39:09 2007 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2006 University of Cambridge             Copyright (c) 1997-2007 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 41  POSSIBILITY OF SUCH DAMAGE. Line 41  POSSIBILITY OF SUCH DAMAGE.
41  /* This module contains code for searching the table of Unicode character  /* This module contains code for searching the table of Unicode character
42  properties. */  properties. */
43    
44    #ifdef HAVE_CONFIG_H
45    #include <config.h>
46    #endif
47    
48  #include "pcre_internal.h"  #include "pcre_internal.h"
49    
50  #include "ucp.h"               /* Category definitions */  #include "ucp.h"               /* Category definitions */
51  #include "ucpinternal.h"       /* Internal table details */  #include "ucpinternal.h"       /* Internal table details */
52  #include "ucptable.c"          /* The table itself */  #include "ucptable.h"          /* The table itself */
53    
54    
55  /* Table to translate from particular type value to the general value. */  /* Table to translate from particular type value to the general value. */
56    
57  static int ucp_gentype[] = {  static const int ucp_gentype[] = {
58    ucp_C, ucp_C, ucp_C, ucp_C, ucp_C,  /* Cc, Cf, Cn, Co, Cs */    ucp_C, ucp_C, ucp_C, ucp_C, ucp_C,  /* Cc, Cf, Cn, Co, Cs */
59    ucp_L, ucp_L, ucp_L, ucp_L, ucp_L,  /* Ll, Lu, Lm, Lo, Lt */    ucp_L, ucp_L, ucp_L, ucp_L, ucp_L,  /* Ll, Lu, Lm, Lo, Lt */
60    ucp_M, ucp_M, ucp_M,                /* Mc, Me, Mn */    ucp_M, ucp_M, ucp_M,                /* Mc, Me, Mn */

Legend:
Removed from v.96  
changed lines
  Added in v.199

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12