summaryrefslogtreecommitdiff
path: root/src/pcre2_match.c
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-11 16:49:58 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-11 16:49:58 +0000
commit89c86560874a8cfa422be7d2b22d18ed6e20635e (patch)
tree028f9ae6692ee1e43498f2c8bd26cf7455671e80 /src/pcre2_match.c
parent25aebdd07fb4de49d00d037586fb1770177662cc (diff)
downloadpcre2-89c86560874a8cfa422be7d2b22d18ed6e20635e.tar.gz
More refactoring for ovector addressing.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@780 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_match.c')
-rw-r--r--src/pcre2_match.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/pcre2_match.c b/src/pcre2_match.c
index 87def5e..a3399f1 100644
--- a/src/pcre2_match.c
+++ b/src/pcre2_match.c
@@ -182,14 +182,8 @@ of use and undefined afterwards. */
#define Foffset_top F->offset_top
#define Foccu F->occu
#define Fop F->op
-#define Freturn_id F->return_id
-
-/* We need a cast for this one because F->ovector is a vector of size 2, at the
-end of the backtrack frame, but when there are capturing parentheses the space
-allocated is bigger so we want to be able to address more elements. Without the
-case, -fsanitize=undefined grumbles at this. */
-
#define Fovector F->ovector
+#define Freturn_id F->return_id
#ifdef DEBUG_FRAMES_DISPLAY