Make Serialization input of array / dict more flexible

by supporting space characters within the input.
This commit is contained in:
Patrick Pelissier committed 2018-04-30 11:02:42 +02:00
1 parent 34d0f8ec81
commit 2eaeb26d4c
3 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -778,7 +778,7 @@
M_GET_INIT oplist (item); \
do { \
bool b = M_GET_IN_STR oplist (item, file); \
c = fgetc(file); \
do { c = fgetc(file); } while (isspace(c)); \
if (b == false || c == EOF) { break; } \
M_C(name, _push_back)(array, item); \
} while (c == M_GET_SEPARATOR oplist); \