Include Self specifically in NameRef

This commit is contained in:
Lukas Wirth 2022-03-05 22:48:00 +01:00
parent 231c006681
commit 8dc8fadaab
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -24,7 +24,7 @@ Name =
'ident' | 'self'
NameRef =
'ident' | 'int_number' | 'self' | 'super' | 'crate'
'ident' | 'int_number' | 'self' | 'super' | 'crate' | 'Self'
Lifetime =
'lifetime_ident'