| 1156 | } |
| 1157 | |
| 1158 | static void json_set_token_error(json_token_t *token, json_parse_t *json, |
| 1159 | const char *errtype) |
| 1160 | { |
| 1161 | token->type = T_ERROR; |
| 1162 | token->index = json->ptr - json->data; |
| 1163 | token->value.string = errtype; |
| 1164 | } |
| 1165 | |
| 1166 | static void json_next_string_token(json_parse_t *json, json_token_t *token) |
| 1167 | { |
no outgoing calls
no test coverage detected