summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-15 13:49:42 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-15 13:49:42 +0200
commitdd9de50f4262898384be6ea7694d05507c7cb260 (patch)
tree7065a785ee6bd7f1a9dd30ff09bf800aa6bd9699 /src/errors.h
parent2596a4e763e11eb8e406f262cb72fd2b39461572 (diff)
patch 8.2.3347: check for legacy script is incompletev8.2.3347
Problem: Check for legacy script is incomplete. (Naohiro Ono) Solution: Also check the :legacy modifier. Use for string concatenation with "." and others (issue #8756)
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 3b15d105fc..3468ab780c 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -650,3 +650,5 @@ EXTERN char e_argument_of_exists_compiled_must_be_literal_string[]
INIT(= N_("E1232: Argument of exists_compiled() must be a literal string"));
EXTERN char e_exists_compiled_can_only_be_used_in_def_function[]
INIT(= N_("E1233: exists_compiled() can only be used in a :def function"));
+EXTERN char e_legacy_must_be_followed_by_command[]
+ INIT(= N_("E1234: legacy must be followed by a command"));