User defined attributes.

This commit is contained in:
Christoffer Lerno
2022-05-10 17:04:04 +02:00
committed by Christoffer Lerno
parent b0c55ff777
commit e09e5c06d3
18 changed files with 428 additions and 368 deletions

View File

@@ -699,7 +699,7 @@ static Expr *parse_call_expr(ParseContext *c, Expr *left)
if (!parse_attribute(c, &attr)) return poisoned_expr;
if (!attr) break;
AttributeType attr_type = attribute_by_name(attr);
AttributeType attr_type = attribute_by_name(attr->name);
int new_inline = attr_type == ATTRIBUTE_INLINE;
switch (attr_type)
{