diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-09 21:35:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-09 21:35:36 +0100 |
commit | 6de2296e5e696b894576d48239aaab0ae84486ff (patch) | |
tree | 1253b8f5cda9a28387a70870ff71701d200c39da /src/errors.h | |
parent | 7cf5839287de6f65c981a876d8a1c7e6f8d2494b (diff) | |
download | vim-git-6de2296e5e696b894576d48239aaab0ae84486ff.tar.gz |
patch 9.0.0432: crash when using for loop variable in closurev9.0.0432
Problem: Crash when using for loop variable in closure.
Solution: Check that the variable wasn't deleted. (issue #11094)
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 45f0d6a66..050cec768 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3331,4 +3331,6 @@ EXTERN char e_cannot_use_partial_with_dictionary_for_defer[] INIT(= N_("E1300: Cannot use a partial with dictionary for :defer")); EXTERN char e_string_number_list_or_blob_required_for_argument_nr[] INIT(= N_("E1301: String, Number, List or Blob required for argument %d")); +EXTERN char e_script_variable_was_deleted[] + INIT(= N_("E1302: Script variable was deleted")); #endif |