commit | e442d59f6d6732c226d636067c07b7342838b36b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu May 05 12:20:28 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 05 12:20:28 2022 +0100 |
tree | fb5ae54c35da661437deda14a7feee9577d39566 | |
parent | 2a2707d03337d0bb7d5fd1770238809618653d4a [diff] [blame] |
patch 8.2.4869: expression in command block does not look after NL Problem: Expression in command block does not look after NL. Solution: Skip over NL to check what follows. (closes #10358)
diff --git a/src/vim9script.c b/src/vim9script.c index b1bfe63..6595882 100644 --- a/src/vim9script.c +++ b/src/vim9script.c
@@ -589,7 +589,7 @@ char_u *p; if (getnext) - arg = eval_next_line(evalarg); + arg = eval_next_line(expr_end, evalarg); else arg = nextarg;