aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-24 12:52:34 +0100
committerlemon <lsof@mailbox.org>2025-11-24 12:52:34 +0100
commit801281f89c3d085f265842a9d10c0aeb5a613d7b (patch)
tree0348ac40d118497b5ada5722a20b82252b6193b7
parent9dab543399fd67085225e165d1e48deab7731180 (diff)
c: remove unused function
-rw-r--r--c/c.c8
1 files changed, 0 insertions, 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 */