# HG changeset patch # User John W. Eaton # Date 1291789207 18000 # Node ID baeeb6bc6afee5b4ed64e7f156de40fc40cc71f5 # Parent f8e97e9a9301bb537c41085d3d05509252b7d2d9 stop trying to parse file if out_of_date_check encounters an error diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-12-08 John W. Eaton + + * 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 * symtab.cc (symbol_table::fcn_info::fcn_info_rep::find): If an diff --git a/src/symtab.cc b/src/symtab.cc --- a/src/symtab.cc +++ b/src/symtab.cc @@ -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;