Mercurial > octave
changeset 21329:1d8e020d86df
* toplev.h: Fix thinko in previous change.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 23 Feb 2016 21:58:35 -0500 |
parents | 0705248d47bf |
children | fb7f40558553 |
files | libinterp/corefcn/debug.cc libinterp/corefcn/toplev.h |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/debug.cc Tue Feb 23 17:12:01 2016 -0800 +++ b/libinterp/corefcn/debug.cc Tue Feb 23 21:58:35 2016 -0500 @@ -1511,8 +1511,6 @@ return ovl (); } - bool have_file = true; - octave_stdout << "stopped in " << dbg_fcn->name () << " at "; int l = octave_call_stack::debug_user_code_line ();
--- a/libinterp/corefcn/toplev.h Tue Feb 23 17:12:01 2016 -0800 +++ b/libinterp/corefcn/toplev.h Tue Feb 23 21:58:35 2016 -0500 @@ -207,9 +207,9 @@ } // User code caller. - static octave_user_code *caller_user_code (void) + static octave_user_code *caller_user_code (size_t nskip = 0) { - return instance_ok () ? instance->do_debug_user_code () : 0; + return instance_ok () ? instance->do_caller_user_code (nskip) : 0; } // Line in user code caller.