-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed `jnum_chk` by correcting the output of `jnum_gen`. Fixed an incorrect prior use of `make rebuild_jnum_test` and hand verified the generated `jnum_test.c` file. Added large e-notation values to the jnum.testset. Improved `json_alloc()` to explicitly initialize critical booleans and pointers when allocating a new JSON parse tree node. Both `json_process_decimal()` and `json_process_floating()` no longer set `parsed` and `converted` booleans. That task if performed by the `json_conv_number()` function. The `json_conv_number()` now correctly attempts to convert a given JSON number in floating point, e-notation and integer depending on if the result of `is_floating_notation()`, or `is_e_notation()` or `is_decimal()`, respectively. Those tests are used to set the `is_floating`, `is_e_notatiion`, and `is_integer` booleans, also respectively. Improved JSON debug messages from `json_process_decimal()` and `json_process_floating()`.
- Loading branch information
Showing
7 changed files
with
3,741 additions
and
4,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.