From 1e712cf04567c48100526f9a3a0f796497168268 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Sat, 18 Jul 2026 23:38:59 -0700 Subject: type system surely --- scope.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scope.h') diff --git a/scope.h b/scope.h index 19561e0..5761f54 100644 --- a/scope.h +++ b/scope.h @@ -21,6 +21,11 @@ struct storage_location { }; }; +struct type { + const struct type_def* raw_type; + unsigned char ptr_level; +}; + struct type_key { char* name; unsigned char how_long; @@ -36,6 +41,7 @@ struct type_def { }; struct var_def { + const struct type* type; char* name; struct storage_location loc; const struct type_def* resolved_type; -- cgit v1.2.3