mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
[ABNF] Add inclusive loop bound.
This is now part of the Leo compiler, so we need to update the grammar accordingly.
This commit is contained in:
parent
70dab80358
commit
ba6c239964
@ -370,7 +370,7 @@ conditional-statement = branch
|
||||
/ branch %s"else" conditional-statement
|
||||
|
||||
loop-statement = %s"for" identifier ":" type
|
||||
%s"in" expression ".." expression
|
||||
%s"in" expression ".." [ "=" ] expression
|
||||
block
|
||||
|
||||
assignment-operator = "="
|
||||
|
Loading…
Reference in New Issue
Block a user