# HG changeset patch # User ChristianK # Date 1215808401 -7200 # Node ID d7e6ace5cca45f02d27bcbbec340fa7baf68fd86 # Parent 04e1b493097574322e794f93ce9688723722a5ec [svn r353] Fix typo. (fixes empty catch handlers, like catch_02.d) diff -r 04e1b4930975 -r d7e6ace5cca4 ir/irlandingpad.cpp --- a/ir/irlandingpad.cpp Fri Jul 11 21:06:39 2008 +0200 +++ b/ir/irlandingpad.cpp Fri Jul 11 22:33:21 2008 +0200 @@ -23,7 +23,7 @@ // emit handler, if there is one // handler is zero for instance for 'catch { debug foo(); }' - if(catchstmt->handler); + if(catchstmt->handler) catchstmt->handler->toIR(gIR); if (!gIR->scopereturned())