summaryrefslogtreecommitdiff
path: root/json_tokener.h
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2014-03-22 17:28:40 -0400
committerEric Haszlakiewicz <erh+git@nimenees.com>2014-03-22 17:28:40 -0400
commit05da316b9ceee79fa98575133d9f4c9e2abe59d0 (patch)
treef42b8845dae79f8fddefdeb6504914f5cddc73cd /json_tokener.h
parent217bc29352de00e8cd24edb789784e1f30339414 (diff)
Issue #103: allow Infinity and -Infinity to be parsed.
Diffstat (limited to 'json_tokener.h')
-rw-r--r--json_tokener.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/json_tokener.h b/json_tokener.h
index 08e5ff7..61f73d2 100644
--- a/json_tokener.h
+++ b/json_tokener.h
@@ -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