Mercurial > octave-nkf
comparison src/pt-eval.cc @ 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 | d57f0c56195f |
comparison
equal
deleted
inserted
replaced
9377:610bf90fce2a | 9378:bb0697c70c16 |
---|---|
891 // order in which they were added to the stack. | 891 // order in which they were added to the stack. |
892 | 892 |
893 // For clearing the do_catch_code cleanup function. | 893 // For clearing the do_catch_code cleanup function. |
894 unwind_protect::discard (); | 894 unwind_protect::discard (); |
895 | 895 |
896 // For restoring Vdebug_on_warning, Vdebug_on_error, and | 896 // Run the rest of the frame. |
897 // buffer_error_messages. | |
898 unwind_protect::run (); | |
899 unwind_protect::run (); | |
900 unwind_protect::run (); | |
901 | |
902 // Also clear the frame marker. | |
903 unwind_protect::run_frame (uwp_frame); | 897 unwind_protect::run_frame (uwp_frame); |
904 } | 898 } |
905 } | 899 } |
906 | 900 |
907 static void | 901 static void |