From: Leon M. George Date: Mon, 20 Feb 2017 03:41:55 +0000 (+0100) Subject: fix doc in tokener header file X-Git-Tag: json-c-0.13-20171207~99^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=482e771af10d41c9fa24d54504c13e7f03b4f9d6;p=json-c fix doc in tokener header file --- diff --git a/json_tokener.h b/json_tokener.h index 5a7a636..f29be8b 100644 --- a/json_tokener.h +++ b/json_tokener.h @@ -136,14 +136,14 @@ extern void json_tokener_set_flags(struct json_tokener *tok, int flags); * it can also be a string, number or boolean value. * * A partial JSON string can be parsed. If the parsing is incomplete, - * NULL will be returned and json_tokener_get_error() will be return + * NULL will be returned and json_tokener_get_error() will return * json_tokener_continue. * json_tokener_parse_ex() can then be called with additional bytes in str * to continue the parsing. * - * If json_tokener_parse_ex() returns NULL and the error anything other than + * If json_tokener_parse_ex() returns NULL and the error is anything other than * json_tokener_continue, a fatal error has occurred and parsing must be - * halted. Then tok object must not be re-used until json_tokener_reset() is + * halted. Then, the tok object must not be reused until json_tokener_reset() is * called. * * When a valid JSON value is parsed, a non-NULL json_object will be