summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scope.h b/scope.h
index 5761f54..09a1375 100644
--- a/scope.h
+++ b/scope.h
@@ -21,7 +21,7 @@ struct storage_location {
};
};
-struct type {
+struct type_ref {
const struct type_def* raw_type;
unsigned char ptr_level;
};
@@ -41,7 +41,7 @@ struct type_def {
};
struct var_def {
- const struct type* type;
+ const struct type_ref* type;
char* name;
struct storage_location loc;
const struct type_def* resolved_type;