eolian: remove the toplevel information

This commit is contained in:
Daniel Kolesa 2017-12-22 15:29:23 +01:00
parent 7da6675c34
commit 65ea735fd7
2 changed files with 0 additions and 3 deletions

View File

@ -2056,7 +2056,6 @@ _inherit_dep(Eo_Lexer *ls, Eina_Strbuf *buf)
return;
}
ls->tmp.kls->inherits = eina_list_append(ls->tmp.kls->inherits, dep);
dep->toplevel = EINA_FALSE;
eo_lexer_context_pop(ls);
}
@ -2070,7 +2069,6 @@ parse_class(Eo_Lexer *ls, Eolian_Class_Type type)
int line, col;
Eina_Strbuf *buf = push_strbuf(ls);
ls->tmp.kls = calloc(1, sizeof(Eolian_Class));
ls->tmp.kls->toplevel = EINA_TRUE;
FILL_BASE(ls->tmp.kls->base, ls, ls->line_number, ls->column);
eo_lexer_get(ls);
ls->tmp.kls->type = type;

View File

@ -123,7 +123,6 @@ struct _Eolian_Class
Eina_List *parts; /* Eolian_Part */
Eina_Bool class_ctor_enable:1;
Eina_Bool class_dtor_enable:1;
Eina_Bool toplevel:1;
};
struct _Eolian_Function