summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-21 15:23:24 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-21 15:25:15 -0400
commitfa14af1afb83912bf536354540db4c73f409fec2 (patch)
tree0570f2645b3b067d42b1b130c6d32ecf3b26924e /src
parent153e3b45b476cc9514a0a8385af788ea6b0eaa61 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/edje/edje_cc_handlers.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 828b6f3..4458d9f 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)
5348 ep = current_part; 5348 ep = current_part;
5349 ed = current_desc; 5349 ed = current_desc;
5350 5350
5351 if (!ed->state.name)
5352 {
5353 ERR("parse error %s:%i. inherit may only be used after state",
5354 file_in, line - 1);
5355 exit(-1);
5356 }
5357
5358 parent = parent_desc; 5351 parent = parent_desc;
5359 if (!parent) 5352 if (!parent)
5360 { 5353 {