diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2016-02-25 07:52:41 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2016-02-25 07:53:52 +0900 |
commit | d5be71065f6a49f7a4a231f7d0793a9c06864063 (patch) | |
tree | cf2a6919309a579ebf085bf5ca01ae56f008c04a | |
parent | f757fe5ccf2f0e42c89b08144f02b1840b97debb (diff) | |
download | efl-d5be71065f6a49f7a4a231f7d0793a9c06864063.tar.gz |
edje cc: make the unnamed party non-fatal but punishhed by a pause
allow old edc code that was bad with no named parts to still build BUT
punish with a sleep for 10 seconds to help it be noticed, yet still
work.
-rw-r--r-- | src/bin/edje/edje_cc_handlers.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 549577d3c1..173ad31a26 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -14649,7 +14649,9 @@ edje_cc_handlers_hierarchy_pop(void) if (!current_part->name) { - error_and_abort(NULL, "parse error near %s:%i. Unnamed part exists in Group \"%s\".", file_in, line - 1, current_de->entry); + ERR("Parse error near %s:%i. Unnamed part exists in Group \"%s\" - Pausing for a bit so you notice and remember to fix this.", + file_in, line - 1, current_de->entry); + sleep(10); } for (i = 0; i < current_part->other.desc_count; i++) |