forked from enlightenment/efl
eolian: allow the new property syntax
This commit is contained in:
parent
5c5f4580d2
commit
e126911ba0
|
@ -1630,7 +1630,15 @@ parse_methods(Eo_Lexer *ls)
|
|||
line = ls->line_number, col = ls->column;
|
||||
check_next(ls, '{');
|
||||
while (ls->t.token != '}')
|
||||
parse_method(ls);
|
||||
{
|
||||
if (ls->t.kw == KW_at_property)
|
||||
{
|
||||
eo_lexer_get(ls);
|
||||
parse_property(ls);
|
||||
continue;
|
||||
}
|
||||
parse_method(ls);
|
||||
}
|
||||
check_match(ls, '}', '{', line, col);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue