Mercurial > hg > octave-nkf
changeset 9378:bb0697c70c16
simplify tree_evaluator::visit_try_catch_command
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 23 Jun 2009 09:17:10 +0200 |
parents | 610bf90fce2a |
children | d77fa87c47d8 |
files | src/ChangeLog src/pt-eval.cc |
diffstat | 2 files changed, 5 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-06-23 Jaroslav Hajek <highegg@gmail.com> + + * pt-eval.cc (tree_evaluator::visit_try_catch_command): Simplify. + 2009-06-23 Jaroslav Hajek <highegg@gmail.com> * DLD-FUNCTIONS/cellfun.cc: Modernize unwind_protect usage.
--- 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); } }