MCPcopy Create free account
hub / github.com/nsf/gocode / log_parse_error

Function log_parse_error

autocompletefile.go:23–32  ·  view source on GitHub ↗
(intro string, err error)

Source from the content-addressed store, hash-verified

21}
22
23func log_parse_error(intro string, err error) {
24 if el, ok := err.(scanner.ErrorList); ok {
25 log.Printf("%s:", intro)
26 for _, er := range el {
27 log.Printf(" %s", er)
28 }
29 } else {
30 log.Printf("%s: %s", intro, err)
31 }
32}
33
34//-------------------------------------------------------------------------
35// auto_complete_file

Callers 1

process_dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected