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

patch 8.2.1068: Vim9: no line break allowed inside a dict

Problem:    Vim9: no line break allowed inside a dict.
Solution:   Handle line break inside a dict in Vim9 script.
This commit is contained in:
Bram Moolenaar
2020-06-27 14:11:53 +02:00
parent 0b1cd52ff6
commit 8ea9390b78
6 changed files with 82 additions and 15 deletions

View File

@@ -2787,7 +2787,7 @@ eval7(
case '#': if ((*arg)[1] == '{')
{
++*arg;
ret = eval_dict(arg, rettv, flags, TRUE);
ret = eval_dict(arg, rettv, evalarg, TRUE);
}
else
ret = NOTDONE;
@@ -2799,7 +2799,7 @@ eval7(
*/
case '{': ret = get_lambda_tv(arg, rettv, evaluate);
if (ret == NOTDONE)
ret = eval_dict(arg, rettv, flags, FALSE);
ret = eval_dict(arg, rettv, evalarg, FALSE);
break;
/*