eolian: complex non-pointer types

This commit is contained in:
Daniel Kolesa 2014-06-18 13:57:47 +01:00
parent 077e9bc46c
commit 3c621045cd
1 changed files with 10 additions and 9 deletions

View File

@ -203,15 +203,16 @@ parse_type(Eo_Lexer *ls, Eina_Strbuf *buf)
eo_lexer_get(ls);
}
}
if (ls->t.token == '<')
{
int line = ls->line_number;
eina_strbuf_append(buf, " <");
eo_lexer_get(ls);
parse_type(ls, buf);
check_match(ls, '>', '<', line);
eina_strbuf_append_char(buf, '>');
}
}
if (ls->t.token == '<')
{
int line = ls->line_number;
eina_strbuf_append(buf, " <");
eo_lexer_get(ls);
parse_type(ls, buf);
check_match(ls, '>', '<', line);
eina_strbuf_append_char(buf, '>');
}
}