summaryrefslogtreecommitdiffstats
path: root/src/vim9compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r--src/vim9compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c
index e95340c7ad..bdaf1eddc7 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -1041,7 +1041,7 @@ compile_all_expr_in_str(char_u *str, int evalstr, cctx_T *cctx)
// Skip the opening {.
block_start = skipwhite(p + 1);
block_end = block_start;
- if (*block_start != NUL &&skip_expr(&block_end, NULL) == FAIL)
+ if (*block_start != NUL && skip_expr(&block_end, NULL) == FAIL)
return FAIL;
block_end = skipwhite(block_end);
// The block must be closed by a }.