summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-03 12:01:08 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-03 12:01:21 +0100
commit5084938c045cf2f5df47a248327ba753c0efb814 (patch)
tree98fcbf597e37d1ea078acfcb8e0b024e041dab45
parent6190f3cb46bd4278088d906a70c6c678ad82e18a (diff)
eolian: enums can't be opaque, check properly
-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 ea1314caf7..2a4c9aebe2 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -1930,7 +1930,7 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
1930 } 1930 }
1931 eo_lexer_context_pop(ls); 1931 eo_lexer_context_pop(ls);
1932 pop_strbuf(ls); 1932 pop_strbuf(ls);
1933 if (ls->t.token == ';') 1933 if (!is_enum && ls->t.token == ';')
1934 { 1934 {
1935 Eolian_Type *def = push_type(ls); 1935 Eolian_Type *def = push_type(ls);
1936 def->is_extern = has_extern; 1936 def->is_extern = has_extern;