summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-28 21:38:06 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-28 21:38:06 +0100
commitee619e5bc0992e818f2d9540b093b769b9c27651 (patch)
treeb641bbb22f0db951821fd0b34ba8b4dfbd7bdf06 /src/globals.h
parent7c003aa314337ce732e18c541fa93d71cafedf03 (diff)
patch 8.2.0469: Vim9: no error for missing ] after listv8.2.0469
Problem: Vim9: no error for missing ] after list. Solution: Add error message. Add more tests.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index f1538d6225..290f07dd5e 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1644,6 +1644,7 @@ EXTERN char e_func_deleted[] INIT(= N_("E933: Function was deleted: %s"));
EXTERN char e_dictkey[] INIT(= N_("E716: Key not present in Dictionary: %s"));
EXTERN char e_listreq[] INIT(= N_("E714: List required"));
EXTERN char e_listblobreq[] INIT(= N_("E897: List or Blob required"));
+EXTERN char e_list_end[] INIT(= N_("E697: Missing end of List ']': %s"));
EXTERN char e_listdictarg[] INIT(= N_("E712: Argument of %s must be a List or Dictionary"));
EXTERN char e_listdictblobarg[] INIT(= N_("E896: Argument of %s must be a List, Dictionary or Blob"));
EXTERN char e_modulus[] INIT(= N_("E804: Cannot use '%' with Float"));