eolian: validate staging unit when parsing all

This commit is contained in:
Daniel Kolesa 2018-03-22 16:27:35 +01:00
parent 93a64c5eab
commit 3ae67b24b3
1 changed files with 2 additions and 2 deletions

View File

@ -929,7 +929,7 @@ eolian_state_all_eot_files_parse(Eolian_State *state)
_state_clean(state);
eina_hash_foreach(state->filenames_eot, _tfile_parse, &pd);
if (pd.ret && !database_validate(&state->unit))
if (pd.ret && !database_validate(&state->staging))
return EINA_FALSE;
_merge_unit(&state->unit, &state->staging);
@ -961,7 +961,7 @@ eolian_state_all_eo_files_parse(Eolian_State *state)
_state_clean(state);
eina_hash_foreach(state->filenames_eo, _file_parse, &pd);
if (pd.ret && !database_validate(&state->unit))
if (pd.ret && !database_validate(&state->staging))
return EINA_FALSE;
_merge_unit(&state->unit, &state->staging);