forked from enlightenment/efl
edje_cc no longer errors when inheriting a description before/when state is not set
anonymous states are allowed in other places, so having this check is inconsistent and breaks inheriting. an error will be triggered at a later point.
This commit is contained in:
parent
153e3b45b4
commit
fa14af1afb
|
@ -5348,13 +5348,6 @@ st_collections_group_parts_part_description_inherit(void)
|
|||
ep = current_part;
|
||||
ed = current_desc;
|
||||
|
||||
if (!ed->state.name)
|
||||
{
|
||||
ERR("parse error %s:%i. inherit may only be used after state",
|
||||
file_in, line - 1);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
parent = parent_desc;
|
||||
if (!parent)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue