aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar.ron
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r--crates/libsyntax2/src/grammar.ron6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron
index 8267c2854..da18da8a9 100644
--- a/crates/libsyntax2/src/grammar.ron
+++ b/crates/libsyntax2/src/grammar.ron
@@ -354,19 +354,19 @@ Grammar(
354 options: [ ["condition", "Condition"] ] 354 options: [ ["condition", "Condition"] ]
355 ), 355 ),
356 "LoopExpr": ( 356 "LoopExpr": (
357 options: [ ["body", "Block"] ] 357 traits: ["LoopBodyOwner"],
358 ), 358 ),
359 "ForExpr": ( 359 "ForExpr": (
360 traits: ["LoopBodyOwner"],
360 options: [ 361 options: [
361 ["pat", "Pat"], 362 ["pat", "Pat"],
362 ["iterable", "Expr"], 363 ["iterable", "Expr"],
363 ["body", "Block"] ,
364 ] 364 ]
365 ), 365 ),
366 "WhileExpr": ( 366 "WhileExpr": (
367 traits: ["LoopBodyOwner"],
367 options: [ 368 options: [
368 ["condition", "Condition"], 369 ["condition", "Condition"],
369 ["body", "Block"],
370 ] 370 ]
371 ), 371 ),
372 "ContinueExpr": (), 372 "ContinueExpr": (),