From ba6c239964ab1c23742bf0f0c423f5dabb570b12 Mon Sep 17 00:00:00 2001 From: Alessandro Coglio Date: Thu, 21 Jul 2022 13:35:39 -0700 Subject: [PATCH] [ABNF] Add inclusive loop bound. This is now part of the Leo compiler, so we need to update the grammar accordingly. --- docs/grammar/abnf-grammar.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/grammar/abnf-grammar.txt b/docs/grammar/abnf-grammar.txt index 24a7a18ff2..5b69c596d6 100644 --- a/docs/grammar/abnf-grammar.txt +++ b/docs/grammar/abnf-grammar.txt @@ -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 = "="