summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-21 22:15:25 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-21 22:15:25 +0100
commit44ddf19ec0ff59c969658ec7d9ed42070c59c51b (patch)
tree3bb890d6ead77f4a66e3c64a5e7ed0a21b6dd26f /src/errors.h
parentcf801d4b95180ddaee1bf633ef482232625dd80b (diff)
patch 8.2.5146: memory leak when substitute expression nestsv8.2.5146
Problem: Memory leak when substitute expression nests. Solution: Use an array of expression results.
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 109d9e8348..43a1c9b955 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3300,3 +3300,7 @@ EXTERN char e_could_not_reset_handler_for_timeout_str[]
EXTERN char e_could_not_check_for_pending_sigalrm_str[]
INIT(= N_("E1289: Could not check for pending SIGALRM: %s"));
#endif
+#ifdef FEAT_EVAL
+EXTERN char e_substitute_nesting_too_deep[]
+ INIT(= N_("E1290: substitute nesting too deep"));
+#endif