aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-07-09 23:24:51 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-07-15 23:07:29 -0400
commit1c2cfdba88ce3a83807c3c38909c0ee6b3ec2df0 (patch)
tree139daf594d1b494690e4960705ce02890e75f62d /src
parent066ef812c27551aaf150777a9635a06262caeaeb (diff)
downloadrneovim-1c2cfdba88ce3a83807c3c38909c0ee6b3ec2df0.tar.gz
rneovim-1c2cfdba88ce3a83807c3c38909c0ee6b3ec2df0.tar.bz2
rneovim-1c2cfdba88ce3a83807c3c38909c0ee6b3ec2df0.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c4
1 files changed, 2 insertions, 2 deletions
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;