From d5be71065f6a49f7a4a231f7d0793a9c06864063 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 25 Feb 2016 07:52:41 +0900 Subject: [PATCH] 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. --- src/bin/edje/edje_cc_handlers.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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++)