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

Fix commit 9f1e283 #10

Merged
merged 1 commit into from
Nov 23, 2013
Merged

Fix commit 9f1e283 #10

merged 1 commit into from
Nov 23, 2013

Conversation

daedric
Copy link
Contributor

@daedric daedric commented Nov 22, 2013

Negative number were not handled properly. Reimplement the code using
official json number parsing tree (http://www.json.org/)

@RAttab
Copy link
Contributor

RAttab commented Nov 22, 2013

Could you add some tests so that I have an idea what was broken about the old implementation and I can make sure that your patch actually fixes it.

@daedric
Copy link
Contributor Author

daedric commented Nov 22, 2013

@jeremybarnes
Copy link
Owner

Remi, it was my commit that broke it so I will write tests and incorporate the patch. Thanks @daedric for the contribution.

Negative number were not handled properly. Reimplement the code using
official json number parsing tree (http://www.json.org/)
@daedric
Copy link
Contributor Author

daedric commented Nov 22, 2013

You're welcome. I just updated the patch to handle in a better way the EOS

@daedric
Copy link
Contributor Author

daedric commented Nov 22, 2013

BTW, I did not enforce the fact that a number can't start by a 0. If you want this test to be done, please let me know.

@jeremybarnes jeremybarnes merged commit dc38a7a into jeremybarnes:master Nov 23, 2013
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.

4 participants