[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:
Alessandro Coglio 2022-07-21 13:35:39 -07:00
parent 70dab80358
commit ba6c239964

View File

@ -370,7 +370,7 @@ conditional-statement = branch
/ branch %s"else" conditional-statement / branch %s"else" conditional-statement
loop-statement = %s"for" identifier ":" type loop-statement = %s"for" identifier ":" type
%s"in" expression ".." expression %s"in" expression ".." [ "=" ] expression
block block
assignment-operator = "=" assignment-operator = "="