0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1076: Vim9: no line break allowed in :if expression

Problem:    Vim9: no line break allowed in :if expression.
Solution:   Skip linebreak.
This commit is contained in:
Bram Moolenaar
2020-06-27 23:07:36 +02:00
parent 7e8967fdcd
commit faf8626b79
5 changed files with 73 additions and 12 deletions

View File

@@ -804,7 +804,7 @@ ex_let(exarg_T *eap)
i = eval0(expr, &rettv, eap, &evalarg);
if (eap->skip)
--emsg_skip;
vim_free(evalarg.eval_tofree);
clear_evalarg(&evalarg, eap);
}
if (eap->skip)
{