aboutsummaryrefslogtreecommitdiff
path: root/repl.c
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 /repl.c
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 'repl.c')
-rw-r--r--repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/repl.c b/repl.c
index 4a5d6644..7374ad31 100644
--- a/repl.c
+++ b/repl.c
@@ -337,7 +337,7 @@ void eval(env_t *env, ast_t *ast, void *dest)
type_t *t = get_type(env, ast);
size_t size = type_size(t);
switch (ast->tag) {
- case Null:
+ case None:
if (dest) *(void**)dest = 0;
break;
case Bool: