aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ast.h b/ast.h
index 02522a3e..e3108cae 100644
--- a/ast.h
+++ b/ast.h
@@ -106,7 +106,7 @@ struct type_ast_s {
typedef enum {
Unknown = 0,
- Nil, Bool, Var,
+ Null, Bool, Var,
Int, Num,
TextLiteral, TextJoin, PrintStatement,
Declare, Assign,
@@ -139,7 +139,7 @@ struct ast_s {
struct {} Unknown;
struct {
type_ast_t *type;
- } Nil;
+ } Null;
struct {
bool b;
} Bool;