From ce90dd866047676419ddf86a147179c90e4460ac Mon Sep 17 00:00:00 2001 From: collin Date: Mon, 6 Jul 2020 05:05:48 -0700 Subject: [PATCH] fix iteration pest bug --- ast/src/leo.pest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast/src/leo.pest b/ast/src/leo.pest index fae8fc1c7e..d9d2ced315 100644 --- a/ast/src/leo.pest +++ b/ast/src/leo.pest @@ -284,7 +284,7 @@ statement_definition = { declare ~ variable ~ "=" ~ expression ~ LINE_END} statement_expression = { expression ~ LINE_END } // Declared in statements/for_statement.rs -statement_for = { "for " ~ identifier ~ " in " ~ expression ~ ".." ~ expression ~ "{" ~ NEWLINE* ~ statement+ ~ "}"} +statement_for = { "for " ~ identifier ~ "in " ~ expression ~ ".." ~ expression ~ "{" ~ NEWLINE* ~ statement+ ~ "}"} // Declared in statements/multiple_assignment_statement.rs statement_multiple_assignment = { declare ~ "(" ~ variable_tuple ~ ")" ~ "=" ~ identifier ~ "(" ~ expression_tuple ~ ")" ~ LINE_END}