Error widths now work properly

This commit is contained in:
Sasha Koshka
2022-08-18 02:04:49 -04:00
parent 85996b2554
commit a87973c141
4 changed files with 10 additions and 4 deletions

View File

@@ -34,6 +34,11 @@ func (location Location) Width () (width int) {
return location.width
}
// SetWidth sets the location's width
func (location *Location) SetWidth (width int) {
location.width = width
}
// Describe generates a description of the location for debug purposes
func (location Location) Describe () (description string) {
return fmt.Sprint (