diff options
| author | LLLL Colonq <llll@colonq> | 2026-03-02 01:12:33 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-03-02 01:12:33 -0500 |
| commit | fae5921bfcbf9f0c8c138dd13aa9c8822a75a316 (patch) | |
| tree | 76d32aa066709c04d9be495f29d857ba1dcfadcd /src/runtime.c | |
| parent | 83d7d3cf960ecb7b1e20b691d4018a67d407cf47 (diff) | |
Printing diagnostics
Diffstat (limited to 'src/runtime.c')
| -rw-r--r-- | src/runtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |
