summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-19 20:50:03 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-19 20:50:03 +0200
commit2d1c57ed3dd25c44b41b9ddd4cf63c01ae89007e (patch)
tree3ffc5635d92db32e5310f46c879ca0424223d21e /src/errors.h
parent4c13721482d7786f92f5a56e43b0f5c499264b7e (diff)
patch 8.2.2785: Vim9: cannot redirect to local variablev8.2.2785
Problem: Vim9: cannot redirect to local variable. Solution: Compile :redir when redirecting to a variable.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 1e091867f2..0781ca150f 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -405,3 +405,7 @@ EXTERN char e_cannot_use_range_with_assignment_operator_str[]
INIT(= N_("E1183: Cannot use a range with an assignment operator: %s"));
EXTERN char e_blob_not_set[]
INIT(= N_("E1184: Blob not set"));
+EXTERN char e_cannot_nest_redir[]
+ INIT(= N_("E1185: Cannot nest :redir"));
+EXTERN char e_missing_redir_end[]
+ INIT(= N_("E1185: Missing :redir END"));