# HG changeset patch # User jwe # Date 1114653994 0 # Node ID d2979f3da3cb7e07a62ec9474800f93737ee9156 # Parent 80c1aa832cb209a7d4adb1c7a426b0b7f17e717a [project @ 2005-04-28 02:06:33 by jwe] diff -r 80c1aa832cb2 -r d2979f3da3cb src/ChangeLog --- 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 - * 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. diff -r 80c1aa832cb2 -r d2979f3da3cb src/ov-fcn-handle.cc --- 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 == "@") m.assign ("file", "none"); + else if (fcn->is_user_function ()) + m.assign ("file", "command-line function"); else m.assign ("file", "built-in function"); }