]> Cypherpunks repositories - gostls13.git/commit
go/parser.ParseFiles: don't override error (to nil) if there is one
authorRobert Griesemer <gri@golang.org>
Thu, 5 Aug 2010 01:02:43 +0000 (18:02 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 5 Aug 2010 01:02:43 +0000 (18:02 -0700)
commitd9e2631b53395fd3128f62cc621f2b1ed206a109
treee7fe3892815c4fd29df214abc1f3094a3911ea9d
parented8c23149ffa467b8154c4009517499abdacc20e
go/parser.ParseFiles: don't override error (to nil) if there is one

Also: Return first instead of last error as that seems more useful.

R=r
CC=golang-dev
https://golang.org/cl/1897050
src/pkg/go/parser/interface.go