diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-09-16 17:31:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 17:31:42 +0800 |
commit | 3dda52d860eb4937127693d4660db18305069370 (patch) | |
tree | 7b7ab6056f57eb481a3766074a911d8ed7eb4e34 /src/nvim/regexp.c | |
parent | 754822a066e6ce92462aa17fce8999472c23b777 (diff) | |
download | rneovim-3dda52d860eb4937127693d4660db18305069370.tar.gz rneovim-3dda52d860eb4937127693d4660db18305069370.tar.bz2 rneovim-3dda52d860eb4937127693d4660db18305069370.zip |
vim-patch:8.2.3796: the funcexe_T struct members are not named consistently (#20214)
Problem: The funcexe_T struct members are not named consistently.
Solution: Prefix "fe_" to all the members.
https://github.com/vim/vim/commit/851f86b951cdd67ad9cf3149e46169d1375c8d82
Omit fe_check_type: always NULL in legacy Vim script.
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index a2ea096cb9..99e18bdeb1 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -1803,8 +1803,8 @@ static int vim_regsub_both(char_u *source, typval_T *expr, char_u *dest, int des argv[0].v_type = VAR_LIST; argv[0].vval.v_list = &matchList.sl_list; funcexe_T funcexe = FUNCEXE_INIT; - funcexe.argv_func = fill_submatch_list; - funcexe.evaluate = true; + funcexe.fe_argv_func = fill_submatch_list; + funcexe.fe_evaluate = true; if (expr->v_type == VAR_FUNC) { s = (char_u *)expr->vval.v_string; call_func((char *)s, -1, &rettv, 1, argv, &funcexe); @@ -1812,7 +1812,7 @@ static int vim_regsub_both(char_u *source, typval_T *expr, char_u *dest, int des partial_T *partial = expr->vval.v_partial; s = (char_u *)partial_name(partial); - funcexe.partial = partial; + funcexe.fe_partial = partial; call_func((char *)s, -1, &rettv, 1, argv, &funcexe); } if (tv_list_len(&matchList.sl_list) > 0) { |