Mercurial > hg > octave-avbm
diff src/toplev.cc @ 9377:610bf90fce2a
update unwind_protect usage everywhere
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 23 Jun 2009 08:22:13 +0200 (2009-06-23) |
parents | 9c2349a51218 |
children | d57f0c56195f |
line wrap: on
line diff
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -548,7 +548,7 @@ { try { - unwind_protect::begin_frame ("main_loop"); + unwind_protect::frame_id_t uwp_frame = unwind_protect::begin_frame (); reset_error_handler (); @@ -611,7 +611,7 @@ break; } - unwind_protect::run_frame ("main_loop"); + unwind_protect::run_frame (uwp_frame); } catch (octave_quit_exception e) { @@ -857,7 +857,7 @@ { octave_value_list retval; - unwind_protect::begin_frame ("Fsystem"); + unwind_protect::frame_id_t uwp_frame = unwind_protect::begin_frame (); int nargin = args.length (); @@ -960,7 +960,7 @@ else print_usage (); - unwind_protect::run_frame ("Fsystem"); + unwind_protect::run_frame (uwp_frame); return retval; }