0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2021-12-13 14:26:44 +00:00
parent 739f13a55b
commit 851f86b951
8 changed files with 87 additions and 84 deletions

View File

@@ -876,13 +876,13 @@ call_ufunc(
if (call_prepare(argcount, argvars, ectx) == FAIL)
return FAIL;
CLEAR_FIELD(funcexe);
funcexe.evaluate = TRUE;
funcexe.selfdict = selfdict != NULL ? selfdict : dict_stack_get_dict();
funcexe.fe_evaluate = TRUE;
funcexe.fe_selfdict = selfdict != NULL ? selfdict : dict_stack_get_dict();
// Call the user function. Result goes in last position on the stack.
// TODO: add selfdict if there is one
error = call_user_func_check(ufunc, argcount, argvars,
STACK_TV_BOT(-1), &funcexe, funcexe.selfdict);
STACK_TV_BOT(-1), &funcexe, funcexe.fe_selfdict);
// Clear the arguments.
for (idx = 0; idx < argcount; ++idx)