1
0
mirror of https://github.com/golang/go synced 2024-11-25 04:07:55 -07:00

exp/eval: fix compile error.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4550086
This commit is contained in:
Yasuhiro Matsumoto 2011-05-26 22:05:25 +10:00 committed by Rob Pike
parent 4923ba9155
commit c0decc35ae

View File

@ -366,10 +366,10 @@ func main() {
t.SetDelims("«", "»")
err := t.Parse(templateStr)
if err != nil {
log.Exit(err)
log.Fatal(err)
}
err = t.Execute(os.Stdout, data)
if err != nil {
log.Exit(err)
log.Fatal(err)
}
}