summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_info.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-01-13 12:48:00 +0000
committerNuno Lopes <nlopess@php.net>2008-01-13 12:48:00 +0000
commit5da2171f41bd940379a9fca194404e77a0f10f2b (patch)
tree97fe5903964c3190e66292404b18824f4d2488d9 /ext/pcre/pcrelib/pcre_info.c
parentf9066b0e497e8a4731977c52d08251304c69b41e (diff)
downloadphp-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.c6
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;
}