From 3cd04b7ea9e7d33ec6b50524f97ada82ecdfebbe Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 17 Apr 2026 21:21:55 +0200 Subject: support extern inline "definitions" --- src/c.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/c.c') diff --git a/src/c.c b/src/c.c index 20c53ff..0715a76 100644 --- a/src/c.c +++ b/src/c.c @@ -5000,7 +5000,6 @@ tldecl(CComp *cm) decl.isdef = 1; int idecl = putdecl(cm, &decl); Decl *d = &declsbuf.p[idecl]; - if (d->inlin && decl.scls != SCSTATIC) fatal(&d->span, "non-static inline is unimplemented"); Function fn = { &cm->fnarena, .name = d->sym, .globl = d->scls != SCSTATIC, .fnty = decl.ty, .retty = td->ret, .inlin = d->inlin }; irinit(&fn); function(cm, &fn, st.pnames, st.pspans, st.pqual); -- cgit v1.2.3