Skip to content

Update json_tool.h #316

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

Merged
merged 1 commit into from
Jul 17, 2015
Merged

Update json_tool.h #316

merged 1 commit into from
Jul 17, 2015

Conversation

filipjs
Copy link
Contributor

@filipjs filipjs commented Jul 14, 2015

Fix a typo in comment.

Fix a typo in comment.
cdunn2001 added a commit that referenced this pull request Jul 17, 2015
Update json_tool.h

typo in a comment
@cdunn2001 cdunn2001 merged commit 1c69568 into open-source-parsers:master Jul 17, 2015
@significant-bit
Copy link

I think the comment's last [ was meant to indicate an open range. Either way the comment doesn't match the code! Suggest changing to [1..31] or even better describing what makes control chars deserve special treatment.

Also what about 0x7F (DEL)?

@cdunn2001
Copy link
Contributor

You're right: [1..32) or [1..31] would be better.

I'm agnostic on these kinds of changes. Submit a pull-request, and I'll merge it.

cdunn2001 added a commit to cdunn2001/jsoncpp that referenced this pull request Jul 23, 2015
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.

3 participants