summaryrefslogtreecommitdiff
path: root/pit/src/runtime
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-09-06 19:00:23 -0400
committerLLLL Colonq <llll@colonq>2026-09-06 19:00:23 -0400
commit3a8eb9491bda8c9dac9bc9a88f67298991054a13 (patch)
treee88cf01fed07efcfb49181335eb181a81fa0f055 /pit/src/runtime
parent71bfa9094a4a25f762d681bb07f79f92a95dbb87 (diff)
pit: better error message
Diffstat (limited to 'pit/src/runtime')
-rw-r--r--pit/src/runtime/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pit/src/runtime/eval.c b/pit/src/runtime/eval.c
index 7c64418..f62f4e8 100644
--- a/pit/src/runtime/eval.c
+++ b/pit/src/runtime/eval.c
@@ -191,7 +191,7 @@ bool pit_vm_run_one(pit_runtime *rt) {
pit_value bindings = vm_erase_empty(rt, false);
if (!vm_call(rt, f, args, bindings)) return false;
} else {
- pit_error(rt, "unknown vm operation");
+ pit_error(rt, "unrecognized vm instruction: %v", ins);
return false;
}
vm_erase_empty(rt, true);