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

+2 -2
View File
@@ -629,7 +629,7 @@
M_C(name, _get_str)(string_t str, array_t array, \
bool append) \
{ \
STRING_CONTRACT(str); \
STRINGI_CONTRACT(str); \
ARRAYI_CONTRACT(array); \
(append ? string_cat_str : string_set_str) (str, "["); \
array_it_t it; \
@@ -642,7 +642,7 @@
string_push_back (str, M_GET_SEPARATOR oplist); \
} \
string_push_back (str, ']'); \
STRING_CONTRACT(str); \
STRINGI_CONTRACT(str); \
} \
, /* no GET_STR */ ) \
\
+2 -2
View File
@@ -645,7 +645,7 @@
static inline void \
M_C(name, _get_str)(string_t str, deque_t deque, bool append) \
{ \
STRING_CONTRACT(str); \
STRINGI_CONTRACT(str); \
DEQUEI_CONTRACT(deque); \
(append ? string_cat_str : string_set_str) (str, "["); \
it_t it; \
@@ -658,7 +658,7 @@
string_push_back (str, M_GET_SEPARATOR oplist); \
} \
string_push_back (str, ']'); \
STRING_CONTRACT(str); \
STRINGI_CONTRACT(str); \
} \
, /* no GET_STR */ ) \
\
+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 */ ) \
\