forked from enlightenment/efl
eolian: remove the toplevel information
This commit is contained in:
parent
7da6675c34
commit
65ea735fd7
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue