summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-01-04 07:27:46 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-01-04 07:27:46 +0000
commit1be443bc75b955a75c67a189f18c59a9f011d3fb (patch)
tree5f15f731819bd59e0783f6c9563387f0ecd8d2de
parentd2343db57ef03ed67bc37af801eb73a5da1bdd33 (diff)
efl edje_cc_handlers.c: Ported r82093 from edje to efl/edje.
SVN revision: 82150
-rw-r--r--src/bin/edje/edje_cc_handlers.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 4a007c6..9e1a571 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -2464,6 +2464,9 @@ st_collections_group_name(void)
2464 2464
2465 current_pc = eina_list_data_get(eina_list_last(edje_collections)); 2465 current_pc = eina_list_data_get(eina_list_last(edje_collections));
2466 2466
2467 if (current_de->entry)
2468 goto double_named_group;
2469
2467 current_de->entry = parse_str(0); 2470 current_de->entry = parse_str(0);
2468 current_pc->part = current_de->entry; 2471 current_pc->part = current_de->entry;
2469 2472
@@ -2486,6 +2489,10 @@ st_collections_group_name(void)
2486 break; 2489 break;
2487 } 2490 }
2488 2491
2492double_named_group:
2493 ERR("Invalid group, only a single name statement is valid for group, use "
2494 "alias instead.");
2495 exit(-1);
2489} 2496}
2490 2497
2491typedef struct _Edje_List_Foreach_Data Edje_List_Foreach_Data; 2498typedef struct _Edje_List_Foreach_Data Edje_List_Foreach_Data;