diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-05 12:20:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-05 12:20:28 +0100 |
commit | e442d59f6d6732c226d636067c07b7342838b36b (patch) | |
tree | fb5ae54c35da661437deda14a7feee9577d39566 /src/vim9script.c | |
parent | 2a2707d03337d0bb7d5fd1770238809618653d4a (diff) | |
download | vim-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.c | 2 |
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; |