mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
User defined attributes.
This commit is contained in:
committed by
Christoffer Lerno
parent
b0c55ff777
commit
e09e5c06d3
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user