Mercurial > octave
changeset 11320:baeeb6bc6afe
stop trying to parse file if out_of_date_check encounters an error
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 08 Dec 2010 01:20:07 -0500 |
parents | f8e97e9a9301 |
children | 43fa0522734d |
files | src/ChangeLog src/symtab.cc |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Dec 07 15:30:17 2010 -0500 +++ b/src/ChangeLog Wed Dec 08 01:20:07 2010 -0500 @@ -1,3 +1,8 @@ +2010-12-08 John W. Eaton <jwe@octave.org> + + * symtab.cc (symbol_table::fcn_info::fcn_info_rep::find_user_function): + Return if an error occurs in out_of_date_check. + 2010-12-07 John W. Eaton <jwe@octave.org> * symtab.cc (symbol_table::fcn_info::fcn_info_rep::find): If an
--- a/src/symtab.cc Tue Dec 07 15:30:17 2010 -0500 +++ b/src/symtab.cc Wed Dec 08 01:20:07 2010 -0500 @@ -972,7 +972,7 @@ if (function_on_path.is_defined ()) out_of_date_check (function_on_path); - if (! function_on_path.is_defined ()) + if (! error_state || function_on_path.is_defined ()) { std::string dir_name;