Issue #103: allow Infinity and -Infinity to be parsed.

This commit is contained in:
Eric Haszlakiewicz
2014-03-22 17:28:40 -04:00
parent 217bc29352
commit 05da316b9c
7 changed files with 97 additions and 2 deletions

View File

@@ -60,7 +60,8 @@ enum json_tokener_state {
json_tokener_state_object_value_add,
json_tokener_state_object_sep,
json_tokener_state_array_after_sep,
json_tokener_state_object_field_start_after_sep
json_tokener_state_object_field_start_after_sep,
json_tokener_state_inf
};
struct json_tokener_srec