forked from aniani/vim
patch 9.0.1390: FOR_ALL_ macros are defined in an unexpected file
Problem: FOR_ALL_ macros are defined in an unexpected file. Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS. (Yegappan Lakshmanan, closes #12109)
This commit is contained in:
committed by
Bram Moolenaar
parent
663ee88a82
commit
14113fdf9c
@@ -1052,7 +1052,7 @@ invoke_defer_funcs(ectx_T *ectx)
|
||||
|
||||
if (defer_tv->v_type != VAR_LIST)
|
||||
return; // no function added
|
||||
for (li = defer_tv->vval.v_list->lv_first; li != NULL; li = li->li_next)
|
||||
FOR_ALL_LIST_ITEMS(defer_tv->vval.v_list, li)
|
||||
{
|
||||
list_T *l = li->li_tv.vval.v_list;
|
||||
typval_T rettv;
|
||||
|
Reference in New Issue
Block a user