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:
2cb621f
)
eolian: require specification of either get or set in property impls
author
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Mon, 2 Jan 2017 13:02:44 +0000
(14:02 +0100)
committer
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Mon, 2 Jan 2017 14:28:45 +0000
(15:28 +0100)
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
a441d76
..
d864791
100644
(file)
--- a/
src/lib/eolian/eo_parser.c
+++ b/
src/lib/eolian/eo_parser.c
@@
-1593,6
+1593,8
@@
propbeg:
goto propend;
}
propend:
+ if (!has_get && !has_set)
+ eo_lexer_syntax_error(ls, "property implements need at least get or set specified");
check_next(ls, '}');
}
else