Rewrite error handling logic

This commit is contained in:
2023-12-17 16:55:13 -08:00
parent ba23bf512c
commit 01047706b6
12 changed files with 468 additions and 431 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -41,6 +41,7 @@ func toNodeSlice(v any) []ast.Node {
func getPos(c *current) ast.Position {
return ast.Position{
Name: c.globalStore["name"].(string),
Line: c.pos.line,
Col: c.pos.col,
}