From 7df01dfe5e94d8ce30f807e1b127121957d3aded Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Fri, 3 Feb 2023 09:30:11 -0800 Subject: [PATCH] More minor cleanup. --- implementations/C/joy.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/implementations/C/joy.h b/implementations/C/joy.h index 9bc41e6..cc86fbe 100644 --- a/implementations/C/joy.h +++ b/implementations/C/joy.h @@ -34,7 +34,7 @@ typedef JoyList* JoyListPtr; typedef struct { enum JoyTypeType kind; union { - int boolean; + int boolean; /* TODO: Remoce this field, we don't use it. */ mpz_t i; JoyList el; char *symbol; @@ -71,7 +71,10 @@ void sub(JoyList *stack, JoyList *expression); void truthy(JoyList *stack, JoyList *expression); -struct dict_entry { char *name; JoyFunc func; }; +struct dict_entry { + char *name; + JoyFunc func; +}; const struct dict_entry * in_word_set (register const char *str, register size_t len);