projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3721efc
)
eolian: always validate entire staging area
author
Daniel Kolesa
<d.kolesa@samsung.com>
Sun, 13 May 2018 14:53:40 +0000
(16:53 +0200)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Fri, 1 Jun 2018 01:51:21 +0000
(10:51 +0900)
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
patch
|
blob
|
history
diff --git
a/src/lib/eolian/eolian_database.c
b/src/lib/eolian/eolian_database.c
index
5f4a6ae
..
ddb14e3
100644
(file)
--- 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(
re
t))
+ if (!database_validate(
&state->staging.uni
t))
return NULL;
_merge_staging(state);
return ret;