From 6a376cfd6f89a6ceb39a8c425cf8095647170c7e Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Fri, 4 Feb 2022 07:38:53 -0500 Subject: Add `void` type and allow void* to be assigned to other ptr types --- src/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index 22c0d5f..2b9353d 100644 --- a/src/types.h +++ b/src/types.h @@ -4,7 +4,7 @@ #include typedef enum { - TYPE_NONE, + TYPE_VOID, TYPE_ANY, // This is a hack for builtins till we can cast types TYPE_INT, TYPE_CHAR, -- cgit v1.2.3