From 3445947c072a4cd533f5f3a53178f77361859123 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Wed, 29 Jul 2026 23:58:55 -0400 Subject: improve type system --- type.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'type.h') diff --git a/type.h b/type.h index 1217b71..ef848c5 100644 --- a/type.h +++ b/type.h @@ -34,10 +34,11 @@ extern const struct data_type long_type; extern const struct data_type long_long_type; extern const struct data_type float_type; extern const struct data_type double_type; - -extern const struct data_type* integral_type; -extern const struct data_type* floating_type; -extern const struct data_type* character_type; extern const struct data_type* primitive_types[]; +extern const struct type integral_type; +extern const struct type floating_type; +extern const struct type character_type; +extern const struct type string_type; + #endif -- cgit v1.2.3