diff options
| author | Carson Fleming <cflems@cflems.net> | 2026-07-17 00:38:51 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2026-07-17 00:38:51 -0400 |
| commit | a5c12fd6f4438fc172f28b722e54908b575c6ce1 (patch) | |
| tree | 5f9b2d48681e02d392567eb8798ba614cb96bfbd /scope.h | |
| parent | 1dfa2971999b4adf36a33866b0b07af07188da08 (diff) | |
| download | ccc-a5c12fd6f4438fc172f28b722e54908b575c6ce1.tar.gz | |
before I do something crazy
Diffstat (limited to 'scope.h')
| -rw-r--r-- | scope.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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, |
