forked from enlightenment/efl
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:
parent
f757fe5ccf
commit
d5be71065f
|
@ -14649,7 +14649,9 @@ edje_cc_handlers_hierarchy_pop(void)
|
||||||
|
|
||||||
if (!current_part->name)
|
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++)
|
for (i = 0; i < current_part->other.desc_count; i++)
|
||||||
|
|
Loading…
Reference in New Issue