feat(parser): split plain statements on semicolons in the raw parse
Test / test (push) Failing after 2m30s

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-20 19:15:35 +02:00
parent 863926abd6
commit 75e9fd771b
4 changed files with 114 additions and 3 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func ParseWithOptions(path, src string, opts Options) (*ast.File, []error) {
lines = pp.fileLines(path, tokens, token.Position{})
errs = pp.errs
} else {
lines = splitLines(tokens)
lines = statementLines(tokens)
}
p := &state{path: path}
p.parse(lines)