From f442ab07c04f971dcd2944108af7477f21344969 Mon Sep 17 00:00:00 2001 From: Liquor <1692257904@qq.com> Date: Fri, 15 Jan 2021 15:41:16 +0800 Subject: [PATCH] fix simple typo reference:https://github.com/lloyd/yajl/pull/231/ --- src/api/yajl_parse.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/yajl_parse.h b/src/api/yajl_parse.h index 1c25a60d..fd5b9a06 100644 --- a/src/api/yajl_parse.h +++ b/src/api/yajl_parse.h @@ -35,7 +35,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; @@ -192,7 +192,7 @@ extern "C" { * parse. * * If verbose is non-zero, the message will include the JSON - * text where the error occured, along with an arrow pointing to + * text where the error occurred, along with an arrow pointing to * the specific char. * * \returns A dynamically allocated string will be returned which should @@ -211,7 +211,7 @@ extern "C" { * * 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. */ YAJL_API size_t yajl_get_bytes_consumed(yajl_handle hand);