0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.2096: Vim9: command modifiers not restored after assignment

Problem:    Vim9: command modifiers not restored after assignment.
Solution:   Jump to nextline instead of using continue.
This commit is contained in:
Bram Moolenaar
2020-12-05 19:17:16 +01:00
parent 4029cabbe7
commit f665e97ffa
4 changed files with 50 additions and 12 deletions

View File

@@ -2432,6 +2432,7 @@ call_def_function(
else
#endif
{
SOURCING_LNUM = iptr->isn_lnum;
n1 = tv_get_number_chk(tv1, &error);
if (error)
goto on_error;