efl edje_cc_handlers.c: Ported r82093 from edje to efl/edje.

SVN revision: 82150
This commit is contained in:
Daniel Juyung Seo 2013-01-04 07:27:46 +00:00
parent d2343db57e
commit 1be443bc75
1 changed files with 7 additions and 0 deletions

View File

@ -2464,6 +2464,9 @@ st_collections_group_name(void)
current_pc = eina_list_data_get(eina_list_last(edje_collections));
if (current_de->entry)
goto double_named_group;
current_de->entry = parse_str(0);
current_pc->part = current_de->entry;
@ -2486,6 +2489,10 @@ st_collections_group_name(void)
break;
}
double_named_group:
ERR("Invalid group, only a single name statement is valid for group, use "
"alias instead.");
exit(-1);
}
typedef struct _Edje_List_Foreach_Data Edje_List_Foreach_Data;