Mercurial > vim
diff src/proto/eval.pro @ 21512:81c47a694479 v8.2.1306
patch 8.2.1306: checking for first character of dict key is inconsistent
Commit: https://github.com/vim/vim/commit/b13ab99908097d54e21ab5adad22f4ad2a8ec688
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 27 21:43:28 2020 +0200
patch 8.2.1306: checking for first character of dict key is inconsistent
Problem: Checking for first character of dict key is inconsistent.
Solution: Add eval_isdictc(). (closes https://github.com/vim/vim/issues/6546)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Jul 2020 21:45:04 +0200 |
parents | ad13736a1783 |
children | b1f3d8a44ab6 |
line wrap: on
line diff
--- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -58,6 +58,7 @@ int get_name_len(char_u **arg, char_u ** char_u *find_name_end(char_u *arg, char_u **expr_start, char_u **expr_end, int flags); int eval_isnamec(int c); int eval_isnamec1(int c); +int eval_isdictc(int c); int handle_subscript(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int verbose); int item_copy(typval_T *from, typval_T *to, int deep, int copyID); void echo_one(typval_T *rettv, int with_space, int *atstart, int *needclr);