Fix issue in _parse_str
This commit is contained in:
1 parent
e9f603fa30
commit
7d08a7ba1a
1 file changed
+3
-3
@@ -719,10 +719,10 @@
|
|||||||
M_C(name,_clean)(deque); \
|
M_C(name,_clean)(deque); \
|
||||||
bool success = false; \
|
bool success = false; \
|
||||||
int c = *str++; \
|
int c = *str++; \
|
||||||
if (M_UNLIKELY (c != '[')) return false; \
|
if (M_UNLIKELY (c != '[')) goto exit; \
|
||||||
c = *str++; \
|
c = *str++; \
|
||||||
if (M_UNLIKELY (c == ']')) return true; \
|
if (M_UNLIKELY (c == ']')) {success = true; goto exit;} \
|
||||||
if (M_UNLIKELY (c == EOF)) return false; \
|
if (M_UNLIKELY (c == 0)) goto exit; \
|
||||||
str--; \
|
str--; \
|
||||||
type item; \
|
type item; \
|
||||||
M_GET_INIT oplist (item); \
|
M_GET_INIT oplist (item); \
|
||||||
|
|||||||
Reference in new issue
Block a user