summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-22 15:29:23 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-22 15:36:31 +0100
commit65ea735fd7d32aeeffb2380aa9442a010d6d439e (patch)
tree5797dae69284391255496ef8f3510593f58ddef6
parent7da6675c34b972a4700679f117c57a6aa520787d (diff)
eolian: remove the toplevel information
-rw-r--r--src/lib/eolian/eo_parser.c2
-rw-r--r--src/lib/eolian/eolian_database.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index f9f3c51e67..08b8900016 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -2056,7 +2056,6 @@ _inherit_dep(Eo_Lexer *ls, Eina_Strbuf *buf)
2056 return; 2056 return;
2057 } 2057 }
2058 ls->tmp.kls->inherits = eina_list_append(ls->tmp.kls->inherits, dep); 2058 ls->tmp.kls->inherits = eina_list_append(ls->tmp.kls->inherits, dep);
2059 dep->toplevel = EINA_FALSE;
2060 eo_lexer_context_pop(ls); 2059 eo_lexer_context_pop(ls);
2061} 2060}
2062 2061
@@ -2070,7 +2069,6 @@ parse_class(Eo_Lexer *ls, Eolian_Class_Type type)
2070 int line, col; 2069 int line, col;
2071 Eina_Strbuf *buf = push_strbuf(ls); 2070 Eina_Strbuf *buf = push_strbuf(ls);
2072 ls->tmp.kls = calloc(1, sizeof(Eolian_Class)); 2071 ls->tmp.kls = calloc(1, sizeof(Eolian_Class));
2073 ls->tmp.kls->toplevel = EINA_TRUE;
2074 FILL_BASE(ls->tmp.kls->base, ls, ls->line_number, ls->column); 2072 FILL_BASE(ls->tmp.kls->base, ls, ls->line_number, ls->column);
2075 eo_lexer_get(ls); 2073 eo_lexer_get(ls);
2076 ls->tmp.kls->type = type; 2074 ls->tmp.kls->type = type;
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index e7e75393a4..f68093df3b 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -123,7 +123,6 @@ struct _Eolian_Class
123 Eina_List *parts; /* Eolian_Part */ 123 Eina_List *parts; /* Eolian_Part */
124 Eina_Bool class_ctor_enable:1; 124 Eina_Bool class_ctor_enable:1;
125 Eina_Bool class_dtor_enable:1; 125 Eina_Bool class_dtor_enable:1;
126 Eina_Bool toplevel:1;
127}; 126};
128 127
129struct _Eolian_Function 128struct _Eolian_Function