eval/typval_encode: Provide proper values as dict argument

This commit is contained in:
ZyX
2017-01-03 07:41:05 +03:00
parent a5bdd64a5e
commit 9c84f3ba3e
2 changed files with 8 additions and 3 deletions

View File

@@ -192,6 +192,9 @@ typedef struct {
union {
struct {
dict_T *dict; ///< Currently converted dictionary.
dict_T **dictp; ///< Location where that dictionary is stored.
///< Normally it is &.tv->vval.v_dict, but not when
///< converting partials.
hashitem_T *hi; ///< Currently converted dictionary item.
size_t todo; ///< Amount of items left to process.
} d; ///< State of dictionary conversion.