summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-19 19:02:42 +0200
committerBram Moolenaar <Bram@vim.org>2020-10-19 19:02:42 +0200
commit1dcae59957301b6b19aef49af648715f911a1378 (patch)
treea4d330ebc6eebc410e845a421844950c2f38d84f /src/errors.h
parent334a8b4bde55e1095533f70616ac1e6ec337c62c (diff)
downloadvim-git-1dcae59957301b6b19aef49af648715f911a1378.tar.gz
patch 8.2.1865: Vim9: add() does not check type of argumentv8.2.1865
Problem: Vim9: add() does not check type of argument. Solution: Inline the add() call. (closes #7160)
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 664bcd932..8ddf44157 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -282,4 +282,6 @@ EXTERN char e_endblock_without_block[]
INIT(= N_("E1128: } without {"));
EXTERN char e_throw_with_empty_string[]
INIT(= N_("E1129: Throw with empty string"));
+EXTERN char e_cannot_add_to_null_list[]
+ INIT(= N_("E1130: Cannot add to null list"));
#endif