]> Cypherpunks repositories - gostls13.git/commit
text/template/parse: restore the goroutine
authorRob Pike <r@golang.org>
Sat, 2 Jun 2012 01:34:14 +0000 (18:34 -0700)
committerRob Pike <r@golang.org>
Sat, 2 Jun 2012 01:34:14 +0000 (18:34 -0700)
commit0e45890c8bafbaeed18c22f462d5435e43705264
treea98121ba26861e74805dab14a7d41d1e2c9f966d
parenta04d4f02a4ff68e0ef7a222d6e301225877ded90
text/template/parse: restore the goroutine
To avoid goroutines during init, the nextItem function was a
clever workaround. Now that init goroutines are permitted,
restore the original, simpler design.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6282043
src/pkg/text/template/parse/lex.go