mirror of
https://github.com/golang/go
synced 2024-09-19 07:52:34 +00:00
go/build: tiny cleanup
R=rsc CC=golang-dev https://golang.org/cl/6453083
This commit is contained in:
parent
e107742080
commit
f3a45d4695
|
@ -539,7 +539,7 @@ Found:
|
|||
return p, err
|
||||
}
|
||||
|
||||
pkg := string(pf.Name.Name)
|
||||
pkg := pf.Name.Name
|
||||
if pkg == "documentation" {
|
||||
continue
|
||||
}
|
||||
|
@ -573,7 +573,7 @@ Found:
|
|||
if !ok {
|
||||
continue
|
||||
}
|
||||
quoted := string(spec.Path.Value)
|
||||
quoted := spec.Path.Value
|
||||
path, err := strconv.Unquote(quoted)
|
||||
if err != nil {
|
||||
log.Panicf("%s: parser returned invalid quoted string: <%s>", filename, quoted)
|
||||
|
|
Loading…
Reference in a new issue