summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/jsonparse/parse.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/jsonparse/parse.go b/internal/jsonparse/parse.go
index 7afd6a1..d867cbc 100644
--- a/internal/jsonparse/parse.go
+++ b/internal/jsonparse/parse.go
@@ -386,7 +386,7 @@ func (par *Parser) Reset() {
}
}
-// PushReadBarrier causes the parser to expect EOF once the end of the
+// PushReadBarrier causes the parser to emit EOF once the end of the
// element that is started by the current top-of-stack is reached,
// until this is un-done with PopBarrier. It essentially turns the
// parser in to a sub-parser.
@@ -429,8 +429,8 @@ func (par *Parser) PushReadBarrier() {
par.stack = []RuneType{curState}
}
-// PushWriteBarrier causes the parser to expect EOF once the end of
-// the about-to-start element is reached, until this is un-done with
+// PushWriteBarrier causes the parser to emit EOF once the end of the
+// about-to-start element is reached, until this is un-done with
// PopBarrier. It essentially turns the parser in to a sub-parser.
//
// PushWriteBarrier may only be called at the places where an element