]> Cypherpunks repositories - gostls13.git/commit
go/parser: correct position of empty statement ';'
authorRobert Griesemer <gri@golang.org>
Wed, 9 Jun 2010 00:06:26 +0000 (17:06 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 9 Jun 2010 00:06:26 +0000 (17:06 -0700)
commit3f3ff2bd5c1bd9aeb73792c72451438b8099001b
tree56ec9e27c011dce161601ec3eb4bb5b8a9cfb215
parentf892540513d398156f32b357bcda43fe62f13728
go/parser: correct position of empty statement ';'
(caused certain files to not be idempotent under gofmt)

- corrected golden files for go/printer
- slightly simplified some code in nodes.go (no impact on formatting)
- these changes have no impact on gofmt output of .go files under src, misc

fallthrough statement considered harmful!

R=rsc
CC=golang-dev
https://golang.org/cl/1593042
src/pkg/go/parser/parser.go
src/pkg/go/printer/nodes.go
src/pkg/go/printer/testdata/statements.golden