mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
vim-patch:8.1.0583: using illogical name for get_dict_number()/get_dict_string()
Problem: Using illogical name for get_dict_number()/get_dict_string().
Solution: Rename to start with dict_.
8f66717a1f
This commit is contained in:
@@ -4336,7 +4336,7 @@ static int eval7(
|
|||||||
// Dictionary: {key: val, key: val}
|
// Dictionary: {key: val, key: val}
|
||||||
case '{': ret = get_lambda_tv(arg, rettv, evaluate);
|
case '{': ret = get_lambda_tv(arg, rettv, evaluate);
|
||||||
if (ret == NOTDONE) {
|
if (ret == NOTDONE) {
|
||||||
ret = get_dict_tv(arg, rettv, evaluate);
|
ret = dict_get_tv(arg, rettv, evaluate);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -5720,7 +5720,7 @@ static bool set_ref_in_funccal(funccall_T *fc, int copyID)
|
|||||||
* Allocate a variable for a Dictionary and fill it from "*arg".
|
* Allocate a variable for a Dictionary and fill it from "*arg".
|
||||||
* Return OK or FAIL. Returns NOTDONE for {expr}.
|
* Return OK or FAIL. Returns NOTDONE for {expr}.
|
||||||
*/
|
*/
|
||||||
static int get_dict_tv(char_u **arg, typval_T *rettv, int evaluate)
|
static int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate)
|
||||||
{
|
{
|
||||||
dict_T *d = NULL;
|
dict_T *d = NULL;
|
||||||
typval_T tvkey;
|
typval_T tvkey;
|
||||||
|
Reference in New Issue
Block a user