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:
Mike Blumenkrantz 2014-03-21 15:23:24 -04:00
parent 153e3b45b4
commit fa14af1afb
1 changed files with 0 additions and 7 deletions

View File

@ -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)
{