# HG changeset patch # User Jaroslav Hajek # Date 1245741430 -7200 # Node ID bb0697c70c1617850d5655fb15cd2c15236e3e77 # Parent 610bf90fce2a2e2db0b268addaac3c8638b99d0d simplify tree_evaluator::visit_try_catch_command diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/pt-eval.cc b/src/pt-eval.cc --- a/src/pt-eval.cc +++ b/src/pt-eval.cc @@ -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); } }