diff --git a/src/yajl.c b/src/yajl.c index 149fd1e..57f2baa 100644 --- a/src/yajl.c +++ b/src/yajl.c @@ -193,7 +193,7 @@ yajl_complete_parse(yajl_handle hand) * get an error string describing the state of the parse. * * If verbose is non-zero, the message will include the JSON text where the - * error occured, along with an arrow pointing to the specific char. + * error occurred, along with an arrow pointing to the specific char. * * \returns A dynamically allocated string will be returned which should be * freed with yajl_free_error @@ -214,7 +214,7 @@ yajl_get_error(yajl_handle hand, int verbose, * * In the event an error is encountered during parsing, this function * affords the client a way to get the offset into the most recent - * chunk where the error occured. 0 will be returned if no error + * chunk where the error occurred. 0 will be returned if no error * was encountered. +*/ size_t diff --git a/src/yajl/yajl_parse.h b/src/yajl/yajl_parse.h index d4e0cb7..de4315d 100644 --- a/src/yajl/yajl_parse.h +++ b/src/yajl/yajl_parse.h @@ -34,7 +34,7 @@ extern "C" { yajl_status_ok, /*+ a client callback returned zero, stopping the parse +*/ yajl_status_client_canceled, - /*+ An error occured during the parse. Call yajl_get_error for + /*+ An error occurred during the parse. Call yajl_get_error for * more information about the encountered error +*/ yajl_status_error } yajl_status;