From: Oliver Hookins Date: Fri, 5 Jul 2013 04:26:09 +0000 (+1000) Subject: encoding/json: Correct description of stateNeg function. X-Git-Tag: go1.2rc2~1106 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=daf81ae78ee17bc4ef0992f399f39dc3122cc107;p=gostls13.git encoding/json: Correct description of stateNeg function. R=golang-dev, dave, adg CC=golang-dev https://golang.org/cl/10862045 --- diff --git a/src/pkg/encoding/json/scanner.go b/src/pkg/encoding/json/scanner.go index 054b6b3d56..a4609c8950 100644 --- a/src/pkg/encoding/json/scanner.go +++ b/src/pkg/encoding/json/scanner.go @@ -390,7 +390,7 @@ func stateInStringEscU123(s *scanner, c int) int { return s.error(c, "in \\u hexadecimal character escape") } -// stateInStringEscU123 is the state after reading `-` during a number. +// stateNeg is the state after reading `-` during a number. func stateNeg(s *scanner, c int) int { if c == '0' { s.step = state0