Fix wrong parsing of malformed dict.

This commit is contained in:
Patrick Pelissier committed 2023-04-10 23:08:51 +02:00
1 parent e74f80cc59
commit a27b0b4014
1 file changed
+1 -1
+1 -1
View File
@@ -885,7 +885,7 @@
if (M_UNLIKELY (c != '{')) return false; \
c = m_core_fgetc_nospace(file); \
if (M_UNLIKELY(c == '}')) return true; \
if (M_UNLIKELY (c == EOF)) return true; \
if (M_UNLIKELY (c == EOF)) return false; \
ungetc(c, file); \
key_type key; \
M_IF(isSet)( ,value_type value); \