comparison src/pt-stmt.cc @ 8011:3100283874d7

improve backtrace error messages
author John W. Eaton <jwe@octave.org>
date Tue, 05 Aug 2008 23:09:32 -0400
parents 73ef513855e7
children 4385bb503467
comparison
equal deleted inserted replaced
8010:0e9b6af36559 8011:3100283874d7
27 27
28 #include "quit.h" 28 #include "quit.h"
29 29
30 #include "defun.h" 30 #include "defun.h"
31 #include "error.h" 31 #include "error.h"
32 #include "gripes.h"
32 #include "ov.h" 33 #include "ov.h"
33 #include "oct-lvalue.h" 34 #include "oct-lvalue.h"
34 #include "input.h" 35 #include "input.h"
35 #include "pager.h" 36 #include "pager.h"
36 #include "pt-bp.h" 37 #include "pt-bp.h"
127 bind_ans (retval(0), pf); 128 bind_ans (retval(0), pf);
128 } 129 }
129 } 130 }
130 catch (octave_execution_exception) 131 catch (octave_execution_exception)
131 { 132 {
132 octave_exception_state = octave_no_exception; 133 gripe_library_execution_error ();
133 error ("caught execution error in library function");
134 } 134 }
135 } 135 }
136 136
137 return retval; 137 return retval;
138 } 138 }