tweak parsing error

This commit is contained in:
Neemek 2025-03-20 13:06:02 +01:00
parent b1b8e61f57
commit 3fb978638f
Signed by: neemek
GPG key ID: 28360A8951CD0E9B
4 changed files with 13 additions and 9 deletions

View file

@ -101,7 +101,7 @@ func (cmd *RunCmd) Run(ctx *Context) error {
// if there were parsing errors, print them out
if err != nil {
print(err.(*core.ParsingError).Format([]rune(src)))
print(err.(core.ParsingError).Format([]rune(src)))
log.Fatal("Parsing had errors")
}