Mercurial > projects > ddmd
diff dmd/CompoundStatement.d @ 123:9e39c7de8438
Make dmd test suite compile
author | korDen |
---|---|
date | Fri, 03 Sep 2010 20:46:58 +0400 |
parents | c77e9f4f1793 |
children | 50a6d232176c |
line wrap: on
line diff
--- a/dmd/CompoundStatement.d Thu Sep 02 23:37:49 2010 +0100 +++ b/dmd/CompoundStatement.d Fri Sep 03 20:46:58 2010 +0400 @@ -207,7 +207,13 @@ override bool usesEH() { - assert(false); + foreach (Statement s; statements) + { + if (s && s.usesEH()) + return true; + } + + return false; } override BE blockExit()