diff options
author | Nuno Lopes <nlopess@php.net> | 2008-01-13 12:48:00 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-01-13 12:48:00 +0000 |
commit | 5da2171f41bd940379a9fca194404e77a0f10f2b (patch) | |
tree | 97fe5903964c3190e66292404b18824f4d2488d9 /ext/pcre/pcrelib/pcre_info.c | |
parent | f9066b0e497e8a4731977c52d08251304c69b41e (diff) | |
download | php-git-5da2171f41bd940379a9fca194404e77a0f10f2b.tar.gz |
upgrade to PCRE 7.5
Diffstat (limited to 'ext/pcre/pcrelib/pcre_info.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pcre/pcrelib/pcre_info.c b/ext/pcre/pcrelib/pcre_info.c index 6970e7953f..02a0cd43d4 100644 --- a/ext/pcre/pcrelib/pcre_info.c +++ b/ext/pcre/pcrelib/pcre_info.c @@ -43,7 +43,7 @@ information about a compiled pattern. However, use of this function is now deprecated, as it has been superseded by pcre_fullinfo(). */ -#include <config.h> +#include "config.h" #include "pcre_internal.h" @@ -83,8 +83,8 @@ if (re->magic_number != MAGIC_NUMBER) } if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_OPTIONS); if (first_byte != NULL) - *first_byte = ((re->options & PCRE_FIRSTSET) != 0)? re->first_byte : - ((re->options & PCRE_STARTLINE) != 0)? -1 : -2; + *first_byte = ((re->flags & PCRE_FIRSTSET) != 0)? re->first_byte : + ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2; return re->top_bracket; } |