diff options
| author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-02 16:38:43 +0000 |
|---|---|---|
| committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-02 16:38:43 +0000 |
| commit | 2d2d80b8bd963f59534897b3d51ef8bd546cb4bc (patch) | |
| tree | efa0c55763b34cbc633bc494c2743d1b5d9aaff3 /libgo/go/encoding/json | |
| parent | 2ad2700dbf70b2e49575f3f2307839a45cf2f71c (diff) | |
| download | ppe42-gcc-2d2d80b8bd963f59534897b3d51ef8bd546cb4bc.tar.gz ppe42-gcc-2d2d80b8bd963f59534897b3d51ef8bd546cb4bc.zip | |
libgo: Update to weekly.2012-02-14 release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184798 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/encoding/json')
| -rw-r--r-- | libgo/go/encoding/json/stream.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/encoding/json/stream.go b/libgo/go/encoding/json/stream.go index f2476395023..7d1cc5f119c 100644 --- a/libgo/go/encoding/json/stream.go +++ b/libgo/go/encoding/json/stream.go @@ -19,6 +19,9 @@ type Decoder struct { } // NewDecoder returns a new decoder that reads from r. +// +// The decoder introduces its own buffering and may +// read data from r beyond the JSON values requested. func NewDecoder(r io.Reader) *Decoder { return &Decoder{r: r} } |

