From 329166705de225bc766e56cc77765430065c456d Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 1 Sep 2024 00:44:56 +0300 Subject: linked list and macros --- src/value.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/value.h') diff --git a/src/value.h b/src/value.h index 61b8252..264e083 100644 --- a/src/value.h +++ b/src/value.h @@ -16,6 +16,7 @@ typedef value_t (*builtin_proc_t)(value_t *args); X(VALUE_INT) \ X(VALUE_CONS) \ X(VALUE_PROC) \ + X(VALUE_MACRO) \ X(VALUE_PROC_BUILTIN) #define TO_ENUM(type) type, @@ -44,8 +45,7 @@ struct value { value_t *arg_keys; size_t argc; - struct token *body; - size_t body_len; + struct toklist *body; } proc; struct proc_builtin { -- cgit v1.2.3