Skip to content

Commit

Permalink
fix doc in tokener header file
Browse files Browse the repository at this point in the history
  • Loading branch information
yogo1212 committed Feb 20, 2017
1 parent 3948fca commit 482e771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions json_tokener.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 482e771

Please sign in to comment.