diff options
author | ZyX <kp-pav@yandex.ru> | 2017-01-03 07:41:05 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-01-03 07:41:05 +0300 |
commit | 9c84f3ba3e517b6c6b196387ac50d40daeacf165 (patch) | |
tree | 71bb4fffb771376ed141453ac5fcb906655a4697 /src/nvim/eval/typval_encode.h | |
parent | a5bdd64a5e2b2e5f21ecdf9a04bbf6fdd787f8a9 (diff) | |
download | rneovim-9c84f3ba3e517b6c6b196387ac50d40daeacf165.tar.gz rneovim-9c84f3ba3e517b6c6b196387ac50d40daeacf165.tar.bz2 rneovim-9c84f3ba3e517b6c6b196387ac50d40daeacf165.zip |
eval/typval_encode: Provide proper values as dict argument
Diffstat (limited to 'src/nvim/eval/typval_encode.h')
-rw-r--r-- | src/nvim/eval/typval_encode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/eval/typval_encode.h b/src/nvim/eval/typval_encode.h index 5813059cda..c2629caa39 100644 --- a/src/nvim/eval/typval_encode.h +++ b/src/nvim/eval/typval_encode.h @@ -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. |