From: Christoph Mallon Date: Sat, 23 Aug 2008 07:39:13 +0000 (+0000) Subject: Remember a label, even if it is at the end of a compound statement. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fc9765ed852fac67a46208662644aa18d4b3a5ba;p=cparser Remember a label, even if it is at the end of a compound statement. [r21372] --- diff --git a/parser.c b/parser.c index 8c1a0c3..116a8af 100644 --- a/parser.c +++ b/parser.c @@ -7767,7 +7767,6 @@ static statement_t *parse_label_statement(void) errorf(HERE, "label at end of compound statement"); statement->label.statement = create_invalid_statement(); } - return statement; } else { if (token.type == ';') { /* eat an empty statement here, to avoid the warning about an empty