diff options
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, |
