From dd9de50f4262898384be6ea7694d05507c7cb260 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 15 Aug 2021 13:49:42 +0200 Subject: patch 8.2.3347: check for legacy script is incomplete Problem: Check for legacy script is incomplete. (Naohiro Ono) Solution: Also check the :legacy modifier. Use for string concatenation with "." and others (issue #8756) --- src/errors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/errors.h') diff --git a/src/errors.h b/src/errors.h index 3b15d105f..3468ab780 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")); -- cgit v1.2.1