diff options
author | kartofen <mladenovnasko0@gmail.com> | 2024-09-01 00:44:56 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2024-09-01 00:44:56 +0300 |
commit | 329166705de225bc766e56cc77765430065c456d (patch) | |
tree | 050b12b3a202cf43e9850903bd5b8bcc8ec67d7c /src/value.h | |
parent | e1ceef73192f0300ff9b10ba9a16475fbebeaa5f (diff) |
linked list and macros
Diffstat (limited to 'src/value.h')
-rw-r--r-- | src/value.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |