summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_tables.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2007-05-07 15:22:10 +0000
committerNuno Lopes <nlopess@php.net>2007-05-07 15:22:10 +0000
commitdc4118e154b4067772ed8340561d10ec3c8686da (patch)
treefa1375f28ef2db583f5feb0d9ae44765fe99241c /ext/pcre/pcrelib/pcre_tables.c
parentca1a485d6505a6a7a8bd0d9c6c1005a23e14be80 (diff)
downloadphp-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.c6
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 */