# HG changeset patch # User Jaroslav Hajek # Date 1245741430 -7200 # Node ID bb0697c70c1617850d5655fb15cd2c15236e3e77 # Parent 610bf90fce2a2e2db0b268addaac3c8638b99d0d simplify tree_evaluator::visit_try_catch_command diff -r 610bf90fce2a -r bb0697c70c16 src/ChangeLog --- a/src/ChangeLog Tue Jun 23 08:22:13 2009 +0200 +++ b/src/ChangeLog Tue Jun 23 09:17:10 2009 +0200 @@ -1,3 +1,7 @@ +2009-06-23 Jaroslav Hajek + + * pt-eval.cc (tree_evaluator::visit_try_catch_command): Simplify. + 2009-06-23 Jaroslav Hajek * DLD-FUNCTIONS/cellfun.cc: Modernize unwind_protect usage. diff -r 610bf90fce2a -r bb0697c70c16 src/pt-eval.cc --- a/src/pt-eval.cc Tue Jun 23 08:22:13 2009 +0200 +++ b/src/pt-eval.cc Tue Jun 23 09:17:10 2009 +0200 @@ -893,13 +893,7 @@ // For clearing the do_catch_code cleanup function. unwind_protect::discard (); - // For restoring Vdebug_on_warning, Vdebug_on_error, and - // buffer_error_messages. - unwind_protect::run (); - unwind_protect::run (); - unwind_protect::run (); - - // Also clear the frame marker. + // Run the rest of the frame. unwind_protect::run_frame (uwp_frame); } }