Mercurial > hg > octave-avbm
diff src/symtab.cc @ 9151:d8f9588c6ba1
object exemplars
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 23 Apr 2009 16:05:52 -0400 |
parents | c6463412aebb |
children | 5cd879a0d8c4 |
line wrap: on
line diff
--- a/src/symtab.cc +++ b/src/symtab.cc @@ -132,11 +132,12 @@ static inline bool load_out_of_date_fcn (const std::string& ff, const std::string& dir_name, - octave_value& function) + octave_value& function, + const std::string& dispatch_type = std::string ()) { bool retval = false; - octave_function *fcn = load_fcn_from_file (ff, dir_name); + octave_function *fcn = load_fcn_from_file (ff, dir_name, dispatch_type); if (fcn) { @@ -229,7 +230,8 @@ if (fs.is_newer (tp)) { retval = load_out_of_date_fcn (ff, dir_name, - function); + function, + dispatch_type); clear_breakpoints = true; } @@ -247,7 +249,8 @@ // Not the same file, so load the new file in // place of the old. - retval = load_out_of_date_fcn (file, dir_name, function); + retval = load_out_of_date_fcn (file, dir_name, function, + dispatch_type); clear_breakpoints = true; }