Fix broken code due to previous commits.

This commit is contained in:
Patrick Pelissier committed 2018-01-24 22:26:46 +01:00
1 parent 778bc4072b
commit 2089af8fd3
3 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -469,14 +469,14 @@
static inline void \
M_C(name, _get_str)(string_t str, dict_t dict, const bool append) \
{ \
STRING_CONTRACT (str); \
STRINGI_CONTRACT (str); \
DICTI_CONTRACT(name, dict); \
(append ? string_cat_str : string_set_str) (str, "{"); \
dict_it_t it; \
for (M_C(name, _it)(it, dict) ; \
!M_C(name, _end_p)(it); \
M_C(name, _next)(it)){ \
const struct M_C(name, _pair_s) *item = \
const struct M_C(name, _pair_s) *item = \
M_C(name, _cref)(it); \
M_GET_GET_STR key_oplist (str, item->key, true); \
string_push_back (str, ':'); \
@@ -485,7 +485,7 @@
string_push_back (str, ','); \
} \
string_push_back (str, '}'); \
STRING_CONTRACT(str); \
STRINGI_CONTRACT(str); \
} \
, /* no GET_STR */ ) \
\