diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-21 00:12:30 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-21 00:12:30 -0700 |
commit | 220ec69d2c45b4ab234bf39d227954e49a264e31 (patch) | |
tree | a846eb4e5b00ae949b1f9994181f4a141ce6a7ee | |
parent | de7542a197ce4862f132d468d1daa517d15514ee (diff) |
Improve error message
-rw-r--r-- | stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |