aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-24 16:36:27 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-24 16:36:27 -0500
commitd4b10514fbe3afc7229efe74b015a664b52eba33 (patch)
tree133cf2fd377ab8acbfa65908d04473ce0dd0ca49 /ast.h
parent1e3fb8a2c0cca385d65c52679411b118b5fb4641 (diff)
Clean up some more null->none renames and fix the documentation. Also
change the literal syntax to `NONE:T` instead of `!T`
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 3535734c..01ca9537 100644
--- a/ast.h
+++ b/ast.h
@@ -122,7 +122,7 @@ struct type_ast_s {
typedef enum {
Unknown = 0,
- Null, Bool, Var,
+ None, Bool, Var,
Int, Num,
TextLiteral, TextJoin, PrintStatement,
Declare, Assign,
@@ -155,7 +155,7 @@ struct ast_s {
struct {} Unknown;
struct {
type_ast_t *type;
- } Null;
+ } None;
struct {
bool b;
} Bool;