From: Christoph Mallon Date: Mon, 25 Aug 2008 08:24:27 +0000 (+0000) Subject: check_reachable() continued at the wrong position, when encountering a break statement. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=faf48d99b10b27628321633acd80cd2990596408;p=cparser check_reachable() continued at the wrong position, when encountering a break statement. [r21432] --- diff --git a/parser.c b/parser.c index 6c390b5..d403755 100644 --- a/parser.c +++ b/parser.c @@ -4809,6 +4809,7 @@ static void check_reachable(statement_t *const stmt) case STATEMENT_WHILE: case STATEMENT_DO_WHILE: case STATEMENT_FOR: + last = parent; next = parent->base.next; goto found_break_parent;