diff options
author | Nuno Lopes <nlopess@php.net> | 2007-05-07 15:22:10 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2007-05-07 15:22:10 +0000 |
commit | dc4118e154b4067772ed8340561d10ec3c8686da (patch) | |
tree | fa1375f28ef2db583f5feb0d9ae44765fe99241c /ext/pcre/pcrelib/pcre_tables.c | |
parent | ca1a485d6505a6a7a8bd0d9c6c1005a23e14be80 (diff) | |
download | php-git-dc4118e154b4067772ed8340561d10ec3c8686da.tar.gz |
update bundled PCRE to version 7.2 RC1. if everything goes right, this will be merged later to php 5.x
Diffstat (limited to 'ext/pcre/pcrelib/pcre_tables.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_tables.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/pcre_tables.c b/ext/pcre/pcrelib/pcre_tables.c index 53690d7c9b..3e36c931a0 100644 --- a/ext/pcre/pcrelib/pcre_tables.c +++ b/ext/pcre/pcrelib/pcre_tables.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 @@ -61,6 +61,8 @@ const uschar _pcre_OP_lengths[] = { OP_LENGTHS }; /* These are the breakpoints for different numbers of bytes in a UTF-8 character. */ +#ifdef SUPPORT_UTF8 + const int _pcre_utf8_table1[] = { 0x7f, 0x7ff, 0xffff, 0x1fffff, 0x3ffffff, 0x7fffffff}; @@ -194,4 +196,6 @@ const ucp_type_table _pcre_utt[] = { const int _pcre_utt_size = sizeof(_pcre_utt)/sizeof(ucp_type_table); +#endif /* SUPPORT_UTF8 */ + /* End of pcre_tables.c */ |