From 5e605b8d3adebe47c4f238c14151591aed341909 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 21 Jan 2025 00:36:46 +0100 Subject: Grammar: Fix typo --- grammar.ebnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammar.ebnf b/grammar.ebnf index 33a6574..1af657b 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -22,6 +22,6 @@ UnaryExpression ::= "!" UnaryExpression | PrimaryExpression PrimaryExpression ::= NUMBER | BOOLEAN | IDENTIFIER | FunctionCallStatement | LPAREN Expression RPAREN -FunctionDefinition ::= LPAREN FunctionParamters? RPAREN ARROW LBRACE Statement* ReturnStatement SEMICOLON RBRACE +FunctionDefinition ::= LPAREN FunctionParameters? RPAREN ARROW LBRACE Statement* ReturnStatement SEMICOLON RBRACE FunctionParameters ::= IDENTIFIER ("," IDENTIFIER)* -- cgit 1.4.1