Make Serialization input of array / dict more flexible
by supporting space characters within the input.
This commit is contained in:
1 parent
34d0f8ec81
commit
2eaeb26d4c
3 files changed
+7
-4
No files matched your search
@@ -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); \
|
||||
|
||||
Reference in new issue
Block a user