| 801 | */ |
| 802 | |
| 803 | static int |
| 804 | yaml_parser_set_scanner_error(yaml_parser_t *parser, const char *context, |
| 805 | yaml_mark_t context_mark, const char *problem) |
| 806 | { |
| 807 | parser->error = YAML_SCANNER_ERROR; |
| 808 | parser->context = context; |
| 809 | parser->context_mark = context_mark; |
| 810 | parser->problem = problem; |
| 811 | parser->problem_mark = parser->mark; |
| 812 | |
| 813 | return 0; |
| 814 | } |
| 815 | |
| 816 | /* |
| 817 | * Ensure that the tokens queue contains at least one token which can be |
no outgoing calls
no test coverage detected