bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2d7cbeb5aeceeebe287742e4888fb931af1aff68

commit 2d7cbeb5aeceeebe287742e4888fb931af1aff68
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Fri Jan 18 14:32:24 2019 +0100

    eolian: remove the old inheritance syntax
    
    fixes T7459
    
    Reviewed-by: Daniel Kolesa <dan...@octaforge.org>
    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:

-- 


Reply via email to