We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c1b8ca commit 6f99cdbCopy full SHA for 6f99cdb
src/encoding/json/scanner.go
@@ -173,8 +173,9 @@ func (s *scanner) eof() int {
173
return scanError
174
}
175
176
-// pushParseState pushes a new parse state p onto the parse stack.
177
-// an error state is returned if maxNestingDepth was exceeded, otherwise successState is returned.
+// pushParseState pushes a new parse state newParseState onto the parse stack.
+// an error state is returned if maxNestingDepth was exceeded, otherwise
178
+// successState is returned.
179
func (s *scanner) pushParseState(c byte, newParseState int, successState int) int {
180
s.parseState = append(s.parseState, newParseState)
181
if len(s.parseState) <= maxNestingDepth {
0 commit comments