mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Update listable type properties.
This commit is contained in:
@@ -880,7 +880,7 @@ static Expr *parse_ct_sizeof(ParseContext *c, Expr *left)
|
||||
typeof_expr->type_expr = type_info;
|
||||
access->access_expr.parent = typeof_expr;
|
||||
Expr *ident = expr_new(EXPR_IDENTIFIER, c->span);
|
||||
ident->identifier_expr.ident = kw_sizeof;
|
||||
ident->identifier_expr.ident = type_property_list[TYPE_PROPERTY_SIZEOF];
|
||||
access->access_expr.child = ident;
|
||||
RANGE_EXTEND_PREV(access);
|
||||
return access;
|
||||
|
||||
Reference in New Issue
Block a user