build: add missing doc comment (#34)

This commit is contained in:
Michael McLoughlin
2019-01-06 13:53:57 -08:00
parent 7d20ff4ced
commit 4a920c22b5

View File

@@ -40,6 +40,7 @@ func (e *ErrorList) Add(err Error) {
*e = append(*e, err)
}
// AddAt appends an error at position p.
func (e *ErrorList) AddAt(p src.Position, err error) {
e.Add(Error{p, err})
}