diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 16:57:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 16:57:25 +0800 |
commit | 42e55ba009ecc14afa1b519c8de02cb30c0d1671 (patch) | |
tree | 7d937655803f94f2a71af62902fa40b36759c94a /src/nvim/eval.c | |
parent | 0b855f7c07b5424bfb68352532b03bc4eb21b94a (diff) | |
download | rneovim-42e55ba009ecc14afa1b519c8de02cb30c0d1671.tar.gz rneovim-42e55ba009ecc14afa1b519c8de02cb30c0d1671.tar.bz2 rneovim-42e55ba009ecc14afa1b519c8de02cb30c0d1671.zip |
vim-patch:9.0.0398: members of funccall_T are inconsistently named (#23123)
Problem: Members of funccall_T are inconsistently named.
Solution: Use the "fc_" prefix for all members.
https://github.com/vim/vim/commit/ca16c60f337ed33d5dd66a6e90aaf95b619c5e47
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index b8daa78c79..8d517fa4d2 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -7466,7 +7466,7 @@ hashtab_T *find_var_ht_dict(const char *name, const size_t name_len, const char if (funccal == NULL) { // global variable *d = &globvardict; } else { // l: variable - *d = &funccal->l_vars; + *d = &funccal->fc_l_vars; } goto end; } @@ -7490,9 +7490,9 @@ hashtab_T *find_var_ht_dict(const char *name, const size_t name_len, const char } else if (*name == 'v') { // v: variable *d = &vimvardict; } else if (*name == 'a' && funccal != NULL) { // function argument - *d = &funccal->l_avars; + *d = &funccal->fc_l_avars; } else if (*name == 'l' && funccal != NULL) { // local variable - *d = &funccal->l_vars; + *d = &funccal->fc_l_vars; } else if (*name == 's' // script variable && (current_sctx.sc_sid > 0 || current_sctx.sc_sid == SID_STR || current_sctx.sc_sid == SID_LUA) |