changeset 5313:d2979f3da3cb

[project @ 2005-04-28 02:06:33 by jwe]
author jwe
date Thu, 28 Apr 2005 02:06:34 +0000
parents 80c1aa832cb2
children 99489e2ffbd4
files src/ChangeLog src/ov-fcn-handle.cc
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Apr 28 01:54:46 2005 +0000
+++ b/src/ChangeLog	Thu Apr 28 02:06:34 2005 +0000
@@ -1,7 +1,8 @@
 2005-04-27  John W. Eaton  <jwe@octave.org>
 
-	* ov-fcn-handle.cc (octave_fcn_handle::subsref): check to see if
-	function is out of date.
+	* ov-fcn-handle.cc (octave_fcn_handle::subsref):
+	Check whether function referenced by handle is out of date.
+	(Ffunctions): Tag nameless user function as "command-line".
 
 	* variables.cc (symbol_out_of_date (octave_fucntion *)): New function.
 	(function_out_of_date): New function.
--- a/src/ov-fcn-handle.cc	Thu Apr 28 01:54:46 2005 +0000
+++ b/src/ov-fcn-handle.cc	Thu Apr 28 02:06:34 2005 +0000
@@ -629,6 +629,8 @@
 		{
 		  if (fh_nm == "@<anonymous>")
 		    m.assign ("file", "none");
+		  else if (fcn->is_user_function ())
+		    m.assign ("file", "command-line function");
 		  else
 		    m.assign ("file", "built-in function");
 		}