From b13ab99908097d54e21ab5adad22f4ad2a8ec688 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 27 Jul 2020 21:43:28 +0200 Subject: 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 #6546) --- src/proto/eval.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/proto') diff --git a/src/proto/eval.pro b/src/proto/eval.pro index 5d04e01ac..a528d3e43 100644 --- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -58,6 +58,7 @@ int get_name_len(char_u **arg, char_u **alias, int evaluate, int verbose); 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); -- cgit v1.2.1