diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-10 15:24:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-10 15:24:44 +0200 |
commit | 89483d40438830fb9e74a5ec6c92d2470b05e4c2 (patch) | |
tree | beb03e9bded5798073787f275b2f3cee63814f8b /src/proto/dict.pro | |
parent | 69212b11d18d9d8951968f6ca88e6ce046c90675 (diff) | |
download | vim-git-89483d40438830fb9e74a5ec6c92d2470b05e4c2.tar.gz |
patch 8.2.0729: Vim9: When reloading a script variables are not clearedv8.2.0729
Problem: Vim9: When reloading a script variables are not cleared.
Solution: When sourcing a script again clear all script-local variables.
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r-- | src/proto/dict.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro index d9b35c309..45bcfbf3a 100644 --- a/src/proto/dict.pro +++ b/src/proto/dict.pro @@ -5,6 +5,7 @@ dict_T *dict_alloc_lock(int lock); int rettv_dict_alloc(typval_T *rettv); void rettv_dict_set(typval_T *rettv, dict_T *d); void dict_free_contents(dict_T *d); +void hashtab_free_contents(hashtab_T *ht); void dict_unref(dict_T *d); int dict_free_nonref(int copyID); void dict_free_items(int copyID); |