Fixes typos (#849)

This commit is contained in:
Andreas Deininger
2023-02-13 12:57:48 +01:00
committed by GitHub
parent 9f5726004e
commit fcd9179b7d
6 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -132,12 +132,12 @@ func (p *Parser) NextExpression() bool {
}
// Expression returns a pointer to the node representing the last successfully
// parsed expresion.
// parsed expression.
func (p *Parser) Expression() *Node {
return p.builder.NodeAt(p.ref)
}
// Error returns any error that has occured during parsing.
// Error returns any error that has occurred during parsing.
func (p *Parser) Error() error {
return p.err
}