Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update leptjson.c #217

Open
wants to merge 1 commit into
base: draft
Choose a base branch
from
Open

Update leptjson.c #217

wants to merge 1 commit into from

Conversation

Tiny1028
Copy link

@Tiny1028 Tiny1028 commented Feb 4, 2022

在判断LEPT_PARSE_ROOT_NOT_SINGULAR情况时,如果属于该情况,应当将v->type重置为LEPT_NULL,否则,可能影响测试结果,参照测试代码,如果前面读取到LEPT_FALSE类型,则会判定为一次正确

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant