diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-04 19:12:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-04 19:12:14 +0100 |
commit | c5e6a7179d7dee4315b412b56e172bb1ff092d3e (patch) | |
tree | 70eae554a7a7cb493df307f92b1f0372033132bf /src/proto/dict.pro | |
parent | 6cd42db9dc1251b052b97d47bafc063eacac1b3e (diff) |
patch 8.2.2090: Vim9: dict does not accept a key in quotesv8.2.2090
Problem: Vim9: dict does not accept a key in quotes.
Solution: Recognize a key in single or double quotes.
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r-- | src/proto/dict.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro index 0ba83657d9..dbfdcdcbbd 100644 --- a/src/proto/dict.pro +++ b/src/proto/dict.pro @@ -34,6 +34,7 @@ varnumber_T dict_get_number_check(dict_T *d, char_u *key); varnumber_T dict_get_bool(dict_T *d, char_u *key, int def); char_u *dict2string(typval_T *tv, int copyID, int restore_copyID); char_u *skip_literal_key(char_u *key); +char_u *get_literal_key(char_u **arg); int eval_dict(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int literal); void dict_extend(dict_T *d1, dict_T *d2, char_u *action); dictitem_T *dict_lookup(hashitem_T *hi); |