Mercurial > hg > octave-nkf
diff src/pt-except.cc @ 5344:b427cca320b8
[project @ 2005-05-09 19:03:02 by jwe]
author | jwe |
---|---|
date | Mon, 09 May 2005 19:03:03 +0000 |
parents | 4c8a2e4e0717 |
children | ace8d8d26933 |
line wrap: on
line diff
--- a/src/pt-except.cc +++ b/src/pt-except.cc @@ -95,11 +95,8 @@ MAYBE_DO_BREAKPOINT; - if (catch_code) - { - unwind_protect_int (buffer_error_messages); - buffer_error_messages++; - } + unwind_protect_int (buffer_error_messages); + buffer_error_messages++; unwind_protect::add (do_catch_code, catch_code); @@ -122,8 +119,7 @@ unwind_protect::discard (); // For restoring buffer_error_messages. - if (catch_code) - unwind_protect::run (); + unwind_protect::run (); // Also clear the frame marker. unwind_protect::discard ();