0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.0-084

This commit is contained in:
Bram Moolenaar
2006-09-05 10:59:47 +00:00
parent 203335e4a9
commit 9fecb460fe
5 changed files with 56 additions and 11 deletions

View File

@@ -6074,6 +6074,10 @@ garbage_collect()
tabpage_T *tp;
#endif
/* Only do this once. */
want_garbage_collect = FALSE;
may_garbage_collect = FALSE;
/*
* 1. Go through all accessible variables and mark all lists and dicts
* with copyID.
@@ -9636,7 +9640,9 @@ f_garbagecollect(argvars, rettv)
typval_T *argvars;
typval_T *rettv;
{
garbage_collect();
/* This is postponed until we are back at the toplevel, because we may be
* using Lists and Dicts internally. E.g.: ":echo [garbagecollect()]". */
want_garbage_collect = TRUE;
}
/*