~mna/zerojson

ccdac2eacfa672682cbd4f1c37e7d0192cf865c6 — Martin Angers 3 months ago 62540f7 master
cleanup comments
1 files changed, 2 insertions(+), 0 deletions(-)

M zerojson.go
M zerojson.go => zerojson.go +2 -0
@@ 138,8 138,10 @@ func (s *stack) pop() byte {

type parser struct {
	// immutable fields

	// input is the data to parse
	input []byte

	// emit is called for each parsed tokens with the type of token, the
	// value and an error if the token is an invalid token. If the function returns
	// an error, the parsing stops, otherwise it continues with the next