Mercurial > vim
diff src/errors.h @ 29255:5ebc561444fe v8.2.5146
patch 8.2.5146: memory leak when substitute expression nests
Commit: https://github.com/vim/vim/commit/44ddf19ec0ff59c969658ec7d9ed42070c59c51b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 21 22:15:25 2022 +0100
patch 8.2.5146: memory leak when substitute expression nests
Problem: Memory leak when substitute expression nests.
Solution: Use an array of expression results.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Jun 2022 23:30:03 +0200 |
parents | b90bca860b5a |
children | 339fe2968690 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -3300,3 +3300,7 @@ EXTERN char e_could_not_reset_handler_fo 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