mirror of
https://github.com/golang/go
synced 2024-11-22 02:44:39 -07:00
exp/eval: build fix for parser.ParseFile API change.
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/3283042
This commit is contained in:
parent
5b4319f332
commit
f5bc87cb75
@ -25,7 +25,7 @@ func main() {
|
|||||||
println(err.String())
|
println(err.String())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
file, err := parser.ParseFile(*filename, data, nil, 0)
|
file, err := parser.ParseFile(*filename, data, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
println(err.String())
|
println(err.String())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user