commit | ce5c1cf0368a7b17254086ab00134e47137ee720 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Fri Jun 03 07:53:50 2011 +1000 |
committer | Rob Pike <r@golang.org> | Fri Jun 03 07:53:50 2011 +1000 |
tree | 99273e4430cdc58a3081d1928e94ea74e1b639a8 | |
parent | 4e9e92500249258e9baa77fbaf8075f0c07e56b2 [diff] |
fmt: fix bug in UnreadRune: must clear memory of previous rune if input implements UnreadRune; otherwise the lookahead will lie. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4548082