More minor cleanup.

This commit is contained in:
Simon Forman 2023-02-03 09:30:11 -08:00
parent 64eb28a648
commit 7df01dfe5e
1 changed files with 5 additions and 2 deletions

View File

@ -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);