diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index c9e128462..a98e9e2fd 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -344,7 +344,11 @@ Grammar( | |||
344 | options: [ ["body", "Block"] ] | 344 | options: [ ["body", "Block"] ] |
345 | ), | 345 | ), |
346 | "ForExpr": ( | 346 | "ForExpr": ( |
347 | options: [ ["body", "Block"] ] | 347 | options: [ |
348 | ["pat", "Pat"], | ||
349 | ["iterable", "Expr"], | ||
350 | ["body", "Block"] , | ||
351 | ] | ||
348 | ), | 352 | ), |
349 | "WhileExpr": ( | 353 | "WhileExpr": ( |
350 | options: [ | 354 | options: [ |