Combine TK_TRUE and TK_FALSE into TK_BOOL

This commit is contained in:
abdelrahman committed 2023-06-28 21:43:35 +01:00
1 parent 75b18d96ee
commit 740d9b6566
2 files changed
+9 -9

No files matched your search

+2 -2
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 {