diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-16 14:48:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-16 14:48:19 +0200 |
commit | 56acb0943ede35cd9d2f6667cde2442819ccbf59 (patch) | |
tree | d35aa5928ec6d46f07ea1ed4f1e5fb2f00bfa7dc /src/errors.h | |
parent | 829ac868b7615d73dbfb536f7fcd44fc7c5b7c1d (diff) | |
download | vim-git-56acb0943ede35cd9d2f6667cde2442819ccbf59.tar.gz |
patch 8.2.1465: Vim9: subscript not handled properlyv8.2.1465
Problem: Vim9: subscript not handled properly.
Solution: Adjust error message. Remove dead code. Disallow string to
number conversion in scripts.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h index 3f9607146..0622042a8 100644 --- a/src/errors.h +++ b/src/errors.h @@ -228,8 +228,8 @@ EXTERN char e_one_argument_too_many[] INIT(= N_("E1106: one argument too many")); EXTERN char e_nr_arguments_too_many[] INIT(= N_("E1106: %d arguments too many")); -EXTERN char e_list_dict_or_blob_required[] - INIT(= N_("E1107: List, Dict or Blob required")); +EXTERN char e_string_list_dict_or_blob_required[] + INIT(= N_("E1107: String, List, Dict or Blob required")); EXTERN char e_item_not_found_str[] INIT(= N_("E1108: Item not found: %s")); #endif |