From fae5921bfcbf9f0c8c138dd13aa9c8822a75a316 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 2 Mar 2026 01:12:33 -0500 Subject: Printing diagnostics --- src/runtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime.c') diff --git a/src/runtime.c b/src/runtime.c index 1c0e6e1..fea53dd 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -1310,11 +1310,11 @@ void pit_run_file(pit_runtime *rt, char *path) { if (pit_runtime_print_error(rt)) exit(1); pit_eval(rt, p); if (pit_runtime_print_error(rt)) exit(1); - // pit_collect_garbage(rt); + pit_collect_garbage(rt); if (pit_runtime_print_error(rt)) exit(1); } if (pit_runtime_print_error(rt)) exit(1); - fprintf(stderr, "value allocations: %ld\n", rt->values->next); + fprintf(stderr, "value allocs at exit: %ld\n", rt->values->next); } void pit_repl(pit_runtime *rt) { -- cgit v1.2.3