From 2d7cbeb5aeceeebe287742e4888fb931af1aff68 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Fri, 18 Jan 2019 14:32:24 +0100 Subject: [PATCH] eolian: remove the old inheritance syntax fixes T7459 Reviewed-by: Daniel Kolesa Differential Revision: https://phab.enlightenment.org/D7688 --- src/lib/eolian/eo_parser.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c index 0ea2944ea4..356c4ab56a 100644 --- a/src/lib/eolian/eo_parser.c +++ b/src/lib/eolian/eo_parser.c @@ -2090,8 +2090,6 @@ parse_class(Eo_Lexer *ls, Eolian_Class_Type type) do _requires_add(ls, ibuf); while (test_next(ls, ',')); - if (ls->t.token == '{') - goto inherit_done; } if (ls->t.kw == KW_extends || (is_reg && (ls->t.kw == KW_implements))) @@ -2114,17 +2112,6 @@ parse_class(Eo_Lexer *ls, Eolian_Class_Type type) _inherit_dep(ls, ibuf, EINA_FALSE); while (test_next(ls, ',')); } - else - { - check_next(ls, '('); - if (ls->t.token != ')') - { - _inherit_dep(ls, ibuf, is_reg); - while (test_next(ls, ',')) - _inherit_dep(ls, ibuf, EINA_FALSE); - } - check_match(ls, ')', '(', line, col); - } eo_lexer_dtor_pop(ls); } inherit_done: