diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-27 15:19:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-27 15:19:27 +0200 |
commit | cfcd011fcd8021da52fba62dabf7a2497f1879b7 (patch) | |
tree | 4b15ba4d18a6901feb2e0863e150cb0b3302fba5 /src/errors.h | |
parent | c0e29010f68a0ebe439f9bd78493799c60b7bfd3 (diff) |
patch 8.2.1756: Vim9: :let will soon be disallowedv8.2.1756
Problem: Vim9: :let will soon be disallowed.
Solution: Add v:disallow_let temporarily. Fix tests.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 34c47ca5b0..bc6258cafb 100644 --- a/src/errors.h +++ b/src/errors.h @@ -274,4 +274,6 @@ EXTERN char e_str_cannot_be_used_in_legacy_vim_script[] INIT(= N_("E1124: \"%s\" cannot be used in legacy Vim script")); EXTERN char e_final_requires_a_value[] INIT(= N_("E1125: Final requires a value")); +EXTERN char e_cannot_use_let_in_vim9_script[] + INIT(= N_("E1126: Cannot use :let in Vim9 script")); #endif |