summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eo_parser.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-29 11:38:54 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-29 11:38:54 +0100
commitcab1391471b96752c846d6a030c7397f4d226db2 (patch)
tree5c75f54d2148fd46dbf228aa2c069dc07d090188 /src/lib/eolian/eo_parser.c
parent83bbcc33ef6bf4d451b8ac86b67e85248726b69e (diff)
eolian: restrict the complex-type condition
Diffstat (limited to '')
-rw-r--r--src/lib/eolian/eo_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 48a102fd92..02938d8af1 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -771,7 +771,7 @@ parse_type_void_base(Eo_Lexer *ls, Eina_Bool noptr)
771 _fill_name(eina_stringshare_ref(ls->t.value.s), &def->full_name, 771 _fill_name(eina_stringshare_ref(ls->t.value.s), &def->full_name,
772 &def->name, &def->namespaces); 772 &def->name, &def->namespaces);
773 eo_lexer_get(ls); 773 eo_lexer_get(ls);
774 if (tpid >= KW_accessor) 774 if (tpid >= KW_accessor && tpid <= KW_list)
775 { 775 {
776 int bline = ls->line_number, bcol = ls->column; 776 int bline = ls->line_number, bcol = ls->column;
777 def->type = EOLIAN_TYPE_COMPLEX; 777 def->type = EOLIAN_TYPE_COMPLEX;