aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-11 13:55:41 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-11 13:55:41 -0400
commitb0b23acf887bec28b5ef8d0dfe448c4228ee0eb3 (patch)
treed2ad22c1850acd186ed1286bd6fa759cdea6487e /ast.h
parent2c90750a3eed81d07f2e74acd9744de0b9853b11 (diff)
Rename "Nil"->"Null" for consistency
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;