forked from enlightenment/efl
edje_cc: abort compile when unnamed part exists
Summary: abort compile when unnamed part exists. Reviewers: raster, reutskiy.v.v Reviewed By: reutskiy.v.v Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3723
This commit is contained in:
parent
a2dbaa2759
commit
81f8e8683d
|
@ -14647,6 +14647,11 @@ edje_cc_handlers_hierarchy_pop(void)
|
|||
{
|
||||
unsigned int i;
|
||||
|
||||
if (!current_part->name)
|
||||
{
|
||||
error_and_abort(NULL, "parse error near %s:%i. Unnamed part exists in Group \"%s\".", file_in, line - 1, current_de->entry);
|
||||
}
|
||||
|
||||
for (i = 0; i < current_part->other.desc_count; i++)
|
||||
{
|
||||
if (!current_part->other.desc[i]->state.name)
|
||||
|
|
Loading…
Reference in New Issue