eolian: use eo_parser_database_fill for import

This commit is contained in:
Daniel Kolesa 2015-05-22 17:09:14 +01:00
parent 1ffdcda292
commit 5d5b60b026
1 changed files with 1 additions and 1 deletions

View File

@ -1856,7 +1856,7 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
eo_lexer_syntax_error(ls, errbuf);
}
pop_strbuf(ls);
if (!(is_eo ? eolian_eo_file_parse(found) : eolian_eot_file_parse(found)))
if (!eo_parser_database_fill(found, !is_eo))
{
pop_strbuf(ls);
snprintf(errbuf, sizeof(errbuf),