summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-13 14:26:44 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-13 14:26:44 +0000
commit851f86b951cdd67ad9cf3149e46169d1375c8d82 (patch)
tree345b918abbe1034654b12502e877bebad593c1e5 /src/list.c
parent739f13a55b4982efb37ebc9282e7f79975fff982 (diff)
downloadvim-git-851f86b951cdd67ad9cf3149e46169d1375c8d82.tar.gz
patch 8.2.3796: the funcexe_T struct members are not named consistentlyv8.2.3796
Problem: The funcexe_T struct members are not named consistently. Solution: Prefix "fe_" to all the members.
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/list.c b/src/list.c
index d67344700..ca80e4123 100644
--- a/src/list.c
+++ b/src/list.c
@@ -1935,9 +1935,9 @@ item_compare2(const void *s1, const void *s2)
rettv.v_type = VAR_UNKNOWN; // clear_tv() uses this
CLEAR_FIELD(funcexe);
- funcexe.evaluate = TRUE;
- funcexe.partial = partial;
- funcexe.selfdict = sortinfo->item_compare_selfdict;
+ funcexe.fe_evaluate = TRUE;
+ funcexe.fe_partial = partial;
+ funcexe.fe_selfdict = sortinfo->item_compare_selfdict;
res = call_func(func_name, -1, &rettv, 2, argv, &funcexe);
clear_tv(&argv[0]);
clear_tv(&argv[1]);
@@ -3203,9 +3203,9 @@ f_reduce(typval_T *argvars, typval_T *rettv)
return;
}
- vim_memset(&funcexe, 0, sizeof(funcexe));
- funcexe.evaluate = TRUE;
- funcexe.partial = partial;
+ CLEAR_FIELD(funcexe);
+ funcexe.fe_evaluate = TRUE;
+ funcexe.fe_partial = partial;
if (argvars[0].v_type == VAR_LIST)
{