MCPcopy
hub / github.com/go-yaml/yaml / yaml_parser_set_reader_error

Function yaml_parser_set_reader_error

readerc.go:30–36  ·  view source on GitHub ↗

Set the reader error and return 0.

(parser *yaml_parser_t, problem string, offset int, value int)

Source from the content-addressed store, hash-verified

28
29// Set the reader error and return 0.
30func yaml_parser_set_reader_error(parser *yaml_parser_t, problem string, offset int, value int) bool {
31 parser.error = yaml_READER_ERROR
32 parser.problem = problem
33 parser.problem_offset = offset
34 parser.problem_value = value
35 return false
36}
37
38// Byte order marks.
39const (

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…