Skip to content

Commit 814f047

Browse files
bors[bot]Veykril
andauthored
Merge #50
50: Include `Self` specifically in NameRef r=Veykril a=Veykril `Self` is a keyword, so we'll treat it as such bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 parents 61e218c + 6d2f3ec commit 814f047

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)