]> Cypherpunks repositories - gostls13.git/commit
goyacc: fix units.y build breakage
authorShenghou Ma <minux.ma@gmail.com>
Thu, 12 Jan 2012 15:54:20 +0000 (07:54 -0800)
committerRob Pike <r@golang.org>
Thu, 12 Jan 2012 15:54:20 +0000 (07:54 -0800)
commit26ba35666ec72b0969156c5f2d3f8339c188a7ec
tree1218bba6886ebababa5f3917cd38f70fa5cb185d
parent94ff311d1b91d0bfe2dc53d20d06e81af5a3c46f
goyacc: fix units.y build breakage
This breakage is mainly due to API changes in pkg.
(e.g., package utf8 moved to unicode/utf8;
       remove of strconv.Atof64;
       change character type from int to rune.)
Also correct the usage comment.

This fixes issue 2646.
PS: I don't change the goyacc.go, because I think token type
    should not be force to rune.

R=golang-dev, adg, rogpeppe, r, r
CC=golang-dev
https://golang.org/cl/5502093
src/cmd/goyacc/units.y