| 875 | } |
| 876 | |
| 877 | static void json_set_token_error(json_token_t *token, json_parse_t *json, |
| 878 | const char *errtype) |
| 879 | { |
| 880 | token->type = T_ERROR; |
| 881 | token->index = json->ptr - json->data; |
| 882 | token->value.string = errtype; |
| 883 | } |
| 884 | |
| 885 | static void json_next_string_token(json_parse_t *json, json_token_t *token) |
| 886 | { |
no outgoing calls
no test coverage detected