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
@@ -213,7 +213,7 @@ set_tv_type(typval_T *tv, type_T *type)
|
||||
hashitem_T *hi;
|
||||
dictitem_T *di;
|
||||
|
||||
for (hi = d->dv_hashtab.ht_array; todo > 0; ++hi)
|
||||
FOR_ALL_HASHTAB_ITEMS(&d->dv_hashtab, hi, todo)
|
||||
{
|
||||
if (!HASHITEM_EMPTY(hi))
|
||||
{
|
||||
|
Reference in New Issue
Block a user