Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
26533:88b2affbddd9 | 26534:28745eec1dda |
---|---|
874 } | 874 } |
875 | 875 |
876 if (call_prepare(argcount, argvars, ectx) == FAIL) | 876 if (call_prepare(argcount, argvars, ectx) == FAIL) |
877 return FAIL; | 877 return FAIL; |
878 CLEAR_FIELD(funcexe); | 878 CLEAR_FIELD(funcexe); |
879 funcexe.evaluate = TRUE; | 879 funcexe.fe_evaluate = TRUE; |
880 funcexe.selfdict = selfdict != NULL ? selfdict : dict_stack_get_dict(); | 880 funcexe.fe_selfdict = selfdict != NULL ? selfdict : dict_stack_get_dict(); |
881 | 881 |
882 // Call the user function. Result goes in last position on the stack. | 882 // Call the user function. Result goes in last position on the stack. |
883 // TODO: add selfdict if there is one | 883 // TODO: add selfdict if there is one |
884 error = call_user_func_check(ufunc, argcount, argvars, | 884 error = call_user_func_check(ufunc, argcount, argvars, |
885 STACK_TV_BOT(-1), &funcexe, funcexe.selfdict); | 885 STACK_TV_BOT(-1), &funcexe, funcexe.fe_selfdict); |
886 | 886 |
887 // Clear the arguments. | 887 // Clear the arguments. |
888 for (idx = 0; idx < argcount; ++idx) | 888 for (idx = 0; idx < argcount; ++idx) |
889 clear_tv(&argvars[idx]); | 889 clear_tv(&argvars[idx]); |
890 | 890 |