summaryrefslogtreecommitdiff
path: root/pit/include
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-07-21 21:19:25 -0400
committerLLLL Colonq <llll@colonq>2026-07-21 21:19:25 -0400
commitf10714830fd8a65129d261df3436b885cee871cd (patch)
treeacbbfcaf3f83d73c6343be1d03d9fcd69c3fb3a5 /pit/include
parenta5e153d8558a43fbdc78f5b9fdaff426feea4654 (diff)
pit: Improve backtraces
Diffstat (limited to 'pit/include')
-rw-r--r--pit/include/lcq/pit/runtime/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pit/include/lcq/pit/runtime/value.h b/pit/include/lcq/pit/runtime/value.h
index fa59a46..e3596fe 100644
--- a/pit/include/lcq/pit/runtime/value.h
+++ b/pit/include/lcq/pit/runtime/value.h
@@ -36,7 +36,8 @@ typedef struct {
struct { pit_value car, cdr; } cons;
struct { pit_value *data; i64 len; } array;
struct { u8 *data; i64 len; } bytes;
- struct { pit_value env; pit_value args; pit_value arg_rest_nm; pit_value body; } func;
+ struct { pit_value nm; pit_value closure; } func; /* pit array of env, args, arg_rest_nm, body */
+ // struct { pit_value env; pit_value args; pit_value arg_rest_nm; pit_value body; } func;
struct { pit_nativefunc f; void *data; } nativefunc;
struct { pit_value tag; void *data; } nativedata;
i64 forwarding_pointer;