aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-04-21 00:12:30 -0700
committerMichael Forney <mforney@mforney.org>2019-04-21 00:12:30 -0700
commit220ec69d2c45b4ab234bf39d227954e49a264e31 (patch)
treea846eb4e5b00ae949b1f9994181f4a141ce6a7ee
parentde7542a197ce4862f132d468d1daa517d15514ee (diff)
Improve error message
-rw-r--r--stmt.c2
1 files changed, 1 insertions, 1 deletions
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: