Gather the family fence beside drawWalk.check in drawfence.go

This commit is contained in:
2026-09-28 02:37:32 +02:00
committed by Lillem4n
parent 2d506e79eb
commit 4a52085e8f
6 changed files with 222 additions and 232 deletions
+8
View File
@@ -613,3 +613,11 @@ func (t *table) selectorSpelling(r int) string {
}
return fmt.Sprintf("%s line %d", t.file, r+2)
}
// family is the table a chain of parents ends at.
func (t *table) family() *table {
for t.parentT != nil {
t = t.parentT
}
return t
}