Skip to content

Commit 49294fe

Browse files
committed
Macro Statements should be expr
1 parent 4a6a83e commit 49294fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ungrammar"
33
description = "A DSL for describing concrete syntax trees"
4-
version = "1.12.1"
4+
version = "1.12.2"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]

rust.ungram

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ Expr =
339339
| Literal
340340
| LoopExpr
341341
| MacroCall
342+
| MacroStmts
342343
| MatchExpr
343344
| MethodCallExpr
344345
| ParenExpr

0 commit comments

Comments
 (0)