aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index 2056505..d1e904c 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -107,6 +107,8 @@ typedef struct ast_node {
Type *type;
union {
int as_int;
+ char as_char;
+ char *as_string;
};
} literal;