eolian: remove the toplevel information
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 22 Dec 2017 14:29:23 +0000 (15:29 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000 (20:08 +0900)
src/lib/eolian/eo_parser.c
src/lib/eolian/eolian_database.h

index f9f3c51..08b8900 100644 (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;
index e7e7539..f68093d 100644 (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