diff --git a/grammar/declarations/type_declarations.bnf b/grammar/declarations/type_declarations.bnf index 8b8a855..49a9d81 100644 --- a/grammar/declarations/type_declarations.bnf +++ b/grammar/declarations/type_declarations.bnf @@ -1,5 +1,4 @@ - ::= - ["/" ]? + ::= ["->" ]? "{" "}" @@ -9,9 +8,11 @@ | | )* - ::= "extends" + ::= [ "/"]? - ::= "<" ">" + ::= + + ::= ::= ("," )* diff --git a/grammar/interfaces/interface_definitions.bnf b/grammar/interfaces/interface_definitions.bnf index 6e42c06..884c607 100644 --- a/grammar/interfaces/interface_definitions.bnf +++ b/grammar/interfaces/interface_definitions.bnf @@ -12,10 +12,6 @@ ::= "fn" - ::= - "@" "<" ">" - "{" "}" - ::= "@" "extends" "{" "}"