eo_parser: fix unreachable code

Summary: fix unreachable code for kw_enum case in parse_unit function

Reviewers: q66, Jaehyun_Cho, woohyun

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8696
This commit is contained in:
Taehyub Kim 2019-04-24 11:56:32 +02:00 committed by Daniel Kolesa
parent 47f9af1282
commit b57fd8eb47
1 changed files with 0 additions and 2 deletions

View File

@ -2192,8 +2192,6 @@ parse_unit(Eo_Lexer *ls, Eina_Bool eot)
break;
case KW_at_free:
{
if (is_enum)
goto postparams;
CASE_LOCK(ls, free, "@free qualifier")
if (is_enum)
eo_lexer_syntax_error(ls, "enums cannot have @free");