forked from enlightenment/efl
eolian: require specification of either get or set in property impls
This commit is contained in:
parent
2cb621fe4a
commit
692d445dcf
|
@ -1593,6 +1593,8 @@ propbeg:
|
||||||
goto propend;
|
goto propend;
|
||||||
}
|
}
|
||||||
propend:
|
propend:
|
||||||
|
if (!has_get && !has_set)
|
||||||
|
eo_lexer_syntax_error(ls, "property implements need at least get or set specified");
|
||||||
check_next(ls, '}');
|
check_next(ls, '}');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue