aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2025-10-15 10:05:45 +0200
committer lemon<lsof@mailbox.org>2025-10-15 10:05:45 +0200
commit0949fe8b08a98299371416bcb62563777e65a54b (patch)
treee141f0aaa1c2cc76e3d6ce928cb3f3d6718d4275
parent04d5425c0512f28990a4583e5f41b20015712f95 (diff)
c: error string typo
-rw-r--r--c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.c b/c.c
index 20297ce..2c899ac 100644
--- a/c.c
+++ b/c.c
@@ -448,7 +448,7 @@ condtype(const struct expr *a, const struct expr *b)
static void
bintypeerr(const struct span *span, enum toktag tt, union type lhs, union type rhs)
{
- error(span, "bad operands to %tt: %'ty', '%ty'", tt, lhs, rhs);
+ error(span, "bad operands to %tt: '%ty', '%ty'", tt, lhs, rhs);
}
enum binopclass { /* binary operator type-checking classes */