File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " ungrammar"
33description = " A DSL for describing concrete syntax trees"
4- version = " 1.14.4 "
4+ version = " 1.14.5 "
55license = " MIT OR Apache-2.0"
66repository = " https://github.com/matklad/ungrammar"
77edition = " 2018"
Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ LetStmt =
318318 '=' initializer:Expr ';'
319319
320320ExprStmt =
321- Attr* Expr ';'?
321+ Expr ';'?
322322
323323Expr =
324324 ArrayExpr
@@ -331,7 +331,6 @@ Expr =
331331| CastExpr
332332| ClosureExpr
333333| ContinueExpr
334- | EffectExpr
335334| FieldExpr
336335| ForExpr
337336| IfExpr
@@ -366,7 +365,7 @@ Literal =
366365PathExpr =
367366 Attr* Path
368367
369- BlockExpr =
368+ StmtList =
370369 '{'
371370 Attr*
372371 statements:Stmt*
@@ -379,8 +378,8 @@ RefExpr =
379378TryExpr =
380379 Attr* Expr '?'
381380
382- EffectExpr =
383- Attr* Label? ('try' | 'unsafe' | 'async' | 'const') BlockExpr
381+ BlockExpr =
382+ Attr* Label? ('try' | 'unsafe' | 'async' | 'const') StmtList
384383
385384PrefixExpr =
386385 Attr* op:('-' | '!' | '*') Expr
You can’t perform that action at this time.
0 commit comments