diff options
Diffstat (limited to 'scope.h')
| -rw-r--r-- | scope.h | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -3,6 +3,7 @@ #include "ccc.h" #include "type.h" +#include "hashmap.h" struct storage_location { enum { @@ -36,14 +37,8 @@ struct var_def { }; struct scope { - struct type_alias** types; - integral_t type_sz; - integral_t type_cap; - - struct var_def** vars; - integral_t var_sz; - integral_t var_cap; - + struct hash_map types; + struct hash_map vars; struct scope* next_out; integral_t bp_offset; }; |
