diff options
Diffstat (limited to 'ext/pcre/pcrelib/pcre_ucp_searchfuncs.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_ucp_searchfuncs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pcre/pcrelib/pcre_ucp_searchfuncs.c b/ext/pcre/pcrelib/pcre_ucp_searchfuncs.c index 20bb7be832..5ecba6b1f8 100644 --- a/ext/pcre/pcrelib/pcre_ucp_searchfuncs.c +++ b/ext/pcre/pcrelib/pcre_ucp_searchfuncs.c @@ -6,7 +6,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel - Copyright (c) 1997-2006 University of Cambridge + Copyright (c) 1997-2007 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -45,12 +45,12 @@ properties. */ #include "ucp.h" /* Category definitions */ #include "ucpinternal.h" /* Internal table details */ -#include "ucptable.c" /* The table itself */ +#include "ucptable.h" /* The table itself */ /* Table to translate from particular type value to the general value. */ -static int ucp_gentype[] = { +static const int ucp_gentype[] = { ucp_C, ucp_C, ucp_C, ucp_C, ucp_C, /* Cc, Cf, Cn, Co, Cs */ ucp_L, ucp_L, ucp_L, ucp_L, ucp_L, /* Ll, Lu, Lm, Lo, Lt */ ucp_M, ucp_M, ucp_M, /* Mc, Me, Mn */ |