summaryrefslogtreecommitdiffstats
path: root/src/proto/dict.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-13 22:46:10 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-13 22:46:10 +0200
commitd5abb4c87727eecb71b0e8ffdda60fc9598272f3 (patch)
tree0166ed6641ae120fe56c807f90a88e071aa74bbd /src/proto/dict.pro
parent809ce4d317fe12db0b2c17f16b4f77200fb060c4 (diff)
patch 8.1.1683: dictionary with string keys is longer than neededv8.1.1683
Problem: Dictionary with string keys is longer than needed. Solution: Use *{key: val} for literaly keys.
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r--src/proto/dict.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro
index 3d31347a48..c133523731 100644
--- a/src/proto/dict.pro
+++ b/src/proto/dict.pro
@@ -28,7 +28,7 @@ char_u *dict_get_string(dict_T *d, char_u *key, int save);
varnumber_T dict_get_number(dict_T *d, char_u *key);
varnumber_T dict_get_number_check(dict_T *d, char_u *key);
char_u *dict2string(typval_T *tv, int copyID, int restore_copyID);
-int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate);
+int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate, int literal);
void dict_extend(dict_T *d1, dict_T *d2, char_u *action);
dictitem_T *dict_lookup(hashitem_T *hi);
int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive);