summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h6
1 files changed, 6 insertions, 0 deletions
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;