From 220ec69d2c45b4ab234bf39d227954e49a264e31 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 21 Apr 2019 00:12:30 -0700 Subject: Improve error message --- stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stmt.c b/stmt.c index f10bfb2..34795e2 100644 --- a/stmt.c +++ b/stmt.c @@ -47,7 +47,7 @@ stmt(struct func *f, struct scope *s) funclabel(f, label[0]); i = intconstexpr(s, true); switchcase(s->switchcases, i, label[0]); - expect(TCOLON, "after case expr"); + expect(TCOLON, "after case expression"); stmt(f, s); break; case TDEFAULT: -- cgit v1.2.3