commit a9f564a30dc490a815d6f4c2ae2ca5a0b83e9436
parent f5460dcefb263165b7878d1b2c389c626a4339fb
Author: walther chen <walther.chen@gmail.com>
Date:   Thu, 20 Mar 2025 14:46:18 +0700

update for c3 0.7.0 dev

Diffstat:
Mc3/brainz.c3 | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c3/brainz.c3 b/c3/brainz.c3 @@ -9,7 +9,7 @@ fn int main(String[] args) { io::eprintn("Please provide source path"); } String source_path = args[1]; - char[]? src = file::load_new(source_path); + char[]? src = file::load(mem, source_path); if (catch err = src) { io::eprintfn("Error reading source file"); return 1; @@ -36,7 +36,7 @@ fn int main(String[] args) { alias Program = char[]; fn Program? parse(char[] src, Allocator alloc = allocator::heap()) { - @pool(alloc) { + @pool() { List{char} instructions; instructions.tinit();