| commit | ef8f0e8c3e8ebef6fda43b3108d6cdd9c6d493ab | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Thu Oct 13 12:57:34 2011 +1100 |
| committer | David Symonds <dsymonds@golang.org> | Thu Oct 13 12:57:34 2011 +1100 |
| tree | 9575f88ac2eae18c7620e93a73d09234a9b9ddea | |
| parent | 21066e15eb5a06f37a0284fcf13f922b34da54f9 [diff] [blame] |
goprotobuf: Fix parsing of repeated enum fields. R=r CC=golang-dev http://codereview.appspot.com/5239052
diff --git a/proto/text_parser.go b/proto/text_parser.go index f78adf5..714c803 100644 --- a/proto/text_parser.go +++ b/proto/text_parser.go
@@ -369,7 +369,7 @@ // Read one. p.back() - return p.readAny(fv.Index(flen), nil) // TODO: pass properties? + return p.readAny(fv.Index(flen), props) case reflect.Bool: // Either "true", "false", 1 or 0. switch tok.value {