cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 220ec69d2c45b4ab234bf39d227954e49a264e31
parent de7542a197ce4862f132d468d1daa517d15514ee
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 21 Apr 2019 00:12:30 -0700

Improve error message

Diffstat:
Mstmt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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: