Mercurial > vim
diff src/vim9execute.c @ 26534:28745eec1dda v8.2.3796
patch 8.2.3796: the funcexe_T struct members are not named consistently
Commit: https://github.com/vim/vim/commit/851f86b951cdd67ad9cf3149e46169d1375c8d82
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 14:26:44 2021 +0000
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 15:30:03 +0100 |
parents | 4a1d2abc2016 |
children | ad00a5cb005d |
line wrap: on
line diff
--- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -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)