eolian: properly skip the struct keyword in inlist structs

This was missed as a part of an incorrect merge.
This commit is contained in:
Daniel Kolesa 2019-02-28 01:08:27 +01:00
parent a9360222b0
commit 53a80761db
1 changed files with 2 additions and 0 deletions

View File

@ -2215,6 +2215,8 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
const char *freefunc = NULL;
Eina_Strbuf *buf;
eo_lexer_get(ls);
if (is_inlist)
check_kw_next(ls, KW_struct);
Eina_Bool has_extern = EINA_FALSE, has_free = EINA_FALSE;
for (;;) switch (ls->t.kw)
{