MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / yaml_parser_set_parser_error

Function yaml_parser_set_parser_error

xs/tools/yaml/parser.c:217–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215 */
216
217static int
218yaml_parser_set_parser_error(yaml_parser_t *parser,
219 const char *problem, yaml_mark_t problem_mark)
220{
221 parser->error = YAML_PARSER_ERROR;
222 parser->problem = problem;
223 parser->problem_mark = problem_mark;
224
225 return 0;
226}
227
228static int
229yaml_parser_set_parser_error_context(yaml_parser_t *parser,

Calls

no outgoing calls

Tested by

no test coverage detected