summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2026-07-18 23:38:59 -0700
committerCarson Fleming <cflems@cflems.net>2026-07-18 23:38:59 -0700
commit1e712cf04567c48100526f9a3a0f796497168268 (patch)
tree28a1676d36620500578d1a386d8d0b976637ce9f /scope.c
parentfeb1cac139ca5aa2ba76ac6a0a318bced03d8638 (diff)
downloadccc-1e712cf04567c48100526f9a3a0f796497168268.tar.gz
type system surely
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 1d15ff2..014c404 100644
--- a/scope.c
+++ b/scope.c
@@ -221,7 +221,7 @@ void scope_install_default_types(struct ast* ast) {
.is_signed = true,
.is_floating = false,
});
- ast->string_type = ast->integral_type; /* TODO: support pointers */
+ ast->pointer_type = ast->integral_type; /* TODO: support pointers */
scope_define_type(ast->root_scope, (struct type_def) {
.key = {