edje_cc now throws an error during link combination when the current part has no...
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 2 Sep 2014 19:16:40 +0000 (15:16 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 2 Sep 2014 19:17:07 +0000 (15:17 -0400)
@fix

src/bin/edje/edje_cc_handlers.c

index afaaf73..41331ca 100644 (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)
                {