summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-23 10:41:35 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-23 10:41:35 +0100
commit33d3ce640c63366e26b84c8d6f5798187a258ee2 (patch)
treecd30dffb4cb25a5039c3814ac4b4f76a7015d106
parent77fc0b02e53bdc49213900e0055cb6d678ce180d (diff)
patch 8.2.4808: unused item in engine structv8.2.4808
Problem: Unused item in engine struct. Solution: Remove "expr". Add comment with tags.
-rw-r--r--src/regexp.h6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/regexp.h b/src/regexp.h
index a8bc82248d..c2a15b08cc 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -166,11 +166,15 @@ typedef struct
struct regengine
{
+ // bt_regcomp or nfa_regcomp
regprog_T *(*regcomp)(char_u*, int);
+ // bt_regfree or nfa_regfree
void (*regfree)(regprog_T *);
+ // bt_regexec_nl or nfa_regexec_nl
int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, int);
+ // bt_regexec_mult or nfa_regexec_mult
long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, proftime_T *, int *);
- char_u *expr;
+ //char_u *expr;
};
#endif // _REGEXP_H
diff --git a/src/version.c b/src/version.c
index a2452d3aa9..7ec4c8a033 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4808,
+/**/
4807,
/**/
4806,