summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_xclass.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2009-04-11 18:57:27 +0000
committerNuno Lopes <nlopess@php.net>2009-04-11 18:57:27 +0000
commit90a2d1979486b2e7fa14be9c3210b9d321c668f8 (patch)
tree9f67ba72ee6010944487be2790c467dd2ea2cbaf /ext/pcre/pcrelib/pcre_xclass.c
parentff62b87cd6b94c50fbbac88bf4129f6418efe131 (diff)
downloadphp-git-90a2d1979486b2e7fa14be9c3210b9d321c668f8.tar.gz
upgrade PCRE to version 7.9
Diffstat (limited to 'ext/pcre/pcrelib/pcre_xclass.c')
-rw-r--r--ext/pcre/pcrelib/pcre_xclass.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/pcre/pcrelib/pcre_xclass.c b/ext/pcre/pcrelib/pcre_xclass.c
index c939662f00..3fc3ba368a 100644
--- a/ext/pcre/pcrelib/pcre_xclass.c
+++ b/ext/pcre/pcrelib/pcre_xclass.c
@@ -39,8 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
/* This module contains an internal function that is used to match an extended
-class (one that contains characters whose values are > 255). It is used by both
-pcre_exec() and pcre_def_exec(). */
+class. It is used by both pcre_exec() and pcre_def_exec(). */
#include "config.h"
@@ -53,7 +52,7 @@ pcre_exec() and pcre_def_exec(). */
*************************************************/
/* This function is called to match a character against an extended class that
-might contain values > 255.
+might contain values > 255 and/or Unicode properties.
Arguments:
c the character
@@ -102,7 +101,7 @@ while ((t = *data++) != XCL_END)
#ifdef SUPPORT_UCP
else /* XCL_PROP & XCL_NOTPROP */
{
- const ucd_record * prop = GET_UCD(c);
+ const ucd_record *prop = GET_UCD(c);
switch(*data)
{