From 8dc8fadaab384dff433fa5dd3ea5a87ef89daca0 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 5 Mar 2022 22:48:00 +0100 Subject: [PATCH] Include `Self` specifically in NameRef --- lib/ungrammar/Cargo.toml | 2 +- lib/ungrammar/rust.ungram | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ungrammar/Cargo.toml b/lib/ungrammar/Cargo.toml index e9a5145779..833d47990a 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.16.0" +version = "1.16.1" license = "MIT OR Apache-2.0" repository = "https://github.com/matklad/ungrammar" edition = "2018" diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram index 8c85c45ec4..cb58486eff 100644 --- a/lib/ungrammar/rust.ungram +++ b/lib/ungrammar/rust.ungram @@ -24,7 +24,7 @@ Name = 'ident' | 'self' NameRef = - 'ident' | 'int_number' | 'self' | 'super' | 'crate' + 'ident' | 'int_number' | 'self' | 'super' | 'crate' | 'Self' Lifetime = 'lifetime_ident'