summaryrefslogtreecommitdiff
path: root/src/pkg/json/indent.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/json/indent.go')
-rw-r--r--src/pkg/json/indent.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/json/indent.go b/src/pkg/json/indent.go
index 000da42f6..2a7530373 100644
--- a/src/pkg/json/indent.go
+++ b/src/pkg/json/indent.go
@@ -59,6 +59,7 @@ func Indent(dst *bytes.Buffer, src []byte, prefix, indent string) os.Error {
needIndent := false
depth := 0
for _, c := range src {
+ scan.bytes++
v := scan.step(&scan, int(c))
if v == scanSkipSpace {
continue