comparison src/input.cc @ 5744:1c36a2e82266

[project @ 2006-04-06 19:38:34 by jwe]
author jwe
date Thu, 06 Apr 2006 19:38:35 +0000
parents a527e0f77aa5
children 7ba9ad1fec11
comparison
equal deleted inserted replaced
5743:a527e0f77aa5 5744:1c36a2e82266
545 std::string nm; 545 std::string nm;
546 int line = -1; 546 int line = -1;
547 547
548 if (debug) 548 if (debug)
549 { 549 {
550 octave_user_function *caller = octave_call_stack::caller_script (); 550 octave_function *caller
551 = octave_call_stack::caller_user_script_or_function ();
551 552
552 if (caller) 553 if (caller)
553 { 554 {
554 nm = caller->fcn_file_name (); 555 nm = caller->fcn_file_name ();
555 556