| 226 | } |
| 227 | |
| 228 | static int |
| 229 | yaml_parser_set_parser_error_context(yaml_parser_t *parser, |
| 230 | const char *context, yaml_mark_t context_mark, |
| 231 | const char *problem, yaml_mark_t problem_mark) |
| 232 | { |
| 233 | parser->error = YAML_PARSER_ERROR; |
| 234 | parser->context = context; |
| 235 | parser->context_mark = context_mark; |
| 236 | parser->problem = problem; |
| 237 | parser->problem_mark = problem_mark; |
| 238 | |
| 239 | return 0; |
| 240 | } |
| 241 | |
| 242 | |
| 243 | /* |
no outgoing calls
no test coverage detected