q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a923a94f85f15b97397fc3a0f5bd9728a74b98f3

commit a923a94f85f15b97397fc3a0f5bd9728a74b98f3
Author: Daniel Kolesa <d.kol...@samsung.com>
Date:   Sun May 13 16:53:40 2018 +0200

    eolian: always validate entire staging area
    
    This is necessary even when parsing a single file because there
    may be parsed results directly in the staging area introduced by
    doc references, those wouldn't get correctly validated and would
    be left in an inconsistent and unusable state.
---
 src/lib/eolian/eolian_database.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index 5f4a6ae800..ddb14e3a0f 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -1032,7 +1032,7 @@ eolian_state_file_parse(Eolian_State *state, const char 
*filepath)
    if (!_parse_deferred(ret))
      return NULL;
    _merge_units(ret);
-   if (!database_validate(ret))
+   if (!database_validate(&state->staging.unit))
      return NULL;
    _merge_staging(state);
    return ret;

-- 


Reply via email to