summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index d9af50e..92d106a 100644
--- a/parse.c
+++ b/parse.c
@@ -680,6 +680,7 @@ static Status parse_type(Parser *p, Type *type, Location *where) {
++t->token;
struc->where.end = t->token;
}
+ struc->scope.where = struc->where;
p->block = prev_block;
break;