diff options
Diffstat (limited to 'json.h')
-rw-r--r-- | json.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ void json_enable_debug(int, FILE *); #define JSON_ERR_NOBRAK 6 /* array element specified, but no [ */ #define JSON_ERR_STRLONG 7 /* string value too long */ #define JSON_ERR_TOKLONG 8 /* token value too long */ -#define JSON_ERR_BADTRAIL 9 /* garbage while expecting , or } */ +#define JSON_ERR_BADTRAIL 9 /* garbage while expecting comma, }, or ] */ #define JSON_ERR_ARRAYSTART 10 /* didn't find expected array start */ #define JSON_ERR_OBJARR 11 /* error while parsing object array */ #define JSON_ERR_SUBTOOLONG 12 /* too many array elements */ |