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:
@@ -29,7 +29,7 @@ func checkCalcNames(path string, t *template) error {
|
||||
continue
|
||||
}
|
||||
if err := checkOperands(o.Args[0], builtinfunc.ParsedCalc(o.Args[0]), operandNodes(o)); 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