diff options
| author | 2026-03-23 11:11:02 +0100 | |
|---|---|---|
| committer | 2026-03-23 11:11:02 +0100 | |
| commit | a77a1e7e451dd5e2c128f5dd001372ade27c5b68 (patch) | |
| tree | 3c890c04b50027b68d08db38112a38f6ef6ab63e | |
| parent | 24dafc4cd691c3ec121176dbcd56e78ac6e175b7 (diff) | |
c: __attribute__ after declarator
| -rw-r--r-- | src/c.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2892,6 +2892,7 @@ pdecl(DeclState *st, CComp *cm) { return decl; } decl = declarator(st, cm, decl.span); + while (attrspec(cm, &st->attr)) ; if (decl.ty.t != TYFUNC && st->fninline) error(&decl.span, "`inline' used on non-function declaration"); if (decl.ty.t != TYFUNC && st->fnnoreturn) |