We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cd7d33 + f1db2ca commit 2497896Copy full SHA for 2497896
Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "ungrammar"
3
description = "A DSL for describing concrete syntax trees"
4
-version = "1.14.7"
+version = "1.14.8"
5
license = "MIT OR Apache-2.0"
6
repository = "https://github.com/matklad/ungrammar"
7
edition = "2018"
rust.ungram
@@ -316,9 +316,12 @@ Stmt =
316
LetStmt =
317
Attr* 'let' Pat (':' Type)?
318
'=' initializer:Expr
319
- ('else' else_branch:BlockExpr)?
+ LetElse?
320
';'
321
322
+LetElse =
323
+ 'else' BlockExpr
324
+
325
ExprStmt =
326
Expr ';'?
327
0 commit comments