diff 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
line wrap: on
line diff
--- a/src/input.cc	Thu Apr 06 08:20:23 2006 +0000
+++ b/src/input.cc	Thu Apr 06 19:38:35 2006 +0000
@@ -547,7 +547,8 @@
 
   if (debug)
     {
-      octave_user_function *caller = octave_call_stack::caller_script ();
+      octave_function *caller
+	= octave_call_stack::caller_user_script_or_function ();
 
       if (caller)
 	{