0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.3144: Vim9: no error when using an invalid value for a line number

Problem:    Vim9: no error when using an invalid value for a line number.
Solution:   Give an error if the string value is not recognized.
            (closes #8536)
This commit is contained in:
Bram Moolenaar
2021-07-11 16:01:58 +02:00
parent d9162550aa
commit 0f1227f7d5
4 changed files with 27 additions and 2 deletions

View File

@@ -498,3 +498,5 @@ EXTERN char e_expression_without_effect_str[]
INIT(= N_("E1207: Expression without an effect: %s"));
EXTERN char e_complete_used_without_nargs[]
INIT(= N_("E1208: -complete used without -nargs"));
EXTERN char e_invalid_value_for_line_number_str[]
INIT(= N_("E1209: Invalid value for a line number: \"%s\""));