From 1c2cfdba88ce3a83807c3c38909c0ee6b3ec2df0 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 9 Jul 2019 23:24:51 -0400 Subject: 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_. https://github.com/vim/vim/commit/8f66717a1f835b8194139d158c1e2df8b30c3ef3 --- src/nvim/eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/eval.c b/src/nvim/eval.c index b4fab764de..67aaf3c25c 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -4336,7 +4336,7 @@ static int eval7( // Dictionary: {key: val, key: val} case '{': ret = get_lambda_tv(arg, rettv, evaluate); if (ret == NOTDONE) { - ret = get_dict_tv(arg, rettv, evaluate); + ret = dict_get_tv(arg, rettv, evaluate); } 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". * 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; typval_T tvkey; -- cgit