aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/token.h b/src/token.h
index b81c10a..6c4f20b 100644
--- a/src/token.h
+++ b/src/token.h
@@ -125,6 +125,7 @@ typedef enum {
TokenKind_ident,
TokenKind_le,
TokenKind_literal_int,
+ TokenKind_literal_double,
TokenKind_literal_str,
TokenKind_lshift,
TokenKind_lt,
@@ -155,6 +156,7 @@ bool is_pp_directive(TokenKind k);
typedef union {
const char* string;
int integer;
+ double floating;
} TokenValue;
typedef struct {