]> Cypherpunks repositories - gostls13.git/commit
goyacc: make more gofmt-compliant
authorChris Hundt <hundt@google.com>
Fri, 14 Oct 2011 17:10:02 +0000 (13:10 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 14 Oct 2011 17:10:02 +0000 (13:10 -0400)
commit550fa3fa2dd68f5a081839ba4adf3dfb12b8f6cd
tree6e81f711ce4437c34f9d9e128021c915271962f6
parentb9faf5ff7decaeb35e9ceddbfde44028e4388ab9
goyacc: make more gofmt-compliant

Adjust goyacc.go to produce code that is gofmt-compliant whenever it is easy to do so. Also changed two lines in cpyact that appeared to be bugs.

Also updated units.y to remove a few other errors.

After this change, units.go has only two style errors: an extra newline at the top of the file, and yys misaligned in yySymType.

R=rsc
CC=golang-dev
https://golang.org/cl/5265047
src/cmd/goyacc/goyacc.go
src/cmd/goyacc/units.y