summaryrefslogtreecommitdiff
path: root/src/vim9script.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-05 12:20:28 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-05 12:20:28 +0100
commite442d59f6d6732c226d636067c07b7342838b36b (patch)
treefb5ae54c35da661437deda14a7feee9577d39566 /src/vim9script.c
parent2a2707d03337d0bb7d5fd1770238809618653d4a (diff)
downloadvim-git-e442d59f6d6732c226d636067c07b7342838b36b.tar.gz
patch 8.2.4869: expression in command block does not look after NLv8.2.4869
Problem: Expression in command block does not look after NL. Solution: Skip over NL to check what follows. (closes #10358)
Diffstat (limited to 'src/vim9script.c')
-rw-r--r--src/vim9script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9script.c b/src/vim9script.c
index b1bfe634c..6595882f7 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -589,7 +589,7 @@ handle_import(
char_u *p;
if (getnext)
- arg = eval_next_line(evalarg);
+ arg = eval_next_line(expr_end, evalarg);
else
arg = nextarg;