Remember a label, even if it is at the end of a compound statement.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 23 Aug 2008 07:39:13 +0000 (07:39 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 23 Aug 2008 07:39:13 +0000 (07:39 +0000)
[r21372]

parser.c

index 8c1a0c3..116a8af 100644 (file)
--- 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