Fixes typos (#849)
This commit is contained in:
committed by
GitHub
parent
9f5726004e
commit
fcd9179b7d
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user