goprotobuf: Changes for new struct tag format.
Protocol messages have changed their struct tags from
"PB(...)"
to
`protobuf:"..."`
The format represented by "..." is unchanged.
Regenerate {descriptor,plugin}.pb.go files at the same time.
R=r, rsc
CC=golang-dev
http://codereview.appspot.com/4654077
diff --git a/proto/text.go b/proto/text.go
index bb32983..f7f8f5f 100644
--- a/proto/text.go
+++ b/proto/text.go
@@ -58,7 +58,7 @@
func (w *textWriter) Write(p []byte) (n int, err os.Error) {
n, err = len(p), nil
- frags := strings.Split(string(p), "\n", -1)
+ frags := strings.Split(string(p), "\n")
if w.compact {
w.writer.Write([]byte(strings.Join(frags, " ")))
return