forked from enlightenment/efl
Eolian: improve the class searching.
If the class is not found, we retrieve its full path if it has already been scanned. This patch is needed by Espion so Eolian can find the full path of a class by its name. Espion has no way to determine it by itself.
This commit is contained in:
parent
2349e1ac41
commit
024c9dc858
|
@ -228,7 +228,9 @@ eolian_eo_file_parse(const char *filepath)
|
|||
Eina_Bool failed_dep = EINA_FALSE;
|
||||
if (!class)
|
||||
{
|
||||
if (!eo_parser_database_fill(filepath, EINA_FALSE))
|
||||
const char *full_filepath = eina_hash_find(_filenames, bfilename);
|
||||
if (!full_filepath) full_filepath = filepath;
|
||||
if (!eo_parser_database_fill(full_filepath, EINA_FALSE))
|
||||
{
|
||||
free(bfiledup);
|
||||
goto error;
|
||||
|
|
Loading…
Reference in New Issue