From 801281f89c3d085f265842a9d10c0aeb5a613d7b Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 24 Nov 2025 12:52:34 +0100 Subject: c: remove unused function --- c/c.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/c/c.c b/c/c.c index 14f988e..8b5339d 100644 --- a/c/c.c +++ b/c/c.c @@ -75,14 +75,6 @@ expect(struct comp *cm, enum toktag t, const char *s) } return 1; } -static struct token -expectdie(struct comp *cm, enum toktag t, const char *s) -{ - struct token tk; - if (!match(cm, &tk, t)) - fatal(&tk.span, "expected %'tt%s%s", t, s?" ":"",s ? s : ""); - return tk; -} /******************************************/ /* Data structures for declaration parser */ -- cgit v1.2.3