Skip to content

Commit 143cc52

Browse files
Roll back MacroArm change
It's unclear if this is worthwhile, and this requires a lot of changes in r-a
1 parent d41a411 commit 143cc52

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
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.2.1"
4+
version = "1.2.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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,7 @@ Item =
101101
MacroRules =
102102
Attr* Visibility?
103103
'macro_rules' '!' Name
104-
'{' (MacroArm (';' MacroArm)* ';'?)? '}'
105-
106-
MacroArm =
107-
TokenTree '=>' TokenTree
104+
TokenTree
108105

109106
Module =
110107
Attr* Visibility?

0 commit comments

Comments
 (0)