aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parenteolian: tests for extern struct/typedef not-generation (diff)
downloadefl-cab1391471b96752c846d6a030c7397f4d226db2.tar.gz
eolian: restrict the complex-type condition
Diffstat (limited to 'src')
-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)
_fill_name(eina_stringshare_ref(ls->t.value.s), &def->full_name,
&def->name, &def->namespaces);
eo_lexer_get(ls);
- if (tpid >= KW_accessor)
+ if (tpid >= KW_accessor && tpid <= KW_list)
{
int bline = ls->line_number, bcol = ls->column;
def->type = EOLIAN_TYPE_COMPLEX;