eolian: remove semicolon termination of classes

This commit is contained in:
Daniel Kolesa 2014-06-20 00:01:56 +01:00
parent bdd5cf5219
commit ee24425ab5
5 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -28,4 +28,4 @@ class Simple {
return char *(NULL); /*@ comment for method return */
}
}
};
}

View File

@ -25,4 +25,4 @@ class Const {
return char *(NULL); /*@ comment for method return */
}
}
};
}

View File

@ -16,4 +16,4 @@ class Simple (Base) {
virtual::a::set;
virtual::foo;
}
};
}

View File

@ -21,4 +21,4 @@ class Simple {
foobar {
}
}
};
}