From 966f5d337d1c05446736dca220414db308e1f852 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Mon, 2 Jan 2012 12:41:46 +1030 Subject: Fix typos (lists, hexadecimal) --- lua_cjson.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua_cjson.c') diff --git a/lua_cjson.c b/lua_cjson.c index ca85156..708e695 100644 --- a/lua_cjson.c +++ b/lua_cjson.c @@ -332,7 +332,7 @@ static void json_enum_option(lua_State *l, const char **options, } -/* When enabled, rejects: NaN, Infinity, hexidecimal numbers */ +/* When enabled, rejects: NaN, Infinity, hexadecimal numbers */ static int json_cfg_refuse_invalid_numbers(lua_State *l) { static const char *options_enc_dec[] = { "none", "encode", "decode", @@ -929,7 +929,7 @@ static void json_next_string_token(json_parse_t *json, json_token_t *token) * json_next_number_token() uses strtod() which allows other forms: * - numbers starting with '+' * - NaN, -NaN, infinity, -infinity - * - hexidecimal numbers + * - hexadecimal numbers * - numbers with leading zeros * * json_is_invalid_number() detects "numbers" which may pass strtod()'s -- cgit v1.2.3-55-g6feb