From a5c12fd6f4438fc172f28b722e54908b575c6ce1 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Fri, 17 Jul 2026 00:38:51 -0400 Subject: before I do something crazy --- scope.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scope.h') diff --git a/scope.h b/scope.h index 4d6cc7f..2dfa110 100644 --- a/scope.h +++ b/scope.h @@ -1,5 +1,5 @@ -#ifndef VARS_H -#define VARS_H +#ifndef SCOPE_H +#define SCOPE_H struct storage_location { enum { @@ -21,6 +21,8 @@ struct storage_location { struct type_def { const char* name; unsigned long long sz; + bool is_primitive; + bool is_signed; }; struct var_def { @@ -44,6 +46,7 @@ struct scope { void scope_push(struct scope** p_scope); void scope_pop(struct scope** p_scope); +void scope_destroy(struct scope* scope); void scope_install_default_types(struct scope* scope); bool scope_get_type( const struct scope* scope, -- cgit v1.2.3