projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea59cbd
)
Remember a label, even if it is at the end of a compound statement.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 23 Aug 2008 07:39:13 +0000
(07:39 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 23 Aug 2008 07:39:13 +0000
(07:39 +0000)
[r21372]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/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