Fix wrong parsing of malformed dict.
This commit is contained in:
1 parent
e74f80cc59
commit
a27b0b4014
1 file changed
+1
-1
@@ -885,7 +885,7 @@
|
|||||||
if (M_UNLIKELY (c != '{')) return false; \
|
if (M_UNLIKELY (c != '{')) return false; \
|
||||||
c = m_core_fgetc_nospace(file); \
|
c = m_core_fgetc_nospace(file); \
|
||||||
if (M_UNLIKELY(c == '}')) return true; \
|
if (M_UNLIKELY(c == '}')) return true; \
|
||||||
if (M_UNLIKELY (c == EOF)) return true; \
|
if (M_UNLIKELY (c == EOF)) return false; \
|
||||||
ungetc(c, file); \
|
ungetc(c, file); \
|
||||||
key_type key; \
|
key_type key; \
|
||||||
M_IF(isSet)( ,value_type value); \
|
M_IF(isSet)( ,value_type value); \
|
||||||
|
|||||||
Reference in new issue
Block a user