Combine TK_TRUE and TK_FALSE into TK_BOOL

This commit is contained in:
2023-06-28 21:43:35 +01:00
parent 75b18d96ee
commit 740d9b6566
2 changed files with 9 additions and 9 deletions

View File

@@ -16,8 +16,7 @@ typedef enum {
TK_L_BRACKET,
TK_R_BRACKET,
TK_NULL,
TK_TRUE,
TK_FALSE,
TK_BOOL,
TK_STR_KEY,
TK_STR_VAL,
TK_INTEGER,
@@ -29,6 +28,7 @@ typedef union {
i64 num_int;
f64 num_frac;
str_view_t string;
bool boolean;
} token_value_t;
typedef struct {