about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-21 00:36:46 +0100
committerBaitinq <[email protected]>2025-01-21 00:36:46 +0100
commit6de5498d4d076f046c05a1e1b5e36730fc24aa86 (patch)
tree38a108b6d47fc472a2478360ee7750c102b7383d
parentParser: Remove unused expression node (diff)
downloadpry-lang-6de5498d4d076f046c05a1e1b5e36730fc24aa86.tar.gz
pry-lang-6de5498d4d076f046c05a1e1b5e36730fc24aa86.tar.bz2
pry-lang-6de5498d4d076f046c05a1e1b5e36730fc24aa86.zip
Grammar: Fix typo
-rw-r--r--grammar.ebnf2
1 files changed, 1 insertions, 1 deletions
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)*