Commit f3a45d46 authored by Robert Griesemer's avatar Robert Griesemer

go/build: tiny cleanup

R=rsc
CC=golang-dev
https://golang.org/cl/6453083
parent e1077420
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment