Set a table's path when it compiles, link a table family in one function, and label a cell from the walk
This commit is contained in:
@@ -262,7 +262,7 @@ var linkPasses = []func(path string, t *template) error{linkNames, linkColumnRea
|
||||
func linkNames(path string, t *template) error {
|
||||
return namedReads(t, func(o *op, a *arm) error {
|
||||
if err := linkName(t, a); err != nil {
|
||||
return fmt.Errorf("%s: token {%s}: %w", t.site.label(path), o.Body, err)
|
||||
return fmt.Errorf("%s: token {%s}: %w", path, o.Body, err)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user