raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d5be71065f6a49f7a4a231f7d0793a9c06864063

commit d5be71065f6a49f7a4a231f7d0793a9c06864063
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Feb 25 07:52:41 2016 +0900

    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 549577d..173ad31 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++)

-- 


Reply via email to