projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f7708
)
Remove pointless skip loop: intern_parse_statement() only returns a single statement.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 12:37:10 +0000
(14:37 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 13:19:18 +0000
(15:19 +0200)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
06efe47
..
b1db357
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-10177,11
+10177,7
@@
static statement_t *parse_compound_statement(bool inside_expression_statement)
}
*anchor = sub_statement;
-
- while (sub_statement->base.next != NULL)
- sub_statement = sub_statement->base.next;
-
- anchor = &sub_statement->base.next;
+ anchor = &sub_statement->base.next;
}
next_token();