projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82786de
)
check_reachable() continued at the wrong position, when encountering a break statement.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 25 Aug 2008 08:24:27 +0000
(08:24 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 25 Aug 2008 08:24:27 +0000
(08:24 +0000)
[r21432]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
6c390b5
..
d403755
100644
(file)
--- 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;