# HG changeset patch # User jwe # Date 1125626078 0 # Node ID 2ed5009be5030ec3ae3b469a372e148d74ebb530 # Parent 66ad03c588806fec348e9224ea0635b9beadc105 [project @ 2005-09-02 01:54:38 by jwe] diff -r 66ad03c58880 -r 2ed5009be503 src/ChangeLog --- a/src/ChangeLog Wed Aug 31 20:41:48 2005 +0000 +++ b/src/ChangeLog Fri Sep 02 01:54:38 2005 +0000 @@ -1,3 +1,7 @@ +2005-09-01 John W. Eaton + + * variables.cc (symbol_out_of_date): Don't check nested functions. + 2005-08-31 John W. Eaton * oct-map.cc (Octave_map::index): Don't crash if index list is empty. diff -r 66ad03c58880 -r 2ed5009be503 src/variables.cc --- a/src/variables.cc Wed Aug 31 20:41:48 2005 +0000 +++ b/src/variables.cc Fri Sep 02 01:54:38 2005 +0000 @@ -1008,7 +1008,12 @@ octave_function *fcn = ans.function_value (true); - if (fcn) + // No need to check nested functions. They can only be executed + // from within the parent function the contains them. Parent + // and nested functions will be updated simultaneously when we + // check the parent. + + if (fcn && ! fcn->is_nested_function ()) { std::string ff = fcn->fcn_file_name ();