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.ron16
1 files changed, 13 insertions, 3 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron
index fbe8397d8..798725f7e 100644
--- a/crates/libsyntax2/src/grammar.ron
+++ b/crates/libsyntax2/src/grammar.ron
@@ -370,9 +370,19 @@ Grammar(
370 options: [ "Block" ] 370 options: [ "Block" ]
371 ), 371 ),
372 "ReturnExpr": (), 372 "ReturnExpr": (),
373 "MatchExpr": (), 373 "MatchExpr": (
374 "MatchArmList": (), 374 options: [ "Expr", "MatchArmList" ],
375 "MatchArm": (), 375 ),
376 "MatchArmList": (
377 collections: [ ["arms", "MatchArm"] ],
378 ),
379 "MatchArm": (
380 options: [
381 [ "guard", "MatchGuard" ],
382 "Expr",
383 ],
384 collections: [ [ "pats", "Pat" ] ]
385 ),
376 "MatchGuard": (), 386 "MatchGuard": (),
377 "StructLit": (), 387 "StructLit": (),
378 "NamedFieldList": (), 388 "NamedFieldList": (),