Skip to content

Commit 1959fdf

Browse files
Wrap type macro in new MacroType node
1 parent af30e7c commit 1959fdf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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.9.1"
4+
version = "1.9.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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ Type =
506506
| ForType
507507
| ImplTraitType
508508
| InferType
509-
| MacroCall
509+
| MacroType
510510
| NeverType
511511
| ParenType
512512
| PathType
@@ -521,6 +521,9 @@ ParenType =
521521
NeverType =
522522
'!'
523523

524+
MacroType =
525+
MacroCall
526+
524527
PathType =
525528
Path
526529

0 commit comments

Comments
 (0)