diff options
| author | LLLL Colonq <llll@colonq> | 2026-09-06 17:40:51 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-09-06 17:40:51 -0400 |
| commit | 71bfa9094a4a25f762d681bb07f79f92a95dbb87 (patch) | |
| tree | 1b7ff31dad86e072a37e4270e762a5e0f12f87ac /pit/src/runtime/value/cell.c | |
| parent | 843ea34efc2c5ea10edc4d534304f8287f97fbbc (diff) | |
pit: Fix evaluator bug
Diffstat (limited to 'pit/src/runtime/value/cell.c')
| -rw-r--r-- | pit/src/runtime/value/cell.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pit/src/runtime/value/cell.c b/pit/src/runtime/value/cell.c index 2a99ce2..34b9226 100644 --- a/pit/src/runtime/value/cell.c +++ b/pit/src/runtime/value/cell.c @@ -11,13 +11,11 @@ pit_value pit_value_cell_new(pit_runtime *rt, pit_value v) { h->in.cell = v; return ret; } -#include <stdio.h> pit_value pit_value_cell_get(pit_runtime *rt, pit_value cell, pit_value sym) { if (pit_value_sort(cell) != PIT_VALUE_SORT_REF) { char buf[256]; i64 end = pit_dump(rt, buf, sizeof(buf) - 1, sym, false); buf[end] = 0; - fprintf(stderr, "attempted to get unbound variable/function: %s\n", buf); pit_error(rt, "attempted to get unbound variable/function: %s", buf); return PIT_NIL; } |
