summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regexp.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 480f4cc6..57ea7369 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -3538,6 +3538,7 @@ vim_regexec_both(line, col, tm)
regline = line;
reglnum = 0;
+ reg_toolong = FALSE;
/* Simplest case: Anchored match need be tried only once. */
if (prog->reganch)
diff --git a/src/version.c b/src/version.c
index f41de43b..3b50ffb9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4,
+/**/
3,
/**/
2,