eolian: remove semicolon termination of classes
This commit is contained in:
parent
bdd5cf5219
commit
ee24425ab5
|
@ -936,8 +936,6 @@ parse_class(Eo_Lexer *ls, Eina_Bool allow_ctors, Eolian_Class_Type type)
|
|||
check_next(ls, '{');
|
||||
parse_class_body(ls, allow_ctors);
|
||||
check_match(ls, '}', '{', line);
|
||||
if (ls->t.token == ';')
|
||||
eo_lexer_get(ls);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -28,4 +28,4 @@ class Simple {
|
|||
return char *(NULL); /*@ comment for method return */
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,4 +25,4 @@ class Const {
|
|||
return char *(NULL); /*@ comment for method return */
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,4 +16,4 @@ class Simple (Base) {
|
|||
virtual::a::set;
|
||||
virtual::foo;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,4 +21,4 @@ class Simple {
|
|||
foobar {
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue