Commit daf81ae7 authored by Oliver Hookins's avatar Oliver Hookins Committed by Dave Cheney

encoding/json: Correct description of stateNeg function.

R=golang-dev, dave, adg
CC=golang-dev
https://golang.org/cl/10862045
parent 2a730f8b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment