Mercurial > vim
diff src/proto/eval.pro @ 26990:4b8d836db103 v8.2.4024
patch 8.2.4024: confusing error message if imported name is used directly
Commit: https://github.com/vim/vim/commit/32884ad753ffb462d27998beb50678888209075f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 7 12:45:29 2022 +0000
patch 8.2.4024: confusing error message if imported name is used directly
Problem: Confusing error message if imported name is used directly.
Solution: Give a better error message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Jan 2022 14:00:04 +0100 |
parents | 8796f1384750 |
children | e11682ba8c80 |
line wrap: on
line diff
--- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -70,7 +70,7 @@ char_u *find_name_end(char_u *arg, char_ 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 handle_subscript(char_u **arg, char_u *name_start, 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); void ex_echo(exarg_T *eap);