summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2014-09-02 15:16:40 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2014-09-02 15:17:07 -0400
commit3f468537fd38a3d8f6e59521a485fde38ebc1b6e (patch)
tree7a605939e1ccb968eabb650ea0397428049c13a4 /src/bin/edje
parent82b2ed7a40d1d07426f0c62287e3372cdfa27441 (diff)
edje_cc now throws an error during link combination when the current part has no name
@fix
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_handlers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index afaaf73fdb..41331ca0a8 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -2845,6 +2845,11 @@ _link_combine(void)
2845 eina_list_move_list(&combine, (Eina_List**)&tup->data, l); 2845 eina_list_move_list(&combine, (Eina_List**)&tup->data, l);
2846 } 2846 }
2847 current_program = el->pr; 2847 current_program = el->pr;
2848 if (!el->epp->common.name)
2849 {
2850 ERR("A part without a name was detected.");
2851 exit(-1);
2852 }
2848 _program_target_add(strdup(el->epp->common.name)); 2853 _program_target_add(strdup(el->epp->common.name));
2849 EINA_LIST_FREE(combine, ell) 2854 EINA_LIST_FREE(combine, ell)
2850 { 2855 {