From d4b10514fbe3afc7229efe74b015a664b52eba33 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Nov 2024 16:36:27 -0500 Subject: Clean up some more null->none renames and fix the documentation. Also change the literal syntax to `NONE:T` instead of `!T` --- repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repl.c') 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: -- cgit v1.2.3