Set the scanner error and return false.
(parser *yaml_parser_t, context string, context_mark yaml_mark_t, problem string)
| 629 | |
| 630 | // Set the scanner error and return false. |
| 631 | func yaml_parser_set_scanner_error(parser *yaml_parser_t, context string, context_mark yaml_mark_t, problem string) bool { |
| 632 | parser.error = yaml_SCANNER_ERROR |
| 633 | parser.context = context |
| 634 | parser.context_mark = context_mark |
| 635 | parser.problem = problem |
| 636 | parser.problem_mark = parser.mark |
| 637 | return false |
| 638 | } |
| 639 | |
| 640 | func yaml_parser_set_scanner_tag_error(parser *yaml_parser_t, directive bool, context_mark yaml_mark_t, problem string) bool { |
| 641 | context := "while parsing a tag" |
no outgoing calls
no test coverage detected