summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-11 16:01:58 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-11 16:01:58 +0200
commit0f1227f7d5a3e368f61d396c1640088c079fef91 (patch)
treec7afe1e85b36fff5b513a8c465e7601364079f5d /src/errors.h
parentd9162550aa47ca3865a5cadf78ff2212a1d8eca7 (diff)
patch 8.2.3144: Vim9: no error when using an invalid value for a line numberv8.2.3144
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)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 7e823bfbf2..bfbe0296ed 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -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\""));