]> Cypherpunks repositories - gostls13.git/commit
json: calculate Offset for Indent correctly
authorJeff Hodges <jeff@somethingsimilar.com>
Mon, 22 Aug 2011 05:19:27 +0000 (15:19 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 22 Aug 2011 05:19:27 +0000 (15:19 +1000)
commit07490c0f05035ddb9990646547527e69f416d9ed
tree407b881f506841fbb0720a45bf4731cbedbddfb9
parentaca429371539b1e22ca6eebaa66689c03cf49673
json: calculate Offset for Indent correctly

Fixes #2171

This is the real change.

R=adg
CC=golang-dev, r, rsc
https://golang.org/cl/4943041
src/pkg/json/indent.go
src/pkg/json/scanner_test.go