mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 08:48:16 +00:00
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.
ca16c60f33
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user