summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/version.c2
-rw-r--r--src/vim9compile.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 8ba07a2ca..112b22cc7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 165,
+/**/
164,
/**/
163,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 29595cca4..983108106 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -4075,7 +4075,7 @@ compile_endtry(char_u *arg, cctx_T *cctx)
emsg(_(e_no_endtry));
else if (scope->se_type == WHILE_SCOPE)
emsg(_(e_endwhile));
- if (scope->se_type == FOR_SCOPE)
+ else if (scope->se_type == FOR_SCOPE)
emsg(_(e_endfor));
else
emsg(_(e_endif));