mirror of
https://github.com/json-c/json-c.git
synced 2026-03-22 06:29:06 +08:00
Also fix messages returned from json_tokener_error_desc() (broke due to the ordering change of enum json_tokener_error)
This commit is contained in:
@@ -104,7 +104,6 @@ static const char *json_tokener_errors[] = {
|
||||
"success",
|
||||
"continue",
|
||||
"nesting too deep",
|
||||
"out of memory",
|
||||
"unexpected end of data",
|
||||
"unexpected character",
|
||||
"null expected",
|
||||
@@ -117,7 +116,8 @@ static const char *json_tokener_errors[] = {
|
||||
"invalid string sequence",
|
||||
"expected comment",
|
||||
"invalid utf-8 string",
|
||||
"buffer size overflow"
|
||||
"buffer size overflow",
|
||||
"out of memory"
|
||||
};
|
||||
/* clang-format on */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user