From 333cfe09e9d86a471a9c137eb5586b62fcecab8c Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Wed, 11 May 2011 17:45:55 +0430 Subject: [PATCH] ncc: ignore the semicolon after do-while --- ncc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ncc.c b/ncc.c index 782c521..a82f82e 100644 --- a/ncc.c +++ b/ncc.c @@ -1742,6 +1742,7 @@ static void readstmt(void) tok_expect(')'); break_fill(o_mklabel(), break_beg); continue_fill(l2, continue_beg); + tok_expect(';'); return; } if (!tok_jmp(TOK_FOR)) { -- 2.11.4.GIT