Skip to content

Commit 6d2f3ec

Browse files
committed
Include Self specifically in NameRef
1 parent 61e218c commit 6d2f3ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.16.0"
4+
version = "1.16.1"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
edition = "2018"

rust.ungram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Name =
2424
'ident' | 'self'
2525

2626
NameRef =
27-
'ident' | 'int_number' | 'self' | 'super' | 'crate'
27+
'ident' | 'int_number' | 'self' | 'super' | 'crate' | 'Self'
2828

2929
Lifetime =
3030
'lifetime_ident'

0 commit comments

Comments
 (0)