Unnamed repository; edit this file 'description' to name the repository.
Revert "Make ExternItem and AssocItem use MacroItem"
This reverts commit 801f8e63f7be65a8dcac6a2034dacb76590a6fb5.
Jonas Schievink 2021-03-15
parent 49b21c2 · commit 4d78478
-rw-r--r--lib/ungrammar/Cargo.toml2
-rw-r--r--lib/ungrammar/rust.ungram4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/ungrammar/Cargo.toml b/lib/ungrammar/Cargo.toml
index ec3b5dd7a5..b983cb414a 100644
--- a/lib/ungrammar/Cargo.toml
+++ b/lib/ungrammar/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "ungrammar"
description = "A DSL for describing concrete syntax trees"
-version = "1.12.1"
+version = "1.12.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/matklad/ungrammar"
authors = ["Aleksey Kladov <[email protected]>"]
diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram
index 4dbf43c7bd..9a332398b2 100644
--- a/lib/ungrammar/rust.ungram
+++ b/lib/ungrammar/rust.ungram
@@ -251,7 +251,7 @@ AssocItemList =
AssocItem =
Const
| Fn
-| MacroItem
+| MacroCall
| TypeAlias
Impl =
@@ -268,7 +268,7 @@ ExternItemList =
ExternItem =
Fn
-| MacroItem
+| MacroCall
| Static
| TypeAlias