aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar.ron
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-27 08:12:28 +0100
committerAleksey Kladov <[email protected]>2018-08-27 08:12:28 +0100
commitc16530c988e817c5596fa38ebe9e12a302886a8f (patch)
treefabd59d72906ef169665357dd219a2b862f623f2 /crates/libsyntax2/src/grammar.ron
parent8b0298ce095b6dd635f7ed35dc97f1874157040b (diff)
visitor-less scopes
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r--crates/libsyntax2/src/grammar.ron6
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": (