Mercurial > octave
changeset 9959:633f9d837982
include autoloads in out-of-date checks
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 10 Dec 2009 09:14:47 +0100 |
parents | 80432f0ee895 |
children | 5f3c10ecb150 |
files | src/ChangeLog src/symtab.cc |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Dec 10 09:14:47 2009 +0100 +++ b/src/ChangeLog Thu Dec 10 09:14:47 2009 +0100 @@ -1,3 +1,7 @@ +2009-12-10 Jaroslav Hajek <highegg@gmail.com> + + * symtab.cc (out_of_date_check): Try also autoloads. + 2009-12-09 Jaroslav Hajek <highegg@gmail.com> * symtab.h (symbol_table::fcn_info::clear_autoload_function): New method.
--- a/src/symtab.cc Thu Dec 10 09:14:47 2009 +0100 +++ b/src/symtab.cc Thu Dec 10 09:14:47 2009 +0100 @@ -211,6 +211,10 @@ file = load_path::find_method (dispatch_type, nm, dir_name); + // Maybe it's an autoload? + if (file.empty ()) + file = lookup_autoload (nm); + if (file.empty ()) file = load_path::find_fcn (nm, dir_name); }