mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
remove lonely break statements
This commit is contained in:
parent
d0c882dd7b
commit
0d8f99a118
@ -246,7 +246,7 @@ scope SymTab {
|
||||
// not found
|
||||
breakPos = -1;
|
||||
}
|
||||
if (breakPos > 0) {
|
||||
if (breakPos >= 0) {
|
||||
// delete from break to end
|
||||
for (int i = len-1; i >= breakPos; i--) {
|
||||
stats.DeleteChild(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user