projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82fb56
)
eo_parser: fix unreachable code
77/204777/2
author
Taehyub Kim
<taehyub.kim@samsung.com>
Wed, 24 Apr 2019 09:56:32 +0000
(11:56 +0200)
committer
YeongJong Lee
<yj34.lee@samsung.com>
Fri, 26 Apr 2019 08:05:12 +0000
(08:05 +0000)
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
Change-Id: Ia15e245c6a87c9d4c7b0a0785cf31ba8f5690342
src/lib/eolian/eo_parser.c
patch
|
blob
|
history
diff --git
a/src/lib/eolian/eo_parser.c
b/src/lib/eolian/eo_parser.c
index
9895f0e
..
f0b631c
100644
(file)
--- a/
src/lib/eolian/eo_parser.c
+++ b/
src/lib/eolian/eo_parser.c
@@
-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");