mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.1069: Vim9: fail to check for white space in list
Problem: Vim9: fail to check for white space in list. Solution: Add check for white space.e6e031739c
N/A patches for version.c: vim-patch:8.2.1070: Vim9: leaking memory when lacking white space in dict Problem: Vim9: leaking memory when lacking white space in dict. Solution: Clear the typval.ab19d495fd
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
4ce20f7229
commit
89ff05b258
@ -4003,7 +4003,7 @@ static int get_list_tv(char **arg, typval_T *rettv, evalarg_T *const evalarg)
|
||||
tv_list_append_owned_tv(l, tv);
|
||||
}
|
||||
|
||||
// the comma must comma after the value
|
||||
// the comma must come after the value
|
||||
bool had_comma = **arg == ',';
|
||||
if (had_comma) {
|
||||
*arg = skipwhite(*arg + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user