| 212 | } |
| 213 | |
| 214 | static int |
| 215 | yaml_parser_set_parser_error_context(yaml_parser_t *parser, |
| 216 | const char *context, yaml_mark_t context_mark, |
| 217 | const char *problem, yaml_mark_t problem_mark) |
| 218 | { |
| 219 | parser->error = YAML_PARSER_ERROR; |
| 220 | parser->context = context; |
| 221 | parser->context_mark = context_mark; |
| 222 | parser->problem = problem; |
| 223 | parser->problem_mark = problem_mark; |
| 224 | |
| 225 | return 0; |
| 226 | } |
| 227 | |
| 228 | /* |
| 229 | * State dispatcher. |
no outgoing calls
no test coverage detected