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:
Eric Haszlakiewicz
2023-08-12 18:52:32 +00:00
parent 3dad6941da
commit 6dd8618170

View File

@@ -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 */