fix: arena leak in compile() — token/sig strings now tracked

Wrapped compile() body in el_arena_push/pop so the arena is active
before lex() and scan_fn_sigs(). Previously both ran with
_tl_arena_active=0, leaking all token and signature strings permanently.
Also prevents inner pop(mark=0) calls from deactivating the arena
between per-function scopes. Verified: self-host PASS, RSS stable.
This commit is contained in:
Will Anderson
2026-05-06 10:53:12 -05:00
parent 3726f69435
commit e8f6765750
2 changed files with 10 additions and 0 deletions
BIN
View File
Binary file not shown.