Skip to content

Commit 6a29736

Browse files
authored
Merge pull request #2122 from ehuss/fix-reserved-raw-ident
Fix ambiguity of RESERVED_RAW_IDENTIFIER
2 parents 11f84ce + ed5ac0a commit 6a29736

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/identifiers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ NON_KEYWORD_IDENTIFIER -> IDENTIFIER_OR_KEYWORD _except a [strict][lex.keywords.
1515
1616
IDENTIFIER -> NON_KEYWORD_IDENTIFIER | RAW_IDENTIFIER
1717
18-
RESERVED_RAW_IDENTIFIER -> `r#` (`_` | `crate` | `self` | `Self` | `super`)
18+
RESERVED_RAW_IDENTIFIER ->
19+
`r#` (`_` | `crate` | `self` | `Self` | `super`) _not immediately followed by XID_Continue_
1920
```
2021

2122
<!-- When updating the version, update the UAX links, too. -->

0 commit comments

Comments
 (0)