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 aa2742b3e..f3c3d3036 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -437,9 +437,13 @@ Grammar( | |||
437 | ["pat", "Pat"], | 437 | ["pat", "Pat"], |
438 | ["initializer", "Expr"], | 438 | ["initializer", "Expr"], |
439 | ]), | 439 | ]), |
440 | "Stmt": ( | ||
441 | enum: ["ExprStmt", "LetStmt"], | ||
442 | ), | ||
440 | "Block": ( | 443 | "Block": ( |
444 | options: [["expr", "Expr"]], | ||
441 | collections: [ | 445 | collections: [ |
442 | ["let_stmts", "LetStmt"], | 446 | ["statements", "Stmt"], |
443 | ] | 447 | ] |
444 | ), | 448 | ), |
445 | "ParamList": ( | 449 | "ParamList": ( |