diff options
Diffstat (limited to 'grammar.ebnf')
| -rw-r--r-- | grammar.ebnf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar.ebnf b/grammar.ebnf index 85d824d..f421d28 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -2,7 +2,7 @@ Program ::= Statement+ Statement ::= (AssignmentStatement | ExternDeclaration | FunctionCallStatement | IfStatement | WhileStatement | ReturnStatement) SEMICOLON -AssignmentStatement ::= ("let")? ("*")? IDENTIFIER EQUALS Expression +AssignmentStatement ::= ("let")? ("*")? Expression EQUALS Expression ExternDeclaration ::= "extern" IDENTIFIER EQUALS Type |