edje_cc sets current_group_inherit at the start of inheriting to allow better checking
authorMike Blumenkrantz <zmike@samsung.com>
Mon, 24 Mar 2014 19:07:46 +0000 (15:07 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Mon, 24 Mar 2014 19:07:46 +0000 (15:07 -0400)
src/bin/edje/edje_cc_handlers.c

index cd1080b188536ca2f56d2db7d5a8535a6ed41e67..ad0879a6bec8b7def36ada89bcce50136c4943fb 100644 (file)
@@ -2786,6 +2786,7 @@ st_collections_group_inherit(void)
             "the name !", file_in, line - 1, parent_name);
         exit(-1);
      }
+   current_group_inherit = EINA_TRUE;
 
    if (pc2->data)
      {
@@ -2912,7 +2913,6 @@ st_collections_group_inherit(void)
      }
 
    free(parent_name);
-   current_group_inherit = EINA_TRUE;
    #undef STRDUP
 }