Fix issue in _parse_str

This commit is contained in:
Patrick Pelissier committed 2018-05-09 21:48:32 +02:00
1 parent e9f603fa30
commit 7d08a7ba1a
1 file changed
+3 -3
+3 -3
View File
@@ -719,10 +719,10 @@
M_C(name,_clean)(deque); \
bool success = false; \
int c = *str++; \
if (M_UNLIKELY (c != '[')) return false; \
if (M_UNLIKELY (c != '[')) goto exit; \
c = *str++; \
if (M_UNLIKELY (c == ']')) return true; \
if (M_UNLIKELY (c == EOF)) return false; \
if (M_UNLIKELY (c == ']')) {success = true; goto exit;} \
if (M_UNLIKELY (c == 0)) goto exit; \
str--; \
type item; \
M_GET_INIT oplist (item); \