0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2022-05-05 12:20:28 +01:00
parent 2a2707d033
commit e442d59f6d
5 changed files with 38 additions and 16 deletions

View File

@@ -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;