feat(parser): evaluate the TEXT and GLOBL flags operand as one expression

Assisted-by: GLM 5.3 Flash
This commit is contained in:
petrbalvin committed 2026-10-07 21:50:20 +02:00
1 parent 4eb9100def
commit cea5db6964
4 files changed
+239 -16

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ func ParseWithOptions(path, src string, opts Options) (*ast.File, []error) {
} else {
lines = statementLines(tokens)
}
p := &state{path: path}
p := &state{path: path, expand: opts.Expand}
p.parse(lines)
return p.file, append(errs, p.errs...)
}