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.
This commit is contained in:
Carsten Haitzler 2016-02-25 07:52:41 +09:00
parent f757fe5ccf
commit d5be71065f
1 changed files with 3 additions and 1 deletions

View File

@ -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++)