From fa14af1afb83912bf536354540db4c73f409fec2 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 21 Mar 2014 15:23:24 -0400 Subject: [PATCH] edje_cc no longer errors when inheriting a description before/when state is not set anonymous states are allowed in other places, so having this check is inconsistent and breaks inheriting. an error will be triggered at a later point. --- src/bin/edje/edje_cc_handlers.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 828b6f35b1..4458d9fe6e 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -5348,13 +5348,6 @@ st_collections_group_parts_part_description_inherit(void) ep = current_part; ed = current_desc; - if (!ed->state.name) - { - ERR("parse error %s:%i. inherit may only be used after state", - file_in, line - 1); - exit(-1); - } - parent = parent_desc; if (!parent) {