edje_cc now throws an error during link combination when the current part has no name

@fix
This commit is contained in:
Mike Blumenkrantz 2014-09-02 15:16:40 -04:00
parent 82b2ed7a40
commit 3f468537fd
1 changed files with 5 additions and 0 deletions

View File

@ -2845,6 +2845,11 @@ _link_combine(void)
eina_list_move_list(&combine, (Eina_List**)&tup->data, l);
}
current_program = el->pr;
if (!el->epp->common.name)
{
ERR("A part without a name was detected.");
exit(-1);
}
_program_target_add(strdup(el->epp->common.name));
EINA_LIST_FREE(combine, ell)
{