From 851f86b951cdd67ad9cf3149e46169d1375c8d82 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 13 Dec 2021 14:26:44 +0000 Subject: patch 8.2.3796: the funcexe_T struct members are not named consistently Problem: The funcexe_T struct members are not named consistently. Solution: Prefix "fe_" to all the members. --- src/list.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/list.c') 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) { -- cgit v1.2.1