Split out macro calls in item position

This commit is contained in:
Jonas Schievink 2021-02-18 14:47:43 +01:00
parent 51ad79eff8
commit 2e379beecb
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "ungrammar"
description = "A DSL for describing concrete syntax trees"
version = "1.11.0"
version = "1.12.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/matklad/ungrammar"
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]

View File

@ -90,7 +90,7 @@ Item =
| ExternCrate
| Fn
| Impl
| MacroCall
| MacroItem
| MacroRules
| MacroDef
| Module
@ -101,6 +101,9 @@ Item =
| Union
| Use
MacroItem =
MacroCall
MacroRules =
Attr* Visibility?
'macro_rules' '!' Name