提交 19a388f3 编写于 作者: X xywang

[TS-1304]<fix>: fixed incorrect results due to a parsing error

上级 93934d48
......@@ -565,6 +565,16 @@ uint32_t tGetToken(char* z, uint32_t* tokenId) {
}
*tokenId = TK_FLOAT;
}
if (*tokenId == TK_INTEGER) {
for (i = 1; z[i] != '\0' && !isspace(z[i]); i++) {
if (i > 1) {
*tokenId = TK_ID;
break;
}
}
}
return i;
}
case '[': {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册