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

Function yaml_parser_set_parser_error_context

xs/tools/yaml/parser.c:228–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228static int
229yaml_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/*

Calls

no outgoing calls

Tested by

no test coverage detected