eolian: remove parent info from units (actually doesn't make sense)

This commit is contained in:
Daniel Kolesa 2017-12-14 16:45:13 +01:00
parent f9868b541e
commit 2259b6f16f
2 changed files with 0 additions and 2 deletions

View File

@ -549,7 +549,6 @@ database_unit_init(Eolian *state, Eolian_Unit *unit, Eina_Stringshare *fname)
if (fname)
{
Eolian_Unit *ocunit = _cunit;
unit->parent = ocunit;
if (ocunit)
eina_hash_add(ocunit->children, fname, unit);
}

View File

@ -38,7 +38,6 @@ extern Eina_Hash *_declsf;
struct _Eolian_Unit
{
Eolian *state;
Eolian_Unit *parent;
Eina_Hash *children;
Eina_Hash *classes;
Eina_Hash *globals;