Mercurial > octave-nkf
comparison src/symtab.cc @ 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 | 8d79f36ebdde |
children | 692ab4eaf965 |
comparison
equal
deleted
inserted
replaced
9958:80432f0ee895 | 9959:633f9d837982 |
---|---|
208 // decide whether it came from a relative lookup. | 208 // decide whether it came from a relative lookup. |
209 | 209 |
210 if (! dispatch_type.empty ()) | 210 if (! dispatch_type.empty ()) |
211 file = load_path::find_method (dispatch_type, nm, | 211 file = load_path::find_method (dispatch_type, nm, |
212 dir_name); | 212 dir_name); |
213 | |
214 // Maybe it's an autoload? | |
215 if (file.empty ()) | |
216 file = lookup_autoload (nm); | |
213 | 217 |
214 if (file.empty ()) | 218 if (file.empty ()) |
215 file = load_path::find_fcn (nm, dir_name); | 219 file = load_path::find_fcn (nm, dir_name); |
216 } | 220 } |
217 | 221 |