refactor: pointer comments
This commit is contained in:
@ -59,7 +59,7 @@ func parse(p *parser, line string) (parsed result) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// update updates the errors for the given parsing result
|
// update updates all the parsing results using the given parsing result
|
||||||
func update(p *parser, parsed result) {
|
func update(p *parser, parsed result) {
|
||||||
if p.lerr != nil {
|
if p.lerr != nil {
|
||||||
return
|
return
|
||||||
|
@ -59,7 +59,7 @@ func parse(p *parser, line string) (r result) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// update updates the errors for the given parsing result
|
// update updates all the parsing results using the given parsing result
|
||||||
func update(p *parser, r result) {
|
func update(p *parser, r result) {
|
||||||
if p.lerr != nil {
|
if p.lerr != nil {
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user