mirror of
https://github.com/json-c/json-c.git
synced 2026-04-07 22:39:08 +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",
|
"success",
|
||||||
"continue",
|
"continue",
|
||||||
"nesting too deep",
|
"nesting too deep",
|
||||||
"out of memory",
|
|
||||||
"unexpected end of data",
|
"unexpected end of data",
|
||||||
"unexpected character",
|
"unexpected character",
|
||||||
"null expected",
|
"null expected",
|
||||||
@@ -117,7 +116,8 @@ static const char *json_tokener_errors[] = {
|
|||||||
"invalid string sequence",
|
"invalid string sequence",
|
||||||
"expected comment",
|
"expected comment",
|
||||||
"invalid utf-8 string",
|
"invalid utf-8 string",
|
||||||
"buffer size overflow"
|
"buffer size overflow",
|
||||||
|
"out of memory"
|
||||||
};
|
};
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user