Mercurial > octave
diff libinterp/parse-tree/pt-eval.cc @ 18222:6ef8b920a7d6 gui-release
include stack in exception variable (bug #41117)
* error.h, error.cc (last_error_stack): New function.
* pt-eval.cc (tree_evaluator::visit_try_catch_command): Include stack
information in err variable.
author | Stefan Mahr <dac922@gmx.de> |
---|---|
date | Tue, 20 Aug 2013 18:57:48 +0200 |
parents | 175b392e91fe |
children | 1af5ee5f3076 bc139ccccef9 |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-eval.cc Sat Jan 04 22:18:49 2014 +0100 +++ b/libinterp/parse-tree/pt-eval.cc Tue Aug 20 18:57:48 2013 +0200 @@ -936,6 +936,7 @@ err.assign ("message", last_error_message ()); err.assign ("identifier", last_error_id ()); + err.assign ("stack", last_error_stack ()); if (! error_state) ult.assign (octave_value::op_asn_eq, err);