Mercurial > vim
comparison src/errors.h @ 23346:2060f53b7c17 v8.2.2216
patch 8.2.2216: Vim9: range with missing colon can be hard to spot
Commit: https://github.com/vim/vim/commit/6e2c2c50bada4e3f5c7234902c0bdd64f66619ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 25 19:25:45 2020 +0100
patch 8.2.2216: Vim9: range with missing colon can be hard to spot
Problem: Vim9: range with missing colon can be hard to spot.
Solution: Include the start of the range in the error. (closes https://github.com/vim/vim/issues/7543)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 25 Dec 2020 19:30:03 +0100 |
parents | e8eb4fd44902 |
children | f181fe2150ab |
comparison
equal
deleted
inserted
replaced
23345:3cfaf9e39808 | 23346:2060f53b7c17 |
---|---|
131 INIT(= N_("E1047: Syntax error in import")); | 131 INIT(= N_("E1047: Syntax error in import")); |
132 EXTERN char e_item_not_found_in_script_str[] | 132 EXTERN char e_item_not_found_in_script_str[] |
133 INIT(= N_("E1048: Item not found in script: %s")); | 133 INIT(= N_("E1048: Item not found in script: %s")); |
134 EXTERN char e_item_not_exported_in_script_str[] | 134 EXTERN char e_item_not_exported_in_script_str[] |
135 INIT(= N_("E1049: Item not exported in script: %s")); | 135 INIT(= N_("E1049: Item not exported in script: %s")); |
136 EXTERN char e_colon_required_before_a_range[] | 136 EXTERN char e_colon_required_before_range_str[] |
137 INIT(= N_("E1050: Colon required before a range")); | 137 INIT(= N_("E1050: Colon required before a range: %s")); |
138 EXTERN char e_wrong_argument_type_for_plus[] | 138 EXTERN char e_wrong_argument_type_for_plus[] |
139 INIT(= N_("E1051: Wrong argument type for +")); | 139 INIT(= N_("E1051: Wrong argument type for +")); |
140 EXTERN char e_cannot_declare_an_option[] | 140 EXTERN char e_cannot_declare_an_option[] |
141 INIT(= N_("E1052: Cannot declare an option: %s")); | 141 INIT(= N_("E1052: Cannot declare an option: %s")); |
142 EXTERN char e_could_not_import_str[] | 142 EXTERN char e_could_not_import_str[] |