Mercurial > octave
diff libinterp/corefcn/cellfun.cc @ 27474:3fec8e9fa2aa
make recover_from_exception a member function
* interpreter.h, interpreter.cc (interpreter::recover_from_exception):
Now a member function. Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 04 Oct 2019 16:40:30 -0400 |
parents | fd32c1a9b1bd |
children | 3e8faed1b7d8 |
line wrap: on
line diff
--- a/libinterp/corefcn/cellfun.cc Fri Oct 04 13:51:47 2019 -0700 +++ b/libinterp/corefcn/cellfun.cc Fri Oct 04 16:40:30 2019 -0400 @@ -84,7 +84,10 @@ { if (error_handler.is_defined ()) { - octave::interpreter::recover_from_exception (); + octave::interpreter& interp + = octave::__get_interpreter__ ("get_output_list"); + + interp.recover_from_exception (); execution_error = true; }